How Software Factories Improve Themselves — Suraj Gupta, Warp
Sep 27, 2026AI Engineer
Summary
This post details three practical methods for self-improvement within software factories, exemplified by Warp's open-source factory. First, 'skills that improve themselves' are achieved via an outer-loop agent that monitors triage agent runs and feedback, then opens PRs to update skills, ensuring Git tracking and human review. Second, 'persistent memory' provides a versioned, traceable store of facts, preventing agents (like a Sentry agent) from re-discovering known root causes. This memory system is harness-agnostic. Third, 'model routing' optimizes costs by directing tasks to appropriate models (e.g., using cheaper auto models for triage or simple CI fixes instead of Opus), with Warp's internal evals showing UI tasks perform well on GLM.
More from the Software Factory Engineering trail
- From Your Laptop to the Pipeline: Scaling Custom Agents with GitHub Copilot
- Generation Is Cheap, Review Is Expensive: How to Stop Shipping AI Slop — Gabriel Martinez, G2i
- Let Anyone at Your Company Ship Internal Apps with AI — Garrett Galow, WorkOS
- The Software Factory: From Bug Report to Production Code — Davis Palmie, Factory
- Why AI Agents Should Have Their Own Sandbox — Philipp Schmid, Google DeepMind