Context Folding: 200-Step Agents in 10x Less Context
Tool accuracy collapses ~40% past 80K tokens. Context folding runs 200-step agents in 10x less context. Working harness and Anthropic compaction inside.
Lab // Technical notes
Technical deep dives into AI agent engineering — architecture patterns, protocol internals, and the implementation details behind production-grade systems.
Tool accuracy collapses ~40% past 80K tokens. Context folding runs 200-step agents in 10x less context. Working harness and Anthropic compaction inside.
Memory-augmented agents face 95% injection-success attacks that persist 365 days across sessions. The threat map and a layered defense stack.
Most teams shipping agents rely on manual testing. Here's how to build automated eval pipelines that gate deployments with real quality thresholds.
Context engineering is the top challenge for 57% of orgs running agents in production. The full stack, from system prompts to MCP, with code.
Single agents hit ceilings. How multi-agent architectures work in practice — orchestration patterns, failure modes, cost realities, working code.
Hooks, plugins, MCP servers, skills, and CLAUDE.md turn Claude Code into your production dev workflow. Here's how each extension point works.
MCP is to AI agents what USB is to peripherals. How the protocol works, how to build an MCP server, and what production deployment requires.
We dissect Claude Code's actual system prompt and extract the design principles that make AI agents reliable and safe in production.
A technical breakdown of the tool-calling loop that powers modern AI agents — from prompt design to execution sandboxing.