-
-
Four seeded agent runs make the first failure obvious in seconds.
-
The timeline isolates the malformed `refund_order` amount and its exact validation error.
-
A live GPT-5.6 replay corrects the tool arguments while captured tools remain side-effect-free.
-
Fresh replays execute the saved structural assertions: 2 passed, 0 failed.
-
Capture → inspect → safe replay → diff → portable eval.
-
The hosted Phoenix release on NixOS, PostgreSQL 17, Caddy, and the Responses API boundary.
Agent Black Box is a self-hostable flight recorder for OpenAI agents. One Python Agents SDK tracing registration captures turns, tool calls, handoffs, guardrails, and MCP interactions; Phoenix LiveView renders them as a navigable timeline with full-payload inspection, ingest-side secret redaction, and idempotent storage.
A failed run can be replayed against GPT-5.6 through the Responses API. Captured tool outputs are returned as deterministic, side-effect-free stubs, while the original-versus-replay diff streams live so developers can see a red failure turn green.
GPT-5.6 Structured Outputs also synthesizes portable structural assertions from the successful replay of a captured failure. Run all executes each saved eval against a fresh replay and reports structural pass or fail, turning the incident into a permanent regression check.
The system was built solo during OpenAI Build Week with Codex working from an AGENTS.md operating contract and a project-specific Phoenix skill in one primary task, while bounded specialist agents audited the risky paths. Codex accelerated the ingestion pipeline, Python tracing integration, captured-output replay engine, streamed diff UI, evals, production packaging, tests, and adversarial review.
Try the seeded demo at https://blackbox.kopachelli.dev. Open error-bad-tool-args, select the red refund_order span, replay it against GPT-5.6, generate an eval, and Run all.
Built With
- caddy
- codex
- docker
- elixir
- gpt-5.6
- liveview
- nixos
- openai-agents-sdk
- openai-api
- phoenix
- postgresql
- python
Log in or sign up for Devpost to join the conversation.