Codified Context: Infrastructure for AI Agents in a Complex Codebase
Aristidis Vasilopoulos

TL;DR
This paper introduces a scalable infrastructure for AI coding agents that maintains persistent context across large, complex projects, improving coherence and reducing errors in multi-session development.
Contribution
It presents a three-component codified context system integrating memory, specialized agents, and knowledge base, tailored for large-scale software development.
Findings
Infrastructure effectively maintains context over 283 sessions.
Codified context reduces repeated mistakes and enhances consistency.
Open-source framework supports scalable AI agent deployment.
Abstract
LLM-based agentic coding assistants lack persistent memory: they lose coherence across sessions, forget project conventions, and repeat known mistakes. Recent studies characterize how developers configure agents through manifest files, but an open challenge remains how to scale such configurations for large, multi-agent projects. This paper presents a three-component codified context infrastructure developed during construction of a 108,000-line C# distributed system: (1) a hot-memory constitution encoding conventions, retrieval hooks, and orchestration protocols; (2) 19 specialized domain-expert agents; and (3) a cold-memory knowledge base of 34 on-demand specification documents. Quantitative metrics on infrastructure growth and interaction patterns across 283 development sessions are reported alongside four observational case studies illustrating how codified context propagates across…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Agent Systems and Negotiation · Advanced Software Engineering Methodologies · Software Engineering Research
