Agent Orchestration & Frameworks
Orchestration is the central nervous system of your system. It dictates how tasks are broken down, how tools are selected, and how agents collaborate.
ReAct Loop
Observe → Reason → Act → Observe. The LLM reasons about the state, calls a tool, then processes the result — cycling until the task is done.
Workflows vs Agents
Anthropic recommends predictable workflows for 90% of tasks (routing, chaining, parallelisation) and reserving autonomous agents for truly open-ended problems.
State Machines / DAGs
Production standard. Represent workflows as directed graphs — nodes are agents/functions, edges are conditional routing logic. Enables pause, resume, and inspection.
🏗️ Managed Agents & Infrastructure
Moving from a local script to production requires a lifecycle manager, not just a deployed model.
State Persistence
Save the agent's full graph state to a database (e.g., Postgres) at every node transition so it survives server restarts and can be inspected.
Human-in-the-Loop (HITL)
Pause execution and route high-stakes actions to a human approval queue before resuming — e.g., "Can I execute this DROP TABLE command?"
Enterprise Architecture Overview
Hover each node for details.
small model
Postgres
approval gate
specialist
GitHub/Slack/…
long-term memory
Interactive: ReAct Loop Simulator
Step through the agent's reasoning cycle.