Agent-Ready Codebases
Focuswhat makes a repository agent-ready: structure, docs, tests, and checks; scoring and auditing readiness; common gaps that block agents in real repositories.
You buildA scored readiness audit and the fixes that make a fresh agent productive
Core material≈ 3 h 30 min
- 1Engineering case study30 minHarness engineering: leveraging Codex in an agent-first worldOpenAI
Arguably the single most important reading for this week: repository legibility, structured documentation, machine-enforced invariants, and progressive disclosure.
- 2Practical guide≈ 60 minRepository Harnesses for AI Coding AgentsAdobe
A free, systematic guide to making a repository navigable and verifiable by agents.
- 3
- 4Videos16 minMaking Codebases Agent-ReadyEno Reyes of Factory
And Building Reliable Agentic Systems (18 min) — mechanical verification, linters, end-to-end tests, interface documentation, planning, grounding, and human oversight.
- 5Evals primer20 minYour AI Product Needs EvalsHamel Husain
Start the evaluation habit here; Week 10 depends on it.
- 6Measuring readiness25 minThe ROI of AI: Why You Need Eval FrameworksBeyang Liu of Sourcegraph
Rigorous evaluations, repository context, engineering KPIs, and avoiding productivity theater.
Deeper material
- VideoContext EngineeringRevisit Dex Horthy's
Interview, particularly the harness, loop, and software-factory chapters.
- LinkDiátaxis
A documentation structure (tutorials, how-tos, reference, explanation) that agents navigate well.
Additional video track
- Tests as the harness1 h 15 minTDD, AI agents and codingKent Beck with The Pragmatic Engineer
Why test-driven development becomes a superpower when agents write the code.
Build
Audit your repository on five dimensions: discoverability, setup, feedback speed, architecture enforcement, and recovery from failure. Score each from 1 to 5 with written evidence. Improve it until a fresh clone can be understood, installed, tested, and changed without tribal knowledge.
At minimum, add a one-command setup, a fast deterministic test path, a short architecture map, local conventions near the code they govern, and a machine-enforced architectural boundary. Give the repository to a fresh agent with one issue and no extra coaching; document every place it gets lost. Re-score afterwards.