Source
Y Combinator Startup Podcast — How To Build The Future: Paul Graham & Amjad Masad (November 7, 2026) ·
at 14:59 ▸ ·
at 18:01 ▸
When this applies
when evaluating whether past, seemingly unrelated infrastructure investments could unexpectedly enable a new strategic direction
The takeaway
Investments in general-purpose architecture (e.g., modeling flexible actors/users) can become unexpected unlocks for future pivots, because the new use case fits the existing abstraction rather than requiring new primitives.
Why it works
Because the collaborative system already modeled 'another user' joining a session, an AI agent could be inserted into that same abstraction with minimal new engineering, and the team's existing functional divisions (infra, deployment, IDE) mapped directly onto new agent-support roles.
One level up
Deep, general infrastructure built for one purpose often creates optionality for unforeseen future products — invest in good abstractions, not just the immediate feature.
Where it stops holding
This stops working when past infrastructure was built too narrowly/specifically for its original use case, in which case it won't generalize to the new direction without rework.
Detail
situation: Replit had built collaborative editing where multiple humans could work on the same project, plus a team structure split into infra, deployment, and IDE.
decision: When adding AI agents, they treated the agent as just another user in the existing collaborative system rather than building new primitives.
outcome: It was 'surreal how plug and play' it was — the agent slotted directly into existing collaborative infrastructure and team structure (later formalized with a dedicated agent team in the middle).
lesson: General-purpose abstractions (multi-user collaboration) built years earlier can directly enable a much later strategic pivot (AI agents) without redesign.
In their words
So when you put an agent into a REPL, as we call it. It's like you're collaborating with the agent. Yes. So the agent is another user.