Architecture
Architecture
High-level flow

- Planner (dynamic modes) — Reads the user goal, session history, optional KB snippets, and learning summary; outputs a JSON plan: ordered steps with
agent_provider_id, optional MCP ids, optional skill ids (see Agent skills roadmap), and (when implemented) optional agent-tool ids — see Agent tools roadmap. - Catalog resolution — Agent templates load from
config/agent_providers/(or extra paths). MCP templates load fromconfig/mcp_providers/plusAGENTIC_EXTRA_MCP_PROVIDERS_PATH. Agent skills load fromconfig/agent_skills/plusAGENTIC_EXTRA_AGENT_SKILLS_PATH. Entries without required credentials (or missingrequired_files) are filtered out before planning. Platform agent harness (Agent harness roadmap) verifies catalog entries per environment; user scenario packs are planned separately (User agent harnesses). - Runner — Selects execution backend (
AGENTIC_EXECUTION_BACKEND, default in-process CrewAI). Builds CrewAIAgent/Task/Crewfor in-process runs; distributed backends materializeStepSpeclists and coordinate per-step workers. - Post-run — Optional artifact extraction, verification, session JSON updates, learning traces, KB append, web UI progress.
Packages
| Package | Role |
|---|---|
agentic-orchestration-tool |
Python: YAML workflows, dynamic planner, MCP catalog, sessions, learning, KB, CLI (main.py). |
agentic-orchestration-web |
Node: HTTP + WebSocket server; spawns the tool for chat messages. |
Configuration directories (tool)
agentic-orchestration-tool/config/
├── workflows/ # Static workflow YAML; routable files add top-level `meta`
├── agent_providers/ # One YAML per agent template (dynamic catalog)
├── agent_harnesses/ # Platform smoke/capability profiles ([Agent harness roadmap](/agentic-orchestration/Agent-harness-roadmap/))
├── mcp_providers/ # One YAML per MCP template (streamable HTTP, stdio, refs, env gates)
├── agent_tools/ # Planned — one YAML per in-process tool bundle ([Agent tools roadmap](/agentic-orchestration/Agent-tools-roadmap/))
└── agent_skills/ # One YAML per procedural skill ([Agent skills roadmap](/agentic-orchestration/agent-skills-roadmap/))
Orchestration modules (selected)
Under agentic-orchestration-tool/orchestration/:
backends/— Pluggable execution (crewai,subprocess,kubernetesstub); factory readsAGENTIC_EXECUTION_BACKEND.workflow_materializer.py—WorkflowConfig→StepSpecfor distributed backends.step_coordinator.py— Sequential step loop shared by subprocess/K8s backends.run_store.py— Filesystem{run_id}/{step_id}/result.jsonhandoff.execute_step.py— Worker entrypoint for--execute-step.agent_harness.py— Platform harness tiers (--harness-agent,--harness-batch) — Agent harness roadmap.runner.py— Build workflow, crew lifecycle (in-process path).dynamic_planner.py— Planning, iterative rounds, controller, synthesis, eval hooks.mcp_providers_catalog.py— Load/merge MCP YAML, env substitution, credential filtering, planner hints; resolvesstreamable_httpandstdioblocks into CrewAI MCP configs.agent_skills_catalog.py— Load/merge skill YAML, credential/required_filesgating, task/backstory injection, planner hints, learning attachment fingerprints.agent_skills_context.py— Append skill markdown blocks to task descriptions and agent backstory.orchestrator_session.py— Session JSON under__orchestrator_sessions__/.learning_store.py— Traces, stats, pending ratings under__orchestrator_learning__/.knowledge_base.py— SQLite FTS under__orchestrator_kb__/.catalog_loader.py/config_loader.py— Workflow and provider discovery.
Gitignored runtime paths
| Path | Content |
|---|---|
__orchestrator_sessions__/ |
Planner turns + excerpts per session slug. |
__orchestrator_learning__/ |
stats.json, traces.jsonl, pending_ratings.jsonl. |
__orchestrator_kb__/ |
kb.sqlite3 (FTS index). |
__output__/ |
Extracted artifacts from runs. |
.env |
Secrets — never commit. |
Extension points
- More agents: add YAML under
config/agent_providers/orAGENTIC_EXTRA_AGENT_PROVIDERS_PATH(Python provider classes). - More MCPs: add YAML under
config/mcp_providers/orAGENTIC_EXTRA_MCP_PROVIDERS_PATH. Discover third-party servers via awesome-mcp-servers (see MCP providers for shipped examples). - In-process agent tools (planned): YAML catalog under
config/agent_tools/— file write/read, image/video generation, vision tools attached per task viaagent_tools/ planneragent_tool_ids. Design: Agent tools roadmap. - Agent skills: YAML catalog under
config/agent_skills/— see Agent skills. - Custom workflows: add files under
config/workflows/; optionalmetafor router inclusion.
See also: Agent provider catalog, MCP providers, Agent tools roadmap, Agent skills, Agent skills roadmap, Configuration, Infrastructure (Docker Compose, Ollama sidecar, volumes), Dual execution framework (pluggable execution backends — F0–F3 shipped), Kubernetes execution upgrade (cluster delivery — K3+ pending).