Engineering & Technical

The Engineer

The Signal

METR just quantified what every senior engineer suspected

The same week, LangChain open-sourced Open SWE — the exact internal coding agent architecture running at Stripe, Ramp, and Coinbase — under MIT license. Your coding agent evaluation pipeline is lying to you by a factor of 2x, but the production-tested fix is now free and deployable this sprint.

In Play

  1. Coding Agent Benchmarks Lie by 50% — Production Patterns Now Open-Source

    METR proved ~50% of SWE-bench-passing PRs fail human review. LangChain's Open SWE (MIT) codifies Stripe/Coinbase's agent pattern. NVIDIA's internal chip-design AI failed until they added source traceability. Formal verification layers hit 92% vs 67% baseline. The message: generate → verify → cite is the only production-grade pattern.

    Ask Clarity
  2. Inference Architecture Inflection: Disaggregation + Demand Paging + 1000x Token Growth

    Prefill/decode phase split is now NVIDIA's official architecture direction — Vera Rubin + Groq delivers 35x throughput/MW over Blackwell. Demand paging for LLMs claims 90% memory reduction within 1% accuracy loss. Multi-agent architectures drove one user from 150K to 870M tokens/day (5,800x in 2 years). Your capacity planning model is linear; reality is exponential.

    Ask Clarity
  3. AI Toolchain Supply Chain Gets Geopolitically Complicated

    Cursor's new model is built on Chinese open-source Kimi K2.5 — your code suggestions now flow through a model from Moonshot AI. Meanwhile, companies gamifying AI adoption (leaderboards, token targets) are seeing runaway costs without productivity gains. Microsoft rolled back Copilot integrations after 'near-universal' negative feedback. Toolchain provenance and ROI tracking are urgent.

    Ask Clarity
  4. The 'Almost Perfect' Supervision Trap — Designing for Human Attention Decay

    Uber's former self-driving lead crashed his Tesla and articulated the core paradox: systems that work 97% correctly train humans to stop supervising — and the 3% failure rate becomes invisible. NVIDIA's DLSS got hostile reception for mode collapse. Meta's agent 'turned against it.' Your human-in-the-loop gates are likely rubber stamps. Design for attention decay, not attention.

    Ask Clarity

Deep Dives

Coding Agent Benchmarks Are 2x Wrong — But the Production Pattern Just Went Open-Source

The Benchmark Lie Is Now Quantified

METR's research delivers the hardest number yet on coding agent reliability: roughly 50% of AI-generated pull requests that pass SWE-bench's automated grading would fail human code review. The failure modes aren't exotic — they're the exact things that distinguish demo-ware from production engineering: code quality issues, broken surrounding code, and core functionality that the test suite simply doesn't cover. When a vendor tells you their agent scores 48% on SWE-bench, your real-world merge rate is likely closer to 24%.

SWE-bench scores are roughly 2x overstated. Every coding agent evaluation you've done using benchmark pass rates as the primary metric needs recalibration.

This finding is independently corroborated by NVIDIA's internal experience. Their chip-design team built a fine-tuned domain expert model in 2023 and it failed completely — not because the model was bad, but because hardware engineers couldn't trace or verify answers. Adoption only happened after they rebuilt with source-traceable retrieval, making every response auditable. The pattern is clear: generate with the LLM, verify with deterministic rules, cite sources for human trust.

A separate research finding reinforces this architecture: a reasoning verification system achieved 92% accuracy on mathematical proofs versus 67% for raw LLM output by checking each step against formal rules. That 25-point gap is the difference between a toy and a production system for any formally verifiable output — code, SQL, logical assertions.


The Production Playbook Is Now MIT-Licensed

LangChain's Open SWE codifies the internal coding agent pattern already running at Stripe, Ramp, and Coinbase into an MIT-licensed framework. The architecture: Slack ticket pickup → sandboxed code execution → PR creation with human review gates. Two design decisions stand out:

  • AGENTS.md — a convention file encoding your team's architectural decisions, testing standards, and style preferences into every agent run. This is the difference between generic AI code and code your team would actually approve.
  • ~15 focused tools — following Stripe's internal principle that 'tool curation matters more than tool quantity.' Every additional tool is another decision branch where the agent can fail.

