What is fast-anything?
fast-anything is an MIT-licensed command-line tool, written in Rust and installed from npm, built on one idea from its README: don't rewrite a whole app in Rust, rewrite the few percent of it that is slow. It sits in the AI SDLC Automation category of the AI Coding tools and is open-source, written in Rust and licensed MIT.
Overview
fast-anything is an MIT-licensed command-line tool, written in Rust and installed from npm, built on one idea from its README: don't rewrite a whole app in Rust, rewrite the few percent of it that is slow. It profiles a running program, ranks its functions by time spent and by how portable they are, and hands the chosen function to a coding agent — Claude Code, Codex, or any command that reads a prompt on stdin — as a one-function Rust crate with a `TASK.md` describing the job. Without an agent you can give that `TASK.md` to whatever tool you use.
The port is not trusted on sight. fast-anything records up to 500 real calls to the original function, then derives extra cases the original answers too: edge values such as NaN, ±infinity, -0.0, zero and ±1, non-ASCII text, empty inputs and inputs up to 16 times bigger, plus shrunk slices. The Rust build is enabled only when every case matches — same values, floats within 1e-9, and errors where the original errors — and only when it is faster per call, since crossing into Rust has its own cost. Enabling inserts one marked block into your code that `disable` removes byte for byte, and `FAST_ANYTHING_DISABLE=1` runs the original at any time.

It works with Python 3.10+ through PyO3, JavaScript and TypeScript on Node 22+, Bun or Deno 2+ through napi-rs, and Ruby, Java, Kotlin, Go, PHP, C, C++, C# and R through a plain C entry point that takes and returns JSON. Ports target top-level, deterministic functions that take plain data, and the tool prefers the outermost loop it can move so the app crosses into Rust once rather than millions of times. Besides the CLI it ships a Claude Code plugin, an MCP server built into the binary with eight tools, and an agent skill that teaches the loop.
What it does
- `scan` profiles the app and ranks functions by time multiplied by how portable they are
- `port` records up to 500 real calls and generates a one-function Rust crate plus a `TASK.md` for your coding agent
- `verify` release-builds the port and replays every recorded call plus generated edge cases and shrunk inputs
- `enable` / `disable` swap the Rust in or out through one marked block, fully reversible
- `bench` times the whole app original against Rust in interleaved runs, and `report` writes markdown and an SVG card for a pull request
- Claude Code plugin, a built-in MCP server (`fast_scan`, `fast_port`, `fast_verify` and five more tools) and an agent skill
Getting started
You need a Rust toolchain from rustup — ports are compiled with it — and the runtime of the app you want to speed up. Steps follow the project README.
Install the CLI
Install the package globally from npm, then let `doctor` check your Rust toolchain, runtimes and coding agents.
npm i -g @el4cteo/fast-anything
fast-anything doctorRun the whole loop in one command
Pass your agent and the command that starts your app after `--`. fast-anything profiles it, ports the best candidate with the agent, verifies the port and swaps it in. The same works with `node app.ts`, `bun app.ts`, `ruby app.rb`, `java App.java`, `go run .`, `php app.php` or `Rscript app.R`.
fast-anything go --agent claude -- python app.py
Or go step by step
Run `scan -- <cmd>` to see the ranked candidates, `port [id]` to record calls and create the crate, `verify` to build and replay, `enable` to switch the Rust in, then `bench` and `report` to measure it and write up the result. `disable` puts the original back.
Use it from your agent
In Claude Code, add the plugin marketplace and install the plugin, then call it with `/fast-anything:fast python app.py`. Other MCP clients can run the built-in server instead.
/plugin marketplace add EL4CTEO/fast-anything
/plugin install fast-anything@fast-anything
# or, as an MCP server
claude mcp add fast-anything -- fast-anything mcpCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Reach for it when a Python or Node app spends most of its time in a few pure functions and a full Rust rewrite is not worth months of work
- Reach for it when you want a coding agent's optimisation checked against recorded real behaviour before it reaches production
- Reach for it when you need a reversible speed-up you can turn off with one command or one environment variable
- Reach for it when a pull request needs before-and-after benchmark numbers for a hot path
How fast-anything compares
fast-anything alongside other open-source ai sdlc automation tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Multica | ★ 58.5k | Self-hostable workspace where coding agents are assigned issues like teammates: 26 agent CLIs, runtimes you own, a replayable execution log per run, and review gates before anything ships. |
| oh-my-codex (OMX) | ★ 33.9k | A workflow layer for the OpenAI Codex CLI that adds agent teams, git-worktree isolation, hooks and HUDs behind a set of canonical plan, code-review and QA commands. |
| GPT-Pilot | ★ 33.6k | Autonomous AI developer that breaks down an app description into tasks, writes and runs code incrementally, and asks clarifying questions to produce a working production application. |
| Beads | ★ 29.3k | A Dolt-backed dependency-graph issue tracker for coding agents: hash IDs avoid multi-agent collisions, `bd ready` surfaces unblocked work, and `bd remember` keeps durable project memory. |
| Vibe Kanban | ★ 28.9k | Vibe Kanban lets you plan tasks on a kanban board, run coding agents like Claude Code and Codex in isolated workspaces, then review their diffs and ship pull requests. |
| Archon | ★ 24k | A workflow engine for AI coding agents: describe plan, implement, validate, review and PR phases as YAML, and every run repeats them in its own git worktree. |
| Keploy | ★ 20k | An API testing tool that records real traffic with eBPF — including database and queue calls — and replays it as deterministic tests and data mocks, with no SDK to import and no code changes. |
| fast-anything | ★ 5.1k | Profile an app, let a coding agent port only its slowest functions to Rust, and prove each port matches the original before it is switched on |
