You connect your coding AI agent to your repository, give it a task, and watch it start writing code. But have you considered whether your codebase is ready? Without clear instructions, shared conventions, and reliable ways to validate its work, an AI agent has to guess. And sometimes, the code looks right but isn't. In this post, I explore how to prepare your codebase for AI coding agents, including: • What belongs in http://AGENTS.md • The six building blocks of an AI-ready repository • What research tells us about instruction files • Practical ways to reduce guesswork and improve reliability