Skip to content

Recipes

For coding runtimes, start with Claude Code writes, Codex reviews: in-process verification, offline mocks and native session continuation. For repository jobs and MCP code-support tools, follow the LazyTools code bridge and code-support docs.

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