Developer educator Kent C. Dodds walks through the release process he uses to build Kody with coding agents in this hour-long AI Engineer Code Summit session.
Give the agent a map and a reason
- Catalog the building blocks. Kody’s machine-readable map points to the entry points, identity, runtime, storage, and shared code that agents can reuse. A request to run code locally can start with the existing desktop shell and its documentation.
- Record why a decision was made. An architectural decision record explains the context, the choice, and its consequences. Link it from the components it governs so the next agent finds the reasoning alongside the code.
- Keep
AGENTS.mdshort. Kody’s build rejects a file longer than 21 lines. The file explains local verification and points to deeper documentation. The agent planning a change hands the implementer the specific references it needs.
Turn the pull request into a contract
- Ask for intent, reversibility, cleanup, and evidence. The pull-request template asks what changed, how behavior was checked, and what shared pieces were touched. Filling it out can send the agent back to simplify the patch before review.
- Separate proof of a change from long-term coverage. A red-to-green check can prove that obsolete footer copy was removed. Keep a permanent regression test when the behavior it protects is worth preserving.
- Put release state in code. Dodds’s Ship PR loop checks what is true on each pass: draft status, automated checks, review feedback, or deployment. Use a model for judgments such as whether a comment needs action. Scripts can handle the workflow without Kody.
Keep risky decisions with a person
- Set a merge policy. Dodds lets low- and medium-risk work merge once checks pass. He reserves high-risk changes, such as authentication, billing, or destructive migrations, for explicit approval.
- Check what reached production. A merge is one step. The workflow checks a health endpoint after release to confirm the intended version is running. Feature tests still have to show that the behavior works.
- Make recovery real. A flag can turn off new behavior. A destructive data change needs a recovery plan of its own, backed by an isolated copy and a tested restore.
Feed problems back into the process
- Ask for friction after shipping. Hard-to-seed data, slow tests, and misleading docs are candidates for small follow-up changes. An agent also filed an unrelated invite expiry display bug during verification instead of widening its current patch.
- Sort bugs from product calls. Dodds routes production errors and user reports into the same workflow. Clear fixes can go through review. A change to what the product should do goes back to the owner.
- Caveat: Dodds reports managing about 1.5 million lines and using an estimated $20,000–$25,000 worth of model credits over several months, much of it donated. This is one developer’s workflow, not a measured cost or safety benchmark for other teams.
“Make your agents complain.” — Kent C. Dodds, 57:23