Deterministic runtime verification and audit middleware for AI systems
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
aurora-lens
Deterministic governance layer between your application and any LLM. Maintains ground-truth world state (PEF) independently of the model, verifies LLM output against that state, and applies policy-driven continuation control before the response reaches your users.
Version 2.0.0 — production-ready, 800+ deterministic tests, forensic audit chain.
Architecture
User Input
|
[Interpretation] -- extract entities, relationships, temporal signals (SpacyBackend)
|
[PEF State] -------- Persistent Existence Framework: session-scoped ground truth
|
[LLM] -------------- any provider (Anthropic, OpenAI, Ollama, Grok, Azure, ...)
|
[Verification] ----- compare LLM output against PEF: flag hallucinations, contradictions,
| identity drift, time smear, medical/legal/financial violations
|
[Governor] -------- policy decision: (lens_status, domain, authority_class) ->
| allowed continuation set + pathway_id
|
[Forensic Audit] --- tamper-evident, hash-chained JSONL ledger (AFL-JSONL-1)
|
Output
Lens determines admissibility. The Governor determines lawful continuation. The LLM never self-governs.
How releases are framed
| Surface | Role |
|---|---|
PyPI (aurora-lens) |
Usable runtime governance toolkit -- integrate Lens, verification, Governor, audit. |
aurora-lens-eval |
Black-box behavioural proof -- real stack, scripted upstream, strict pass/fail checks (no canned triumph narrative). |
| Docs / site | Architecture, doctrine, evidence -- runbooks, capabilities, forensic model (docs/, Zenodo). |
See docs/DISTRIBUTION.md.
Install
pip install aurora-lens
python -m spacy download en_core_web_sm
Optional extras:
pip install "aurora-lens[claude]" # Anthropic Claude adapter
pip install "aurora-lens[proxy]" # Proxy server (uvicorn + YAML)
pip install "aurora-lens[langchain]" # LangChain integration
pip install "aurora-lens[all]" # All extras
Black-box mini-evaluator (no live LLM; real governance stack):
aurora-lens-eval --strict # four scenarios: pass, ambiguity gate, hard stop, audit crypto checks
aurora-lens-eval --json # machine-readable report
Install
pip install aurora-lens
Optional extras:
pip install "aurora-lens[claude]"
pip install "aurora-lens[proxy]"
pip install "aurora-lens[langchain]"
pip install "aurora-lens[all]"
Quick start
aurora-lens --help
Requirements
Python 3.10+
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aurora_lens-2.1.0.tar.gz.
File metadata
- Download URL: aurora_lens-2.1.0.tar.gz
- Upload date:
- Size: 384.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ddd9960927a2f784251af7316fd69743fa3f0fd0c56e66dc88e92dfefc8dc1
|
|
| MD5 |
c39f33347b61c27de6b2a1f397d9145b
|
|
| BLAKE2b-256 |
393e4bb9e668d2d91b30fecdd7d790f8bae61ac41d653701e156fe47f0b22059
|
File details
Details for the file aurora_lens-2.1.0-py3-none-any.whl.
File metadata
- Download URL: aurora_lens-2.1.0-py3-none-any.whl
- Upload date:
- Size: 239.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0aa9ca2b078db1d3a3b6337be76a1c44f5097e08bc690438c89f136eb6eea10
|
|
| MD5 |
d0a09a4262aafee88fa46365628fc8a4
|
|
| BLAKE2b-256 |
42b6a7abe1ba864423f1db8c180dc403e799be6c95d14335fa8196fb3897922f
|