Better Models: Worse Tools
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Teams building custom coding agent harnesses may need to ship model-specific tool variants, because Anthropic's newest models handle third-party edit tool schemas worse than their predecessors.
Armin Ronacher found that Anthropic's newest and best AI models, Opus 4.8 and Sonnet 5, sometimes break when using editing tools in coding software he built called Pi, inventing made-up fields that don't match the tool's expected format. Older models from the same company handled his tool fine. He suspects the new models were trained specifically on Anthropic's own editing tool, making them worse with everyone else's.
Newer Anthropic models, including Opus 4.8 and Sonnet 5, are less reliable than their predecessors at using third-party coding tools, inventing invalid fields in tool calls that get rejected. Ronacher theorizes Anthropic trained them on its own Claude Code edit tool. Companies building custom coding agents face a tradeoff: mimic vendor-specific tools or accept degraded reliability. OpenAI's Codex has the same coupling with its apply_patch tool.
Armin Ronacher reports that Claude Opus 4.8 and Sonnet 5 emit tool calls for Pi's edit tool containing invented keys in the nested edits[] array, the edit content is usually correct but fails schema validation, forcing rejection and retry. Older Anthropic models don't exhibit this. His hypothesis: RL training against Claude Code's built-in search/replace edit tool overfits the models to that schema. He asks whether third-party harnesses should implement multiple edit-tool variants, noting OpenAI's apply_patch analog.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
A Python client for Ollama, sync or async, local or cloud
Python developers can now use one identical client to call Ollama models locally or via Ollama's cloud API, removing boilerplate and rewriting when scaling up.