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
  • feature
    Continual learning: Extracts memories and learnings from previous agent transcripts and stores them as rules
    “It looks at previous transcripts and extracts memories and learnings from what we said before.”
    YouTube
    Unverified1 source· Talk
  • metric
    Cursor: Eric estimates one initial computer use agent turn costs around one dollar
    “For one turn, this initial one would probably be a dollar.”
    YouTube
    Unverified1 source· Talk
  • feature
    Cursor: Automations can read Slack messages, triage them, check duplicates, and start implementing easy fixes
    “When someone posts something in Slack, either a Linear Slack agent or a Cursor automation looks at the message, triages it, checks for duplicates, and, if it's determined to be easy, starts implementing a fix.”
    YouTube
    Unverified1 source· Talk
  • feature
    Linear: Tickets can trigger cloud agents, including automatic feature flag removal tasks
    “For every ticket created in Linear, we spawn a cloud agent.”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Cursor integrates with Linear
    “We're using Linear for issue management, and we have a first-party integration.”
    YouTube
    Unverified1 source· Talk
  • feature
    Cursor: Cursor Workers runs the cloud agent infrastructure and orchestration layer on user machines
    “We launched Cursor Workers yesterday. It’s a way to run the same infrastructure and orchestration layer we use for cloud agents on any machine you have.”
    YouTube
    Unverified1 source· Talk

Related talks