Jeff AreseJeff Arese

← Writing

High trust, high agency: inside our software factory

How a five-person team pairs agency with earned trust to let agents do the repetitive engineering work, and what it takes to run one.

Most engineers now work alongside coding agents like Claude Code or Codex, often running several sessions at once. Code gets written faster than ever, and then it waits: for a reviewer, for CI, for someone to repeat the same migration across every repository. The faster the writing gets, the longer that queue grows, and as Little’s Law tells us, a longer queue means a longer wait for every change in it.

This fall we started the Loop Engineering team at Typeform to work on the queue instead. We’re a team of five, with a handful of high-impact goals. This post is a first look at our first weeks. The engineers behind each project will write their own deep dives later.

What we’re building toward is a software factory: agents do the repetitive work, like triaging bugs, opening and fixing pull requests, and taking a bug report all the way to a deployed fix. Engineers design the line, watch it and fix it when it jams. People still decide what the factory makes: product managers and engineers choose what to build and why, and the line takes on the repetitive work of getting it shipped. It runs on two things: agency, so people fix what slows them down without waiting to be asked, and trust, earned through evidence on every change.

Two tools we built do much of that work: Modernizer, an agent that rolls one fix out across many repositories at once, and Dragonfly, which runs our agent workflows. Here’s what came off the line in the last four weeks:

The last four weeks on the line: 900+ PRs merged by the team, about 6x the four weeks before; 500+ security upgrade PRs shipped across teams with Modernizer; about 1 hour of human review for a batch of 47 agent PRs, evidence attached; about 9x faster required checks, 2.5 min down from 21.7, on a form-builder PR.

Every one of those results came from the same loop, with agents working the stations and engineers designing them:

Agents run the line; engineers design and tune it. Engineers choose the goals, build the workflows and fix the bottlenecks. The loop: a signal (bug ticket, Datadog monitor, user feedback, campaign issue), then the agent works (Dragonfly runs the workflow), then a pull request opened by the agent that repairs its own CI, then review (agent review and CI checks), then merge and ship (merge queue, then rollout). What production reports becomes the next signal.

Hire for agency, then remove reasons to wait

In September, Mitchell Hashimoto wrote about what sets apart the most effective people he has worked with. Their biggest superpower, he says, is the belief “that the world around them is completely mutable.”

“I can’t stress enough how little an idea matters compared to the agency of the people executing the idea. […] The difference between mediocre and excellent work and outcomes is predominantly one of agency. […] They don’t wait for someone else to do something, for someone to teach them, for someone to give them the path, etc. They just go out and find a way to do it.”

— Mitchell Hashimoto, post on X, September 11, 2026

The team is Giorgio Pellero, Susanna Wong, Adrian Carayol, Boris Ballester and me. You can’t assign agency, but you can take away what smothers it: bureaucracy, waiting and unclear ownership. Don’t wait for everyone to agree on the solution, or for an approval that would only rubber-stamp it: ship a first version, then iterate on the feedback. Security, privacy and compliance reviews aren’t on that list. They protect our customers, and every change still goes through the ones it needs. My kickoff message said we would own our backlog and choose where to work, as long as we could show the impact. The rest was about removing reasons to wait and pointing everyone at the same target:

  • Choose your own work. Pick it, split it among yourselves, and post the choice in the team channel. Nobody waits for a manager to approve the idea.
  • Aim it at the company’s most important bets. Agency needs a direction, so build for those bets directly or clear work off the plates of the teams carrying them.
  • Expect experiments to fail. Failed experiments are how we learn and get better, so one that teaches us something counts as progress.

That second point is the one I kept repeating: freedom to pick your own work only pays off when it helps the company win where it matters most. I also asked for some low-hanging fruit alongside the big goals, because quick wins build momentum and trust while the bigger work takes shape. In the first two weeks, Adrian had merged features users had been asking for, and Giorgio asked Claude to look through our cloud bill for easy savings. It found a deploy tool that cleared the CDN cache one file at a time, and the small fix it suggested was estimated to save up to a few thousand dollars a month. Finding and writing that fix cost about $4 in model spend, so even at half the estimate it returns more than 300 times its cost every month.

