rag-axis
Production contract layer for RAG systems.
Typed. Explicit. Observable. Composable.
What This Is
Every production RAG system fails in the same ways: silent retrieval degradation, embedding model mismatch, untracked cost explosions, and context assembly that drops critical information without logging it.
rag-axis does not abstract these problems away.
It makes them impossible to hide.
What This Is Not
- Not a LangChain replacement by feature parity
- Not a beginner library
- Not a multi-agent orchestration framework
- Not auto-configuring anything
If a feature does not make a failure mode explicit
or a production constraint enforceable,
it does not belong in rag-axis.
Core Guarantees
Zero silent failures — every failure mode has a name and a type.
Cost visibility — every result carries tokens consumed, latency, and estimated cost per stage.
Explicit over magic — no hidden routing, no undocumented behaviour.
Immutable results — pipeline results cannot be mutated between stages.
Typed adapters — LLM, embedder, and vector store boundaries are enforced via Protocol.
Status
v0.0.1 — Pre-Alpha. Architecture locked. Core types in development. APIs are unstable until v1.0.0.
| Package | Status |
|---|---|
rag_axis.core |
In development |
rag_axis.adapters |
Planned |
rag_axis.retrieval |
Planned |
rag_axis.context |
Planned |
rag_axis.generation |
Planned |
rag_axis.telemetry |
Planned |
rag_axis.bench |
Planned |
Installation
pip install rag-axis
Requires Python 3.11+.
Audience
This library is for engineers building production RAG systems.
Not tutorials. Not demos. Not proof of concepts.
If you need something working in five minutes, use LangChain.
If you need something you can trust in production, use rag-axis.
Documentation
Full documentation, architecture, design principles, and invariants:
ragaxis.cenewayshorizon.com
Architecture overview: ARCHITECTURE.md
Contributing
See CONTRIBUTING.md and docs/contributing/setup.md.
All PRs must pass the invariant checklist before review.
License
MIT — see LICENSE.
Metadata
Release files for rag-axis 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rag_axis-0.0.2.tar.gz | 39.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rag_axis-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.9 kB
Release files / rag_axis-0.0.2.tar.gz
| Download URL | rag_axis-0.0.2.tar.gz |
|---|---|
| Size | 39.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c793dc623a11a25c59ba30369d76ad8c09899565f327a8f31a28ad8de94d3d99
|
|
BLAKE2b-256 checksum How to use checksums |
7f809bf7852dfec4630e6a817a12f8fcd813eec4aefbc8664dae7220b0838d7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.
Transparency logRelease files / rag_axis-0.0.2-py3-none-any.whl
| Download URL | rag_axis-0.0.2-py3-none-any.whl |
|---|---|
| Size | 74.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ee05ab8e5b0b46607c3bfb98be331ea1d39fbac3737087e232deda92756aa23
|
|
BLAKE2b-256 checksum How to use checksums |
a50483d2acbf95f33f49e0d4b1248207a92a9a6a93b84c542639e9cd21259fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.
Transparency logSecurity for rag-axis 0.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for rag_axis-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.
Transparency logA 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.