cookbook/recipes
2026-04-30 03:03:50 -07:00
..
_shared fix(security): redact cookbook console output 2026-04-30 03:03:50 -07:00
cancel-a-run feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
custom-transport feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
model-status feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
reuse-session feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
run-an-agent feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
stream-events feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
manifest.json feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
README.md feat: build sdk cookbook 2026-04-30 01:03:02 +01:00

Recipes

Recipes are intentionally small. Each one demonstrates one SDK workflow and is safe to copy into a real app.

Current recipes are listed in manifest.json.

Adding a Recipe

  1. Create recipes/<id>/README.md.
  2. Create recipes/<id>/index.ts.
  3. Add the recipe to recipes/manifest.json.
  4. Add test coverage in test/recipes.test.ts.
  5. Run pnpm check.