Apache 2.0 Python + Rust SDK + Proxy + Gateway Streaming governance Plugin System EU AI Act Compliant OISG Adequate โ†— v0.11.1 ยท pre-1.0

The open framework for
governed AI development

Install once, get governed AI. The open framework for building AI applications that are governed by design. SDK, OpenAI-compatible gateway, proxy, plugins, CLI, and dashboard, with governance on streamed responses. Apache 2.0.

~6ยตs governance overhead
4 governance domains
1,100+ tests passing
v0.11.1 released 2026-08-07
Architecture

Every interaction governed, bidirectionally

Admina works as both an SDK (in-process) and a transparent proxy (network). Every AI interaction is automatically governed.

Sources
๐Ÿ“ฆSDK (GovernedModel)
๐Ÿ’ฌOpenAI-compatible clients
๐Ÿค–AI Agent
๐ŸฆพOpenClaw
๐Ÿ”—LangChain/CrewAI
request
โ–ถ
โ—€
response
Admina Proxy Rust + Python
Data Sovereignty
AI Infrastructure
Agent Security
Compliance
ALLOW BLOCK REDACT CIRCUIT BREAK
governed
โ–ถ
โ—€
filtered
Targets
๐Ÿ”ŒMCP Server
๐Ÿง LLM API (Ollama/vLLM)
๐Ÿ—„๏ธChromaDB
๐Ÿ“S3 / filesystem
New in v0.11.0

Drop-in gateway, governed streaming

Point an OpenAI-compatible client at the proxy, or stream deltas from the SDK. Both surfaces run the same governance pipeline.

Drop-in for OpenAI-compatible clients

Change base_url and the API key. Admina governs the request, then forwards it to its configured upstream โ€” by default a local Ollama.

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1",   # gateway (:3000 in local mode)
    api_key=os.environ["ADMINA_API_KEY"],
)

resp = client.chat.completions.create(
    model="llama3.1:8b",
    messages=[{"role": "user", "content": "Summarise this clause"}],
)
Gateway reference โ†’

Governance on streamed responses

Deltas are PII-redacted across chunk boundaries; the outcome lands in last_stream_result.

python
import asyncio
from admina.plugins.builtin.adapters.ollama import OllamaAdapter
from admina.sdk import GovernedModel

model = GovernedModel(model_name="llama3.1:8b", adapter=OllamaAdapter())

async def main():
    async for delta in model.stream("Summarise this clause"):
        print(delta, end="", flush=True)
    print(model.last_stream_result["action"])  # ALLOW | REDACT | BLOCK

asyncio.run(main())
Streaming reference โ†’
Quick Start

Governance in 5 minutes

Install Admina, scaffold a project, and start governing your AI agents with a single command. No configuration needed to get started.

1 Install the CLI via pip
2 Scaffold a new project with admina init
3 Start the dev stack and open the dashboard
Full guide โ†’
Terminal
# Install from PyPI
pip install admina-framework
admina init my-project
cd my-project
admina dev            # local mode, no Docker required

# API + dashboard โ†’ http://localhost:3000

# Verify
curl http://localhost:3000/health
# {"status":"healthy","service":"admina-proxy","version":"0.11.1",
#  "engine":{"active":"python","rust_available":false, ...}, ...}
6.25ยตs
governance overhead (Rust median) Full 4-domain pipeline · P95: 7.04ยตs · P99: 7.29ยตs
Rust Engine Python fallback Auto-detection
OISG Paradigm

OISG adequate on the full stack

Admina is built around OISG โ€” Open, Intelligent, Secure, Governed. The adequacy score is computed from the live runtime state โ€” not a checklist โ€” and the full Docker Compose stack reaches the adequate band out of the box. A bare pip install scores 75, in the Good coverage band.

Open
Intelligent
Secure
Governed
85/100
OISG adequate
Docker Compose stack, from /api/dashboard/oisg
๐Ÿฆ‰
Open Source Forever

Admina is Apache 2.0 and always will be. No paid tiers, no feature gating on the core.

Apache 2.0 License โ†’

Built in the open, for the community

Star the repo, open an issue, contribute a domain. Every interaction counts. We respond to all issues as soon as possible.

Admina owl