FlightBox — AI skill for Claude Code
Record, replay, and diff every LLM call your AI agent makes.
How to install FlightBox
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open he-yufeng/FlightBox and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What FlightBox does
Record, replay, and diff every LLM call your AI agent makes.
Alternatives in AI
- Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Codeseek — Rust-powered code intelligence CLI for AI coding agents 764 ★
README
[](https://pypi.org/project/flightbox/) [](https://pypi.org/project/flightbox/) [](LICENSE)
[**Quick Start**](#quick-start) · [**Record**](#record) · [**Replay**](#replay) · [**Diff**](#diff) · [中文](README_CN.md)

**Black-box flight recorder for AI agents** — record every LLM call your agent makes, replay sessions deterministically, and export a redacted evidence report when something breaks.
FlightBox is local-first. Recordings live in SQLite. No hosted dashboard is required.
Why
An agent failed and nobody can reproduce it. The final answer is in a log, but the interesting evidence is scattered across LLM requests, tool calls, model responses, timing, tokens, and local notes.
FlightBox gives you a deterministic debugging trail:
- record OpenAI / Anthropic / LiteLLM calls
- replay the same responses later
- diff two runs
- export JSONL or pytest replay tests
- generate a redacted Markdown / HTML report for PRs, CI notes, and teammates
Quick Start
pip install flightbox
Record
import flightbox
from openai import OpenAI
client = OpenAI()
with flightbox.record("debug-session") as rec:
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "What is 2+2?"}],
)
print(response.choices[0].message.content)
print(f"Recorded as run: {rec.run_id}")
Replay
import flightbox
with flightbox.replay("abc123def4"):
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "What i
Related Skills
Basou
Provenance layer for AI agent sessions — record, replay, and reason about Claude Code (and other agent) work.
Agent Nexus
A service-boundary-aware document exchange center for coordinating heterogeneous LLM code agents via MCP. Impl
Geo Review
GEO review for LLM-citation visibility — runs in diff mode (per-PR extraction checks) or site mode (cross-page
Promptdiff
Git for prompts. Semantic diff, lint, score & Claude Code hook for LLM prompt files.
Agent Primary TS Starters
Agent-primary TypeScript + npm skills. Defaults tuned for LLM-agent machine-verifiability and machine-explorab
Tma1
Local-first observability your agent reads back. TMA1 records every LLM call, then routes what it sees into th
Related Agents
AI Output Reviewer
Read-only reviewer for AI/LLM integration in the forgeward gate. Fires ONLY when the diff adds or modifies a c
Act 5 Observer
Read-only narrative steward for Act V (slides 19-21) — the Observer agent demo that proves durable tool-call r
Question Monster
Call after concluding that something is unsupported, cannot be expressed, or has to be dropped. Checks the rec