Toolkit and hub CLI for the Portable Research eXchange (.prx) format.
PRX is an open format for packaging AI-generated research so it can be shared, verified, and attributed back to the providers and sources behind every claim — privately within a team or publicly to the world. prx is the toolkit for working with those archives: read, validate, diff, merge, sign, and publish.
It pairs naturally with parallect (which produces .prx bundles from multi-provider research runs) and prxhub (the public registry for sharing them).
$ prx read results.prx
$ prx publish results.prx --collection ai-safety
$ prx open # Terminal UI browserpip install prx-cliThe CLI is installed as prx (the PyPI distribution is prx-cli because
prx was already taken).
For the interactive TUI browser:
pip install 'prx-cli[tui]'Requires Python 3.10+.
- Read + validate any
.prxbundle — L0/L1/L2 structural checks - Verify attestations — Ed25519 JWS signatures and per-file attestations
- Diff and merge bundles — compute consensus + disagreement between research runs
- Publish to prxhub — share, tag, collection-assign, fork, star
- Manage signing keys — generate, list, register with the hub, revoke
- Browse visually — a terminal UI for exploring bundle contents (with
[tui]extra)
# Inspect the contents
prx read results.prx
# Structural validation (L0/L1/L2)
prx validate results.prx
# Verify Ed25519 attestations
prx verify results.prx
# Diff two bundles — shows added/removed claims and provider drift
prx diff a.prx b.prx
# Merge bundles — combines providers, claims, and sources
prx merge a.prx b.prx -o combined.prx
# Export for sharing
prx export results.prx --format markdown# One-time setup — interactive config for API key and signing identity
prx config
# Generate a signing keypair (stored in ~/.config/prx/)
prx keys generate
# Publish a bundle
prx publish results.prx --visibility public --tags "consensus,distributed-systems"
# Publish directly into a collection (created if missing)
prx publish results.prx --collection ai-safety
# Search the hub
prx search "quantum computing"
# Clone someone else's bundle
prx clone alice/quantum-consensusprxhub supports Git-style collaboration on research. See docs/PRXHUB.md for the full workflow.
prx repo create my-research --description "Ongoing literature review"
prx branch create alice/my-research experiment
prx push results.prx --repo my-research --branch experiment
prx mr create alice/my-research --source experiment --target mainprx openBrowse installed bundles, read synthesis + per-provider reports, and search hub content without leaving the terminal. See docs/TUI-GUIDE.md.
| Command | Purpose |
|---|---|
prx read <bundle> |
Display bundle contents (query, providers, synthesis) |
prx validate <bundle> |
Structural validation (L0/L1/L2) |
prx verify <bundle> |
Verify cryptographic attestations |
prx diff <a> <b> |
Compare two bundles |
prx merge <a> <b> -o <out> |
Merge providers, claims, sources |
prx export <bundle> |
Export to markdown / JSON |
prx list <dir> |
List bundles in a directory |
prx open |
Terminal UI browser (requires [tui]) |
| Command | Purpose |
|---|---|
prx config |
Interactive configuration |
prx publish <bundle> |
Upload to prxhub |
prx search <query> |
Search published bundles |
prx clone <owner/repo> |
Download a published bundle |
prx fork <owner/repo> |
Fork for follow-on research |
prx star <owner/repo> |
Star a bundle |
prx repo <subcmd> |
Repository management |
prx branch <subcmd> |
Branch management |
prx push <bundle> |
Push to a repo branch |
prx mr <subcmd> |
Merge request management |
| Command | Purpose |
|---|---|
prx keys generate |
Generate an Ed25519 signing keypair |
prx keys list |
List local keys |
prx keys register |
Register a public key with prxhub |
prx keys revoke |
Revoke a registered key |
Run prx <command> --help for full flags.
prx config writes to ~/.config/prx/config.toml:
- prxhub API key — for publishing and hub operations (get one at prxhub.com)
- Default visibility —
public,unlisted, orprivate - Signing identity — name or email embedded in bundle attestations
- Format Guide —
.prxbundle structure - TUI Guide — terminal UI reference
- prxhub Guide — publishing, collections, repos, merge requests
git clone https://github.com/parallect/prx.git
cd prx
uv sync --group dev
uv run pytest tests/ -x -q
uv run ruff check src/ tests/Contributions welcome — see CONTRIBUTING.md. For security reports, email security@parallect.ai.
MIT — see LICENSE.
Built by SecureCoders. A hosted managed version is available at parallect.ai — same .prx output, with a multi-provider research API, billing, and a web dashboard.