WhoBuilt

Agents, codebases, and teams

Aug 11, 2026· 17 min· 5.4K views·Watch on YouTube

Speaker

Aditya Khandelwal of Amazon AGI Lab explains how teams can build shared codebase practices and workflows that help engineers use coding agents effectively, speaking at AI Engineer.

How team adoption shifted

Khandelwal traces a shift from early individual wins to company mandates and heavy token use, followed by shipped slop, incidents, and tighter budgets. He frames adoption around two factors: how fearful people feel about AI and how confident they are using it. Teams need to help people become less fearful while using agents more effectively.

Signs the setup is failing

A `CLAUDE.md` and a few skills are not enough if engineers still have to babysit agents. Other warning signs include excessive context use, auto-compaction on ordinary tasks, long sessions requiring intervention, and recurring low-quality output. Khandelwal argues that organizations should own the work of helping engineers use agents reliably.

Build the codebase harness

Khandelwal says meaningful improvements to code organization need team buy-in and leadership support. He describes the codebase as a way to give agents relevant context when they need it, such as documentation in code comments that points to a runbook. Teams also need pipelines to detect and remove poor output, and should keep iterating as tools and conditions change.

A shared playbook and its setbacks

The team gathered practices from strong individual contributors, shared them through progressive disclosure, and invested in a high-value “Ship It” skill that handled work from completed code through PR preparation, comments, and CI failures. They also connected issues and boards to the repository and ran a nightly code gardener. The approach produced problems, including 400 to 500 issues in a few weeks, disagreement, slow agents, merge conflicts, and prototype code that needed separate standards.

Keep improving the shared setup

Khandelwal advises teams to ask how to improve their setup when an agent performs poorly, rather than blaming the model. In the Q&A, he recommends keeping skill files to about 100 lines, using agent instruction files as thin indexes, and checking whether an agent finds the right context without loading too much immediately. He gives 40,000 to 50,000 initial tokens as a sign that progressive disclosure may need work.

Takeaways

  • Treat reliable agent use as a team and leadership responsibility, not a private setup task.
  • Use a thin instruction file to point agents toward focused documentation and code comments.
  • Start with one valuable workflow that reduces babysitting, such as preparing code for PR review.
  • Track context use, intervention, and output quality as signals that the shared setup needs work.
  • Collect skeptic feedback and continuously revise shared skills and standards.

Mentioned in this talk

Search inside this talk

What was claimed 4

  • previously at
    Member of Technical Staff
    “Aditya Khandelwal, Amazon AGI Lab”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Ship It: Takes code from done to a PR ready for review, including handling comments and CI failures.
    “it takes care of everything from code done to PR ready for review”
    YouTube
    Unverified1 source· Talk
  • feature
    code gardener: Reviews the code nightly and checks whether it is organized correctly.
    “goes back every night, looks through the code, and checks if something isn’t organized correctly”
    YouTube
    Unverified1 source· Talk
  • metric
    progressive disclosure: The team set a hard limit of about 100 lines in SKILL.md files.
    “We’ve set a hard limit of about 100 lines in your SKILL.md”
    YouTube
    Unverified1 source· Talk

Related talks