The same went for tools. When Giorgio asked whether we could start experimenting with scheduled agents in the cloud or should hold off, my whole answer was “Don’t ask for permission.”

That answer came with a condition, and Giorgio knew it: whoever makes the call owns what follows, including checking the risks first. It covers our own tooling and anything we can easily undo, inside the security and data rules every engineer already follows. A change to another team’s code goes to them as a PR. Anything hard to reverse, or that changes where we’re heading, gets more people involved.

By week two a working pattern had appeared on its own: one engineer would explore a domain and solve its problems by hand, and another would turn that knowledge into a reusable, autonomous loop. When I asked whether they wanted more structure, the team asked instead for a clean backlog and written goals, so they could keep organizing themselves.

Set goals, not a fixed roadmap

Five people climb a hill toward a signal tower by five different routes, each building their own way up: planks over a stream, a ladder up a ledge, a rope bridge over a gap, a saw through a fallen tree, and stepping stones.

A month in, we wrote down where we were heading. We kept it to outcomes and left the path to the engineers:

  1. Automated pull requests, first agent-assisted, then fully automated, with safeguards strong enough that nobody has to babysit them.
  2. A platform other teams build on: daily use of Dragonfly, our agent workflow orchestrator, and adoption beyond our own team.
  3. Impact on the company’s biggest bets, not only better tools for engineers.
  4. Automation we can measure, on a dashboard that keeps itself up to date.
  5. Less routine maintenance for the teams building the core product.

The first goal is the heart of the factory, and it only works with strong safeguards: tests every change has to pass, agentic code review on every PR, and people focused on the changes that need judgment. The bar we’re borrowing from the Claude Code team is less human review time per PR, with no rise in reverts or incidents.

There are almost no intermediate checkpoints, and engineers set their own delivery dates. Instead of a fixed six-month roadmap we keep a few directions and high-level initiatives, so the team can still chase work nobody planned for, like the CI work in the next section.

Three habits keep us aligned:

  • Ship weekly, align asynchronously. Share proposals and design docs and fold in the feedback, instead of running a long planning cycle.
  • Earn trust in low-risk areas first, such as maintenance-heavy code and known-issue backlogs, then use that evidence to take on riskier automation.
  • Make the work visible automatically. An agent drafts each of our daily updates from GitHub activity, and those combine into the team’s Friday update, which went out even while I was on holiday.

Here’s how the first two months unfolded:

Modernizer went from demo to 500+ security PRs in 17 days. Loop Engineering milestones by week, September 21 to November 13, 2026: Sep 21 team kicks off; Sep 25 first MCP feedback fixes merge; Oct 5 Modernizer demoed to the team; Oct 9 first campaign, 18 of 19 merged; Oct 20 outcome-based roadmap agreed; Oct 22 500+ security upgrade PRs; Nov 11 Dragonfly in production, CI jams; Nov 13 CI checks cut to 2.5 minutes.

Dates from team standups and Slack updates

Treat every bottleneck as yours to fix

A three-panel strip. First, an engineer waits at a desk while an hourglass drains and a light stays red. Second, the same engineer lies under the machine with a wrench and a flashlight. Third, the engineer smiles as crates speed past on a conveyor and the light turns teal.

Once agents made PRs easy to open, CI became the slow part, and fixing it became our job too.

Our own speed gave us the clearest test of Hashimoto’s point. As we opened more PRs, the shared CI runners filled up, and one afternoon in November we couldn’t open new PRs at all.

The next morning the team had more than 50 open PRs, including a stack of dependent PRs about 20 deep, and the count was heading for hundreds, more than extra runners alone could absorb.

Nobody assigned the fix, and nobody needed to. Adrian could have filed a ticket and waited for CI to get faster. Instead he treated it as something he could change, because it stood between him and shipping. Within a day he had measured CI across every Typeform repository, more than 400 of them, and ranked each by its share of both PRs and runner-hours. The load was concentrated: about 30 repositories used three-quarters of the runner-hours. Before sharing the ranking, he had one agent re-check the data and a second challenge the method, and their corrections went in first. Then he started opening PRs with the teams that own the heaviest pipelines:

  • Skip CI on draft PRs. Drafts were running tests, builds and image pushes. Now only PRs that are ready for review run checks.
  • Start with the heaviest pipelines. In the heaviest one, dependencies are now cached once on main and the tests run in four parallel jobs. In another, PRs run only the tests their change affects.

