Video summary

AI Agents Still Can't Maintain Your Codebase

Main summary

Key takeaways

Technology

Summary

Dex Horthy argues that AI agents can speed up implementation but are not yet reliable at maintaining a codebase’s quality and architecture without human oversight. Replacing developers with agents may shorten the time it takes to write code, but testing, reviewing, and safely releasing that code remain substantial parts of software development. Removing those checks creates an “unattended factory” that can accumulate technical debt and hard-to-debug code.

Key analysis

  • Passing tests is not the same as producing maintainable software. Horthy says common benchmarks may reward code that passes immediate tests without measuring whether it will remain easy to understand and extend. Architecture problems can take months to become apparent, so there is no quick, reliable check for long-term maintainability.
  • Incremental work is a more realistic test of coding agents. Horthy discusses Slop Code Bench, which gives models tasks in stages—adding features over time rather than solving a single isolated task. He cites a 14.8% result for the top model at the time, arguing that it shows a significant gap between benchmark hype and performance on evolving codebases.
  • More automation does not eliminate review bottlenecks. Agents can help with code review and regression testing, but human validation remains important, especially for larger, more complex changes. Horthy also points to reports of declining review quality and more incidents as AI-generated code becomes more common.
  • Oversight requires understanding the codebase. Telling an agent to improve architecture or code quality requires specific guidance from someone who understands the system—so the work is not truly unsupervised.

Recommended practices for AI-assisted software development

Horthy’s “12-factor factories” idea centers on combining agents with established engineering practices:

  1. Plan before building. Spend time aligning on architecture and task breakdown before implementation. The right amount of planning depends on the task; over-planning can also waste time.
  2. Review work visually and concretely. Use diagrams, previews, or other visual artifacts to assess an agent’s plan and output instead of relying on long text explanations.
  3. Give agents ways to test their work. Provide access to a browser, running application, command-line tools, or video capture so agents can gather feedback and iterate.
  4. Build feedback loops. Use user feedback, production monitoring, scheduled jobs, and webhooks to trigger work and provide agents with useful signals.
  5. Use feature flags for experimentation. Agents can propose multiple versions of a feature and test them with users, while people evaluate the results.
  6. Preserve session history and architectural knowledge. Store plans, agent sessions, requests, and decisions centrally so teams can learn from prior work and share context.
  7. Keep people involved in consequential decisions. Automation can help with implementation and incident response, but important engineering judgment should not be removed.

Tools, resources, and product features mentioned

  • “Show Me” — A tool Horthy says helps agents present information visually. He describes an open-source version and says it had around 20,000 installations.
  • TypeScript anti-pattern rules — Horthy recommends a repository by Dylan Mulroy that catalogs roughly 100 rules aimed at preventing common agent-generated TypeScript problems.
  • Slop Code Bench article — Suggested as a source of benchmark results and examples of code-quality problems.
  • HumanLayer — Horthy describes it as a shared workspace for AI-assisted programming. Features he mentions include viewing teammates’ work, joining or co-creating agent sessions, collaborating on session artifacts, and seeing code diffs as agents make changes—enabling review before a pull request is opened.
  • HumanLayer resources page — Horthy directs viewers to humanlayer.dev/resources for his group’s material on AI agents, software factories, and related topics.

Main speaker and sources

  • Dex Horthy — CEO and co-founder of HumanLayer; the talk’s primary speaker.
  • Other sources referenced by Horthy — The Slop Code Bench research team at the University of Wisconsin, Anthropic, Dylan Mulroy’s TypeScript rules repository, and a developer he identifies as Steve, associated with Gas Town.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video