This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/state.py
Adam Moussa 02e29495c0 Initial LangGraph + Composio orchestration graph
Multi-model agent routing with 7 agent nodes (Sonnet, Haiku,
GPT-4.1, Gemini, DeepSeek) and 15 pre-loaded Composio tools
for Slack, Notion, GitHub, and Google Drive integration.
2026-05-08 12:54:00 -04:00

20 lines
493 B
Python

from typing import Annotated, Literal
from typing_extensions import TypedDict
from langgraph.graph.message import add_messages
from langchain_core.messages import AnyMessage
class OrchestratorState(TypedDict):
messages: Annotated[list[AnyMessage], add_messages]
task: str
route: Literal[
"implementer",
"reviewer",
"researcher",
"cross_reviewer",
"scanner",
"fast_coder",
"connector",
"done",
]
result: str