Agents
The framework provides two core concrete agent entry points. Choose by execution pattern first, then by control requirements.
Multi-agent orchestration patterns (PlanExecutePattern,
ProposeCriticPattern, RouterDelegatePattern) live in the patterns module and are
implemented with the same public workflow step primitives available to users.
Overview
DirectLLMCallMultiStepAgent(mode="direct" | "json" | "code")
Decision table
Use case |
Recommended pattern |
Why |
|---|---|---|
Plain text generation without tools |
|
Lowest orchestration overhead |
Iterative direct (no external tools) |
|
Internal CONTINUE/STOP controller steps |
Iterative structured tool loops |
|
ReAct-style multi-step loop with JSON |
Iterative code-action loops |
|
ReAct-style loop with code actions |
Background references
These references are for conceptual grounding; behavior is defined by the contracts and implementation in this repository.
Examples
examples/agents/README.md