Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Rust Anything

Records what your app does, lets your coding agent rewrite it in Rust a unit at a time, and replays every case before the switch.

Reviewed by ReviewRamble editors · Updated

View on GitHub Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

4.0/5

Rust Anything is a strict referee for an agent's Rust rewrite, provided you remember that a pass covers only the inputs it recorded.

What is Rust Anything?

Rust Anything is a command-line tool, written in Rust, that helps a coding agent port an existing app to Rust in pieces. `record` runs the original on generated inputs, edge-case traps, its own test suite and any inputs you supply, and saves what it returns, throws and writes. `bridge` generates a Rust crate and a wrapper so callers keep the original API, `diff` replays every recorded case against the port, and `gate` decides whether the port may be switched on. `rust-anything go -- <command>` runs the loop on the slowest part of a real run, and `app lift` turns a fully ported CLI or HTTP server into one Rust binary.

It ships on npm and crates.io as a single binary that also serves a stdio MCP server (`rust-anything mcp`). `rust-anything setup` registers that server and a workflow skill with Claude Code, Codex, Cursor and Gemini CLI; OpenCode is set up by hand, and plugin manifests exist for Claude Code and Codex. The project's status page marks TypeScript, JavaScript, Python, C, Go, Ruby, Java, PHP and C# as verified on real code, while Kotlin and PowerShell are tested only on fixtures. Erkam Yaman created the repository on 16 November 2026, and it is dual licensed MIT or Apache-2.0.

Is Rust Anything worth it?

Rust Anything is the more thorough of the two record-and-replay porting tools we cover, largely because it assumes the agent will try to cheat. Every check is a differential test against the original. `record` runs each case twice, turns values that changed between runs (times, ids) into wildcards and stores the rest in `cases.jsonl`; `diff` calls the port the way the original's callers do and reports where each mismatch first differs. `gate` covers what `diff` cannot see. It fails a port that hard-codes three or more recorded values, mentions the recording files, has fewer tests than at its last pass or runs on an edited recording, and it fails any port longer than three times the original plus 50 lines, on top of fmt, clippy and `unsafe` checks.

The maintainer's published results are specific and mixed. Prettier went from 128.6 s to 6.9 s on 2,360 files with byte-identical output, and json-server became one Rust binary that matches 514 of 514 recorded HTTP cases and idles at 3.5 MB of memory instead of 74 MB. The docs report the losses just as plainly: all 29 portable functions of x18n's core passed the gate and ran slower than the TypeScript, because each call across the bridge cost more than the work it did, and `go` will not switch on a port that is slower as its callers use it. These are the author's runs on an Apple M4, with no independent benchmark yet.

Two outside write-ups show where the proof stops. A DEV Community author ported a small Python dedupe script by hand: 177 of 177 recorded cases matched, yet `enable` crashed the app at start-up, because the real caller passed a `random.Random` object that the JSON-based recorder could not express. Swapping in only the Levenshtein helper made the real workload 4.8 times faster. GitTested's review caught a line-wrapping port that rejected `None` where Python accepted it, and noted that Python replays accept any Rust error wherever the original raised one. The project's own limits page agrees that regexes, float formatting, timing, concurrency and side effects beyond output, files and HTTP fall outside the comparison unless you record them.

Recording runs your real code. `record`, `diff`, `app record` and `app replay` execute the original once per case, so an app that writes files, touches a database or calls the network does that every time, and the docs tell you to work on a copy with a test database and no production credentials. `rust-anything go --agent claude` starts Claude Code headless with file edits accepted automatically and shell access limited to `cargo` and `rust-anything`; `--agent codex` runs `codex exec --full-auto`. The tool itself calls no model and, according to its FAQ, sends no code anywhere, though Cargo still downloads crates and your agent's provider sees whatever the agent sends.

The catch: the project is eleven days old and changing daily. It went from v1.0.0 on 16 November to v5.0.1 on 26 November 2026 over 22 releases, and its 10,594 stars sit on 706 commits, about 300 of them by the maintainer. Token cost is not published. `go` gives the agent three rounds by default (the port, then one per failing diff or gate), and a whole-app port spans many sessions with handoff files. Toolchains add friction as well: the DEV author's gate failed because rustfmt and clippy were not installed.

Our take: fast-anything handles one hot function with less ceremony, and Rust Anything justifies its extra machinery when the plan is to keep porting until the original can be deleted. With either, the recording is only as good as its inputs, so add real production samples before you trust a green gate.

