Modelwire
Subscribe

Anthropic switches Claude Code to Rust-based Bun runtime

Illustration accompanying: Claude Code uses Bun written in Rust now

Anthropic's Claude Code now runs on a Rust-based port of Bun, the JavaScript runtime, marking a quiet infrastructure shift in the AI tooling ecosystem. The rewrite delivered a 10% startup speedup on Linux, though most users saw no visible change. This reflects a broader trend of AI companies optimizing developer-facing tools through systems-level rewrites, trading complexity for performance gains that compound across millions of invocations. For developers building on Claude, the change is largely transparent, but it signals how AI infrastructure is maturing beyond raw model capability into production-grade tooling.

Modelwire context

Analyst take

The more interesting detail is that Anthropic shipped a dependency on Jarred Sumner's Bun project at the systems level, meaning a small open-source runtime team now sits in the critical path for one of the most widely used AI coding tools. That's a meaningful trust and maintenance commitment that the '10% speedup' framing obscures.

This is largely disconnected from recent activity in our archive, so it belongs to a broader pattern worth naming directly: AI labs are increasingly treating their developer-facing CLI tools as product surfaces that require the same performance discipline as inference infrastructure. The choice to absorb a Rust-based runtime rather than patch the existing Node.js stack suggests Anthropic's tooling team is optimizing for cold-start latency at scale, which matters most when Claude Code is invoked thousands of times per day across large engineering orgs. That's a different problem than raw model quality, and it reflects a maturing phase where developer experience becomes a retention variable.

Watch whether competing coding agents (Cursor, Gemini CLI, or OpenAI's Codex CLI) follow with similar runtime-level rewrites in the next two quarters. If they do, this signals a real performance arms race in CLI tooling; if not, it may simply reflect Anthropic's unusually close relationship with the Bun project.

This analysis is generated by Modelwire’s editorial layer from our archive and the summary above. It is not a substitute for the original reporting. How we write it.

MentionsAnthropic · Claude Code · Bun · Jarred Sumner · Simon Willison · Rust

MW

Modelwire Editorial

This synthesis and analysis was prepared by the Modelwire editorial team. We use advanced language models to read, ground, and connect the day’s most significant AI developments, providing original strategic context that helps practitioners and leaders stay ahead of the frontier.

Modelwire summarizes, we don’t republish. Simon Willison originally reported this story as Claude Code uses Bun written in Rust now”. The full content lives on simonwillison.net. If you’re a publisher and want a different summarization policy for your work, see our takedown page.

Anthropic switches Claude Code to Rust-based Bun runtime · Modelwire