@milesdeutscher: Anthropic's internal loop engineering playbook just got leaked. And it's the most valuable AI guide I've read all year.…
Summary
A leaked internal Anthropic playbook details loop engineering principles for maximizing AI productivity, including separating generator and evaluator, using worktrees, and an 80/20 barbell cost strategy.
View Cached Full Text
Cached at: 06/29/26, 02:28 PM
Anthropic’s internal loop engineering playbook just got leaked.
And it’s the most valuable AI guide I’ve read all year.
This guide is packed with info, and there are five things you need to know if you want to maximize your AI productivity with loops (save this):
- You should structure every loop around these 5 principles:
• Discovery → Let the agent find its own work (CI fails, issues, commits) • Handoff → Give every task its own isolated git worktree • Verification → Never let the generator grade its own work • Persistence → Always write state to disk (markdown or board) • Scheduling → Run it on a timer so it works while you sleep
- Separate Generator from Evaluator (most important rule)
Use two agents: one writes, the other is a skeptical judge who assumes the code is broken.
Make the evaluator act (run tests, click buttons, take screenshots) - this is what actually stops bad output.
- Build with these 6 parts:
• Automations (the timer) • Worktrees (safe parallelism) • Skills (permanent project knowledge) • Connectors (talk to GitHub, Linear, etc.) • Sub-agents (generator + evaluator) • Memory (state files that survive between runs)
- Things you must watch out for with loop engineering:
• Verification debt (use verification agents) • Losing understanding of your own codebase (start fresh if needed) • Token costs exploding (solution below) • Cognitive surrender (don’t stop thinking because “the loop handles it”)
- Solving token costs
Loop engineering can be crazy expensive.
I recommend you use an 80/20 “barbell” approach to loop engineering.
For your most complex tasks that require the best intelligence, use expensive models (Opus).
For the remaining 80% of your tasks (the gruntwork), use cheap, open-source models within the Claude Code harness (GLM-5.2 is great for code execution).
Save these 5 rules so you don’t forget them.
Similar Articles
@h100envy: Anthropic just dropped a 33-page blueprint for building effective AI agents. Zero theory, just production architecture …
Anthropic has released a 33-page blueprint detailing production architecture patterns for building effective AI agents, including single, sequential, parallel, hierarchical, and evaluator-optimizer patterns, based on practices from Claude, Coinbase, Stripe, and Intercom.
@hrswatigupta: A senior Anthropic engineer just released an 11-page paper on Loop Engineering—and it reframes how agentic systems shou…
A senior Anthropic engineer published an 11-page paper on Loop Engineering, proposing a new paradigm for building agentic systems centered on feedback loops, isolation, verification, and memory rather than smarter prompts.
@0xRicker: Anthropic Agents team just dropped an 11-page paper on "Loop Design: The Anthropic Playbook for Agentic Systems" Everyo…
Anthropic released an 11-page paper titled 'Loop Design: The Anthropic Playbook for Agentic Systems', arguing that independent verifiers are more critical than prompts in agent design.
@shmidtqq: https://x.com/shmidtqq/status/2068704187492221405
An in-depth guide to loop engineering for AI coding agents, explaining how to build automated loops that repeatedly prompt agents, verify results, and avoid runaway costs, illustrated with a case study of one engineer shipping 259 PRs in a month.
@DataChaz: A SENIOR ANTHROPIC ENGINEER JUST DROPPED AN 11-PAGE PDF ON LOOP ENGINEERING. The core shift: stop prompting the agent. …
A senior Anthropic engineer released an 11-page PDF on Loop Engineering, detailing a framework for building autonomous AI agent systems that self-discover work, isolate tasks, verify through a second agent, persist to disk, and run on a schedule.