# Factory's Matan Grinberg: The Coming 'Dark Factory' Where Software Builds Itself <!-- ref: @content/youtube/sequoia/2026-07-21-factory-s-matan-grinberg-the-coming-dark-factory-where-software-builds version: 2 updated_at: 2026-10-31T19:03:06.056Z --> Matan Grinberg (Sequoia Capital, 2026-07-21): Grinberg argues that enterprises want frontier coding performance without handing their future to a single model lab, so a model-agnostic harness and router is both safer and technically stronger than a lab's own harness. **[Watch on YouTube](https://www.youtube.com/watch?v=ZesOukBjPmI)** *Synthesized from Matan Grinberg on Sequoia Capital, 2026-07-21.* Matan Grinberg left a physics PhD to co-found Factory, which builds "Droids," autonomous agents for software development. This is his second appearance on Sequoia's Training Data podcast. ## Core Thesis Grinberg argues that enterprises want frontier coding performance without handing their future to a single model lab, so a model-agnostic harness and router is both safer and technically stronger than a lab's own harness. He also argues that software development will move from synchronous, human-started agent sessions to a "dark factory" in which asynchronous agents act on business signals. Getting there will require companies to measure where each incremental token and each incremental dollar of headcount actually produces outcomes. ## Key Insights - **Being early counts as being wrong.** Factory started in April 2023, when enterprises were barely ready for GitHub Copilot. Grinberg calls the first two years "the journey in the desert": the team was building fully autonomous agents that developers and procurement teams weren't ready for. As he puts it, there's no consolation prize for being early. - **They refunded all their revenue.** Factory learned enterprise sales and got to just under $2M in revenue, but the product wasn't good. Grinberg saw contracts signed for a product developers disliked as "a ticking time bomb," so Factory proactively gave every customer their money back and promised a much better product in about three months. Revenue went to roughly zero, and some enterprise customers didn't even have a process for receiving a refund. None of the roughly 20 early employees left. Grinberg credits strict mission-focused hiring and being openly honest about how bad things were. Factory's first valuation was $5M. - **"Create obsessed customers."** This Factory operating principle flips Bezos's "customer obsession." Grinberg sees customer obsession as an input metric. The output that matters is customers who become obsessed with the product. His analogy: a basketball coach says "score points," not "make sure to sweat." - **Avoiding vendor lock-in drives enterprise buying.** Enterprises remember cloud providers subsidizing three-year contracts and then raising prices 10x at renewal, when a two-year migration was the only alternative. Model labs also carry more drama risk, such as internal fights and disputes with governments. Enterprises want to swap in a new model when it is faster, cheaper or better. Many carry their momentum from Claude Code or Codex into Factory to get the same models without lock-in. - **Factory's answer to "aren't we just locked into you?"** Automations, the skills registry and other artifacts live in the customer's own codebase. Factory keeps no proprietary tribal knowledge about a customer's organization, and it passes savings from model arbitrage back to the customer. - **Developer behavior was the bigger change, not model quality.** On **September 26, 2025**, Factory shipped the **Droid CLI**. It met developers where they already worked, scored at the frontier, and could use any model. By then most engineers used autocomplete and many had started using chat-style agents. Grinberg notes that older models still work well in today's agentic interaction patterns. The breakthrough came when developers became willing to try agents, along with social proof such as Andrej Karpathy warming to agentic coding. - **Benchmarks have a 3–6 month half-life.** SWE-bench focused mostly on Python and single-file changes. Terminal Bench covered broader terminal tasks such as scheduling runs, and Factory scored at the frontier on it. New models now score around 90% because the benchmark has been "bench-maxed." - **What makes a harness good:** - **Cache hit rate.** Cached tokens cost about one tenth as much. - **Compaction quality.** Long sessions exceed the context window, so the harness has to summarize. Needle-in-a-haystack tests check whether one critical fact survives compaction. - **Robust tool use.** - **Using the environment to validate its own work.** - **A multi-model harness beats model–harness co-design.** Grinberg's analogy: "what data is to a model, models are to a harness." Exposing a harness to many models keeps it from overfitting to one model's quirks. When new Opus or GPT models came out, they scored higher on Terminal Bench inside Droid than inside Claude Code or Codex. - **Model personalities shape harness design.** Opus behaves like a friendly colleague who quietly drops 5 of your 20 tasks because it decided they weren't needed. GPT-5.6 is meticulous and will finish every item. Early Claude Code had to strictly enforce the to-do list because the model tended to wander, while Codex didn't need to. A model-agnostic harness has to give the same experience either way. For example, it needs to keep the to-do list through compaction so a long migration doesn't lose step 7. - **Token-maxing comes in phases:** - **Phase 0:** nobody believes in AI. - **Phase 1:** boards ask the CEO for an AI strategy. - **Phase 2:** CTOs add AI usage to performance reviews and publish token leaderboards. - **Phase 3:** people use Opus for everything. Some banks Factory works with spend hundreds of thousands of dollars a month on questions like "what's the weather." Grinberg thinks overcorrecting for adoption was reasonable, and that the next step is rationalizing cost. - **The Factory Router** sends each task to a model based on the work and on routing policies written in natural language. Example policies: - PMs vibe-coding dashboards use Gemini Flash. - COBOL code goes to a model fine-tuned on that codebase. - Critical code is generated with OpenAI, tested with Anthropic and reviewed with Gemini. - Some teams are kept off open models. Factory benchmarks internally to learn which models are best at which tasks. Grinberg expects that within about 12 months, CIOs will have to justify where every incremental token goes, so a flat per-person token cap won't make sense. - **Open models now match the frontier minus one generation.** Grinberg calls **GLM 5.2** "incredible." Factory's own engineers have no token limits, and about half of their tokens go to open models because those are faster, cheaper and just as capable. He says the fair comparison is against Opus 4.7 or GPT-5.5, not Opus 4.8 or GPT-5.6. His tutoring analogy: you don't hire Einstein to teach your daughter algebra. - **Open models' share of tokens is climbing.** Across Factory's customers, open models got under 1% of tokens at the start of the year, single-digit percentages in Q1, and now double-digit percentages. Share of cost is lower because open tokens are cheaper. Grinberg expects most tokens to eventually go to open models, but never 100%: a small share of high-stakes frontier tokens will stay very valuable. - **Pricing should move from usage to outcomes.** Grinberg sees usage-based pricing as right for now and seat-based pricing as wrong for Factory. In the 2030s he expects outcome-based pricing. In that model, model providers would bid a fixed price to complete a task that is checked against validation criteria, which makes the router a marketplace. It would also push users to write thorough tests, so an agent can't "pass" by deleting the code. - **Every company already has a software factory, just an inefficient one.** At organizations with more than 10,000 people, hundreds or thousands are involved in shipping a feature, and few could draw the process. The software-factory idea means codifying tribal knowledge, making the inputs explicit (customer signals, market signals, product leaders), mapping the assembly line, and closing the loop on business outcomes. Grinberg links this to Jack Dorsey's essay describing every company as an AGI: you optimize its "weights" with measurement rather than vibes. He argues layoffs of 20,000 people decided "from the hip" show the opposite. - **Tokens versus headcount depends on the function.** More tokens barely change a sales team's output, but more salespeople do. Engineering output scales with tokens when people own outcomes end to end. Operations, finance and marketing sit somewhere in between. Grinberg argues companies should focus on their core competency: a consumer logistics company building its own coding agents is like a pizza shop employing its own web engineers. - **What works in AI transformation:** - company-wide hackathons where everyone spends a day building with AI - accepting failure, while keeping security non-negotiable - having "no sacred cows" in existing processes - having change driven from inside the company (tech teams, individual contributors, leadership) rather than pushed by the board EY, one of Factory's largest customers, is his example of a company that decided not to be late to this shift. - **Prediction for the next 12–24 months:** about 90% of tokens will be asynchronous, meaning agents act on signals such as customer feedback without a person starting them. Today's usage is mostly synchronous, so it would drop to near zero if every engineer were out sick. Grinberg calls that "co-pilot mode." The name Factory comes from Tesla's lights-out "dark factories" and Elon Musk's idea of "the machine that builds the machine." - **Long-term outlook.** In the short term, Grinberg expects painful corrections at companies that misallocated resources, and he says AI CEOs should take more responsibility for that. Longer term, he rejects the claim that engineers will disappear. Many problems could be solved with software but aren't, or are solved with poor software, such as DMV and IRS sites and pharmaceutical research tooling. He wants that reallocation to take 6–12 months, not 10 years. ## Actionable Takeaways 1. **Keep your agent stack model-agnostic.** Choose a harness that lets you swap models as soon as a faster, cheaper or better one ships. Keep automations, skills registries and other artifacts in your own codebase so you can leave any vendor. 2. **Judge harnesses by measurable mechanics, not leaderboard claims:** - token cache hit rate (cached tokens cost about 1/10) - whether a key fact survives compaction (needle-in-a-haystack) - tool-use reliability, such as keeping the to-do list through long sessions - whether the agent validates its own work against the environment 3. **Treat benchmarks as having a 3–6 month half-life.** Run your own internal evaluations of which models do which tasks well. 4. **Move from token-maxing to routing.** First prove adoption, then route by task and team: - cheap or fast models (e.g., Gemini Flash) for trivial questions and vibe-coding - fine-tuned models for legacy code such as COBOL - separate models for generating, testing and reviewing critical code 5. **Compare open models against the previous frontier generation.** For example, compare GLM 5.2 to Opus 4.7 or GPT-5.5. If they match, send a large share of tokens to them. Factory sends about half of its own engineers' tokens to open models. 6. **Give token budgets by role and outcome, not a flat cap per person.** Measure which teams' output grows with more tokens (engineering) and which grows with more people (sales). 7. **Get ready for outcome-based work by writing thorough validation criteria and tests** for agent tasks, so that "passing" can't be gamed, for example by deleting the code. 8. **Map your software assembly line.** Define the input signals, codify tribal knowledge and approval checklists, and connect shipped features to retention or usage metrics. 9. **Run a company-wide AI hackathon day.** Allow failure outside security-critical areas, and let the push come from engineers and leadership rather than the board. 10. **If your product isn't creating obsessed users, consider resetting rather than selling harder.** Factory gave back about $2M in revenue to protect its credibility for the relaunch. ## Notable Quotes > "Our job is to build something so good that our customers themselves become obsessed with us." — Matan Grinberg > "There's no consolation prize. It's either you do the thing or you don't do the thing." — Matan Grinberg > "What data is to a model, models are to a harness." — Matan Grinberg > "If you build a harness that supports different models, that harness will be better." — Matan Grinberg > "Everyone has a software factory whether they know it or not. It's just a very inefficient one." — Matan Grinberg > "I think in 12 to 24 months, like 90% of tokens will be asynchronous tokens." — Matan Grinberg > "You don't do backprop in a model by vibes." — Matan Grinberg --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*