AI tool comparison
Claw Code vs Mercury Coder Next Edit
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools
Claw Code
Claude Code's architecture, open-sourced — 100K stars in days
75%
Panel ship
—
Community
Paid
Entry
Claw Code is a clean-room rewrite of Anthropic's Claude Code agent harness, born from a March 2026 incident where Claude Code's full TypeScript source was accidentally published to the npm registry inside a 59.8 MB JavaScript source map. Developer Sigrid Jin reverse-engineered the architecture and rebuilt it ground-up in Rust (72.9%) and Python (27.1%) under MIT license. The framework ships 19 permission-gated tools covering file operations, shell execution, Git commands, and web scraping — plus a multi-agent orchestration layer that can spawn parallel sub-agents, a query engine managing LLM streaming and caching, and full MCP support across six transport types. Session persistence with transcript compaction and 15 interactive slash commands round out a feature set that rivals the original. What makes Claw Code genuinely disruptive is provider freedom: where Claude Code locks you to Anthropic, Claw Code works with any LLM. It hit 72K GitHub stars on day one and crossed 100K by the end of the week — one of the fastest-growing repos in GitHub history. Whether Anthropic pursues legal action remains an open question, but the code is already forked thousands of times.
Coding Tools
Mercury Coder Next Edit
Sub-100ms next-edit prediction for VS Code and JetBrains — powered by diffusion LLMs
50%
Panel ship
—
Community
Free
Entry
Inception Labs launched Next Edit inside the Continue extension, bringing Mercury Coder's diffusion-based architecture to VS Code and JetBrains. Unlike autoregressive autocomplete that generates left-to-right, Mercury predicts multi-line edits across your entire file simultaneously — deletions, additions, and structural changes at once. Common patterns it handles: converting callbacks to async/await, extracting functions, renaming variables across call sites, and squashing code smells. Latency is under 100ms so suggestions appear before you finish thinking. The diffusion architecture ($0.25/M input, $1/M output) is 5-10x faster than comparable autoregressive models. Available via Models Add-On in Continue.
Reviewer scorecard
“Multi-provider support alone makes this worth exploring — no more being locked to Claude's API pricing. The Rust core means it's fast, and 19 permission-gated tools is a solid starting point for real agent workflows. I've already swapped it in for two internal projects.”
“I've used next-edit features in other tools but the sub-100ms latency here is genuinely different — it's below my perception threshold, which means it doesn't break flow. The multi-line simultaneous edit understanding is real; it caught a refactor pattern I was about to manually do across 6 call sites.”
“The whole project is legally precarious — even a 'clean-room rewrite' based on accidentally-published source code is a grey area that Anthropic's lawyers are surely eyeballing. Building production workflows on top of a repo that could get DMCA'd overnight is a real risk. Wait for the legal dust to settle.”
“The benchmarks are impressive but 'trained on real edit sequences' is doing a lot of work here. Until I see how it handles domain-specific refactors in large codebases with complex type hierarchies, I'm skeptical it beats Cursor's native next-edit on anything beyond textbook patterns.”
“This is what happens when proprietary agent architectures meet the open-source community — the architecture gets commoditized within weeks. We're entering a world where the LLM is the commodity and the agent harness is the moat, and Claw Code just made that moat public property.”
“Diffusion LLMs applied to code editing is the most underrated architectural bet in AI tooling right now. Autoregressive generation was always the wrong primitive for editing — you don't write a diff token by token. Mercury's approach is structurally correct and the speed numbers suggest it scales without compromise.”
“For creative workflows — rapid prototyping, generating design assets, iterating on copy — having an agent harness that isn't locked to one provider is genuinely freeing. The cost arbitrage between providers alone makes Claw Code worth setting up.”
“Even for non-heavy-coders, the 'fix code smells' and 'rename across call sites' use cases are exactly the tedious tasks that make coding feel like work instead of creation. Sub-100ms means zero cognitive interrupt. This is the kind of AI assist that disappears into the background in a good way.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.