# The misaligned incentives behind AI coding agents
<!--
ref: @content/youtube/langchain/2026-07-30-the-misaligned-incentives-behind-ai-coding-agents
version: 3
updated_at: 2026-10-31T18:23:26.039Z
-->

Russell Kaplan (LangChain's Max Agency podcast, 2026-07-30): Kaplan argues that a growing share of software tasks are now "intelligence-saturated": once a model is good enough for a task, speed and cost matter more than raw capability.

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


*Synthesized from Russell Kaplan and Harrison Chase on LangChain's Max Agency podcast, 2026-07-30.*

Russell Kaplan is president of Cognition, the company behind the Devin coding agent. He started his ML career on Tesla's Autopilot team in 2017. He talks with LangChain's Harrison Chase (identified as "Harrison" in the conversation).

## Core Thesis
Kaplan argues that a growing share of software tasks are now "intelligence-saturated": once a model is good enough for a task, speed and cost matter more than raw capability. The job of an agent lab is to route each task to the right model and to tie its revenue to the value customers actually get. Much of the industry instead profits when customers "token max," spending without measuring results. Cognition's answer is an automated productivity evaluator backed by a $10M refund guarantee.

## Key Insights
- **Devin timeline:**
  - **March 2024:** viral launch demo, scoring about 13% on SWE-bench, roughly triple the previous best.
  - **June 2024:** Devin became the top committer to its own codebase.
  - **Late 2024:** early product-market fit came from enterprise migrations and refactors. These were "regex++"-style transformations with some model intelligence added, run across up to 10,000 modules. At that scale, careful prompt engineering pays off.
  - **December 2024:** self-serve launch. The whole company flew to Utah for the push, and Slack ("@Devin") became the main interface.
- **Model step changes:** Kaplan names OpenAI's November 2024 models, Anthropic's models around July 2025, and now the "Fable 5" generation. Developer concern has moved from "am I on the best model?" to "why am I spending so much?"
- **No single best model:** For security-vulnerability work, Fable-class models are better at precision, while GPT-5.5 and GPT-5.5 Cyber are better at recall. The best harness uses GPT-series models to find candidates and Fable-series models to filter them. Fable also shows a jump on messy integration data such as Datadog output, which Kaplan attributes to heavy RL on realistic data sources.
- **Frontier Code eval:** SWE-bench is saturated, so Cognition built a new eval around *mergeability*: would a high-taste maintainer actually merge this code?
  - **Who built it:** leading open-source maintainers wrote down their standards, and every Cognition researcher hand-contributed and reviewed items.
  - **Effort:** each task takes hundreds of hours.
  - **Binary pass/fail:** a task fails if any blocking constraint fails. Blocking constraints include passing tests and deterministic style rules, such as requiring a specific module even when another would work today.
  - **Weighted score:** a linear combination of non-blocking criteria, including LLM-as-judge heuristics. Out-of-scope file changes are a common penalty.
  - **Reverse checks:** the tests must also *fail* without the change.
  - **Contamination control:** only example questions are published.
  - **Scores:** the Diamond subset was in the teens before Fable 5; Fable 5 pushed it into the 30s.
  - Cognition runs evals with Harbor.
- **Evals as the bottleneck:** Kaplan says that at Tesla the bottleneck has moved from compute to running evals, because self-driving interventions are so rare. Software engineering may reach that point sooner than expected.
- **Token spend vs. salaries:** in some organizations, per-person token spend is approaching or exceeding salary spend. Kaplan compares it to letting any employee hire 1,000 people without asking.
- **Devin Fusion:** Cognition's harness for frontier-level results at better price. It routes work in a cache-aware way and runs a cheaper "sidekick" model on the same task alongside the frontier model, with shared context and frequent writes to the file system. The frontier model decides when to hand work to the sidekick. Result: about 35% better price-performance with a slight quality gain. Kaplan notes that smarter models like Fable are better at knowing what to delegate, much as people learn to delegate as their careers grow.
- **Model choice:** users pick models in Devin Desktop (the rebranded Windsurf) and the CLI, but not in the cloud agent, which offers tiers instead (Fusion, a cheaper agent, a max/ultra agent). Kaplan calls manual model picking a UX bug. When users chose models, they blamed Devin for failures that came from weak models and complained about costs that came from expensive ones.
- **Cognition's own models (SWE 1.6):** there are two reasons to post-train in-house. First, specialization can deliver frontier quality on narrow tasks, such as the static and model-driven bug and security analysis in Devin Review, where running a frontier model on every PR would cost too much. Second, it lets Cognition serve cheaper and faster than anyone else.
  - SWE 1.6 is about Opus 4.6 level and is the most-used model in Devin Desktop by tokens.
  - Cognition keeps a single-digit number of specialized models, each expected to stay useful for 3–6 months.
- **Cerebras:** Cognition was the first Western firm to deploy Cerebras at scale. It gets about 950 tokens/sec on its own models, many times faster than GPUs for the same model size, at a somewhat higher cost.
- **Specialized chips:** Kaplan expects extreme specialization in inference hardware. At Tesla, the team debated dropping hardware division from the chip, since convolutional networks don't need it at inference once batch-norm parameters are fused into the conv weights.
- **Proactive agents:** Devin watches Cognition's Slack channels, triages every message, proposes fixes, and routes reviews to whoever owns that part of the codebase. Kaplan dislikes the term "software factory" because this work is bespoke rather than repeated. His framing is "self-driving software."
- **Devin Security Swarm:** an agentic map-reduce over codebases too big for any context window. It shards the code to scan it, reproduces vulnerabilities safely in each session's own microVM, then fixes and aggregates the patches. One engineer can do the work of thousands.
- **New grads:** everyone is a beginner at working with agents, so new engineers aren't behind. Onboarding has never been easier, because an agent answers silly questions without judgment.
- **Product philosophy:** Kaplan splits product time between fixing paper cuts and doubling down on positive surprises. Security was a positive surprise: it showed up as one of Devin's most popular uses.
- **Independent agent lab:** separating agents from models means customers welcome any new model release, whoever makes it. Cognition now has more forward-deployed engineers than other engineers, and former founders have been especially good hires for those roles.
- **The productivity guarantee:** Cognition scores every session automatically.
  - A PR that is never merged counts as unproductive, a deliberately conservative rule.
  - A merged PR counts as productive.
  - Sessions with no PR (data analysis, for example) are classified by an ML model trained on data tagged with customers.
  - Productive sessions get an estimate of engineering hours saved, based on customer surveys.
  - If customers pay more than the dollar value of hours saved, Cognition refunds the difference, up to $10M.
  - To manage the risk, admins get budget and cost controls. Dashboards compare teams and individuals, and Devin gives in-product coaching, such as flagging an underspecified prompt.

## Actionable Takeaways
1. **Use complementary models for security sweeps.** Run a high-recall model (GPT-5.5 or GPT-5.5 Cyber) to find candidate vulnerabilities, then a high-precision model (Fable-class) to filter them. Reproduce and validate fixes in isolated microVMs.
2. **Build evals around mergeability, not just correctness.** Separate blocking from non-blocking criteria:
   - Blocking (any failure means fail): tests pass, plus deterministic maintainer rules.
   - Non-blocking (linear weighted score): style, scope discipline (penalize edits to unrelated files), LLM-judge heuristics.
   - Add reverse checks so the tests fail without the patch.
   - Keep most of the set private to avoid contamination.
3. **Have your researchers hand-write and review eval items.** Kaplan says data quality can't be handed off to someone else.
4. **Route instead of defaulting to the top model.** Pair the frontier model with a cheaper sidekick working the same task in parallel, share context through the file system, design for cache hits, and let the frontier model decide what to delegate. Cognition reports about 35% better price-performance this way.
5. **Hide model choice in cloud or async agents.** Offer cost and quality tiers instead.
6. **Consider post-training a small model when a workload is saturated and high-volume** (per-PR review, for example). Expect it to stay useful for 3–6 months, and look at fast inference hardware like Cerebras (about 950 tok/s) for latency-sensitive products.
7. **Make agents proactive.** Connect them to Slack channels, bug reports, and crash alerts. Have them triage every message and route reviews based on who owns which code.
8. **Measure ROI conservatively and automatically:**
   - Unmerged PR → unproductive.
   - Merged PR → productive.
   - No PR → classifier trained on tagged sessions.
   - Then estimate hours saved, and add admin budgets and per-team dashboards before scaling usage.
9. **Retest agent limits every 2–3 months.** Something that failed recently may work now.

## Notable Quotes
> "The fable class models are really good for high precision, but we actually find that GP 5.5 and 5.5 Cyber are better on recall." — Russell Kaplan

> "There's organizations where the per person token spend is starting to eclipse the human salary spend." — Russell Kaplan

> "Individual developers have essentially realized I can be the CTO of an army of 10,000 agents." — Russell Kaplan

> "A lot of people in the industry have a strong incentive to get customers to token max." — Russell Kaplan

> "Everyone has barely any years of experience when it comes to working with agents." — Russell Kaplan

> "We know that that model has a halflife that's going to expire. And that's fine." — Russell Kaplan

---

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