# How Decagon Runs 90% of Its Agents on Open-Source Models
<!--
ref: @content/youtube/a16z/2026-07-31-how-decagon-runs-90-of-its-agents-on-open-source-models
tags: [open-source-models, fine-tuning, latency-and-cost, forward-deployed-engineering, enterprise-ai-adoption, product-led-growth, ai-customer-support, agent-moats, jobs-and-careers]
version: 6
updated_at: 2026-11-21T20:23:50.421Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=cO1f2wOxSH4)**


*Synthesized from Jesse Zhang and Ashwin Sreenivas on a16z, 2026-07-31.*

Decagon co-founders Jesse Zhang and Ashwin Sreenivas talk with a16z partners (Kimberly Tan among them) about why their AI customer-experience company moved most of its agent workload onto fine-tuned open-source models. They also cover the forward-deployed model, how they sell to enterprises, and what AI does to jobs.

## Core Thesis
Once an agent's use case is stable and running at scale, fine-tuned small open-source models beat frontier models on the specific subtasks the agent performs. They win on accuracy, latency and cost at the same time, so "smart vs. cheap" is a false trade-off. Frontier models still matter for open-ended, exploratory work. Zhang and Sreenivas argue the durable value of an AI application sits in everything around the model: business-logic capture, testing, QA, governance, enterprise deployment process, and turning forward-deployed learnings into product.

## Key Insights

**The move to open source**
- Jesse Zhang describes the path. Early on, Decagon used OpenAI and Anthropic models to get something working. As it moved to larger customers with millions of end users and launched a **voice agent**, latency became the binding constraint. The frontier labs' small models couldn't be controlled or fine-tuned the way Decagon needed, so about **a year-plus ago** it switched to open-source models.
- Today **90% of Decagon's workflow runs on open-source models**. The other 10% uses closed frontier models, mostly for new projects and products. Zhang says the main driver was voice latency, not cost.
- A conversational agent is really many narrow subtasks running in parallel: classifying the topic, spotting bad actors, and so on. None of these needs a frontier model's general intelligence (math, coding, etc.), so a small model fine-tuned for one task can match or beat it.
- Zhang's framework scores every model on three axes: **cost, intelligence, latency**. Ashwin Sreenivas pushes back that this is often a false trade-off. Fine-tuned "dumber" models are *better* at the target task as well as cheaper and faster, so Decagon gets all three.
- Frontier models still win on broad, exploratory jobs. One example is **Duet Autopilot**, which reviews roughly a million conversations, finds trends, creates variants of the primary model, and tests which variant performs better.
- Running this takes a dedicated research team, which Zhang calls "very expensive." Decagon formally launched it as **Decagon Labs**. Sreenivas calls it a "model factory" built to shorten the gap between a new open-source release and a fine-tuned, task-ready model. They constantly train new models and retire old ones as the open-source frontier improves.

**Enterprise adoption of open source**
- Zhang expects enterprises to post-train open-source models eventually, but more slowly than people think. You need data and, above all, **custom evals**, because public benchmarks don't test your task. Model risk governance and security reviews add more drag.
- He says the *share* of open-source inference in enterprises is currently falling, because companies are spinning up many new use cases and naturally start on frontier APIs. Once a use case survives and goes to production at scale, the incentive flips to open source because it's "way cheaper and faster."

**Build vs. buy for model infrastructure**
- Sreenivas says Decagon builds eval and training tooling in-house because its evals measure **end-to-end customer outcomes across the whole multi-model system**, not loss curves or isolated task accuracy. Commodity needs like labeled data and dataset-diversity measurement are bought from vendors. The only goal is getting the best model into production fastest.

**Tokenomics isn't the priority**
- Performance (latency and accuracy) drives decisions, and cost comes as a side benefit. Zhang notes that **tokens per conversation have gone up** over time: Decagon makes more model calls for quality checks and parallelization, because customers care about conversation quality, not token counts. Cost optimization comes "if we've won the market."
- Sreenivas: tokenomics matters a lot if you run entirely on frontier models. Once you can decompose problems and build, train and deploy your own models quickly, it matters much less.

**Application layer vs. labs**
- Zhang points to a common misconception: most of Decagon's fine-tuning customizes models for the *customer-service use case*, not for individual customers. Customer-specific procedures live **in context**. Fine-tuning on them would mean redoing the tuning every time a procedure changes.
- Business logic sits at the application layer and has nothing to do with the model, for example rebooking three passengers after a canceled flight. So does the ongoing work of changing agent behavior after launch, plus integrations, testing, experimentation, conversation review, QA and compliance tooling.
- Sreenivas sees convergence: labs are building applications, and app companies are building their own models. He rejects the idea that the labs are the "last startups." Humans are effectively AGI and still need databases and CRMs, and AGI agents will likewise need somewhere to store work and pull information from. Long term, application companies may become "labs for specific verticals."

