Add multi-pattern orchestrator with plan-then-execute and supervisor

Introduce an agent orchestrator service that supports three
execution patterns (ReAct, plan-then-execute, supervisor) with
LLM-based meta-routing to select the appropriate pattern and task
type per request. Update the agent schema to support
orchestration fields (correlation, sub-agents, plan steps) and
remove legacy response fields (answer, thought, observation).
This commit is contained in:
Cyber MacGeddon 2026-03-23 19:46:44 +00:00
parent 7af1d60db8
commit ade5606a92
21 changed files with 3006 additions and 172 deletions

View file

@ -87,10 +87,11 @@ def sample_message_data():
"history": []
},
"AgentResponse": {
"answer": "Machine learning is a subset of AI.",
"chunk_type": "answer",
"content": "Machine learning is a subset of AI.",
"end_of_message": True,
"end_of_dialog": True,
"error": None,
"thought": "I need to provide information about machine learning.",
"observation": None
},
"Metadata": {
"id": "test-doc-123",