Senior AI Engineer interview at Anthropic
The Context Compaction Trap
“You swapped raw tool outputs for LLM-generated summaries in your coding agent. Prompt size dropped sharply. But cost per resolved issue didn’t move, and on some runs it went up. Where did the savings go, and how do you prove it from the traces?”
Agent Engineering #27
Nov 1, 2026