WhoBuilt

Building your own software factory

Apr 28, 2026· 1 h 24 min· 43K views·Watch on YouTube

Speaker

Eric Zakariasson, an engineer at Cursor focused on developer experience and product, speaks at AI Engineer about building and scaling a software factory with agents.

Levels of autonomy

Zakariasson describes a progression from autocomplete and pair programming to agents doing most of the work while people review outcomes. At the software factory stage, people provide goals and instructions while agents build, test, and ship with less direct oversight. He says the appeal is higher throughput, consistent output, and more room for people to apply their judgment and creativity.

Build the factory’s foundations

He recommends making code modular and easy to navigate, with established patterns for common tasks such as authentication, starting the project, and writing tests. Add guardrails, hooks, and rules in response to problems agents actually encounter, and give agents useful tools and context through skills, MCPs, and runnable environments. Agents should be able to verify their work with tests, including browser-based checks for user interfaces.

Manage work asynchronously

As agents take on more work, Zakariasson says people shift from writing code to managing agents, planning scope, and reviewing results. He prefers isolated virtual machines for parallel tasks because shared environments can create side effects, though isolation costs more and takes setup. For longer tasks, he recommends providing context up front and preserving knowledge about the codebase, users, and critical systems.

Improve the factory through automation

Zakariasson suggests finding repeated human tasks and giving agents the context or tools to handle them. At Cursor, examples include daily summaries drawn from Slack and GitHub, reviewing merged pull request comments for reusable lessons, risk-based code-owner review, and a plugin that extracts rules from agent transcripts. When agents go off track, he treats that as a signal to improve rules, tools, or design systems.

Scale with human oversight

To scale beyond a few agents, he recommends observing their outcomes, building ways for them to check their own work, and keeping humans responsible for consequential decisions. For critical systems, Cursor’s security team uses automated checks for specific invariants, and Zakariasson recommends investing in tests and quality before optimizing for throughput. He also says architecture still needs human planning and review, especially in high-risk areas such as security, databases, payments, and authentication.

Takeaways

  • Make common code patterns easy for agents to find and reproduce.
  • Add rules when you observe a recurring failure, and keep them aligned with team practices.
  • Give each parallel agent an isolated environment when changes could affect shared services.
  • Front-load context for longer tasks and make agent outputs independently verifiable.
  • Keep humans responsible for architecture and high-risk changes, with tests and monitoring to support review.

Mentioned in this talk

Search inside this talk

What was claimed 14

  • feature
    software factory: Uses conventions, guardrails, tests, tools, and context so agents can execute and verify software tasks
    “How do you structure the code? ... you want to have rules, checks, and hooks in place.”
    YouTube
    Unverified1 source· Talk
  • feature
    Cursor: Cursor 3 is a complete rewrite with an agent first workflow and no VS Code
    “This is Cursor 3. We launched this a couple of weeks ago, and it's a complete rewrite of Cursor. There's no VS Code anymore.”
    YouTube
    Unverified1 source· Talk
  • feature
    Bugbot: Reviews pull requests in GitHub
    “Bugbot in Cursor, which looks at different PRs in GitHub, reviews them, and comes back.”
    YouTube
    Unverified1 source· Talk
  • feature
    cloud agents: Each agent gets its own VM for a reproducible cloud environment
    “We gave each agent its own VM, and they can create a very reproducible environment in the cloud.”
    YouTube
    Unverified1 source· Talk
  • feature
    cloud agents: Agents can control a computer to test their own work
    “We also gave the agent a tool to test its own work by controlling the computer.”
    YouTube
    Unverified1 source· Talk
  • metric
    Cursor: Eric estimates multiple thousands of agents run daily
    “I bet it’s multiple thousands a day.”
    YouTube
    Unverified1 source· Talk
  • uses
    “It's going to look at Slack and GitHub, and send me a summary of the things I've done over the last day.”
    YouTube
    Unverified1 source· Talk
  • feature
    agentic code ownership: Approves low risk pull requests and brings in previous contributors for high risk changes
    “If it's low risk, it can approve the PR ... If it's high risk, it can find out who made changes to this area previously and pull in their feedback.”
    YouTube
    Unverified1 source· Talk
Show all 14 facts

Related talks