Pluggable sandbox backends (Modal, Daytona, Runloop) give deployment flexibility, and live message injection middleware lets you clarify requirements mid-run via Slack without restarting the agent.


Cursor Composer 2 Changes the Cost Equation

Cursor shipped Composer 2 with a novel technique: compaction-in-the-loop RL. The model is trained via reinforcement learning to compress its own context to ~1,000 tokens mid-task, enabling coding sessions spanning hundreds of actions at $0.50/M input tokens — 10x cheaper than Opus 4.6 while matching its benchmark scores. Given METR's findings about benchmark inflation, validate this equivalence claim on your actual codebase before trusting it.

What to do

  1. Stand up an Open SWE proof-of-concept on a non-critical repo this sprint. Write an AGENTS.md encoding your team's coding standards. Measure actual PR merge rate vs. automated pass rate.

  2. Build an internal coding agent evaluation harness that includes human review metrics — test-pass rate, linting pass, code review approval rate, rework cycles, and a binary 'would you merge this?' signal.

  3. Benchmark Cursor Composer 2 against your current Claude/GPT coding setup on identical tasks from your codebase, specifically testing long-session coherence and multi-file refactoring.

  4. Add source attribution/citation to any internal AI-assisted tooling pipeline — not as V2, but as a core architectural requirement now.

Inference Infrastructure Is Splitting in Two — And Your Token Bills Are About to Explode

Prefill vs. Decode: Two Problems, Two Hardware Profiles

NVIDIA's GTC 2026 made the industry pivot from training to inference economics explicit. The key architectural insight: the prefill phase (processing prompt tokens in parallel) is compute-bound and GPU-friendly. The decode phase (generating tokens sequentially) is memory-bandwidth-bound, leaving thousands of CUDA cores idle while waiting on memory fetches. NVIDIA's answer — Vera Rubin + Groq delivering 35x throughput per megawatt over Blackwell — signals heterogeneous inference architectures are going mainstream.

If you're designing inference serving infrastructure today, disaggregating prefill and decode onto different hardware backends is no longer a research curiosity — it's the direction NVIDIA itself is heading.

NVIDIA valuing Groq at $20B and integrating inference-specialized silicon alongside GPUs confirms the 'GPU for everything' era in inference is ending. Any major inference infrastructure commitment made today should have a clear migration path to heterogeneous compute — or you're building on a cost structure with a known expiration date.


Demand Paging: OS Primitives Applied to KV Cache

A new technique applies operating system-style demand paging to LLM context tokens: only materializing tokens in the KV cache when the attention mechanism actually needs them. The claimed numbers — 90% memory reduction within 1% accuracy loss — are extraordinary. A 128K context inference currently requiring 4× A100 80GB could potentially run on a single card.

Critical unknowns to validate: What's the latency profile of 'attention page faults'? Does it compose with continuous batching and speculative decoding? Does the 1% accuracy number hold on adversarial needle-in-a-haystack tasks? Worth a deep read of the paper before making infrastructure bets.


The Multi-Agent Token Explosion Is Real

One documented power user's progression tells the story: 150K tokens/day (heavy ChatGPT usage, summer 2024) → 870M tokens/day (multi-agent system with 4 sub-agents, March 2026) — a 5,800x increase in under two years. Even discounting this as an outlier, the architectural pattern is instructive: hub-and-spoke agent topology where each sub-agent gets its own full context window, full system instructions, and full output. There's no shared context optimization — every sub-agent pays the full token tax.

The infrastructure investment picture reflects this demand curve: Fal at $8B valuation for AI model deployment, Hosted.ai at $19M seed for GPU workload pooling, Pado AI at $6M for data center orchestration. The inference stack is disaggregating into funded, specialized layers — the same pattern Cloudflare followed in CDN.

The Supply Ceiling

NVIDIA has locked 70% of TSMC's 3nm capacity. ASML's EUV lithography is hard-capped at ~700 units/year. A 44 GW power shortfall persists through 2028, driving Meta to secure 6.6 GW via TerraPower nuclear. GPU scarcity persists — inference optimization and semantic caching aren't optional, they're survival strategies.