A few days later, his update had the first results:

Required checks on a form-builder PR now take 2.5 minutes, down from 21.7. Minutes, early measurements reported November 13, 2026; shorter is better. Required checks on a form-builder PR (median): 21.7 min before, 2.5 min after Adrian’s fixes. One-package test run in the smart-forms builder: 10.5 min before, 47 s after.

Adrian Carayol’s November 13 update to the engineering org

That’s about 9 times faster on the main required checks and 13 times faster on the second pipeline, with roughly 60% fewer runner-minutes on a measured PR. Because these pipelines are shared, the speedup reaches every engineer who opens a PR in them. These are early measurements, and Adrian is validating them against real merges.

Start where the pain is already written down

The fastest early wins came from problems someone had already written down. A backlog, a feedback database or an on-call log already shows the problem is real.

Adrian started with a Notion database of user feedback on Typeform’s MCP server, which lets AI assistants like Claude build and edit forms. He had Claude group duplicate requests and rank the rest, then fixed the top ones. Two small schema changes cleared about 200 errors a day, and failed edit calls dropped by about 40% while traffic grew 14%.

Then he turned that process into an agent:

From user feedback to a verified pull request: what the MCP feedback agent does with each new request. 1, Read: new feedback from Notion. 2, Filter: drop duplicates and misfits. 3, Build: implement and deploy a preview. 4, Verify: use it through the MCP server and record a video, the step that matters most. 5, Hand off: the owning team decides whether to merge.

The verify step does the most work. The Claude Code team estimates that letting Claude check its own work makes results two to three times better, so we build a check like this into every workflow.

Giorgio found his first target in his own on-call pages. Paged early one morning, he had Claude investigate the alert while he was still waking up. Within seconds it had found the likely cause in our monitoring and code, and he had it open the fix PR. Once the PR merged, CI deployed it, and later that day customers’ data exports were working again. That became an incident watchdog, set up in the team’s first week. By the time anyone acknowledges a page, it has usually posted an analysis that helps tell noisy monitors from real bugs.

The watchdog also grades itself every week. Of the 41 alerts that needed action so far, 44% got a fix PR, up from 9% before. It’s a small sample, but the direction is clear.

Find the high stakes in other teams’ work

A central workshop with a robotic arm sends parcels through branching pipes to many different houses, several already fitted with a new part on the roof.

Giorgio’s biggest contribution started with a small, recurring incident. A handful of services used a vendor’s SDK in a way that could keep them from starting up during that vendor’s outage. The fix was only a few lines per service, but the services belonged to several teams.

By hand, that means a ticket and a follow-up for every team. As a rule, teams’ product work comes before non-urgent cleanup like this, so each fix would sit at the bottom of a team’s queue, often for several days. Instead, in about a day, Giorgio built Modernizer: an agent that fixes a whole class of problem across many repositories at once, instead of one instance at a time. A campaign runs like this:

  • A person describes the change: the before and after, the expected result and the acceptance criteria.
  • An agent finds the targets across every repository in the organization, skipping the ones that don’t need the change.
  • A person approves each repository’s plan before anything runs.
  • The agent opens draft PRs and keeps them green. Owning teams review them through their normal checks. When CI fails, Modernizer fixes it within a spend budget per PR, and it answers reviewer comments, escalating any that conflict with the campaign.

Those match the guardrails Anthropic’s guide to agent automations recommends for any agent that runs on its own, including a spend cap rather than a retry count.

The Modernizer project in GitHub, filtered to the first campaign: 19 sub-issues, one per repository, each marked Done and linked to its pull request.

The first campaign opened 19 PRs, and all but one merged quickly.

