Prux introduces a Rust-based, extensible terminal coding agent
state: expiredheat: lowuncertainty: mediumrelevance: lowcoding-agent terminal-harness lightweight-agent agent-harnessesheng30
What is this?
Prux is an MIT-licensed terminal coding agent written in Rust and described by its README as a rewrite of pi-coding-agent. It combines a terminal UI and common coding tools with session persistence, context compaction, and Rust-based extensions; listed built-ins include MCP, subagents, skills, and plan mode. The README says only the opencode-go and DeepSeek providers had been tested so far, so broader provider support is a stated feature, not evidence of broad compatibility.
Why it matters
Prux is a useful example of the growing range of customizable, terminal-native coding agents: it pairs a Rust implementation with sessions, context compaction, and extensions, rather than offering only a basic prompt-and-tool loop. It may interest developers who want to inspect or adapt an open-source harness, but the supplied evidence does not establish that it is faster, lighter, or more reliable than alternatives, or that its claimed provider breadth works in practice.
Current assessment
The project README describes Prux as an MIT-licensed Rust rewrite of pi-coding-agent, with a terminal UI, common file and shell tools, resumable and forkable sessions, context compaction, and a Rust extension interface. It lists extensions including MCP, subagents, skills, scheduled tasks, and plan mode. It claims support for Anthropic, OpenAI, DeepSeek, and custom or virtual model routing, but explicitly says only opencode-go and DeepSeek had been tested so far; practical compatibility is therefore uncertain. The project can be installed from crates.io or built from source. Evidence is the project README and its Hacker News listing; no independent evaluation or adoption data is supplied. Its significance is mainly as an open-source option for developers interested in Rust-based, extensible agent harnesses, not evidence of a leading or production-proven alternative to established tools.
Measured heat
no measured readings yet — the hourly heat pass fills this in
How the heat travelled
Evidence (2) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | Prux is a minimal terminal coding agentRetrieved article excerptOpen article · Retrieved 2026-10-09T09:41:35.758004+00:00 [prux coding agent](https://raw.githubusercontent.com/heng30/prux/main/icon.png)
**A minimal terminal coding agent**
[Release](https://github.com/heng30/prux/releases)
[License](https://github.com/heng30/prux/blob/main/LICENSE)
[Platform](https://github.com/heng30/prux/blob/main/Platform)
[Rust 2024](https://doc.rust-lang.org/edition-guide/rust-2024/)
[Stars](https://github.com/heng30/prux/blob/main/Stars)
[English](https://github.com/heng30/prux/blob/main/README.md) | [简体中文](https://github.com/heng30/prux/blob/main/README.zh-CN.md)
> ⚠️NOTE: So far only `opencode-go` and `deepseek` have been tested.
## Introduction
`prux` is a minimal terminal coding agent. The core stays small and focused, and its capabilities are extended through extensions, skills, prompt templates, themes, and customizable keybindings. It is a Rust rewrite of [@earendil-works/pi-coding-agent](https://github.com/earendil-works/pi), staying aligned with upstream in behavior and wording for the most part.
[image demo](https://raw.githubusercontent.com/heng30/prux/main/screenshot/image.gif)
[code demo](https://raw.githubusercontent.com/heng30/prux/main/screenshot/code.gif)
## Features
- **Interactive TUI**: a full-screen terminal interface with themes and customizable keybindings. Requires stdin/stdout to be a TTY.
- **Built-in tools**: `read` / `bash` / `edit` / `write` / `grep` / `find` / `ls`, covering common coding tasks.
- **Multiple providers**: supports API providers such as Anthropic, OpenAI, and DeepSeek, with custom and virtual model routing.
- **Session management**: session persistence, `/resume` restoration, forking, and tree navigation.
- **Context compaction**: `/compact` compacts long contexts, with branch summaries.
- **Extension system**: implement the `Extension` trait in Rust to provide tools, commands, keybindings, CLI flags, and event hooks.
- **Built-in extensions**: MCP, subagents, codemode (QuickJS sandbox orchestration), skills, scheduled tasks, plan mode, and more.
## Installation and build
Install the released binary from crates.io (requires a Rust toolchain):
```
cargo install prux
```
Or build from source:
```
cargo build --release
./target/release/prux --version
```
Common commands:
```
make # cargo build --release
make build # compile only (debug)
make debug # cargo run
make check # cargo check
cargo test # full test suite
cargo clippy # static checks
```
## Quick start
```
cd /path/to/project
prux
```
On the first run, configure a provider with `/login` inside the TUI, or set the environment variable before launching:
```
export ANTHROPIC_API_KEY=sk-ant-...
prux
```
Settings are written to `~/.prux/` (the agent directory, overridable with `$PRUX_AGENT_DIR`): credentials in `auth.json`, global settings in `settings.json`, and so on.
## Non-TUI entry points
Besides conversational mode, the following commands do not require a TTY:
- `prux auth`: credential management
- `prux mcp`: MCP server management
- `prux --export`: export a session as HTML
- `prux --list-models`: list available models
## Documentation
The complete documentation is written in Chinese and lives in [`assets/docs/`](https://github.com/heng30/prux/blob/main/assets/docs). It is embedded at compile time and synced to the agent directory at runtime. Start at [`assets/docs/index.md`](https://github.com/heng30/prux/blob/main/assets/docs/index.md), and see [`assets/docs/quickstart.md`](https://github.com/heng30/prux/blob/main/assets/docs/quickstart.md) to get up and running.
## Contributing from source
Development conventions, module layering, and build details are in [`AGENTS.md`](https://github.com/heng30/prux/blob/main/AGENTS.md). The upstream alignment cadence is recorded in `sync.md` and [`migrations/`](https://github.com/heng30/prux/blob/main/migrations).
### Troubleshooting
Windows limitations: under `Git Bash` on Windows, prux goes through the legacy console API used by `crossterm`, which implements neither the kitty keyboard protocol nor bracketed paste. `Shift+Enter` therefore cannot be told apart from a plain `Enter` (use `Ctrl+J` to insert a newline), and pasted text arrives as ordinary keystrokes, so a multi-line paste may be submitted line by line. Running inside Windows Terminal (ANSI/VT support) is recommended.
## License
MIT, see [`LICENSE`](https://github.com/heng30/prux/blob/main/LICENSE). | heng30 | 1 | 0 |
| 🟧 echo.github ⭐ | Minimal terminal coding agent in Rust with extension system, session management, multi-provider support, rewrite of pi-coding-agent. | heng30 | — | — |
Interpretation history
2026-10-24T06:25:23Z
audience grounding: low — Prux is a useful example of the growing range of customizable, terminal-native coding agents: it pairs a Rust implementation with sessions, context compaction, and extensions, rather than offering only a basic prompt-and-tool loop. It may interest developers who want to inspect or adapt an open-source harness, but the supplied evidence does not establish that it is faster, lighter, or more reliable than alternatives, or that its claimed provider breadth works in practice.
Decision trace
- 10-29 14:55expireexpired deterministically: single-evidence seed quiet 19 days (lifecycle)
- 10-24 17:25groundPrux is a useful example of the growing range of customizable, terminal-native coding agents: it pairs a Rust implementation with sessions, context compaction, and extensions, rather than offering onl
- 10-09 22:58attention_routeThe editor compared this story and chose to keep watching.
- 10-09 22:51attention_candidatecreate
- 10-09 21:51groundGrounding finds no evidence of a 'Prux' release by 'heng30' — the described project matches Pi (pi.dev) by Mario Zechner and Armin Ronacher, or the Dicklesworthstone/pi_agent_rust
- 10-09 21:32createFirst-party release of a minimal coding agent relevant to the hot agent-harnesses topic.