How To Build The Future: Paul Graham & Amjad Masad
- Host
- Paul Graham
- Guest
- Amjad Masad, Co-founder and CEO at Replit
- Date
TLDR
Replit’s advantage in AI coding came from years of building the infrastructure, collaboration tools, and product instincts needed to turn a language-model response into working, deployed software. Amjad Masad sees that capability expanding beyond coding into a “self-driving company,” where employees use agents to replace costly internal software and reshape how work gets done. His prescription for building toward that future is to expect exponential change, learn from users, and adapt before the old model becomes untenable.
Key takeaways
Replit’s 2024 breakthrough was making an agent work until the software ran, not just generate a code answer. Before Replit automated the process, users copied code from ChatGPT into Replit, then pasted errors back into ChatGPT for fixes. Replit built a loop that interpreted errors and continued until the program worked, while also letting the agent provision infrastructure such as databases. Model companies later asked how Replit had made the approach work.
Replit’s years of infrastructure and collaboration work became the foundation for its agent, not legacy baggage. The agent could operate like another user in a shared project because Replit already had collaborative editing, execution sandboxes, deployment, and cloud services. The company also built systems such as a transactional, reversible file system. Masad says this depth helps win enterprise customers, which place greater weight on reliability and security.
Replit’s product direction came from watching what users already did, even when their workflow looked improvised. Before vibe coding, some non-programmers used ChatGPT to generate code, then manually moved it into Replit and back again to resolve errors. Replit had already generated an estimated 50% to 60% of code through autocomplete, and user behavior showed there was demand to automate the rest. Masad describes the shift as incremental inside Replit, even though it looked radical externally.
AI coding is turning internal software projects into a much cheaper alternative to outsourcing and legacy SaaS. Masad says large companies, including banks and manufacturers, have replaced projects once scoped at $10 million with work costing about $250,000 on Replit. The projects often start with employees building internal tools for their teams. He argues that the outsourcing model is increasingly obsolete when employees can use agents to build the software directly.
Enterprise AI controls should account for unequal returns, rather than simply rationing usage evenly. Masad says companies often cap each employee’s tokens, but Replit sees a power law in which one person can generate 100x the ROI of another. He argues that companies need ways to identify where valuable work is happening, while accepting that budgets and administrative controls help a product get adopted in the first place.
Masad’s “self-driving company” vision extends Replit from a coding product to a platform for changing how companies operate. Replit is using itself as “customer zero” to learn how AI changes work, while employees use agents to build and automate more of their own processes. Masad expects agent use to grow from 1 to 10, then 100 and eventually 10,000 agents, a scale he says will push work from local machines into the cloud.
Building for the future requires treating exponential change as the default and being willing to discard old identities. Masad traces his expectations to reading Ray Kurzweil and seeing compute growth as a continuing exponential trend, which helped him imagine agents after encountering GPT-2 in 2019. He says he has repeatedly restarted and rewritten parts of Replit, and argues that adaptability and lifelong learning matter more than defending a craft as machines take it over.
Insights and implications
Infrastructure built for earlier product needs can become the decisive advantage when a new technology arrives. Replit’s collaborative IDE, sandboxes, and deployment systems were not originally created as an AI-agent moat, but they let an agent act inside a working software environment as soon as models became capable enough. In a market where the agent harness itself gets easier as models improve, accumulated infrastructure and operational know-how may matter more than a temporary lead in model integration.
The enterprise opportunity is not only cheaper software, but better visibility into who creates value inside large organizations. Replit’s examples combine employees gaining the ability to build their own tools with a large gap in ROI between users. That suggests agent platforms could become instruments for discovering high-impact employees and workflows, not just software delivery tools. The challenge is to give organizations evidence of value without suppressing the unusually productive users with uniform limits.