Skip to main content

Production contract layer for RAG systems — typed, explicit, observable, composable.

Project description

rag-axis

Production contract layer for RAG systems.
Typed. Explicit. Observable. Composable.

PyPI version Python License: MIT Docs


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


Download files

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

Source Distribution

rag_axis-0.0.2.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

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

rag_axis-0.0.2-py3-none-any.whl (74.9 kB view details)

Uploaded Python 3

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

Hashes for rag_axis-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c793dc623a11a25c59ba30369d76ad8c09899565f327a8f31a28ad8de94d3d99
MD5 fbed34a6fd1b4bafe1eda89fda95117d
BLAKE2b-256 7f809bf7852dfec4630e6a817a12f8fcd813eec4aefbc8664dae7220b0838d7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rag_axis-0.0.2.tar.gz:

Publisher: ci.yml on ceneways-horizon/rag-axis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for rag_axis-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ee05ab8e5b0b46607c3bfb98be331ea1d39fbac3737087e232deda92756aa23
MD5 4f0213978d618b145eb1c234461bf67a
BLAKE2b-256 a50483d2acbf95f33f49e0d4b1248207a92a9a6a93b84c542639e9cd21259fa6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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