Apache 2.0 Python + Rust SDK + Proxy + Gateway Streaming governance Plugin System EU AI Act Compliant OISG Adequate โ†— v0.15.3 ยท 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 and destination control on agent tool calls. Apache 2.0.

~6ยตs governance overhead
4 governance domains
1,100+ tests passing
v0.15.3 released 2026-10-26
See it in action

From install to governed traffic

admina โ†’ admina init โ†’ admina dev โ†’ Ready on localhost:3000
Scaffold a project and boot the governed proxy and dashboard โ€” no Docker.
GovernedModel redacts PERSON, EMAIL and credit card before the LLM call
Wrap any model in a few lines โ€” PII is stripped before the model ever sees it.
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.15.0

Contain what tools execute

Governance decides whether a tool call may run; the sandbox decides where it runs. And every AI system now gets an EU AI Act assessment on record, whatever its risk category.

An execution sandbox for /mcp tools

Declared tools run in a fresh container per call โ€” no network, read-only root, no capabilities, cgroup limits โ€” instead of being forwarded. Off by default; never a fallback.

admina.yaml
domains:
  agent_security:
    sandbox:
      enabled: true
      provider: docker     # Podman: plugin_config.docker.binary
      runtime: runc        # runsc: gVisor
      tools:
        python_exec:
          profile: python  # or shell
Execution sandbox โ†’

EU AI Act assessments for every risk category

Limited- and minimal-risk systems are recorded too, as NOT_APPLICABLE, and assessments can be kept across restarts.

bash
curl -X POST localhost:8080/api/compliance/gap-analysis \
  -H "X-API-Key: $ADMINA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"risk_category": "minimal", "system_name": "faq-bot"}'
# โ†’ {"status": "NOT_APPLICABLE", "applicable": false,
#    "compliance_score": null, "total_checks": 0, ...}
Compliance domain โ†’
Since v0.13.0

Embed the gateway, verify every record

Run the OpenAI-compatible gateway as one component of a larger system, and check the forensic trail record by record.

A gateway-only proxy

No Redis, ClickHouse or scientific stack. Named upstreams with their own keys, upstream errors propagated, the governance outcome in every response's headers.

bash
uv add "admina[proxy-minimal]"   # or pip install

ADMINA_ENABLED_SURFACES=gateway REDIS_URL= CLICKHOUSE_HOST= \
  ADMINA_API_KEY_FILE=/run/secrets/admina_api_key \
  FORENSIC_BACKEND=filesystem FORENSIC_BASE_DIR=/var/lib/admina/fx \
  ADMINA_FORENSIC_STATE_KEY_FILE=/run/secrets/fkey \
  uvicorn admina.proxy.main:app --host 0.0.0.0 --port 8080
Gateway reference โ†’

A forensic trail you can verify

Atomic writes, an HMAC signature on each record, verification from a checkpoint and JSON Lines export.

bash
# the proxy signs each record with the chain-state key;
# verify with the same key to check the signatures
export FORENSIC_BASE_DIR=/var/lib/admina/fx
export ADMINA_FORENSIC_STATE_KEY_FILE=/run/secrets/fkey

admina forensic verify
admina forensic verify --checkpoint SEQ:HASH
admina forensic export --out records.jsonl
Forensic Black Box โ†’
Since v0.12.0

Control where tool calls go

A destination allowlist on MCP tool calls, and a detector for agents quietly coordinating through one destination. Both record without refusing until you switch them to enforce.

Allowlist destinations, not verbs

Destinations are read from tool-call arguments and checked against your allowlist. The HTTP method is never consulted: it is a claim, not a boundary.

admina.yaml
domains:
  agent_security:
    egress:
      allow:
        - api.openai.com
        - "*.corp.internal"
        - 10.0.0.0/8

# observe (default) records only; then
# ADMINA_EGRESS_MODE=enforce is default-deny
Egress control reference โ†’

Catch undeclared coordination

Many agents writing to one undeclared destination raise suspected; a keyed content echo between them confirms it and quarantines the destination for writes.

bash
# build the allowlist from observed traffic
admina egress suggest-allowlist --since 7

# without a key: "suspected" only
export ADMINA_EGRESS_FINGERPRINT_KEY=<secret>

admina egress quarantine list
admina egress quarantine lift wiki.corp
Coordination detector โ†’
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
uv tool install "admina[proxy]"   # or: pip install "admina[proxy]"
admina init my-project
cd my-project
admina dev            # local mode, no Docker required

# API + dashboard โ†’ http://localhost:3000
# the dashboard asks for the API key: admina password show

# Verify
curl http://localhost:3000/health
# {"status":"healthy","service":"admina-proxy","version":"0.15.3",
#  "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 admina[proxy] 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