Skip to main content

AI Curriculum Agent Dispatcher

Intelligent agent selection and invocation system for curriculum development. Analyzes workflows and automatically determines optimal agents, skills, and commands.

UPDATED: 2025-11-29 - Integrated with ComponentActivator for dynamic agent discovery

File: agent_dispatcher.py

Classes

DispatcherError

Base exception for agent dispatcher errors

WorkflowAnalysisError

Raised when workflow analysis fails

AgentRecommendationError

Raised when agent recommendation fails

ScriptGenerationError

Raised when script generation fails

ValidationError

Raised when input validation fails

TaskType

No description

ComplexityLevel

No description

TaskRequirement

No description

AgentRecommendation

No description

CurriculumAgentDispatcher

Intelligent agent dispatcher for AI curriculum development

Functions

main()

Example usage of the agent dispatcher

analyze_workflow(description, requirements)

Analyze workflow description to determine requirements

recommend_agents(task_req)

Recommend optimal agents, skills, and commands for task

generate_task_script(task_req, recommendation)

Generate executable task script for agent invocation

list_all_agents()

List all available agents (NEW - uses ComponentActivator)

get_agent_info(agent_name)

Get detailed information about an agent (NEW - uses ComponentActivator)

search_agents(query, category)

Search agents by keyword (NEW - uses ComponentActivator)

discover_agents_by_capability(capability)

Discover agents by capability/tag (NEW - uses ComponentActivator)

Usage

python agent_dispatcher.py