Building an AI Coding Agent That Remembers Your Codebase Across Sessions
Dev.to AI
•
Generative AI
AI Tools
Every AI coding agent has amnesia. I fixed it. Two months ago, Ramp's engineering team published a fascinating blog post about Inspect - their internal background coding agent. It was impressive: 30% of all pull requests merged to their frontend and backend repos are AI-written. The architecture was elegant: Modal sandboxes, OpenCode as the agent runtime, Cloudflare Durable Objects for state. But there was a problem hiding in plain sight. Every session treated the codebase like it had never seen it before. Session 1 knew nothing. Session 100 knew nothing. Session 500… still nothing.