HOW-DECAGON COURSE GUIDE

How Decagon Runs 90% of Its Agents on Open-Source Models

A chapter-by-chapter readback of the free course by Jesse Zhang & Ashwin Sreenivas (Decagon), with Sarah Wang & Kimberly Tan (a16z) on a16z.

Length1:20:15
Chapters28
Modules6
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.
Watch on a16z · chapter timestamps in the contents jump the video

Decagon decomposes agent conversations into narrow tasks that fine-tuned small open-source models handle better, cheaper, and faster than frontier models — winning on latency and intelligence simultaneously. The rest of the discussion covers productizing forward-deployed engineering, enterprise sales, and why software isn't going away.

Who it's for
Read this guide if
  • You're deciding between frontier APIs and fine-tuned open-source models for production agents
  • You build or deploy AI agents for enterprises and want a realistic playbook
  • You're curious how AI application companies justify training their own models
Skip ahead if
  • You want hands-on fine-tuning tutorials or code walkthroughs
  • You're only interested in model architecture research details
  • You expect a beginner intro to what AI agents are
In brief
  • Duration: ~80 minutes (4815 seconds)
  • 8 study-guide modules with 19 chapters
  • Companies discussed: Decagon, OpenAI, Anthropic, Palantir, Salesforce
  • Level: intermediate — assumes familiarity with LLMs, fine-tuning, and enterprise software
  • Format: founder interview with a16z partners Sarah Wang and Kimberly Tan

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The Open-Source Thesis

0:00

Introduction

The hosts introduce Decagon's founders and frame agents as the 'front door' of a business, with the argument that software will persist even after AGI.

2:03

From Frontier APIs to Open Source

Decagon started on frontier models to get the product working, but latency — especially for voice agents — pushed them toward open source about a year before this conversation.

3:10

Decomposing Conversations into Narrow Tasks

Each conversation is broken into narrow subtasks like topic and bad-actor detection; fine-tuned small models can match or beat large models per task, so Decagon trades intelligence for latency and wins on all three axes of cost, intelligence, and speed.

4:13

The 90/10 Split and When Frontier Models Still Win

Roughly 90% of the workflow now runs on open-source models; the remaining 10% stays on frontier models for open-ended auxiliary work like Duet Autopilot, which reviews about a million conversations to improve the core agent.

7:17

Enterprise Adoption Realities

Enterprises will eventually post-train open-source models, but slower than expected: fine-tuning demands good data and custom task-specific evals, and model risk governance plus inertia slow migration even for mature use cases.

Running an Internal Model Factory

9:31

Retraining as a Permanent Capability

Because the model landscape shifts constantly, Decagon retrains frequently and runs a 'model factory' that compresses the gap between a new model release and a fine-tuned, task-useful model.

11:16

Evals Tied to Customer Outcomes

They evaluate fine-tuned models with end-to-end system evals tied to customer outcomes rather than loss curves, since models must work in concert; commodity needs like labeled data are bought from vendors.

13:17

Why Tokenomics Isn't the Constraint

Latency and accuracy — not cost — drive their decisions; customers care about conversation quality, and tokens per conversation have actually risen as they add more model calls and checks for quality.

15:35

Challenging the 'Last Startups' Narrative

The founders push back on the narrative that Anthropic and OpenAI will own everything while applications are thin UIs, arguing instead that labs and application companies are converging from opposite directions.

17:24

What Gets Fine-Tuned vs. Kept In-Context

Fine-tuning customizes models for the customer-service domain generally, not per customer; enterprises instead teach changing procedures in-context, and business logic like rebooking a cancelled flight lives in the application layer.

Forward-Deployed Engineering and Product

20:06

Software, SaaS, and the Future Application Layer

Even with AGI, agents need software like databases and CRMs to store work and pull information; application-layer companies may become labs for verticals, but the application layer persists.

22:47

The Forward-Deployed Engineer Model

FDEs embed with customers to learn unexplored workflows, but Decagon insists their learnings flow into core product so the next ten customers get them free — otherwise the company becomes a glorified consulting shop.

25:41

Eating Pain, Excreting Product

Mixing free consulting with real product work is dangerous; citing Palantir's CTO, the founders describe very few companies as being able to do what Palantir does, and stress Decagon is product-led at its core while sales informs the product.

29:24

Careers After AGI

A speaker argues careers will survive AGI because most jobs are layered abstractions and people will still do things for other humans — AGI changes jobs rather than eliminating them.

Duet: Productizing the Agent-Building Loop

30:07

From Manual AOPs to Duet

Building the first agent required manually writing agent operating procedures, tools, tests, and monitoring; Duet, a larger second agent, now automates all of those tasks from transcripts and documentation.

32:28

Why Duet Only Became Possible Recently

Duet monitors live conversations, proactively flags weaknesses, and drafts improvements — it only became feasible as reasoning models improved and generalized beyond their training tasks.

35:18

