Oris: Responsible AI runtime framework for production pipelines.
Project description
Oris is an open-source Responsible AI runtime for Python: define pipelines in YAML or in code, run them through a framework-agnostic executor, and keep safety, observability, and validation on by default.
Design sequential pipelines with pluggable components, provider backends, and guardrails on inputs and outputs. Use the CLI for validate/run flows, or embed Oris in your own services with typed APIs and run- and step-level tracing for debugging and governance.
Table of contents
- Why Oris
- Features
- Installation
- Quick start
- Documentation (web)
- Project layout
- Development quality gates
- Governance and standards
- License
Why Oris
- Responsible by default: pipeline runs pass through input and output guards.
- Framework-agnostic runtime: integrate with any object that exposes a
run(...)-style entry point. - Production-oriented architecture: typed interfaces, clear module boundaries, strict CI quality gates.
- Traceable execution: run-level and step-level traces for debugging and governance workflows.
Features
YAML or embedded pipelines
Describe components and wiring in YAML, or build pipelines in Python with the same registry and executor.
Guards and policy
Basic policy hooks for harmful or sensitive inputs and outputs, with audit logging and redaction of sensitive fields.
Extensible components
Registry-based components, provider abstraction for model backends, and a CLI for validate and run.
Observability
Structured traces across the run so you can reason about what executed and when.
Installation
For library and CLI use from PyPI:
pip install oris-ai
For contributing or running tests from a clone:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
Quick start
Save the following as pipeline.yaml (any path you prefer):
name: basic_pipeline
components:
- type: passthrough
name: normalize_input
- type: template_response
name: responder
config:
template: "AI answer placeholder for: {query}"
Python (from the same directory as the file):
from oris import Pipeline
pipeline = Pipeline.from_yaml("pipeline.yaml")
result = pipeline.run({
"query": "What is AI?"
})
print(result.output)
CLI:
oris validate pipeline.yaml
oris run pipeline.yaml --input-json '{"query":"What is AI?"}'
Documentation (web)
The full site (architecture, public API, security, releases, contributing) is published with MkDocs Material: devstrikertech.github.io/oris.
Private repositories need a GitHub plan that includes GitHub Pages; in repo settings choose Pages → Build and deployment → GitHub Actions after the first successful deploy from prod.
Local preview:
pip install -e ".[dev]"
bash scripts/sync_doc_sources.sh && mkdocs serve
Project layout
oris/
├── src/oris/
│ ├── core/
│ ├── runtime/
│ ├── components/
│ ├── providers/
│ ├── rai/
│ ├── integrations/
│ ├── tracing/
│ ├── cli/
│ └── api/
├── tests/
├── docs/
└── .github/workflows/
Development quality gates
rufffor linting and format checksmypyin strict modepytestandpytest-covwith a minimum of 84% coveragepre-commithooks for local checks
Governance and standards
- Engineering standards:
ENGINEERING_STANDARDS.md - Security policy:
SECURITY.md - Architecture notes:
ARCHITECTURE.md - Public API guarantees:
PUBLIC_API.md - Provider system design:
PROVIDER_DESIGN.md - Release process:
RELEASE.md - Contribution process:
CONTRIBUTING.md
License
MIT — see LICENSE in the repository root.
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 oris_ai-0.5.0.tar.gz.
File metadata
- Download URL: oris_ai-0.5.0.tar.gz
- Upload date:
- Size: 96.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4158dd11907dca85a14464d294d76e58a8cfbd842e029c3ce214f7d34479513d
|
|
| MD5 |
afb54f872fe94f3e3798ed7eecc206c6
|
|
| BLAKE2b-256 |
5777c2b50fbd6086b0b817a00f4cae903b0e6998ce765b943e61f4328ef91cc5
|
File details
Details for the file oris_ai-0.5.0-py3-none-any.whl.
File metadata
- Download URL: oris_ai-0.5.0-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffb9854838b655836128ef5fb6ff2bbef889209f77779045113b5abd70536720
|
|
| MD5 |
c9e27c5030abba1b91d3c9cf36b31bd8
|
|
| BLAKE2b-256 |
203f69d3047b331023995ce52d500be32590fd25a4d9b940d28289aa8de62b08
|