- All playbooks
- Run every example in auto mode and check each log against its source
Run every example in auto mode and check each log against its source
Give examples a non-interactive runner with per-example logs and rerun files, then carry it into Actions.
Company examples
How OpenAI used this technique
Read what OpenAI changed and follow the original sources.
Run every example in auto mode and check each log against its source
The Agents SDK repositories built a runner that executes examples in auto mode: it answers common prompts, approves tool actions where supported, keeps examples that need extra runtime setup on a skip list, writes a log for each example and writes rerun files so a rerun covers only the examples that need one. A skill then has the agent read each log against the example's source. The JavaScript repository also publishes its packages to a local registry and tests installing and running them on Node.js, Bun, Deno, Cloudflare Workers and a Vite React app.
- Use it when
- Examples or sample apps are validated by eye or by exit code alone.
- Before applying it
- An exit code of zero says little about an example that calls a real API, so compare the recorded output with the example's intended flow.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookMove a CPU-bound test suite to a faster CPU
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed