Verify a rewrite with agent teams
Keep the old service around long enough to use it as a reference. During its Python-to-Rust Messages API migration, Anthropic says it compared the two implementations at checkpoints, ran the model once and replayed that output to the rewrite. Claude agents used summaries of the differences to reproduce bugs with their own requests, and engineers reviewed the patches before checking them on shadow traffic. Anthropic’s migration write-up
Start with one small read endpoint. A repeatable request and a visible mismatch give you a concrete task to hand an agent, even when you’re the only engineer reviewing the fix.
Read the full guide free
Already have an account? Log in
