Testing AI Agents for $0: The Adapter-Swap Pattern
Write tests with mock(), deploy with anthropic(). Same code, zero API calls, full coverage.
Write tests with mock(), deploy with anthropic(). Same code, zero API calls, full coverage.
A user asked ‘Why was my loan rejected?’ The LLM’s explanation was wrong. That’s when we realized the problem isn’t the LLM — it’s the code.