Bun is an open-source AI model that has gained traction for its fast and practical performance, making TypeScript a joy to work with in small scripts, apps, tests, and tooling. However, its reliance on a proprietary, closed-source runtime environment raises concerns about vendor lock-in and long-term maintainability.
Overview
Bun's use of a custom, V8-based JavaScript engine and its lack of transparency around its compilation process exacerbate these issues. As Bun's popularity grows, so do the risks of a monoculture in AI development. Anthropic, the company that acquired Bun in December 2025, has a huge product built on Bun, which initially seemed reassuring. However, recent developments have raised concerns about the product layer around Anthropic's models.
Concerns about Claude Code
Claude Code, a tool built on top of Bun, has been getting worse over time. Despite being one of the first AI coding tools to convince developers that workflows would change, it now has issues with quality, limit behavior, third-party harness restrictions, confusing billing, and slow communication. An engineering postmortem by Anthropic blamed product-layer issues, but the situation has not improved. The introduction of restrictions and billing weirdness has led to concerns about the enshittification of Claude Code.
Implications for Bun
As Bun and its team get further integrated into Anthropic, there is a risk that the same policies that have led to the collapse of Claude Code will affect Bun. This could lead to issues popping up in Bun that make it seem like the team doesn't even dogfood their own product. While Bun is still an excellent JavaScript runtime, the uncertainty surrounding its future is a concern.
For now, the author recommends using pnpm, a package manager that provides fast installs, good monorepo support, and sane disk usage. While Bun provides more features than pnpm, the author is moving away from Bun for new projects. However, existing projects may not need to switch, and the decision to use Bun or pnpm should be based on individual needs.