Examples
Start with runnable patterns
These examples link to the repository so you can copy, run, and modify them locally.
End-to-end workflow
A complete runnable example tying together agents, tools, and orchestration.
Parallel execution flow
Run multiple agents or tasks concurrently with a flow orchestrator.
Router flow
Route execution dynamically based on state and decisions.
Critic review loop
Iterate with critique and revision using specialized roles.
Map-reduce flow
Fan-out work and aggregate results to scale analysis/processing.
Tool registry
Register and execute tools safely, with a clean interface.
Memory system
Store and retrieve across the layered memory types (short/long-term, episodic, semantic).
Agent with tools
Give an agent tools and let it decide when to call them.
Multi-provider LLM routing
Route requests across LLM providers (OpenAI, Anthropic, Google, Cohere, Ollama) from one workflow.
Natural-language workflow generation
Generate a runnable workflow from a plain-English description.
Workflow composition
Compose a global workflow from subflows with deterministic routing, and visualize it.