Frontier Foundry

Building Self-Improving Agent Software Factories — Suraj Gupta, Warp

Talk notes · AI Engineer ·

A close reading of the source at ai.engineer (also youtube.com): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

Software FactorySelf-Play & Self-ImprovementAgent MemoryEvalsCoding AgentsBenchmarks & LeaderboardsGitHub

Problem

Suraj Gupta (leads harness development at Warp, which says it has about a million active users and now builds a cloud agent platform called Oz for teams that want software factories) notes that people talk about self-improving agents and about software factories, but little about how a factory itself gets better over time (0:12, 1:13). He expects this to become part of the job as engineers move from building products to building and maintaining factories (1:13). He covers three concrete ways: self-improving skills, persistent memory and model routing.

Approach

1. Skills that improve themselves (2:13, 3:14, 4:15). A skill is procedural memory, for example how a triage agent reproduces issues. Skills go stale as humans give feedback and agents learn from their runs. Warp's fix is an outer-loop agent that watches the inner-loop agent (the one doing the triage), reads feedback signals (thumbs up or down, user comments, comments from a Warp employee), synthesizes them, edits the skill and opens a pull request. In the demo, a GitHub issue triggers a triage agent that finds what information the reporter left out or whether the issue is a duplicate. Because the change is a PR, the skill's history sits in Git and a human reviews it, so the outer agent cannot quietly make the triage agent worse (5:16). Warp says its open-source client repo runs this way as a factory.

2. Persistent memory (5:16, 6:17, 7:19, 8:20). Skills cover procedures; memory covers facts. His example: a Sentry agent finds and fixes an issue, then meets a similar one later and may rediscover the root cause or may not, and either way burns tokens regathering context. A memory store is a fact store scoped to one agent. An outer-loop agent extracts facts and outcomes from runs. In Oz you can version memories, edit or delete them by hand, and open the run each memory came from, which lets you drop a memory that was a local maximum. In the demo the Sentry agent's later run reported it had used five memories to go faster. He says it works with any harness (Warp's own, Claude Code, Codex) (8:20).

3. Model routing (8:20, 9:21, 10:23, 11:24). Running simple work such as triage or fixing simple CI failures on Opus gets expensive. Warp offers "auto" models chosen on Pareto efficiency (quality against cost) and custom rule files, for example database migrations on GLM or runbooks and API docs on Qwen (10:23). He calls the rule-making "more of an art than a science", so Warp built an eval sidecar that runs a prompt across several models (a best-of-k style comparison) and records which does better for which class of task. Its finding: UI tasks run well on GLM, so there is no need for Opus (11:24). Warp plans to let customers define evals for their own workflows, because generic public benchmarks do not tell you which model is best for your issue types (10:23).

Lessons learned

  • Gupta: improvements to the factory should arrive as reviewed PRs, not silent edits: observability plus a human gate (4:15, 5:16).
  • Memory should be traceable to a source run, editable and versioned, because agents also store wrong or local facts (6:17, 7:19).
  • Match model to task class using your own data, not leaderboards (10:23, 11:24).
  • Self-reported: no numbers on cost savings, accuracy gains or memory hit rates were given. The GLM-for-UI result is from Warp's internal evals, with no scores shown.
  • Product note: much of the talk is demos of Warp's Oz platform.

Theme

Group: AI Coding & Software Factories. Gupta covers the "keep improving" part. His outer-loop skill PR is the same shape as Zach Lloyd's self-improvement loop (card); Lloyd is also at Warp, and the two agree on routing from your own evals instead of public leaderboards. It matches Dru Knox's meta loop (card) and WorkOS's plan to use session data to find stale skills (card). On memory, Steve Yegge (card) warns that agents write everything into append-only notes and need aggressive pruning, a risk Gupta's editable store only partly answers. Cognition's Walden Yan (card) lets the agent rewrite its own test skills and post daily factory ideas, with less review than Warp's PR gate.

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-09-27
APA
Han, R. (2026, September 27). Building Self-Improving Agent Software Factories — Suraj Gupta, Warp. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-09-27-aie-mcp-building-self-improving-agent-software-factories-suraj-gupta
BibTeX
@misc{han2026-briefs-2026-09-27-aie-mcp-building-self-improving-agent-software-factories-suraj-gupta,
  author       = {Han, Ryan},
  title        = {{Building Self-Improving Agent Software Factories — Suraj Gupta, Warp}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = sep,
  url          = {https://www.ryanhan.ai/briefs/2026-09-27-aie-mcp-building-self-improving-agent-software-factories-suraj-gupta}
}