Skip to content
openprxPublic

About

Self-evolving AI assistant framework. Multi-provider, multi-channel, with governance and MCP support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,321 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenPRX

Self-hosted AI assistant framework built in Rust. Multi-channel, multi-provider, with built-in self-evolution.

Highlights

  • Broad LLM provider catalog — Anthropic (Console API key), OpenAI, Google Gemini (API key), Ollama, AWS Bedrock, GLM, OpenAI Codex via Sign in with ChatGPT, local runtimes, and compatible endpoints. GitHub Copilot login is disabled. Provider requests send User-Agent: prx/<version>.
  • LLM Router — heuristic routing (capability + Elo + cost + latency), KNN semantic routing (cold-start guard + 100ms timeout fallback)
  • Advisory decision engine — bounded intent analysis and turn-outcome records; off by default, never selects tools or grants approval
  • Multi-channel messaging — Signal, WhatsApp, Telegram, Discord, Slack, and more
  • Built-in tools and integrations — shell, MCP, memory, scheduling, remote nodes, and an integration catalog
  • Xin, from the Chinese word for heart, task engine — autonomous heartbeat scheduler with 3 execution modes (Rust/LLM/Shell), 3 built-in maintenance tasks, durable Goal/Step execution, and SQLite persistence
  • Web Console — browser-based management interface (console/)
  • Remote Nodes — control macOS/Linux/Pi devices via prx-node agent
  • Self-Evolution — autonomous prompt improvement staged through the skills lifecycle
  • Subagent Spawning — ordinary fan-out without a global concurrency cap, config inheritance, and explicit bounded recursive grants; live runs listed and ended with prx tasks
  • Extensive automated test suite — unit, integration, PTY, gateway, migration, and security coverage

LLM Router Flags

  • heuristic model routing is always available
  • semantic KNN scoring activates when embeddings and history are available

Advisory Decision Engine

The advisory engine ([decision_engine]) is off by default (enabled = false). Off means no analysis brief, telemetry store, or outcome writes. Tool selection, approval, and admission stay with the tool surface owner and the run's approval strategy. Enable it only with an explicit [decision_engine] enabled = true.

Three turn limits live under [decision_engine] and apply whether or not the engine is enabled:

  • latency_budget_ms — extra latency one turn may spend on advisory work (default: 500, range 50–5000)
  • token_ratio_limit — extra tokens as a ratio of the turn's baseline (default: 0.35, finite and greater than 0)
  • max_candidates — most candidates a turn considers (default: 12, range 1–32)

The optional [decision_engine.backend] table selects the analysis backend; without it the built-in backend serves and nothing leaves the machine. A [causal_tree] table is no longer accepted and is refused at load. See advisory decision engine and the configuration reference.

Quick Start

Linux and macOS:

curl -fsSL https://github.com/openprx/prx/releases/latest/download/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
prx init --interactive
prx daemon
prx chat --message 'What is 2+2?'

Windows PowerShell:

irm https://github.com/openprx/prx/releases/latest/download/install.ps1 | iex
prx init --interactive
prx daemon

Foreground commands (prx chat, prx go, prx doctor, prx status, and other commands whose stdout is the product) default to warn-level tracing on stderr, so a scripted prx chat --message 'What is 2+2?' prints only the reply. Those commands previously wrote tracing to stdout. RUST_LOG can raise or lower the level (RUST_LOG=info, RUST_LOG=error). Interactive prx chat writes the same filter to chat.log (WARN+ by default). prx daemon, prx gateway, and prx channel start keep info on their current destination.

The installer downloads a platform-specific binary from GitHub Releases, verifies its SHA-256 checksum, and installs it without requiring Rust or Git. See the installation guide for exact versions, source builds, supported platforms, upgrades, and removal.

To build from a checkout with the pinned Rust 1.99.0 toolchain:

git clone https://github.com/openprx/prx.git
cd prx
cargo build --release --locked --bin prx
./target/release/prx init --interactive

Commands

Command What it does
prx chat Fullscreen interactive session: streaming, tool cards, and saved sessions. --plain or PRX_TUI=0 uses the reedline fallback. --message <text> (-q) runs one turn, prints only the reply on stdout and exits 0, 2 on a policy refusal or 1 on failure; it is not saved unless --save or --session is given.
prx go Zero-config start in a temporary workspace. Writes no config files. --message runs one chat turn like prx chat --message; otherwise it opens chat.
prx tasks List or kill live subagent runs on a running gateway (list, kill, send, pools).
prx cost Read the workspace cost ledger without initializing configuration. --json for machine-readable output.
prx config Inspect and change configuration through a transaction (show, plan, apply, history, rollback, status, schema).

Binaries

Binary Description
prx Main AI daemon and CLI — providers, channels, tools, evolution
prx-node Lightweight remote node agent — runs on managed devices

Architecture

             Channels             Tools              Remote Nodes
    Signal · WA · TG · ...    Shell · MCP · ...     macOS · Pi · ...
              │                      │                     │
              ▼                      ▼                     ▼
         ┌─────────────────────────────────────────────────────┐
         │                       prx daemon                     │
         │  Agent Loop · Gateway · CTE · Xin · Memory · Evo   │
         └──────────────────────┬──────────────────────────────┘
                                │
                          Providers
              Anthropic · OpenAI · Google · ...

Documentation

Topic Description
Installation Binary install, source build, upgrades, rollback
Providers Provider catalog, fallback chains, token refresh
Outbound connections Every host PRX can contact, what is sent, and how to turn it off
Channels Messaging platforms, DM/group policies
Tools Built-in tools, hooks system, webhooks
Scheduled work Cron, Xin, and HEARTBEAT.md: what runs, leases, ordering
Remote Nodes prx-node agent, device pairing, JSON-RPC
Web Console Browser-based management interface
Skill Lifecycle New instruction skills, reviewed executable bundles, evidence gates, publication and recovery (opt-in); controlled V01 studies
Evolution Self-improvement pipeline
Configuration Config reference, workspace files, security
Router LLM Router config, flow, safety boundaries
WASM Plugins Plugin developer guide (Rust/Python/JS/Go)
Host Function Reference WASM plugin host API reference
Plugin Runtime Lifecycle Atomic generations, subscriber pumps, trust and hook bounds
Release notes 0.9 Highlights, breaking changes and known limits of 0.9
Release Gate Exact-SHA CI/security gate that guards release publication

Links

Contact

info@sylvode.org — general and partnership enquiries. Report security issues privately as described in SECURITY.md.

Origin & License

OpenPRX is an independent fork of zeroclaw-labs/zeroclaw. "ZeroClaw" is a trademark of ZeroClaw Labs; OpenPRX is not affiliated with or endorsed by ZeroClaw Labs.

Licensed under either of MIT or Apache-2.0, at your option. Copyright and attribution notices, including those of the ZeroClaw code, are in NOTICE; the upstream licence files are kept in third_party/zeroclaw.

About

Self-evolving AI assistant framework. Multi-provider, multi-channel, with governance and MCP support.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages