{"slug": "prux-is-a-minimal-terminal-coding-agent", "title": "Prux is a minimal terminal coding agent", "summary": "Prux, a minimal terminal coding agent written in Rust as a rewrite of @earendil-works/pi-coding-agent, has been released on crates.io and installs via `cargo install prux`. The agent ships built-in tools (read, bash, edit, write, grep, find, ls), supports Anthropic, OpenAI, and DeepSeek providers, and extends functionality through Rust extensions including MCP, subagents, and a QuickJS codemode sandbox. Prux has been tested with opencode-go and deepseek, and its documentation is written in Chinese under assets/docs/.", "body_md": "**A minimal terminal coding agent**\n\n`opencode-go` and `deepseek` have been tested.\n\n⚠️ NOTE: So far only\n\n`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.\n\n- **Interactive TUI** : a full-screen terminal interface with themes and customizable keybindings. Requires stdin/stdout to be a TTY.\n- **Built-in tools** :`read` /`bash` /`edit` /`write` /`grep` /`find` /`ls` , covering common coding tasks.\n- **Multiple providers** : supports API providers such as Anthropic, OpenAI, and DeepSeek, with custom and virtual model routing.\n- **Session management** : session persistence,`/resume` restoration, forking, and tree navigation.\n- **Context compaction** :`/compact` compacts long contexts, with branch summaries.\n- **Extension system** : implement the`Extension` trait in Rust to provide tools, commands, keybindings, CLI flags, and event hooks.\n- **Built-in extensions** : MCP, subagents, codemode (QuickJS sandbox orchestration), skills, scheduled tasks, plan mode, and more.\n\nInstall the released binary from crates.io (requires a Rust toolchain):\n\n```\ncargo install prux\n```\n\nOr build from source:\n\n```\ncargo build --release\n./target/release/prux --version\n```\n\nCommon commands:\n\n```\nmake          # cargo build --release\nmake build    # compile only (debug)\nmake debug    # cargo run\nmake check    # cargo check\ncargo test    # full test suite\ncargo clippy  # static checks\ncd /path/to/project\nprux\n```\n\nOn the first run, configure a provider with `/login` inside the TUI, or set the environment variable before launching:\n\n```\nexport ANTHROPIC_API_KEY=sk-ant-...\nprux\n```\n\nSettings are written to `~/.prux/` (the agent directory, overridable with `$PRUX_AGENT_DIR`): credentials in `auth.json`, global settings in `settings.json`, and so on.\n\nBesides conversational mode, the following commands do not require a TTY:\n\n- `prux auth` : credential management\n- `prux mcp` : MCP server management\n- `prux --export` : export a session as HTML\n- `prux --list-models` : list available models\n\nThe 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.\n\nDevelopment 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).\n\nWindows 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.\n\nMIT, see [`LICENSE`](https://github.com/heng30/prux/blob/main/LICENSE).", "url": "https://wpnews.pro/news/prux-is-a-minimal-terminal-coding-agent", "canonical_source": "https://github.com/heng30/prux", "published_at": "2026-10-09 08:21:43+00:00", "updated_at": "2026-10-09 08:52:39.852886+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "ai-products"], "entities": ["Prux", "@earendil-works/pi-coding-agent", "Anthropic", "OpenAI", "DeepSeek", "opencode-go", "crates.io", "QuickJS"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/prux-is-a-minimal-terminal-coding-agent", "markdown": "https://wpnews.pro/news/prux-is-a-minimal-terminal-coding-agent.md", "text": "https://wpnews.pro/news/prux-is-a-minimal-terminal-coding-agent.txt", "jsonld": "https://wpnews.pro/news/prux-is-a-minimal-terminal-coding-agent.jsonld"}}