Skip to main content

Oris: Responsible AI runtime framework for production pipelines.

Project description

Oris — Responsible AI pipeline runtime for Python
CI CI types - Mypy Coverage Ruff
Docs Documentation Oris docs
Package PyPI PyPI - Python Version License
Meta Issues Repository

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

  • 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

  • ruff for linting and format checks
  • mypy in strict mode
  • pytest and pytest-cov with a minimum of 84% coverage
  • pre-commit hooks 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


Download files

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

Source Distribution

oris_ai-0.7.1.tar.gz (101.0 kB view details)

Uploaded Source

Built Distribution

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

oris_ai-0.7.1-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file oris_ai-0.7.1.tar.gz.

File metadata

  • Download URL: oris_ai-0.7.1.tar.gz
  • Upload date:
  • Size: 101.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for oris_ai-0.7.1.tar.gz
Algorithm Hash digest
SHA256 181de3389541cb6740b6209b5f515d0904dd76f1e5351390f7c7d56361234f49
MD5 2ac9523c2388c60d89e3784329bb7401
BLAKE2b-256 0920799e635457a9fe72b3c80c18026018bda1cf780189d8a57fa6a4893255d2

See more details on using hashes here.

File details

Details for the file oris_ai-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: oris_ai-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for oris_ai-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b6f80b09e9332dda30e572fba77bbb06f86ab69e3d5d97e23d651ff4a6bcb69
MD5 5c257751f065c257e025beae67a78466
BLAKE2b-256 fb6a6b0f5856d579302871612218973753793a64a0df7d74b5b60ec816ac7a07

See more details on using hashes here.

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