Two weeks later it got a real test. In late October, two industry-wide security problems landed in the same week. The certificate authority eMudhra disclosed that its signing keys had been compromised, so its certificates could no longer be trusted, and PHP shipped emergency patches for two critical remote-code-execution flaws. Like much of the industry, we had fixes to roll out across Go, Node.js, Python and PHP services at once. Working with Security Engineering, SRE and Developer Experience, Giorgio helped engineers across teams run Modernizer campaigns, and more than 500 dependency-upgrade PRs went out. The certificate campaign alone patched more than 150 repositories in under three days, for about $70 in model spend. Earlier company-wide upgrades had taken weeks.

Half the Go patch PRs merged in about 6 hours. Merged pull requests by day, counted from when each rollout started. The October security patch for Go services reached 132 merged PRs, with half merged in about 6 hours and nearly all within two days. An earlier company-wide upgrade reached 131 merged PRs, with half merged only after 15 days.

By then other teams were running their own campaigns, and by November they were filing most of the new ones:

Table of Modernizer campaigns run by other teams. Auto-merge for safe dependency updates, run by Security Engineering: more than half of all repositories so far. Yarn to pnpm migration, run by another engineering team: most of the target repositories so far. Cypress to Playwright, final seven repositories, run by another engineering team: done in about 10 days for roughly $35 in model spend.

Some teams now build loops of their own on top of ours. One product team runs a nightly loop that finds CI workflows failing on their main branches and ships the fixes, and within a few weeks every Go service they own was green. Requests now come to us, too. One engineer on another team suggested pointing an agent at flaky end-to-end tests, and promised to “personally nominate the agent for promotion.”

“Product teams want to move fast, but are often held back by tech debt and KTLO [keep-the-lights-on work], especially when building on older parts of the product. Modernizer changes the equation: it works as a force multiplier. Instead of taking weeks or months, a change only takes a few days to roll out. This kickstarts a virtuous cycle: the faster we can modernize the legacy areas, the faster they can ship their changes, which in turn frees up capacity to tackle more of the issues that are slowing us down.”

— Giorgio Pellero, Staff Engineer

Build trust into every PR

Cards fall through a stack of ever-finer sieves worked by robotic arms; at the last, narrowest gate one person inspects a card with a magnifying glass before it drops onto a conveyor.

Agents can open PRs faster than people can review them, so review is where a factory like this either flows or stalls. We don’t want people to review less carefully. We want them to look where it matters, and let machines check the rest. The Claude Code team at Anthropic describes a similar approach: review in layers, with people on the critical path. In their words, “The change sets the tier, not the author.” Here are our layers:

Machines check everything; people check what matters. Five stacked layers, each narrower than the one above: the agent proves its own work (automated); tests come with the change (automated); agentic review on every PR (automated); people on the critical path, with review effort set by risk, not by author (a person); small changes, merged often (automated).

In practice, every PR arrives with its evidence, such as test output, screenshots or a browser recording, and with the tests that came with the change. Automated code review is a required check whose comments get a revision pass before a person looks, and it only takes instructions from people who contribute to that codebase. Review effort is set by risk, not by who or what wrote the change, and rules require a person’s approval in high-stakes areas.

We measure the layers instead of guessing. We built a code-review benchmark from 50 of our own real PRs, and its results decide which reviewer we run.

Susanna’s accessibility workflow was the first proving ground, for a backlog every team has and few get to. Agents audit a codebase, check each issue in the running app, fix it, and test the fix in a headless browser, with the results on a review board. With that evidence in hand, a batch of 47 PRs took about an hour of human review in our tests. We build agents like this one with the teams they serve, from the start. For accessibility, those teams told us what wasn’t working, and we adjusted the agent and asked again until it met their bar. Teams can now run it as a single campaign on their own codebases, from a guide.

Boris works on the other end of the line: what comes in. His bug-triage workflow covers new tickets across the organization, writing a short brief and suggesting an owner for each. It draws on an agent-built feature map that links product features to the code behind them, which improved triage by about 20% in a proof of concept. The map also lets an agent check a feature the way a person would, in a temporary environment and a browser, and hand back a video. An agent can already verify about half of all product features unattended, and the goal is three-quarters.

