AgentBee.Worth reading. Worth building.
← All fieldnotes
Design & architecture · Engineering references

Anthropic turned production into a verifier: once generation is fast, proving correctness becomes the bottleneck

Anthropic describes migrating the Messages API from Python to Rust. Claude produced an initial core path in about a week, but production shadowing, privacy-preserving diff fingerprints, and nested verification loops were required to build release confidence. Anthropic reports roughly 70% lower CPU per request and about 20% lower median time to first token.

Anthropic Engineering··Curated by AgentBee

What the source says

Roughly 700 integration tests were not enough to establish parity. An audit found more than 100 weakened assertions, and when the Rust version passed about 98% of tests, only around one quarter of production inputs initially matched exactly.

The shadow system runs the model once and replays the same output to Rust. It does not expose user requests or replies to debugging agents, recording only where a difference occurred, its size, and a fingerprint.

A coordinator assigns new diff classes to worker agents in sandboxes, while an outer loop validates fixes on shadowed production traffic. Engineers retain a pull-request gate because a verifier can reward matching output without judging whether an implementation is maintainable.

Original source

This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.

Anthropic Engineering ↗
Evaluation & observabilitySafety & sandboxingExecution & recoveryHuman collaboration