Where it earns its place

  • A Node.js team whose code formatter takes minutes on a large monorepo

    Move the hot path to Rust without changing a byte of output

    `rust-anything go -- <slow command>` profiles a real run, bridges the hottest portable function, records cases and hands `src/port.rs` to Claude Code or Codex; the port is enabled only when diff, gate and bench pass. The Prettier case study went from 128.6 s to 6.9 s on 2,360 files.

  • A backend engineer maintaining a small Node.js REST service

    Replace it with one Rust binary that answers every route the same way

    `app record --http` captures the responses, a front door hands unported routes back to the original, and `app lift` removes Node once every case passes. json-server took nine units and 514 recorded HTTP cases, so plan for several agent sessions.

  • A Python developer whose batch script spends most of its time in one helper

    Speed up that function and leave the rest of the script alone

    Bridge only the helper through PyO3 and add real inputs with `--inputs`, since generated cases miss objects such as `random.Random`. In the DEV Community test this cut the workload 4.8 times, even though `bench` had rated the per-call port slower.

Before you commit

Setup
`npm install -g rust-anything` or `cargo install rust-anything`, then `rust-anything setup`, which backs up each agent config before editing it; `rust-anything doctor` lists missing runtimes. You need Rust plus the original's runtime (Node 22.6+, Python 3.9+, Go 1.21+, Ruby 3+ or JDK 17+). In Claude Code, `/plugin install rust-anything --marketplace erkamyaman/rust-anything` adds the MCP server and skill, with the CLI still required on your PATH.
Integrations
Claude Code, Codex, Cursor and Gemini CLI through `setup`; OpenCode and other MCP clients by hand. The stdio MCP server exposes 15 tools and two prompts. Bridges use napi-rs or wasm-bindgen for JavaScript, PyO3 for Python, a C ABI for C, and cgo, magnus, JNI or P/Invoke for the rest; a GitHub Action runs `gate` in CI.
Data and privacy
Runs locally and, according to the FAQ, sends none of your code anywhere. Recordings (`cases.jsonl`, `rust/app-cases/`) hold real inputs and outputs inside your repository. Recording and replay execute the original app, so its side effects repeat for each case. Generated code belongs to you.
Cost at scale
Free. The tool calls no model; the bill is your agent's usage, which the project does not publish. `go` allows three agent rounds by default, and whole-app ports run across many sessions.
Limits
A pass proves behaviour only on recorded inputs and on the machine that recorded them; regexes, float formatting, timing, concurrency and unrecorded side effects can still differ. Arguments must be expressible as JSON, small functions often get slower across the bridge, and Kotlin and PowerShell are tested only on fixtures.

What’s good

  • Differential replay against the original, with a gate that catches hard-coded answers and edited recordings
  • A tested path from one ported unit to a single Rust binary
  • Publishes slow results next to fast ones
  • Calls no model itself and works with any agent that reads a prompt

What’s not

  • A pass covers only recorded inputs, and arguments that cannot be written as JSON slip through
  • Recording and replay run the original app, side effects included
  • Eleven days old, with 22 releases so far
  • No published token or time cost

Best for

Teams with a slow, well-tested TypeScript, Python or Go codebase who want an agent to move it to Rust under checks they can audit, on a copy with a test database.

Rust Anything alternatives

Rust Anything: common questions

Is Rust Anything worth it?
Rust Anything is a strict referee for an agent's Rust rewrite, provided you remember that a pass covers only the inputs it recorded. We rate it 4.0 out of 5.
How much does Rust Anything cost?
Free and open source (MIT or Apache-2.0). The tool calls no model; you pay for your coding agent's usage.
What are the downsides of Rust Anything?
A pass covers only recorded inputs, and arguments that cannot be written as JSON slip through; recording and replay run the original app, side effects included; eleven days old, with 22 releases so far; no published token or time cost.
Who is Rust Anything best for?
Teams with a slow, well-tested TypeScript, Python or Go codebase who want an agent to move it to Rust under checks they can audit, on a copy with a test database.
How much does Rust Anything cost for a team or in production?
Free. The tool calls no model; the bill is your agent's usage, which the project does not publish. `go` allows three agent rounds by default, and whole-app ports run across many sessions.
Is Rust Anything safe for company data?
Runs locally and, according to the FAQ, sends none of your code anywhere. Recordings (`cases.jsonl`, `rust/app-cases/`) hold real inputs and outputs inside your repository. Recording and replay execute the original app, so its side effects repeat for each case. Generated code belongs to you.
What are the best Rust Anything alternatives?
The closest alternatives we have reviewed are fast-anything.

Answers checked Nov 27, 2026.

Make Rust Anything? Show this rating on your siteRust Anything rated 4.0 out of 5 on ReviewRamble