How Warp builds self-improving agents on Claude
- 原文链接: https://x.com/Xudong07452910/status/2093145288672158204
- 作者: Michael Segner / Warp team; reposted by @Xudong07452910
- 日期: 2026-08-26
- 分类: agents
- 来源类型: x_post
- 标签: agents, self-improving, skills, git-pr, claude, engineering-practice
- 质量评分: 4/5
- 抓取时间: 2026-08-28T23:55:00+08:00
中文导读
Claude 官博 8 月 26 日发布 Warp 案例研究:把 Agent 拆成两层 Skill,内层 base Skill 负责具体任务(PR 评审、写 Spec、Issue Triage 各一套),外层 Improver Skill 周期性把人类反馈与 Agent 输出的差异整理成对 base Skill 的小修改,修改走标准 Git PR,人 review merge 后下个会话自动继承。文中数据:Warp 融资 73M、80 万月活开发者、Fortune 500 里 56% 在用、10M Claude Code 会话经 Warp 运行其中 40M 是 Agent 会话。这套机制把「Agent 应该学到什么」沉淀成可审计、可回滚的文件变更而非隐式上下文;写 Skill 要写原则与「为什么」而不是穷举规则,反馈要发生在工程师本来就在的地方(PR 评论、Issue)。spec / review / triage 三个独立循环已跑通。
为什么值得关注
把 self-improving 从概念落到可复制的双 Skill + Git PR 机制,对任何维护 AGENTS.md/Skill 的团队都有直接迁移价值。
原文(抓取存档·节选)
---
title: "How Warp builds self-improving agents on Claude"
author: "Michael Segner / Warp team; reposted by @Xudong07452910"
date: 2026-08-26
source_url: https://x.com/Xudong07452910/status/2093145288672158204
canonical_url: https://claude.com/blog/how-warp-builds-self-improving-agents-on-claude
captured_at: "2026-08-28 1249 +08:00"
---
# How Warp builds self-improving agents on Claude
# How Warp builds self-improving agents on Claude
> 作者: @claudeai
> 原文链接: https://t.co/oWBadiPAXw
---
# How Warp builds self-improving agents on Claude
Learn how Warp devised a simple development pattern that anyone can use to create self-improving agents.
[](#)
[](#)
- Category
[Agents](https://claude.com/blog/category/agents)
- Product
[Claude Platform](https://claude.com/platform/api)
- Date
August 26, 2026
- Reading time
7
min
- Share
[Copy link](#)
https://claude.com/blog/how-warp-builds-self-improving-agents-on-claude
- Author(s)
Michael Segner
_In our series, , we highlight how startups are transforming their industries with AI. In this article, we share how Warp turned stateless user feedback into a self-improvement loop for its agents._
| The quick pitch |
| --- |
| Name | Warp |
| Founded | 2020 |
| Founders | Zach Lloyd (CEO) |
| Stack | Rust, Golang, GitHub Actions, internal agent orchestration platform (Oz), Claude Platform |
| Growth | $73M raised. 800K monthly developers build on Warp. 56% of the Fortune 500 uses Warp. 10M Claude Code sessions run inside Warp to date, 400K+ per week. 40M total Warp Agent conversations. |
Agents need to handle recurring tasks reliably and effectively. A first-pass prompt that gets 80% of the task correct can create a noisy and annoying experience for the user. Warp learned this the hard way, and used this to inform its product strategy, creating an improved experience for nearly 1M developers worldwide.
Warp, the AI-powered terminal and agentic development environment, builds on the Claude Platform. The team ran into this “noisy experience” problem with their internal code review agent. Engineers complained that their agent made unhelpful comments and produced low-quality output.
The team initially tried stopgap solutions, like manually rewriting the prompt based on observed code review failures. This made output more usable but didn’t scale. Improving context files like AGENTS.md also helped, but was far from a complete fix.
Ultimately, they realized, the real issue was that feedback to an agent, no matter what its purpose, typically disappears when the session ends, removing critical context from the agentic loop. Their solution: an [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview)\-based framework to create self-improving agents where feedback compounds over time to continually refine and enhance agent output.
Read on to learn how they built it with skills on top of the Claude Platform.
## **Agent self-improvement loops built on skills**
The central technique is a self-improvement loop using [**skills**](https://support.claude.com/en/articles/12512176-what-are-skills), which are file based encodings of knowledge that keep instructions out of the raw prompt. Warp evolved a self-improving agent architecture consisting of two skills, with human feedback in between.
The **inner/base skill** holds the functional domain knowledge and instructions. For example, when a PR is opened, Warp’s code agent executes using that base skill and context to produce its review.
**Human feedback** on agent output is a critical component for the self-improvement loop. For code review this could be something as simple as a thumbs up, but the more explicit the better.
“A human could affirm, ‘this was a good, useful comment’,” Warp founder Zach Lloyd explains, “But the human could also give detailed reasons why a code review wasn't good. Specifics like ‘you suggested renaming this variable, but our code base convention is this type of global variable uses this particular naming context’ tell the agent how to do it right next time.”
The **outer/improver skill** functions as an observer agent that runs on a schedule rather than per-task. It pulls the accumulated human feedback, compares what the agent suggested against how humans responded, and proposes a small, focused edit to the base skill.
Because skills are plain files, agents are extremely good at updating them. These updates, which are reviewable, approvable, and mergeable, can flow through a normal PR/code-review workflow; once merged, the next run of the inner skill inherits the improvement.
Warp now runs this pattern across its entire open-source repo, with separate spec-writing, review, and triage agents, each carrying their own self-improvement loop.
“File-based skills are a way of encoding knowledge for agents without putting that knowledge directly in the prompt, as something the agent can simply look up in the course of doing its job,” says Zach. “The framework is really simple actually: there's the base domain-specific skill and then there's the improver skill that refines that domain-specific skill. This simplicity is the beauty of this approach.”
## **How to write self-improving skills for agents**
Here are some of the Warp team’s tried and true tips for writing self-improving skills for agentic loops:
- **Write principles, not rules.** "Construct the skill as though you're instructing a smart person, not like you're programming a computer,” Zach says. “Including direction in the skill like ’Look for repeated code’ provides better direction than exhaustive variable naming rules.”
- **Explain the why.** Providing the rationale behind the rule lets the agent reason about the problem instead of following rigid instructions, again allowing for better generalization.
- **Make feedback effortless to give.** Capture it where people already work, like by commenting directly on a PR or issue. Also, make this happen automatically, with no extra submission step. “Low friction is what keeps signal flowing,” Zach notes. “If you make it too hard you're not going to get the feedback and you're not going to be able to improve the skill."
- **Keep skills small and use progressive disclosure.** [A good skill](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices) file isn't large; it references resource files and scripts rather than dumping everything into context at once.
- **Feedback quality > volume, but volume helps.** A small amount of detailed, domain-specific feedback from a senior engineer can be worth more than lots of cursory feedback because binary thumbs up/down doesn't say _why_. “You can get really good signal even from a relatively small sample size if it's very detailed feedback from a person around domain specific knowledge that the agent otherwise would have no way of getting,” Zach continues. “That said, the bigger the corpus of quality signal, the better. At Warp we're using a loop to manage our whole open source repo. We have hundreds of people contributing and we're doing thousands of code reviews.”
- **Put extra effort into the improver skill**. Putting extra effort into writing the improver skill (the observer agent) pays off beyond the immediate agent loop, because improver skills are very reusable across different use cases. “Outside of the domain specific knowledge component, this is a fairly reusable mechanism—the improver skill for a code review agent is not that different from the improver skill for any other agent.”
## **The loop in action: Warp’s issue triage agent**
[Warp’s issue triage agent](https://github.com/warpdotdev/warp-agents-demo-github-issue-triage) demonstrates the self-improving agent skills framework. The pattern is triggered whenever someone files a new GitHub issue: a GitHub Action fires an agent that analyzes the issue for complexity and feasibility, assigns labels, and suggests a direction for the fix. That triage agent runs off an inner skill file holding the domain knowledge about what each label means and how to research the codebase before acting.
On a sample issue, the first-stage inner skill did a solid job but missed one label, ready to spec, which signals that a contributor can start building product and technical specs against the issue. A maintainer on the Warp team caught the gap and left feedback directly on the issue, exactly where the work was happening. Critically, he explained both what he expected and why he expected it: actionable feedback easy for the agent to absorb later.
The outer improver skill runs in [Oz, Warp's agent orchestration platform](https://docs.warp.dev/), as a scheduled “update triage” agent. The agent authenticated to GitHub, ran a Python script bundled with the skill to pull recent issues carrying feedback, summarized them into a JSON file, and read that back into context. The bundled script is itself a best practice; skills can reference resource files instead of writing fresh code on every run.
From there, the agent identified the concrete feedback signals in the maintainer comments and proposed the smallest edit that captured them. It opened a PR editing the inner skill to apply the "ready to spec" label when an issue describes a real problem, even though the exact UI or UX shape is not yet defined.
Because the whole update is a skill file, it moves through the normal code-review workflow. The PR arrived with a description explaining which signals prompted the change and what it altered. A human reviews, approves, and merges, and the next run of the triage skill inherits the new knowledge. That final human step closes the loop and keeps a person in control of what actually changes.
This is the same mechanism Warp now runs at scale across its open-source repo, where spec-writing agents, review agents, and triage agents each carry their own self-improvement loop.
Any agent, no matter what its task, gets better over time if you build one of these loops into it from the start to capture human feedback signals, turn them into skill updates, and expand agents from one-off helpers into capable systems that compound across your org.
| Best practices from the Warp team |
| --- |
| Are you conflating skills with memory? | Skills are procedural and stable—"how to do X," run-agnostic, changed deliberately. Memory is auto-written by the agent at inference time and never stops changing. |
| Do you need one improver loop, or one per agent? | Meet in the middle: a templated base loop captures the overlap across your agents, with domain-specific weights layered on. A handful of improvers can each own one; a hundred should share. |
| What happens when the feedback is wrong? | Assume it will be. Don't let the agent accept feedback blindly — give it context to sanity-check, filter whose input counts, and keep a human in the loop at either the filtering or final-review stage. |
| Is your domain verifiable? | Build the verification harness first, then let the agent tune against it: generate a reference corpus, compare output to reference, fix, repeat. |
| And if it isn't domain verifiable? | Lean on deterministic evals against golden outputs wherever they exist. Where you must use human feedback, restrict it to domain experts — don't open the floodgates. |
| How do you know the whole system is improving? | Track the global metrics humans already eyeball—time to merge, contributor count, cost—and feed them back into the improver agents. Go crawl-walk-run on deployment. |
[_View the full webinar_](https://www.anthropic.com/webinars/how-warp-builds-self-improving-agents-on-claude) _for a live demo and deeper discussion of how Warp uses Claude to build agents that learn from team feedback and improve themselves over time._
_Start building with the_ [_Claude Platform_](https://platform.claude.com/) _today._
No items found.
[Prev](#)Prev
0/5
[Next](#)Next
eBook
[](#)
No items found.
[](#)
## Related posts
Explore more product news and best practices for teams building with Claude.
Aug 13, 2026
### Self-service data analytics in Slack: how Anthropic deploys Claude Tag for ad-hoc questions
Agents
[Self-service data analytics in Slack: how Anthropic deploys Claude Tag for ad-hoc questions](https://claude.com/blog/self-service-data-analytics-in-slack-how-anthropic-deploys-claude-tag-for-ad-hoc-questions)Self-service data analytics in Slack: how Anthropic deploys Claude Tag for ad-hoc questions
Jul 24, 2026
### The new rules of context engineering for Claude 5 generation models
Claude Code
[The new rules of context engineering for Claude 5 generation models](https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models) The new rules of context engineering for Claude 5 generation models
Aug 20, 2026
### How monday.com transformed its platform into an agent-first product where humans and agents collaborate
Agents
[How monday.com transformed its platform into an agent-first product where humans and agents collaborate](https://claude.com/blog/how-monday-com-transformed-its-platform-into-an-agent-first-product-where-humans-and-agents-collaborate)How monday.com transformed its platform into an agent-first product where humans and agents collaborate
Aug 20, 2026
### Build production agents with computer use, the Skills API, and the Files API
Product announcements
[Build production agents with computer use, the Skills API, and the Files API](https://claude.com/blog/computer-use-skills-api-files-api)Build production agents with computer use, the Skills API, and the Files API
## Transform how your organization operates with Claude
See pricing
[See pricing](https://claude.com/pricing#api)See pricing
Contact sales
[Contact sales](https://claude.com/contact-sales)Contact sales
Get the developer newsletter
Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.
Thank you! You’re subscribed.
Sorry, there was a problem with your submission, please try again later.
本地备份
- Obsidian 源文件:
X 文章/2026-08-28-1249-Warp-Claude-self-improving-agent.md