-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the official wiki for AIR Blackbox — the open-source flight recorder for AI agents.
AIR Blackbox is an observability and trust layer for AI agents. It sits between your agent and any LLM API, recording every prompt, response, tool call, and decision — so you always know what your agent did and why.
Think of it like a flight data recorder, but for AI. When something goes wrong (or right), you have the full trace.
Key capabilities:
- Full episode recording — every LLM call, tool invocation, and response, captured end-to-end
- Trust scoring — evaluate agent outputs against configurable trust policies before they execute
-
OpenAI-compatible Gateway — drop-in proxy, one
base_urlchange and you're recording - Distributed tracing — OpenTelemetry-native, traces ship to Jaeger out of the box
- Framework agnostic — works with any agent that speaks the OpenAI API (LangChain, CrewAI, AutoGen, plain Python)
Your Agent
│
▼
AIR Gateway ←──── Trust Plugin (policy evaluation)
│
▼
Episode Store ──── OpenTelemetry traces ──── Jaeger
│
▼
LLM API (OpenAI, Anthropic, etc.)
Components:
-
AIR Gateway — OpenAI-compatible proxy that intercepts all LLM traffic. One
base_urlchange connects your agent. - Episode Store — Persistent store for full agent episodes. Every prompt, tool call, and response is saved.
- Trust Plugin — Pluggable policy engine that evaluates agent outputs before they reach tools or users.
- Jaeger — Distributed tracing UI. Shipped as part of the Docker Compose stack.
- Docker + Docker Compose
make
git clone https://github.com/airblackbox/air-platform.git
cd air-platformmake upThis starts the Gateway, Episode Store, and Jaeger.
Change your base_url to the AIR Gateway instead of hitting OpenAI directly:
from openai import OpenAI
client = OpenAI(
api_key="your-openai-key",
base_url="http://localhost:8080/v1" # AIR Gateway
)That's it. Every call is now recorded.
Open http://localhost:16686 and select the air-gateway service to see your agent's traces.
| Page | Description |
|---|---|
| Architecture | Deep dive into each component |
| Quickstart | Step-by-step setup guide |
| Trust Plugin | How to configure trust policies |
| Framework Integrations | LangChain, CrewAI, AutoGen examples |
| Episode Store | How episodes are stored and queried |
| FAQ | Common questions and troubleshooting |
We welcome contributions! Good starting points:
- Check the
good first issuelabel on GitHub Issues - Join the conversation in Discussions
- Read the contributing guidelines in the repo root
- GitHub Repo: https://github.com/airblackbox/air-platform
- Discussions: https://github.com/airblackbox/air-platform/discussions
- Issues: https://github.com/airblackbox/air-platform/issues
- Jaeger UI (local): http://localhost:16686