**Forward-deployed engineers: necessary early, a trap long-term**
- Sreenivas: FDEs are newly necessary because nobody yet knows the workflows for AI products. FDEs learn those workflows alongside the customer. Once a workflow is known, it should be productized. Otherwise "you're just building a glorified consulting" business.
- At Decagon, every FDE builds core product. A feature requested by one customer gets built so the next 10 customers get it for free. Agent PMs also turn the enterprise change-management journey into a repeatable process.
- They cite Palantir CTO Shyam Sankar's line that forward-deployed engineers "eat pain and excrete product." Zhang adds that few companies can close Palantir-sized deals that justify heavy custom effort. Firms doing "any AI use case for you" risk becoming a modern Accenture.
- The product lineage came straight out of FDE work. Procedures used to be written in code, so Decagon created **AOPs (Agent Operating Procedures)** in plain text. Writing AOPs by hand was slow, so it built **Duet**. Iterating after launch was slow, so it built **Duet Autopilot**.

**Duet: an agent that builds agents**
- Zhang describes Duet as a second, bigger, slower agent. You give it transcripts and documentation. It drafts AOPs, writes integrations and tools, generates tests and simulations, then monitors live conversations. It flags weak topics (e.g., one poor topic across a thousand conversations) and drafts fixes. This only became possible as reasoning models improved; Zhang notes those models were built mostly for the Claude Codes of the world.

**The moat after AGI**
- Sreenivas: model capability already far exceeds how enterprises use it. Even a perfect model needs a lot around it to be deployable:
  - guardrails on what the agent can and can't do
  - collaboration for hundreds of internal experts
  - regulatory testing
  - insight extraction from millions of conversations
  - integration with legacy systems
- That holds for the next few years. Whether agents eventually build all of this on the fly, he says, "we'll figure out in three years."

**Enterprise go-to-market**
- Zhang tells the story of a recent customer that left Sierra. Its FDE-centric "black box" setup produced only **3 journeys in a year**. On Decagon's self-serve "glass box" product it built **7 new journeys in about a month**.
- Neither founder had sold to enterprises before. Their early sales team included cold applicants, people with nontraditional backgrounds, and Ivy League athletes.
- Zhang spends **about 80% of his time on sales**. His tactics: break huge deployments at big banks, airlines and telcos into one or two top use cases to get an early win, and keep finding process and product configurations that shorten timelines. He sees that work as a founder's job, not a sales rep's.
- Sreenivas: Decagon maps the whole path from first meeting to going live at 100%. That includes the likely model risk process, the testing process, the initial rollout, and how issues get caught and fixed. In regulated industries, "can I actually get this live?" matters as much as whether the product works.

**From support to "concierge"**
- Sreenivas: Decagon was deliberately built as "an agent that follows business process well," not a support bot. Customers expanded it into inbound sales (discovery, then routing large deals to enterprise reps) and proactive operational outreach.
- The enabling capability was **instruction following**. Older models needed very tight, specific instructions. Newer ones can take broad guidance and fill gaps the way a human would, which open-ended sales discovery requires.
- Zhang says a precise 12-month roadmap is unrealistic now; if you know what to build, build it now. The long-term vision is an AI agent as "the front door" for every reactive or proactive customer interaction.
- Sreenivas frames concierge service in unit economics. A $100,000/year customer gets white-glove treatment and a $10 customer doesn't. If that experience costs **10 cents**, businesses will offer it to everyone. CRMs survive as the source of truth agents write to. Zhang says Decagon has "zero desire" to build a CRM.

**Bottlenecks, hiring and culture**
- The main bottleneck is **hiring**, not AI. Sreenivas says agents can handle execution steps but not taste: deciding what to build and when something is done. AI coding startups, the heaviest model users, are still hiring aggressively. If a competitor gets through its roadmap in a third of the time, everyone builds three times as much rather than hiring less.
- Technical areas they're watching: voice-to-voice models and smaller models that are smarter out of the box.
- On culture, Zhang says nobody is mandated to come in on weekends; the office exists to maximize communication. Sreenivas describes cross-functional "team sport" work, with engineers on sales calls and salespeople debugging product. New hires spend **a couple of weeks in San Francisco** at the start. New offices (Australia, London, New York) get staff from existing hubs for **a few months** until they develop their own culture.
- International pull is coming early for two reasons Zhang names: board and CEO pressure to adopt AI, and AI making languages easy. Data residency and local competitors are still hurdles. Decagon only invests heavily in markets where it has already picked up customers organically. Former VMware CEO Raghu Raghuram is helping with international expansion.
- Zhang argues the winners in this space will be horizontal, as Salesforce and Zendesk were, with consolidation across geographies, verticals and segments.

