Production contract layer for RAG systems — typed, explicit, observable, composable.
Project description
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.
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 rag_axis-0.0.2.tar.gz.
File metadata
- Download URL: rag_axis-0.0.2.tar.gz
- Upload date:
- Size: 39.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c793dc623a11a25c59ba30369d76ad8c09899565f327a8f31a28ad8de94d3d99
|
|
| MD5 |
fbed34a6fd1b4bafe1eda89fda95117d
|
|
| BLAKE2b-256 |
7f809bf7852dfec4630e6a817a12f8fcd813eec4aefbc8664dae7220b0838d7d
|
Provenance
The following attestation bundles were made for rag_axis-0.0.2.tar.gz:
Publisher:
ci.yml on ceneways-horizon/rag-axis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rag_axis-0.0.2.tar.gz -
Subject digest:
c793dc623a11a25c59ba30369d76ad8c09899565f327a8f31a28ad8de94d3d99 - Sigstore transparency entry: 1809228837
- Sigstore integration time:
-
Permalink:
ceneways-horizon/rag-axis@7f19878e4d1eae9d8a035b7558670773a447fd98 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/ceneways-horizon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@7f19878e4d1eae9d8a035b7558670773a447fd98 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rag_axis-0.0.2-py3-none-any.whl.
File metadata
- Download URL: rag_axis-0.0.2-py3-none-any.whl
- Upload date:
- Size: 74.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee05ab8e5b0b46607c3bfb98be331ea1d39fbac3737087e232deda92756aa23
|
|
| MD5 |
4f0213978d618b145eb1c234461bf67a
|
|
| BLAKE2b-256 |
a50483d2acbf95f33f49e0d4b1248207a92a9a6a93b84c542639e9cd21259fa6
|
Provenance
The following attestation bundles were made for rag_axis-0.0.2-py3-none-any.whl:
Publisher:
ci.yml on ceneways-horizon/rag-axis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rag_axis-0.0.2-py3-none-any.whl -
Subject digest:
2ee05ab8e5b0b46607c3bfb98be331ea1d39fbac3737087e232deda92756aa23 - Sigstore transparency entry: 1809228840
- Sigstore integration time:
-
Permalink:
ceneways-horizon/rag-axis@7f19878e4d1eae9d8a035b7558670773a447fd98 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/ceneways-horizon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@7f19878e4d1eae9d8a035b7558670773a447fd98 -
Trigger Event:
push
-
Statement type: