Async Event Streaming
Every agent is an async generator yielding typed events — thoughts, tool calls, results, streaming chunks. Built for real-time UIs.
Composable Hierarchies
Nest agents freely. Chain them sequentially, run in parallel, loop until done, or wrap as tools. Plain Python asyncio.
Planners
Per-turn planning hooks inject dynamic instructions and post-process responses. Built-in PlanReAct and TaskPlanner included.
Session Management
Pluggable session service persists events and state deltas automatically. In-memory included, bring your own database.
Rich Tool System
Function tools, agent-as-tool, transfer handoffs, exit loop, long-running tools, and tool confirmation — all built in.
Full Observability
First-class tracing via AgentConfig callbacks. Works with Langfuse, LangSmith, or any LangChain callback handler.
Works with any LangChain LLM
- OpenAI
- Anthropic
- Google Gemini
- Any BaseChatModel