Blog
The Self-Driving CompanyWe are beginning to see what happens when a company learns to operate itself.

Published:
Jul 16, 2026Amjad Masad
Scott Kennedy
In the past six months, engineers at Replit have nearly tripled code output. Review times held steady. Reversions and product incidents have stayed flat. Quality metrics improved, and releases have accelerated. All the typical trade-offs you might expect have not occurred.
While the code is the visible part, what's happening under the surface is much more interesting.
Agents now investigate production incidents, review pull requests, answer questions, analyze business data, triage support tickets, research sales accounts, and improve the systems that power Replit Agent itself.
It feels like a single master intelligence threaded through every employee, even though it is not. It is an expanding system of agents operating across the company: taking goals from people, gathering context, performing work, checking the results, and escalating when human judgment is needed.
We think this represents the beginning of a new kind of organization: the self-driving company.
A self-driving company is not one without people. People still choose the destination. They decide which problems matter, make difficult tradeoffs, exercise taste, and take responsibility for the outcome.
But increasingly, they do not perform every step required to get there.
The shift began late last year. Like many people working in AI, we returned from the Christmas break feeling that something fundamental had changed. Models could sustain work over much longer horizons.
Tasks that had repeatedly failed, like alert triage and root-cause investigation, began working. AI started solving some of our most stubborn bugs. So we stopped treating agents as tools that lived inside an editor or chat window. We wove them, carefully, into the fabric of the company itself.
Once engineering proved the value, adoption took on a life of its own. Team after team started offloading their most tedious work, reclaiming time for the strategic and creative thinking that actually moves the business. People don't feel like they've been automated. They feel like they've been promoted.
This is the story of how AI has completely changed the way we work at Replit.
Engineering saw the impact first
In late January we turned up infrastructure to experiment with internal agent use cases quickly. We leveraged our agent harness, microVMs, and remote filesystem infrastructure so any engineer could orchestrate swarms of agents in parallel. Then we locked the whole thing behind access policies, token proxies, audit logging, and our ZeroTrust network. At that point we felt safe giving the agent access to all the things we use to get our jobs done: GitHub, GCP, Azure, Linear, Notion, Slack, ZenDesk, and more.
With context across systems, we saw a leap forward in productivity. Experiments that previously failed became easy. The most immediate impact was in coding stats.
We were in the sprint week leading up to Agent 4 release in March, where we typically see a big spike. Meetings disappear, scope is known, and engineering shifts into pure execution mode (often for up to 16 hours per day). But this time was different. Our productivity curve bent upward in a way none of us had seen before, which can be traced to the adoption of our new internal agentic system. From early January to late June, there was a 5.8X increase in the lines of code contributed.

Part of this increase can be attributed to hiring well. Our new agent accelerates time to productivity, which is great, but we can remove the hiring effect for cleaner data. Keeping a consistent cohort of authors, we see 2.9x as much code as before. Traditionally, it’s considered excellent if you keep output per engineer flat as you scale a team. We just tripled per engineer rate while doubling the team.

You might wonder who is reviewing all this new code and whether we’ve created a new bottleneck in the review process. Our code review latency is flat, largely because we put our agent to work in reviewing code. It’s now able to assess risk levels and only call in a second human reviewer when necessary. That means 30% (and growing) of human PR review time has been saved.

With our agent writing and reviewing more code, we should be worried about quality. If we look at PR reversion rates (left) and incidents opened, trends are flat. This means we’re actually improving on a relative basis.

One reason is that these processes are also agent assisted. Human code reviews have the benefit of an agentic co-reviewer, so more bugs get caught. Incident investigations (meaningful bugs or actual incidents) are assisted by an agent that attempts to find the root cause, so mean time to mitigation (MTTM) is going down.

The final test is whether additional code inputs represent real value output. At the end of the day, engineering is delivering features for users. We track projects in Linear so that sales and marketing teams know when to communicate with users about new features. You can see the rate of project completion is sharply up along with our coding volume.

A self-driving engineering team can ship more, while raising quality at the same time.
Our agent of agents is enabling loop engineering at scale
Zooming in gives us an idea of what this looks like. When engineers find ways to generate loops, sending a fleet of agents off to complete a verifiable task, we see the most dramatic change. Every employee gets access to a manager agent that can spawn multiple agents, enabling orchestration of agents working in loops on your behalf. Loops resulted in some very unique looking PR graphs, like these:

One Engineer completed a long stalled migration of our CSS system and shared his learnings. Another engineer automated a migration that enabled us to localize the product. Yet another automated flaky test maintenance. Our CTO finally cracked one of our hardest networking bugs related to PSC and fd shutdown with a swarm of agents. All of our assumptions about what is possible have changed.


The most exciting self-driving example comes from our AI team. They built a continual learning system that analyzes user feedback, proposes improvements, and uses a combination of benchmarks and A/B tests to validate the wins. Replit Agent is self improving!

The build vs. buy conversation has changed
Our new internal agent also changed conversations about whether we build or buy software. We regularly try out new AI tooling. Buying solutions can help us go faster, and we also assess the market constantly. But the more we build, the less of this we will need to do. Our internal agent now outperforms products we test that are seen as market leading. We just churned a seven-figure SaaS solution because our internal app, built entirely in Replit, was superior and employees had migrated over.
All of a sudden, tools feel like they are built for us. The deep integration with our knowledge bases, and customization we’ve done, makes other solutions feel inferior.
What surprised us more was that our internal agent also beat out vertical specific products we evaluated. A tool to help engineers triage alerts and root cause incidents came back with similar quality but at 10x the cost of running it on our agent. A tool that runs automated penetration testing found fewer vulnerabilities than our internal version at 10x higher cost. Both our versions were put into production with ease, reducing MTTM in incidents and hardening critical systems against attacks.


