A configurable multi-agent orchestration system built with LangGraph Studio, featuring dynamic LLM-driven routing and comprehensive agent management.
- LLM-Driven Orchestration: Intelligent routing based on query understanding
- Multiple Routing Strategies: LLM dynamic, rule-based, and hybrid approaches
- Configurable Agents: Specialized agents for different tasks (data analysis, research, code assistance, etc.)
- LangGraph Studio Integration: Visual workflow design and debugging
- Extensible Architecture: Easy to add custom agents and tools
- Mock Tools: Built-in mock implementations for testing
- Python 3.10+
- Make (for using Makefile commands)
-
Clone the repository
-
Initialize the project:
make init
-
Copy
.env.exampleto.envand add your API keys:cp .env.example .env # Edit .env with your favorite editor -
Start LangGraph Studio:
make start
-
Open http://localhost:8123 in your browser
.
├── langgraph.json # Main LangGraph configuration
├── orchestrator/ # Orchestrator configuration
│ ├── config.json # Core orchestrator settings
│ ├── routing_strategies/ # Routing strategy definitions
│ └── prompts/ # Orchestrator prompts
├── agents/ # Agent definitions
│ ├── registry.json # Agent registry
│ └── specialized/ # Specialized agent configs
├── tools/ # Tool implementations
│ ├── core/ # Core tools (web search, data processing)
│ └── custom/ # Custom tools
├── graphs/ # Graph templates
└── examples/ # Example workflows
make help # Show all available commands
make init # Initialize the project
make start # Start LangGraph Studio
make dev # Start in development mode with auto-reload
make validate # Validate all configuration files
make test # Run tests
make clean # Clean up generated filesThe main configuration file defines:
- Python version requirements
- Orchestrator settings
- Agent registry location
- LangGraph Studio settings
Located in orchestrator/config.json, defines:
- Model settings (provider, temperature, etc.)
- Routing strategy
- Graph workflow definition
- Error handling policies
The agents/registry.json file maintains a list of all available agents with:
- Capabilities
- Requirements
- Cost and latency estimates
- Routing hints
-
Create a new agent directory:
make new-agent
-
Update the agent configuration in the created directory
-
Register the agent in
agents/registry.json -
Restart LangGraph Studio
Fully AI-driven routing based on query analysis and agent capabilities.
Deterministic routing using keyword and pattern matching.
Combines rule-based and LLM approaches for optimal performance.
Run examples with:
make run-example EXAMPLE=simple_queryAvailable examples:
simple_query: Basic single-agent querycomplex_workflow: Multi-agent workflowcustom_agent: Custom agent implementation
make testmake formatmake lintKey environment variables (set in .env):
OPENAI_API_KEY: OpenAI API keyANTHROPIC_API_KEY: Anthropic API keyLANGGRAPH_STUDIO_PORT: Studio port (default: 8123)ORCHESTRATOR_MAX_ITERATIONS: Max orchestration iterationsAGENT_VALIDATION: Validation strictness level
- Check that all dependencies are installed:
make install - Verify
.envfile exists and has valid API keys - Check port 8123 is not in use
Run make validate to check all configurations
- Ensure agent is registered in
agents/registry.json - Verify agent configuration file exists at the specified path
[Your License Here]
[Contributing Guidelines]