Flaherty describes Augment Code’s move from autocomplete and chat tools toward AI agents. The team’s agent helped build integrations, write tests, and profile its own performance; more than 90% of its roughly 20,000 lines of code were written by the agent with human supervision.
Self Coding Agents
Speaker
Colin Flaherty, an AI researcher at Augment Code, discusses how his team built an AI coding agent that helped develop its own codebase at an AI Engineer event.
The agent can search a codebase, edit files, run subprocesses, and use integrations such as Google Search. When asked to add logs to its Google Search tool, it found the relevant file, ran a copy of itself, and used user feedback to remember where credentials were stored. Flaherty says the work depended on a context engine, a capable foundation model, and a safe code execution environment.
Flaherty cautions that agents are not yet senior engineers who can handle messy projects from start to finish. He recommends thinking about task complexity rather than separate agents for each engineering specialty, and recognizing that agents have different strengths from people. Augment used a searchable knowledge base with Graphite commands, testing instructions, and style guidance to fill gaps in the model’s knowledge.
Because agents helped build several integrations at once, Flaherty says engineering time may be less of a constraint, while product insight and design become more important. Strong codebase awareness let the agent act on broad natural-language requests, and combining context from sources such as code and Slack supported tasks like drafting release announcements and plotting code growth.
An agent-written cache function had a concurrency bug: multiple agents could overwrite each other’s cache because the save function did not read before writing. Flaherty says the team missed the issue because it lacked a test for that case. On an internal bug-fixing benchmark, adding a four-round test and feedback loop improved the score by 20%, compared with a 4% gain from upgrading the foundation model.
Takeaways
- Give agents access to relevant code, organizational knowledge, and tools; broad instructions work better when they can find the right context.
- Onboard agents with searchable guidance about your tools, tests, and coding conventions.
- Assess agents by task complexity and their specific strengths, rather than assuming they work like human engineers.
- Build tests for concurrency and other weakly covered cases; test feedback can improve agent bug fixing substantially.
- As code becomes cheaper to produce, invest more in customer feedback, product insight, and design.
Mentioned in this talk
Search inside this talk
What was claimed 5
- previously atColin Flaherty previously at
Augment Code
Founding researcher / founding member of technical staff (coding agents, retrieval)“I'm an AI researcher at Augment Code”
YouTube Verified2 sources· Talk, Web· archived
- built
“using an AI agent”
0:15inTo the moon! Navigating deep context in legacy code with Augment AgentYouTube Verified2 sources· Talk
- metric
Internal go-to-market assistant: Wrote over 90% of about 20,000 lines of agent code, with human supervision
“over 90% of that was written by our agent with human supervision”
YouTube Unverified1 source· Talk
- feature
Internal go-to-market assistant: Can add integrations, write tests, profile its own performance, and improve its code
“it could look in our codebase ... and add it”
YouTube Unverified1 source· Talk
- metric
Internal go-to-market assistant: Adding the ability to run tests improved the internal bug-fixing benchmark score by 20%
“that led to a 20% gain on this benchmark”
YouTube Unverified1 source· Talk












