SuperAPIAI Directory

praex-cli

github.com · AI coding

Praex is an open-source (MIT) terminal-first AI coding agent, developed as a fork of OpenCode. It can read codebases, edit files, run commands, and retain resumable sessions. Users can use their own API keys to connect to mainstream providers such as OpenAI, Anthropic, Gemini, Groq, DeepSeek, Mistral, OpenRouter, xAI, or any OpenAI-compatible endpoint, and can also point to local servers such as Ollama, LM Studio, llama.cpp, vLLM; when using your own key, it is unlimited and free, with no Praex account required. In addition, optional Praex-hosted models are offered (login required), which the official description says are not overly preachy and do not refuse legitimate work. The product offers a TUI designed for real work (collapsible tool output, sessions, themes), a permission mode with manual approval by default, headless operation (praex run, praex serve), remote control (/rc), hosted-tier web search (authorized per query), and persistent per-user memory across sessions. It can be installed via npm, Homebrew, or prebuilt binaries, and supports Linux x64 and macOS (Apple Silicon and Intel).

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Praex is an open-source AI coding agent for the terminal, licensed under MIT and developed as a fork of OpenCode. It positions itself as "an AI coding agent that answers questions," reading codebases, editing files, running commands in the terminal, and retaining sessions that can be resumed at any time.

Uses and main capabilities: Praex can perform programming assistance tasks such as code understanding, file modification, and command execution within the terminal. It supports bring-your-own-key access to mainstream model providers, including OpenAI, Anthropic, Gemini, Groq, DeepSeek, Mistral, OpenRouter, xAI, and any OpenAI-compatible endpoint; it can also point to local OpenAI-compatible servers such as Ollama, LM Studio, llama.cpp, vLLM. When using your own key, it is unlimited and free, with no Praex account required. praex models lists available models.

Optional hosted models: Praex also offers hosted models post-trained and served on its own GPUs, which require logging in via praex login. The official description says these models are "not overly preachy," will not preach, lecture, or refuse legitimate work, and have hard limits only for genuinely dangerous content.

Usage: It can be installed via npm or Homebrew (updates are managed by npm and Homebrew respectively), and the Releases page also provides prebuilt binaries and SHA256 checksums for Linux x64 and macOS (Apple Silicon and Intel). When configuring your own key, you can set the environment variables commonly used by the provider, or use praex auth login to store the key; local servers can be configured in the project's praex.json or ~/.config/praex/praex.json.

Interaction and run modes: It provides a TUI designed for real work, supporting collapsible tool output, sessions, and themes; the permission mode defaults to manual approval and can be relaxed once trust is established; it supports headless operation, such as praex run "fix the failing test" for scripts and CI, and praex serve to start a local server; /rc remote control can keep a session running on the local machine and continue it from a phone or the web (requires a Praex account); the hosted tier provides web search authorized per query; and it supports persistent per-user memory across sessions.

Differences from upstream: Praex retains OpenCode's agent core and the provider support described above, and additionally adds stricter permission checks for destructive commands, an agent loop that keeps progressing when a step stalls, self-checks after headless runs, remote control (/rc), persistent memory, and optional hosted Praex models. Upstream attribution information is retained in LICENSE and THIRD-PARTY-NOTICES.md.

Use cases and limitations: suitable for AI-assisted programming in the terminal, headless tasks in scripts and CI, local model integration, and workflows that require cross-session memory. Using hosted models and remote control requires a Praex account; web search is available only at the hosted tier; prebuilt binaries currently list Linux x64 and macOS, with other platforms not yet available. Specific pricing, billing, and performance data are not yet available.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools