Skip to main content

bijux-rar: deterministic, contract-driven Retrieval-Augmented Reasoning runtime.

Project description

bijux-rar

PyPI Python License Docs CI

bijux-rar is a deterministic retrieval-augmented reasoning (RAR) engine.

It produces byte-stable traces, versioned artifacts, and verifiable provenance for every run. Execution, verification, and replay are first-class constraints, not optional features.


Why this exists

Most RAG / RAR systems are:

  • non-deterministic,
  • impossible to replay,
  • unverifiable after the fact,
  • dependent on trust in the author or runtime.

bijux-rar enforces:

  • deterministic execution,
  • immutable artifacts,
  • cryptographically stable traces,
  • replay and verification by default.

If a run cannot be replayed and verified byte-for-byte, it is considered invalid.


Installation

pip install bijux-rar

Python ≥ 3.10 is required.


Minimal usage

CLI

bijux-rar run \
  --spec examples/spec.json \
  --artifacts-dir artifacts/runs \
  --seed 0

RUN_DIR=$(cat artifacts/runs/latest.txt 2>/dev/null || ls artifacts/runs | head -n1)

bijux-rar verify \
  --trace artifacts/runs/$RUN_DIR/trace.jsonl \
  --plan artifacts/runs/$RUN_DIR/plan.json \
  --fail-on-verify

bijux-rar replay \
  --trace artifacts/runs/$RUN_DIR/trace.jsonl \
  --fail-on-diff

Verification or replay failures indicate invariant violations.


HTTP API

uvicorn bijux_rar.httpapi:app --host 127.0.0.1 --port 8000
curl -X POST http://127.0.0.1:8000/v1/runs \
  -H "Content-Type: application/json" \
  -d @examples/spec.json

The API exposes the same deterministic contracts as the CLI.


Project boundaries

bijux-rar is intentionally narrow in scope.

It is not:

  • a chat framework,
  • a prompt playground,
  • a generic RAG toolkit,
  • an experimentation sandbox.

It is a core execution and verification engine.


Relationship to other bijux projects

bijux-rar sits beneath both, enforcing execution and verification invariants.


Documentation

Authoritative documentation is published at:

https://bijux.github.io/bijux-rar/

The documentation is part of the system contract. Code and docs are tested for drift.


Stability and compatibility

Initial public release: v0.1.0

  • Core contracts are frozen.
  • Breaking changes require explicit versioning and migration.
  • Determinism and replay invariants will not be relaxed.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bijux_rar-0.1.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bijux_rar-0.1.0-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

Details for the file bijux_rar-0.1.0.tar.gz.

File metadata

  • Download URL: bijux_rar-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bijux_rar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 338a1305f9a2ff6754e7977d0c311f1631ecea76a1c849d4789406cdb8f270b5
MD5 d36d2fe96a8de6dfd00bfeb9235ba178
BLAKE2b-256 db0a3cb0700343906f8b04b3f16dfa598716194fc1968c4b642219b3cc8383f1

See more details on using hashes here.

File details

Details for the file bijux_rar-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bijux_rar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 64.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bijux_rar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 854de5aa1883d6e82d54858778d8c4fc8dba8208596488494037688a19f9c4a7
MD5 14e0600c958fdd09c756fa4e4ada8db0
BLAKE2b-256 060addb6771615269e47ae161da724aa0c67a3315b73753265ea501e307bc1e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page