My rule is simple: an agent can do alone whatever our safety nets cover: the tests, checks, automated reviews and monitoring that catch a break before it reaches anyone. I still want a human on critical paths like payments, on anything hard to reverse, and on changes of direction. Where we’re going is decided between people, and whoever deployed the change is accountable for it.

Trust grows one area at a time. With our design colleagues, we’re agreeing on which changes are a good first fit for agents, such as accessibility fixes, small asset swaps and copy updates. Across engineering, the conversation has moved from whether to trust AI-written code to which evidence makes it trustworthy.

What the factory floor looks like today

Most of the line now runs on Dragonfly, the agent workflow orchestrator the team built and recently deployed to production. SRE made that possible: they helped us set up the infrastructure and reviewed a long run of our Terraform PRs. A workflow is a series of agent and tool steps, and workflows can call other workflows. One chain, for example, changes a shared library, gets the PR reviewed and repaired until it merges, cuts a release, and then upgrades everything downstream. Here’s what’s already running on it:

Risograph-style diagram of one hosted Dragonfly run, ‘Implement a feature, review it, open a pull request’. Plan steps run top to bottom, then a ‘Build, review, ask’ loop that contains an ‘Implement until tests pass’ loop, then ship steps ending in ‘End: pull request opened’. Agent steps are rust, tool steps are teal, every step shows Succeeded, and branches not taken show Skipped.

PRs in the team’s own repositories are approved automatically, which removes the wait for a second person. Approval isn’t the same as ready, though. Every PR still runs a required automated code review, rules still require a person’s approval in high-stakes areas, and authors decide when their change merges. As on the Claude Code team, whoever starts an agent’s change still owns it.

Here’s where each piece stands today:

Table of where each piece stands today. In production: Modernizer campaigns, the incident watchdog, the daily monitor review, the accessibility workflow, auto-approval in our own repositories, Dragonfly. Early test: the MCP feedback agent, bug triage and the feature map, the Operations feedback workflow, the Analytics report. Next ambition: fully automated PRs across teams, and a product that improves from customer feedback.

None of this is meant to stay inside our team. When something works for us and could help everyone, we generalize it and propose it to the rest of engineering through the usual RFC process. That’s how PR auto-approval, repository and Dependabot settings, and Modernizer itself are reaching other teams. What I’d like for the rest of R&D is to hand more of the low-risk work to agents, area by area, wherever the safety nets, from tests and checks to automated review and monitoring, have shown they catch problems.

What we’re working on next

Going faster shows you where the next improvements are. These are the ones we’re working on now:

  • More CI headroom. PR volume will keep growing, so next come lighter checks on every PR, a thorough gate at merge, and review depth set by risk, piloted first on Dragonfly’s own repository.
  • Secure defaults for agents. With Security, we’re setting the defaults for where agents run and what they can reach, so the safe setup is also the easy one.
  • Repositories agents can trust. An AI-readiness campaign will give every repository an AGENTS.md, the file that tells agents how a codebase works, with a separate agent checking every claim in it. On the first three drafts it proved 98 of 99 claims.
  • Partnering beyond engineering. We don’t wait to be told what to automate. We ask teams what they do and which outcomes they need, then help them build their own loops. With Operations, one of the first workflows outside engineering turns product feedback from Slack into routed items and draft PRs for small, clear bugs. Our analytics colleagues are starting to build Dragonfly workflows of their own.

One of the loops that matters most starts with feedback. One of our internal tools already runs it end to end: feedback from the people who use it gets implemented automatically. That’s the small version of what we want for the product. Two things this post leaves out will get posts of their own: what this work has meant for customers and the business, and what it changes for the rest of R&D.

Try it on your own team

You don’t need a new team to start. You need fewer reasons to wait. Give engineers outcomes instead of a plan, a budget for automated work, and room for experiments that fail. Give every agent a way to prove its work, a spending limit and a person who owns the result, and review by risk, not by who wrote the change. Start with a backlog someone has already written down, and aim to merge something in the first week. Then watch where the new speed strains your process. That’s your next project.


First published on Typeform’s engineering blog on November 27, 2026.