Skip to main content

PARI — Next-Generation Terminal Coding Agent

License: MIT Python 3.11+ Architecture: 11-Layer Stack Security: Kernel Sandboxed


⚡ The Core Thesis

$$\text{\bf Agent failure is a systems engineering failure, not a reasoning failure.}$$

The exact same frontier reasoning model (Claude 3.7 Sonnet, GPT-4o) demonstrates a 15% pass rate in a naive loop, but achieves a 50–55% pass rate inside an engineered harness. The 35% delta is not model intelligence; it is accounted for by six fatal systems failure modes:

  1. Unbounded stdout poisoning $\rightarrow$ Solved by Layer 7 (50KB/2k-line disk spooler + balanced head/tail extraction).
  2. Mid-stream token truncation $\rightarrow$ Solved by Layer 4 (Strict stop_reason == "length" rejection guard).
  3. File write race conditions $\rightarrow$ Solved by Layer 6 (FileMutationQueue canonical realpath serialization).
  4. KV cache invalidation cascades $\rightarrow$ Solved by Layer 2 (Immutable Baseline Epochs freezing Tiers 1–4).
  5. Blind file traversal loops $\rightarrow$ Solved by Layer 3 (v1: Fast substring ripgrep & globbing / v2: Tree-sitter AST fallback).
  6. Unsandboxed host execution $\rightarrow$ Solved by Layer 0 (Multi-platform kernel isolation: bwrap, Seatbelt, E2B MicroVMs).

🚀 Installation & Quick Start

Official Website & Documentation: https://pari-cli.in/docs

Choose your platform's installation command:

1. macOS & Linux (curl)

curl -fsSL https://pari-cli.in/install.sh | bash

2. Windows (irm in PowerShell)

irm https://www.pari-cli.in/install.ps1 | iex

3. Via pip / pipx / uv

# Recommended (isolated CLI)
pipx install pari-cli

# Fast via uv
uv tool install pari-cli

# Standard pip
pip install pari-cli

💻 Launch Interactive Session

# Export your API key
export ANTHROPIC_API_KEY="sk-ant-..."

# Launch PARI anywhere in your project workspace
pari-cli

⚖️ License

MIT License. See LICENSE for details.

Metadata

Release files for pari-cli 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pari-cli 0.1.6
File Size Uploaded Provenance
pari_cli-0.1.6.tar.gz 102.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pari-cli 0.1.6
File Interpreter ABI Platform
pari_cli-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 241.7 kB

Release files / pari_cli-0.1.6.tar.gz

Download URL pari_cli-0.1.6.tar.gz
Size 102.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f81b0561a2a414c94d0bc640c0183ecc14bd37fc99ee3a444cae495f32a20945
BLAKE2b-256 checksum
How to use checksums
ef080e72bcffe1414df93ea8618d4ff8ee91a82d1db96e046c3685958b4f8d8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pari_cli-0.1.6-py3-none-any.whl

Download URL pari_cli-0.1.6-py3-none-any.whl
Size 139.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1421a2769036941363d2767001d0d92182d96810ce730ce4522dadf49ffc7df2
BLAKE2b-256 checksum
How to use checksums
67ff5d2c949ce608b5c9293f2daa04ed798cecbb3d3028f06f02a6aceea74639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for pari-cli 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page