Skip to content

Recipes

Each recipe is a runnable example from the examples/ directory in the repository, embedded verbatim and walked through. Run any of them directly with python examples/<file>.py once you have the relevant provider key in your environment.

The recipes are roughly ordered by the progressive complexity ladder: single agent → tools → composition → planning → production.

Single agent + tools

Sequential composition

Hierarchical / supervisor

Planning patterns

Composition shapes

  • Nested pipelines (horizontal) — Plan-of-Plans, parallel bands of sub-pipelines, and LLM-decided dispatch over sub-pipelines. Companion to the vertical chain / Plan recipes above.

Observability