AI 导读
Peter Steinberger 引用 @superlinear_fm 的内容,称 crabbox 被低估了。原内容认为工具调用中测试和构建的等待时间是 agent 提速的隐藏瓶颈,给出五条优化思路:测量工具调用耗时、只跑相关测试、并行运行、用 Crabbox 等工具把开销大的工作卸载到其他机器、换更快工具如用 Oxlint 替代 ESLint,并附播客各章节时间点。
正文
crabbox is underrated
Tool calls are the hidden bottleneck killing the AI coding speed. Models are getting faster, but tests and builds still take time, making the agent spend more time waiting for tool calls to end than coding. @steipete's Crabbox is one interesting way to speed up your agent. To make your agents faster, ask yourself: 1) Where is the time going? Measure which tool calls are slowing your agents down. 2) Can I run fewer checks? Select relevant tests instead of always running the entire suite. 3) Can I parallelize? Run independent tests concurrently. 4) Am I hitting CPU/RAM limits? Offload expensive work to other machines with tools like Crabbox. 5) Can I use faster tools? Try Oxlint instead of ESLint, or build your own. We built a Swift linter that speeds things up by 20x. We walk through these approaches, what we've tried, and the tradeoffs in our new episode. 00:00 The hidden bottleneck in coding-agent speed 01:27 Where agents spend their time 06:28 Running fewer tests without losing coverage 15:40 Parallelizing verification 17:43 Offloading tests with Crabbox 23:56 Faster tools: Oxlint and custom linters 29:30 Which optimizations are worth trying?在 X 查看被引用的帖子
来源:Peter Steinberger 🦞 · x.com