The demo worked. Six months later, no one could reproduce it. <p/>Your best prompt is buried in chat history. The rules disagree. Tool connections live in one engineer's personal configuration. A new model arrives, and nobody can tell whether the system improved or quietly broke. <p/>If that sounds familiar, the problem is not another weak prompt. It is agentic repo debt. <p/>The Agentic Codebase is a practical architecture book for technical founders, senior engineers, and AI platform leaders who need agent work to become repeatable, governable, and maintainable. <p/>The central idea: your repository is not merely where an agent's output lands. It is the operating system the agent works inside. <p/>The book introduces STACK, a five-layer framework for designing that operating system:
- Structure: make the codebase navigable, bounded, and legible.
- Toolchain: standardize the shells, CLIs, runners, and environments that perform the work.
- Agent configuration: turn scattered prompts into versioned rules, skills, roles, and workflows.
- Connection layer: govern MCP servers, hooks, plugins, credentials, and tool contracts.
- Knowledge and quality: manage memory, context, evals, observability, cost, and safety.
>This is not another prompt collection. It is not a vendor manual, and it does not promise autonomous software without judgment. It gives you the durable engineering patterns beneath fast-changing tools, plus implementation examples you can adapt and test against your own environment. <p/>Stop building agent demos that depend on memory. Build the repository that remembers.