Moats and a Competitive Win

The short-term moat is enterprise deployability — control, collaboration, regulatory testing, legacy integration; a recent customer who left a competitor's black-box approach built about seven journeys in a month versus three in a year.

Selling to the Enterprise

40:30

Go-to-Market and Early Sales Culture

Selling to enterprises was a fast learning curve; the company was always sales-led, hiring non-traditional backgrounds early and maintaining company-wide intensity around the idea that everything starts with sales.

42:36

Productizing the Deployment Journey

Decagon maps the granular path from first meeting to full go-live — model risk processes, testing, rollout, and issue-fixing — which is especially complex in regulated industries and often overlooked by tech companies.

44:07

Founder-Led Sales and Speed as the Pitch

A founder spends about 80% of their time on sales, pushing speed through piecemeal projects with big banks and airlines, while staying close to customer feedback loops because the market changes weekly.

47:32

From Customer Support to AI Concierge

Support was the original use case because it matched both customer pain and model limits; as instruction-following improved, customers expanded into inbound sales and proactive operational workflows, supporting the broader concierge vision.

Company Building in the AI Era

51:05

Hiring Over AI, Roadmaps Over 12 Months

The main bottleneck is hiring, not AI; agents can execute steps but can't decide what to build or judge taste. Detailed 12-month roadmaps are unrealistic — if you know what to build, build it now.

55:58

Culture Without Grind Slop

Hard work is a byproduct of ambitious people, not mandated; the company runs as a team sport with few org boundaries, and scaling culture to new offices in Australia, London, and New York remains an unsolved problem.

1:00:19

International Expansion and Vertical vs. Horizontal

AI companies get pulled international early because of board-level pressure and easier localization; Decagon built horizontally, expecting consolidation while niche players find space, with challenges like data residency remaining.

1:04:17

Democratizing the White-Glove Experience

If white-glove treatment that costs $100K a year today can be delivered for $0.10, it becomes economical for everyone — that's the product thesis. CRMs stay as databases of truth, so 'SaaS is not dead.'

1:07:48

Capturing Business Context and Co-Founder Dynamics

One guest built personal agents that passively capture business context, arguing context is the bottleneck for AI usefulness; the founders note co-founders let them iterate faster, and modern models now genuinely push back on bad ideas.

1:10:25

X, LinkedIn, and the Attention Economy

X functions as a single shared timeline that shapes what everyone thinks about, while LinkedIn suits announcements; the speaker writes his own posts and uses AI only for brainstorming, and X reaches CIOs indirectly via podcasts and media.

1:15:56

Jevon's Paradox: AI Kills Jobs, Not Careers

Cheaper support leads companies to do more support rather than lay people off — one customer expanded access to every page and free users; the thesis is that AI takes the mundane high-volume tasks while opportunities to make customers happier remain near-infinite.

Moment by moment

TimeWhy it matters
4:13The reveal that 90% of Decagon's workflow runs on open-source models — the core claim of the episode
5:17Why 'smart vs. cheap' is a false dichotomy: fine-tuned small models win on intelligence, cost, and speed at once
32:28Duet explained: a second agent that writes AOPs, builds tools, and monitors production conversations automatically
42:36Productizing the enterprise deployment journey, a step most tech companies overlook in regulated industries
1:15:56Jevon's paradox applied to support jobs: 'AI will kill jobs, but not careers'

Do this next

  1. Audit one of your agent workflows: list its narrow subtasks and identify which could run on a fine-tuned small model instead of a frontier API
  2. Draft task-specific evals tied to real outcomes for your use case, following Decagon's advice that public benchmarks don't suffice for fine-tuning decisions
  3. Map your own 'deployment journey' from first customer meeting to go-live and find the slowest non-technical step to productize

Common questions

Why does Decagon use open-source models instead of frontier APIs?

Latency, especially for voice agents, was the original driver. Because conversations decompose into narrow tasks, fine-tuned small open-source models match or beat frontier models per task — and they're cheaper and faster, so all three benefits come together. Cost savings were a side effect, not the initial motivation.

What part of Decagon still runs on frontier models?

About 10%, mainly open-ended auxiliary work like Duet Autopilot, which reviews roughly a million conversations, finds trends, and tests model variants to improve the core conversational agent.

What is Duet?

Duet is a larger, slower second agent that automates the work of building and maintaining the first agent: it writes agent operating procedures, builds tools and integrations, writes tests and simulations, and proactively monitors live conversations to flag weaknesses. It became possible once reasoning models improved and generalized.

Does Decagon fine-tune a separate model for each customer?

No. Most fine-tuning customizes models for the customer-service use case generally. Customers teach agents their frequently-changing procedures in-context, and business logic lives in the application layer rather than in the models.

Spot a mistake?

Every chapter summary on this page is hand-checked against the video, but we're only human. If you spot an error, a wrong timestamp, or a misattributed claim, let us know and we'll fix it quickly.

More course guides