Heuristic Mode

Topic: subagents (2)

Last sync: Nov 28, 2026 · 17:04 UTC (running)
Reset

Trend radar (14d)

Open trend radar
LangChain Nov 26, 2026 AI summary

What Are Subagents? Explained in 4 Minutes

LangChain's Deep Agents harness treats subagents as a context-management primitive: the main agent delegates a scoped task, the subagent burns its own fresh context window on the messy intermediate work, and only the distilled result is returned upstream. This keeps the orchestrator's window focused on planning rather than tool noise, and lets work fan out in parallel or in the background. Engineers care because it turns context budget into an architectural decision instead of a prompt-tuning problem.

  • Delegate by task boundary, not by tool call: a subagent should own a self-contained job whose intermediate steps the main agent never needs to see.
  • Subagents are an isolation mechanism first and a parallelism mechanism second — each one gets a clean context window, which caps how much noise leaks back into the orchestrator.
  • Parallel and async/background subagents suit independent, latency-tolerant work; specialist subagents suit narrow domains where a focused prompt and toolset outperform a generalist.
AI Engineer Nov 24, 2026 AI summary

How to Ship Millions of Lines of Agent-Written Code — Jarred Sumner, Anthropic

Jarred Sumner describes landing a multi-million-line, agent-authored ahead-of-time compiler for Bun after five rewrites in roughly a month, cutting memory about 4x and doubling startup speed. The central argument is that pre-existing test suites — not model quality alone — are what make machine-written code at this scale reviewable and safe to merge. He also explains why the team optimized the JavaScript toolchain instead of porting Claude Code to Rust, and how a workflow of ~140 concurrent agents plus hourly scorecards and fuzzing changes what a human engineer actually does.

  • Treat a legacy test suite as the contract: tests written before agents existed are the strongest signal that generated code preserves intended behavior.
  • Keep multiple independent implementations (e.g. interpreter, JIT, and AOT paths) in agreement so differential testing catches divergence the agents introduce.
  • Run agents in batches — generate broadly, then reconcile and fix — rather than expecting a single long pass to converge on correct code.