Naming Convention:
AgentFlow is the class name (code), Workflow is the concept category. Similarly, AgentOS is the class, App is the concept.Quick Reference
Agent
The fundamental building block. A single AI entity with instructions and tools.Key Features
- Single purpose, focused execution
- Direct tool access
- Memory and context support
- Works standalone or within orchestrators
AgentTeam
Coordinates multiple agents through task assignment. Think: “Who does what task.”Key Features
- Task-based delegation with explicit agent assignment
- Sequential, parallel, or hierarchical execution
- Task dependencies via
context - Manager LLM for hierarchical validation
AgentFlow
Executes deterministic step sequences with advanced patterns. Think: “What happens in order.”Key Features
- Pattern-based:
route(),parallel(),loop(),repeat(),when() - Steps can be agents OR functions
- CSV/file iteration with
loop(from_csv="data.csv") - Recipe composition with
include()
AgentOS
Deploys agents, managers, or workflows as production web services.Key Features
- FastAPI-based REST endpoints
- WebSocket support
- Auto-generated API docs (
/docs) - CORS configuration
- Health checks (
/health)
Endpoints
Comparison Matrix
When to Use What
1
Simple single task
Use
Agent directly:2
Multi-agent with task delegation
Use
AgentTeam:3
Deterministic pipeline with patterns
Use
AgentFlow:4
Production deployment
Wrap in
AgentOS:Shared Parameters
All orchestrators (AgentTeam, AgentFlow) support identical feature parameters:Best Practices
Start with Agent, scale up
Start with Agent, scale up
Begin with a single
Agent. Only add orchestration when you need multiple agents or complex flows.Choose one orchestrator per project
Choose one orchestrator per project
Don’t mix
AgentTeam and AgentFlow for the same task. Pick based on your mental model:- AgentTeam = “Who does what” (task assignment)
- AgentFlow = “What happens when” (step sequence)
Use AgentOS for all production deployments
Use AgentOS for all production deployments
Even for single agents,
AgentOS provides proper API structure, CORS, and health checks.Prefer AgentFlow for deterministic processes
Prefer AgentFlow for deterministic processes
If you need guaranteed execution order, conditional branching, or loops, use
AgentFlow.Related
Agents
Agent configuration reference
Tasks
Task configuration reference
Process Types
Sequential, parallel, hierarchical
AgentFlow
Workflow patterns deep dive
AgentOS
Production deployment

