Agent 与自动化 5.0 · 必读 2026-10-25 · X

How I work with Agents

Amp 成员 Thorsten Ball 把 agent 协作经验压成 15 条(X Article,6.8k 赞/15.5k 收藏):只描述 What 不描述 How,典型指令是"把字节码编译器和 VM 提速两倍,别停";评测 agent 知识用盲测:同任务开五个 agent,一组给 AGENTS.md 一组不给;不要来回迭代,让它生成 20 个变体配页面挑诊断慢问题先给四个假说再逐个验证;要不可反驳的证据(端到端跑通录屏before/after 数字),AGENTS.md 里写死 this is not evidence;review 只看承重代码;一线程一任务,线程就是公司记忆

打开原文回到归档

How I work with Agents

  • 作者: @thorstenball
  • 发布: 2026-10-25
  • 原文: https://x.com/thorstenball/status/2114386050638336082
  • 入库时间: 2026-10-31 (Asia/Shanghai)
  • 来源: x / x_post
  • 证据: opencli twitter article/thread(2026-10-31 抓取)本地归档 X 文章/2026-10-31-1251-thorstenball-HowIworkwithAgents.md 与 ...-thread.md(30 条推文全文)+ Obsidian 快照 OpenClaw定时任务/X书签消化/2026-10-31-X书签消化.md

How I work with Agents

原文链接: https://x.com/thorstenball/status/2114386050638336082

正文为 opencli twitter article 取回的 X Article 全文(未经模型重写);评论区(@vastxie/@DrFlash360/@lilinqi2/@Younik4we)与 Amp Time Capsule 6 长版经 thread/网页核对,见本地归档 thread 文件。

... as of October 2026.

Use the latest and greatest models. Everything else is potentially a waste of time. If a model is wrong 10% of the time, you don't know which 10%, so you end up making multiple attempts. When do you really want to hire a generalist who's 50% cheaper but also randomly 20% dumber? Who's still using Opus 4.5? Exactly.

Stop worrying about accumulating slop. "It'll turn your codebase into an unmaintainable mess." Maybe that was true six months ago. Now? I'm not convinced it adds slop. And even if it does, I'm not convinced the result is unmaintainable.

Prompt the What, not the How. Describe What you want, now How you'd do it. You'll often get better results. "Make the bytecode compiler and VM AS FAST AS YOU CAN. Do not stop until it's 2x faster." "Here's how it should work in the end"

Make the whole SDLC legible to the agent. What stopped hallucinations? Tool calls. They let agents touch our reality. If the agent can't see something, it makes it up. So let it run what it builds end to end, let it read production logs, deploy, watch the rollout, cut the release, flip the flag, triage the bug report and email the customer. Anything you can see, the agent should see too.

Give it tools for the SDLC. We have custom plugins for bug reports, emailing users, "Is our system healthy?" and granting featuer flags.

Eval agentic knowledge. Knowledge piles up in the codebase: AGENTS.md files, skills, scripts, docs. But do agents actually use it? Spawn five blind agents, control vs. treatment, and find out. Agents are really, really good at running experiments.

Local dev feels yucky now. Each agent should be able to install and run whatever it needs to get job done. Easy in remote machines, yucky in local dev. Hard to not run into resource conflicts locally when you want agents testing stuff end to end.

Don't iterate with the agent. Let it build tools to iterate. Not "let's try this. ... ah no, let's try that." Instead: "Generate 20 variations and a little page that lets me combine and test them." Not only applies to solution space, but also problem space: "Give me 4 theories on why this is slow, then check all four."

Ask for irrefutable proof. Biggest game changer. Agents are really good at producing proof: end-to-end walkthroughs, demo videos, before/after numbers. You have to build up trust and an instinct for this. Put "this is not evidence" in your AGENTS.md.

Don't wait for your agents. Let them wait on you. If you worry about TTFT, you're probably doing something wrong. Lean into async. Give them bigger tasks, be more ambitous. Batch instead of back and forth.

Automation/schedules/wake-up/heartbeat are killer feature. Didn't realize it, but missed it dearly once it was off. Use it all the time. "Check the logs in 2hrs." "Let me know once this is live" "Check every day at 9am".

Stop manually managing context. Every thought you spend wondering about "is it using 300k or 380k tokens?" is wasted time. Compaction works incredibly well. Don't manage context by hand. One thread = one task. Some threads are 46 messages, some are 3,714.

Threads are your company memory. (In Amp) "Why did we do this?" The more team uses Amp the more knowledge multiplies. Threads are connected to git commits. Game changer. Avoids duplicate work.

Don't let agents write for humans. Except: debugging steps, inicident reports, some docs. Mechanical stuff where human on other end doesn't matter that much.

Review only code with high blast radius. There are <5 central files -- those I review. Database migrations, yes. Closure vs. class, a neater type, variable names, even duplication: I don't care anymore. Does it work? Do I understand it at the arrows-in-a-diagram level? Did the agent test it end to end? Can I change it in a month? If yes, might review code.