Rust Anything · Erkam Yaman · GitHub repository and README, MIT license, repository created November 16, 2026
Rust Anything gates agent-written ports on recorded behavior, not on tests passing
The tool contains no translator. In the README's words: "Your coding agent writes the Rust. Rust Anything records what the original code does, replays every recorded case against the port, and only calls the port done when every case matches." Recording covers return values, thrown errors and printed output. For whole applications it also covers exit codes, files written, a server's answer to every request, outgoing HTTP and mail calls, and a database dump after each request. The gate step also runs fmt, clippy, cargo test, an unsafe check, a stub check and a check for recorded answers pasted into the port. Work moves one function at a time behind the original's API, and a single go run allows at most three agent turns by default: one for the port, then one per failing diff or gate.
The README's results table reports 17,224 of 17,224 Prettier cases byte-identical, with 15,861 formatted fully in Rust; 10,585 of 10,585 ESLint runs identical on stdout, stderr and exit code; and 226,447 of 226,447 recorded calls for 10 crates of ffmpeg's libavutil. The Prettier run log lists the steps behind that figure, from 3,080 recorded CLI cases up to 17,224 as TypeScript, JSON, GraphQL, YAML, Markdown and CSS support were added, with 7.9% of cases still handed back to Prettier. The README also says "Rust is not automatically faster", since a small function called across the bridge is often slower than the JIT.
These are the author's own runs. We read the README and the Prettier run log; we did not run the tool. The author also offers paid Rust migration consulting. The GitHub API showed 14,004 stars and 1,182 forks on the evening of December 4.
Why it matters: The usual failure in an agent rewrite is a port that compiles and passes its tests but behaves differently at the edges. This tool makes the original program the oracle and checks that recorded answers were not pasted into the port. That pattern carries over to any migration a factory runs, whatever the target language.