**Personal AI use and distribution**
- Sreenivas built himself an agent that "looks over my shoulder" and keeps compiling business context: hires, open roles, deals, current challenges. He can then ask questions like "should we hire this candidate?" and get answers that account for overlap with similar earlier candidates, or past deal mistakes.
- Sreenivas used a "disagree with me, be very direct" Claude prompt that Marc had posted. His wife tried it and turned it off after a day because Claude "was being so mean."
- Zhang: LinkedIn suits announcements, product news and fundraises. X is "a single timeline that everyone reads," so the goal there is to post views on the industry, not self-promotion. Impact on X is indirect, through podcasts, CIO attention and mainstream press. He writes his own posts and uses AI only to brainstorm topics.

**AI and jobs**
- Sreenivas: demand for support is often larger than supply. When support costs fall about 30%, most companies do more support rather than cutting staff. One early customer at roughly **50,000 tickets/month** put support on every page and opened immediate support to free users. The host calls this Jevons paradox in practice.
- Zhang: AI will "kill jobs but not careers." High-volume click-and-answer work should be automated, and there is near-infinite higher-value customer care for people to do instead. BPO outcomes vary: some companies cut BPO use, while fast-growing ones keep headcount flat as they scale or move staff to revenue-generating work.

## Actionable Takeaways
1. **Prototype on frontier APIs, then migrate stable workloads.** Once a use case is in production at scale and its shape is settled, move its subtasks to fine-tuned small open-source models. Keep frontier models for new products and open-ended work (e.g., analyzing about 1M conversations to propose agent variants).
2. **Break the agent into narrow subtasks** (topic classification, bad-actor detection, etc.) and fine-tune a small model for each instead of sending everything to one large model. This is the main lever for voice-grade latency.
3. **Build your own evals before fine-tuning.** Measure end-to-end customer outcomes across the full multi-model system, not loss curves or public benchmarks.
4. **Build the parts tied to your system; buy the commodity parts.** Build eval and training infrastructure in-house; buy labeled data and dataset-diversity tooling from vendors.
5. **Set up a "model factory" pipeline** to shorten the time from a new open-source release to a fine-tuned deployed model, and plan to deprecate models regularly.
6. **Keep customer-specific procedures in context, not in weights.** Write them as plain-text operating procedures (Decagon's AOPs) so changes don't require retraining.
7. **Hold FDE work to a productization rule.** Every customer-specific build should land in core product so the next 10 customers get it free. Make each repeated manual task the next product (code procedures → AOPs → Duet → Duet Autopilot).
8. **Sell the deployment path, not just the product.** Show enterprise buyers, in detail, the steps from first meeting to 100% live: model risk review, testing, initial rollout, and the issue-fix loop.
9. **Start large enterprise deals with one or two top use cases** and get a win before expanding across surfaces.
10. **Give customers a "glass box":** tooling that lets non-technical teams build journeys and inspect conversations themselves, so every change doesn't route through vendor FDEs.
11. **Build a context-capture agent for yourself** that keeps logging hires, deals and challenges, so AI advice reflects your real constraints. Consider a "disagree with me, be direct" system prompt to cut sycophancy.
12. **Use LinkedIn and X for different things.** LinkedIn for announcements and product news; X for industry takes that put you in the shared conversation. Don't cross-post the same content.

## Notable Quotes
> "Today 90% of our workflow is on open source." — Jesse Zhang

> "On the specific task we want them to do, they actually outperform the large, smart, state-of-the-art models." — Ashwin Sreenivas

> "If you can't do that, then you're just building a glorified consulting" business. — Ashwin Sreenivas

> "Forward deployed engineers eat pain and excrete product." — Shyam Sankar, as quoted by Ashwin Sreenivas

> "The thing that we built was not an agent that does customer support well, but rather an agent that follows business process well." — Ashwin Sreenivas

> "An AI agent should just be the front door of your business." — Jesse Zhang

> "We are voracious consumers of tokens, but we would always love more great people." — Ashwin Sreenivas

> "AI will kill jobs but not careers." — Jesse Zhang

---

*Related: `@content/youtube/david-ondrej/fable-5-is-never-coming-back-heres-why` · `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc` · `@content/youtube/latent-space/googles-open-ai-strategy-omar-sanseviero-google-deepmind` · `@content/youtube/aie/your-fine-tuned-model-is-tech-debt-a-50x-roi-house-of-cards-dan-bjornn-lease-end` · `@content/youtube/langchain/how-to-build-agents-that-improve-over-time-model-harness-context`*

---

*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).*