What do you want to do?
4 use cases
-
Run a one-shot coding task from the terminal
Install the rpi CLI and send it a single task from the shell with a model API key.
- REPO
bigfish1913/pi-rust - Software and DevOps
- Intermediate
View prompt
Install rpi-cli from the bigfish1913/pi-rust repository using cargo, then run `rpi -p "<task>"` in <project-directory> with the API key set. Expected output: a text answer to the task. Verify that `rpi --version` prints a version before running the task.
- REPO
-
Feed agent events into a script as JSON
Use the JSON output mode to get a machine-readable event stream from a one-shot run.
- REPO
bigfish1913/pi-rust - Software and DevOps
- Intermediate
View prompt
Using the bigfish1913/pi-rust CLI, run `rpi --mode json -p "<prompt>"` in <repo-path> and save the output to <output-file>. Expected output: a machine-readable event stream. Verify that the file is non-empty and that each line parses as JSON before using it downstream.
- REPO
-
Test an embedded agent offline with no API key
Run the minimal example against the deterministic faux provider to test agent behavior.
View prompt
Clone bigfish1913/pi-rust, run `cargo run -p minimal`, and then write a Rust test in <target-crate> that builds an agent with the faux provider and asserts the reply. Expected output: the minimal example prints 2 messages after run and the assistant reply. Verify that the test passes with no network access and no API key set.
-
Build a plugin tool that loads into every rpi session
Write a cdylib plugin with rpi-plugin-sdk so the global rpi binary loads your tool.
View prompt
In the bigfish1913/pi-rust repository, copy examples/plugin-stub into <new-plugin-folder>, implement one tool in it, and build it as a cdylib. Expected output: a compiled shared library that rpi can load. Verify that `rpi --version` still runs after the plugin is placed in the loader path.
Quick start with Pi Rust
- Check you have what it needs: Rust 1.78 or later, for installing from crates.io; An ANTHROPIC_API_KEY or OPENAI_API_KEY, or a ~/.rpi/agent/models.json file, for live model calls; Git, to clone the repository for the offline examples.
- Open bigfish1913/pi-rust on GitHub and read the README and license.
- Run
cargo install rpi-cli - Run
rpi --versionto confirm the install - Run
export ANTHROPIC_API_KEY=...orexport OPENAI_API_KEY=...with your own key (inferred, check the README) - Run
rpi -p "summarize the README"from the project directory
These steps come from our top use case, Run a one-shot coding task from the terminal, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bigfish1913/pi-rust
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freePi Rust alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forRust developers and engineers who want a coding agent they can run from the terminal, embed in their own process, or extend with plugins.
- Why it is hot152 stars, launched 72 days ago
- LanguageRust
- Sourcegithub.com/bigfish1913/pi-rust · Back to Hot repos
Requirements
- Rust 1.78 or later, for installing from crates.io
- An ANTHROPIC_API_KEY or OPENAI_API_KEY, or a ~/.rpi/agent/models.json file, for live model calls
- Git, to clone the repository for the offline examples
Add this badge to your README
Maintain Pi Rust? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/bigfish1913-pi-rust/?utm_source=github&utm_medium=badge&utm_campaign=bigfish1913-pi-rust)
HTML
<a href="https://dedupedai.com/use-cases/bigfish1913-pi-rust/?utm_source=github&utm_medium=badge&utm_campaign=bigfish1913-pi-rust"><img src="https://dedupedai.com/badge/bigfish1913/pi-rust.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Pi Rust
What is Pi Rust?
rpi is a Rust-native coding-agent runtime with a terminal CLI, built as nine composable crates for LLM providers, tools, sessions, and a plugin ABI. It is an open-source project on GitHub: https://github.com/bigfish1913/pi-rust.
How do I use Pi Rust?
Run cargo install rpi-cli; then run rpi --version to confirm the install; run export ANTHROPIC_API_KEY=... or export OPENAI_API_KEY=... with your own key. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Pi Rust for?
Rust developers and engineers who want a coding agent they can run from the terminal, embed in their own process, or extend with plugins.
What can I do with Pi Rust?
4 use cases so far, for example: Run a one-shot coding task from the terminal; Feed agent events into a script as JSON; Test an embedded agent offline with no API key. Each has steps and a copy-paste agent prompt.
What do I need to run Pi Rust?
Rust 1.78 or later, for installing from crates.io; An ANTHROPIC_API_KEY or OPENAI_API_KEY, or a ~/.rpi/agent/models.json file, for live model calls; Git, to clone the repository for the offline examples.
What are alternatives to Pi Rust?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Pi Rust safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.