---
title: World cookbook
---

# World cookbook

Runnable recipes, each an outcome against twins with real SDKs, fake keys and local state. Consult
[the model](../docs/concepts/the-model.md) for shared state semantics and the [CLI reference](../docs/reference/cli.md)
for current commands. A recipe that needs a real service or a checkout of another repository says so on its page.

## Start with a small example

These recipes use exact published packages and require no private source checkout or platform account. Use one in an empty directory. Each page names its prerequisites, assertions and limits.

| Recipe | Outcome | Prerequisites |
|---|---|---|
| [Browser signup and signed webhooks](./browser-signup/README.md) | Create an account, persist its session, inspect vendor data, verify a callback and sign out | Node 22.6+, npm; Chromium for the automated suite |
| [Repeatable data and behavior](./repeatable-workflow/README.md) | Create a record, assert a one-time fault, retry a scripted answer, reset and repeat | Node 22.6+, npm |
| [Isolated CI workers](./ci-workers/README.md) | Run two independent jobs and stop each World after success or failure | Node 22.6+, npm; package registry during preparation |
| [Transactional email](./email/README.md) | Send with Resend's SDK, inspect a local sign-in code and resume the same message | Node 22.6+, npm |
| [AI messages and streaming](./ai-messages/README.md) | Consume a labeled local response through Anthropic's unchanged SDK and stream | Node 22.6+, npm |
| [Managed app database](./managed-database/README.md) | Obtain a local Supabase database connection, store a record and read it after resume | Node 22.6+, npm; PostgreSQL-wire scope |

Tutorials teach a task step by step; cookbook recipes assemble reusable workflows. [Getting started](../docs/getting-started.md) is the first local lesson. [Manual adoption](../docs/guides/use-with-an-existing-app.md), [recovery](../docs/guides/recover-a-failed-call.md) and [coverage](../docs/reference/coverage.md) explain how to adapt a recipe to your app.

Larger application case studies live in the source repository and name their own checkout prerequisites. This site serves the complete starter examples above.