With how much we’re still learning, and how models are improving, it’s clear this is only the beginning.
Beyond engineering and into the whole business
A self-driving company doesn’t stop at Engineering. Every function at Replit is changing.
Usage spread quickly out of Engineering, mostly because of a Slack interface. The rest of the company noticed engineers tagging our agent with tasks and tried it for themselves. Initially, the most popular use case was asking questions. By combining our knowledge base with the state of the code base, anybody could clarify product expectations without waiting for engineering input. Those employees could then fix copy or documentation as a follow up. It was an immediate boost in being able to respond to users faster.


But that was just the beginning. From there, contributions of new skills and integrations started to come in from all parts of the company.
The first big unlock came from our data team. They gave the agent a semantic layer over our data warehouse, so it knows which tables are sources of truth and how they relate to one another.
Now anyone at Replit can ask business intelligence questions and get a reliable answer. They can build charts and presentations from live data (including every chart in this post). The data team spends its time going deeper on the hardest problems, instead of fielding requests. Recently, a PM was able to self-serve complex launch analysis because our agent understands events in the codebase, how they show up in our customer data platform, and how to join those with complex subscription states.


Sales found the same leverage. The sales development team uses the agent to find and enrich product qualified leads, drawing on internal knowledge that more generic tools can’t see, so outreach lands with more context. Account executives use it to prepare for customer conversations to understand who is getting the most value, what projects are most active, and how credit usage tracks against their contract. This is all then packaged up into branded slides customized to the account. A self-driving sales team has more, higher quality touchpoints with their customers.




Our marketing team can use the agent to draft product specs from scratch with a single prompt, based on conversations and documents products across engineering and product. This gives them the ability to start moving on launches sooner and stay up to date, without needing to be in every single meeting. They have more time to plan and be creative, which will ensure our releases have greater impact when they are out in the world.

Our support team gave the agent skills to investigate issues and follow standard playbooks. It can choose to offer a response in our standard customer service voice, or escalate to engineering along with a summary of the ticket and investigation. A self-driving support team closes the hardest tickets (those escalated to humans) 60% faster. Users get back to building sooner.
In every example, the human didn't get automated out. They got promoted. Self-driving turns doers into directors, and the people thriving are the ones who think in outcomes and set direction. That is the most valuable work there is now.
Where to next?
Making ourselves more productive is exciting, but what really motivates the people at Replit is democratizing technology.
We want to bring this new way of working to all of our users. We’re hard at work making sure we can do this with the policy, permissions, security, and cost controls needed to deploy this at scale. Replit’s most active users are entrepreneurs and enterprise users building real businesses. Self-driving needs safety measures that can scale to meet those users.
We’re hard at work building that now.
Given all the graphs above, you won’t have to wait long.
More
- Sep 29, 2026
Free the models: Harness design at the frontier
Model routers are everywhere right now, but they have a fundamental limitation. No matter if based on advanced heuristics or a small model that reads each turn and picks which LLM to use, a router will always be less capable than the model it’s choosing for. Replit Agent lets the model decide instead. The main agent, or core loop, chooses its subagents’ tier and effort, and adjusts its own as the task unfolds. Given that freedom, GPT-6 Astra hands routine implementation to less costly subagents and decides for itself where its tokens are worth spending. On both DeepSWE and Terminal-Bench, Replit Agent is Pareto-efficient against Astra on its own: no published Astra baseline costs less and scores higher. It also beats a sidekick architecture, the same setup with one long-lived worker, by 11 and 16 points. Why we scaffold less Every model release invalidates assumptions baked into the harness. As models become stronger at long-horizon tasks, they don’t need as much scaffolding at the harness layer. In practice, we’ve observed them lean more towards delegation on their own: using subagents for context management and parallelism. Recent breakthroughs, Navier–Stokes among them, came in part from coordinating swarms of agents powered by frontier models [1]. But the frontier is jagged. The strongest coding model is not necessarily the strongest at designing UIs or making slides, nor the best at writing emails. So we design our harness to let each model work its own way, with the guardrails it still needs and quality at minimum cost as the goal.
- Aug 3, 2026
AI adoption starts with truth
The semantic layer is the foundation AI adoption is limited by trust. A user who gets burned by a confidently wrong answer will double-check the next one, eventually routing consequential work around the system entirely. Once that happens, AI remains a tool at the edges rather than infrastructure at the center… useful, but never trusted with the workflows where its value compounds. Before a company can benefit from more capable agents, those agents need a reliable way to know what the company considers true. A semantic layer tells an agent which tables are sources of truth and how they relate. That's the floor. It is necessary, and it isn't sufficient. A semantic layer is not plumbing. It is the first act of governance for an AI-native company: the shared definitions of the business, the canonical metrics, the sources of truth, and the relationships an agent is allowed to rely on. Without it, an agent does not have a data problem. It has a language problem: several tables can each look plausible, and the model has no grounded way to know which one means "revenue," "active user," or "customer." Getting that floor right changes the shape of everything above it. A semantic layer is not the product; it is the shared contract that lets a company safely add a system of specialized capabilities instead of one generic chatbot. Once an agent can ground itself in the right entities, metrics, and relationships, it can reliably run multi-step workflows, call focused tools, retain reviewed knowledge across runs, reuse validation and analysis code, and operate through durable services where work already happens.
- Jul 29, 2026
Introducing Replit Design
The next era of design, for everyone