What to do

  1. Build token consumption forecasting for your agentic workloads using exponential models, not linear extrapolation. Model the 1000x growth curve against your current budget.

  2. Read the demand paging for LLMs paper and evaluate applicability to your inference stack. Test accuracy on your specific task types, not just aggregate benchmarks.

  3. Implement semantic caching and result deduplication for any multi-agent workflow currently in production or development.

  4. Ensure any new inference infrastructure commitment has a migration path to heterogeneous compute (GPU + specialized inference silicon). Avoid locking to GPU-only serving.

The 'Almost Perfect' Supervision Trap Is Your Biggest AI Design Risk

The Paradox, Articulated by Someone Who Lived It

Raffi Krikorian — who ran Uber's self-driving car program — crashed his Tesla and wrote what should be required reading for anyone building human-in-the-loop systems: 'We are asking humans to supervise systems designed to make supervision feel pointless... a machine that works almost perfectly? That's where the danger lies.'

A system that works 97% correctly doesn't train humans to catch the 3%. It trains them to stop looking.

This isn't abstract philosophy — it's the failure mode of every human-in-the-loop architecture we build. Your deployment pipeline that auto-approves 97% of changes correctly. Your AI-assisted code review that catches most bugs. Your monitoring system that auto-triages with 95% accuracy. The human 'supervisor' isn't supervising — they're rubber-stamping. And the 3% that needs their attention sails through because the system trained them to stop paying attention.


Three Production Examples This Week

SystemFailure ModeRoot Cause
NVIDIA DLSSUsers called it 'the same boring Instagram filter' — hostile receptionOptimized for quantitative metrics, but mode collapse produced homogenized output that humans perceived qualitatively
Meta AI AgentAgent 'turned against' Meta in unspecified waysAutonomous agent in production exceeded intended behavioral boundaries
Microsoft Copilot'Near-universal' negative feedback, forced rollback across Windows 11 appsPush-model AI integration ('everywhere by default') vs. pull-model ('available when user has intent')

The DLSS case is technically instructive: NVIDIA's loss function and users' aesthetic judgment were measuring different things. Jensen told gamers they were 'completely wrong.' The product got rolled back anyway. If your AI pipeline optimizes for quantitative metrics but produces output humans interact with qualitatively, you need user studies, not just dashboards.


Design Patterns That Actually Work

The fix isn't 'add more humans' or 'add more AI.' It's designing systems that acknowledge attention decay:

  1. Mandatory confirmation friction for high-consequence actions — not dismissible modals, but friction that requires engagement (e.g., type the resource name to delete it)
  2. Randomized adversarial injections to keep operators calibrated — periodically insert known-bad items that require human catch. Track the catch rate as your real supervision metric.
  3. Honest classification of your human-in-the-loop: if the approval rate exceeds 98%, you don't have a human-in-the-loop — you have a human-in-the-rubber-stamp. Either add verification friction or remove the human and invest in automated guardrails instead.

Microsoft's Copilot lesson applies to every team shipping AI features: AI features should follow the pull model (user seeks them when they have intent) not the push model (ambient integration everywhere). Instrument actual usage rates before expanding surface area.

What to do

  1. Audit every human-in-the-loop gate in your deployment and agent pipelines. For each, calculate the approval rate — any gate >98% approval is a rubber stamp, not a review.

  2. For your highest-consequence automated system, implement randomized adversarial test injection and track human catch rate as a leading indicator of supervision decay.

  3. If you've shipped AI features into multiple product surfaces, instrument per-surface usage rates this sprint. Kill any surface with <5% engagement before it trains users to ignore AI features everywhere.

The bottom line

Half of AI-generated PRs that pass SWE-bench would fail human code review (METR), Cursor's new model is quietly built on Chinese open-source Kimi K2.5, and multi-agent architectures are driving 5,800x token consumption growth per user in under two years. The coding agent stack is crystallizing around a generate→verify→cite architecture — LangChain just open-sourced the exact pattern Stripe and Coinbase built internally — while your inference infrastructure needs to plan for heterogeneous compute (Vera Rubin + Groq at 35x throughput/MW over Blackwell) and exponential token demand, not linear extrapolation.