Oloyid Docs
GitHub Back to site

Oloyid Guardrails Documentation

Enterprise AI guardrails middleware that sits between your applications and LLM providers. Enforce policies, scan for sensitive data, route models, and maintain audit trails — all through a unified API and admin portal.

Quick Start

Spin up the full MVP stack with Docker Compose in under five minutes.

Get started →

Architecture

Understand the request lifecycle, pipeline stages, and system components.

View architecture →

Guardrails & Policies

Input, runtime, and output guardrails plus YAML policy engine.

Learn guardrails →

API Reference

REST endpoints for auth, inference, HealthShield, FinanceShield, and more.

Browse API →

What is Oloyid?

Oloyid is an open-source AI guardrails platform designed for production workloads. Every inference request flows through a deterministic pipeline: authentication, input guardrails, policy evaluation, model routing, LLM proxying, runtime guardrails, and output guardrails — with short-circuit on violation and full audit logging.

Client → Gateway (Auth) → Input Guardrails → Policy Engine → Model Router → LLM Proxy → Runtime Guardrails → Output Guardrails → Response

Key Capabilities

Capability Description
Multi-phase guardrails Input, runtime, and output scanning with configurable actions (block, flag, redact)
Policy engine YAML-based policies with OPA-like symbolic rules and tenant policy chains
Industry packs HealthShield (HIPAA/PHI) and FinanceShield for regulated data protection
Model routing Route requests to OpenAI, Anthropic, Azure OpenAI, or local SLMs based on rules
Audit & compliance Immutable audit logs, consent tracking, and human approval workflows
Admin portal React/MUI dashboard for policies, guardrails, models, and approvals

Technology Stack

Live API docs: When running locally, interactive Swagger UI is available at http://localhost:8000/docs and ReDoc at http://localhost:8000/redoc.

Default Access Points

Service URL
Admin Portal http://localhost:3000
API (Swagger) http://localhost:8000/docs
API Base http://localhost:8000/api/v1
Health Check http://localhost:8000/health