Agent Blackbox
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Blackbox export my latest Claude Code session as a redacted HTML replay"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why Agent Blackbox?
AI coding agents leave behind rich JSONL flight logs full of prompts, tool invocations, shell outputs, file edits, and errors — scattered across different directories and incompatible schemas. Sharing a session in a GitHub PR, bug report, or engineering postmortem is painful and risky because raw transcripts routinely contain API keys, JWTs, auth headers, emails, and local usernames.
Agent Blackbox solves this locally in one click — as an Antigravity Plugin + MCP App, a universal MCP server, and a standalone CLI:
Multi-Agent Auto-Discovery — Scans and parses native local transcripts across:
Google Antigravity:
~/.gemini/antigravity/brain/*/.system_generated/logs/transcript.jsonlClaude Code:
~/.claude/projects/*/*.jsonlCodex:
~/.codex/sessions/**/*.jsonlCustom JSONL: Open and replay any
.jsonllog file directly.
Deterministic Redaction Shield (Zero Leakage) — Automatically scrubs sensitive data before rendering or exporting, and shows exact per-category proof counters (
API keys,Tokens,Emails,Home paths):GitHub tokens (
ghp_,gho_,github_pat_), OpenAI/Anthropic keys (sk-,sk-ant-), Google API keys (AIza), AWS keys (AKIA/ASIA), Slack tokens (xoxb-), npm/HF tokens, and PEMPRIVATE KEYblocksJWTs (
eyJ...),Bearer ...,Authorization:headers,x-codeium-csrf-token,x-api-keyEmail addresses →
[REDACTED_EMAIL]Local home paths (
/Users/<name>/...,/home/<name>/...,C:\Users\<name>\...) →~/...
Standalone Zero-Dependency HTML Flight Replays — Export any session to a single offline
.htmlfile (<slug>-replay.html) ready to attach to a PR, drop in Slack, or host on GitHub Pages. Includes dark/light toggle, session KPIs, clickable files-touched filters, search bar, collapsible tool inputs/outputs, Redaction Shield badge, and strict XSS escaping.Interactive Antigravity MCP App — Native side pane (
+menu) and full-page sidebar dashboard with automatic light/dark host theming, live session filtering, timeline inspection, and 1-click HTML export.
Related MCP server: Krometrail
Quick Start
1. Google Antigravity Plugin (Full Interactive MCP App UI)
git clone https://github.com/oguzhan-yildirim/agent-blackbox.git
cd agent-blackbox
npm install
npm run build
npm run install:antigravityAntigravity discovers the plugin automatically — no restart required:
Open Agent Blackbox from the left Sidebar or side pane
+menu.Or ask in chat: "Open Agent Blackbox and export my latest session as a redacted HTML replay."
2. Claude Code / Cursor / Codex (Universal MCP Server)
Add agent-blackbox to your MCP config (~/.claude.json, .cursor/mcp.json, or Codex MCP config):
{
"mcpServers": {
"agent-blackbox": {
"command": "npx",
"args": ["-y", "github:oguzhan-yildirim/agent-blackbox"]
}
}
}Or point directly to a local build:
{
"mcpServers": {
"agent-blackbox": {
"command": "node",
"args": ["/absolute/path/to/agent-blackbox/dist/server.js"]
}
}
}3. Standalone CLI
# List recent local sessions across Antigravity, Claude Code, and Codex
node dist/server.js list
node dist/server.js list --agent=antigravity --limit=15
# Inspect a session timeline with redaction shield summary (ID, prefix, or .jsonl path)
node dist/server.js inspect <session-id-or-path>
# Export a standalone, zero-dependency, redacted HTML flight replay
node dist/server.js export <session-id-or-path> --out=./pr-flight-replay.htmlArchitecture
flowchart LR
Host["Antigravity / Claude Code / Cursor / Codex"] <-->|MCP stdio| Server["Agent Blackbox MCP Server"]
Host <-->|ui://agent-blackbox/app.html| UI["Interactive Flight Recorder UI"]
UI <-->|app.callServerTool| Server
Server --> Discovery["Multi-Agent Session Discovery\n(Antigravity · Claude · Codex · Custom)"]
Discovery --> Redactor["Deterministic Redaction Shield\n(API Keys · Tokens · Emails · Paths)"]
Redactor --> Timeline["Timeline Inspector"]
Redactor --> Exporter["Standalone HTML Replay Generator\n(Zero-Dep · Offline · XSS-Safe)"]
Discovery -. reads .-> Logs["~/.gemini · ~/.claude · ~/.codex"]
Exporter -. writes .-> HTML["${PLUGIN_DATA}/replays/*.html"]MCP Tools Reference
Tool | Visibility | Description |
| Model + UI | Opens the interactive Agent Blackbox Flight Recorder UI ( |
| Model | Auto-discovers local sessions across Antigravity, Claude Code, and Codex with redacted metadata & KPIs. |
| Model | Parses a session by ID, unique prefix, or |
| Model | Exports a standalone, zero-dependency, XSS-safe interactive HTML flight replay to disk. |
| App-only | Internal UI tool for fast filtering and refreshing. |
| App-only | Internal UI tool for loading full session timelines. |
| App-only | Internal UI tool for 1-click HTML export from the dashboard. |
Development
npm install
npm run typecheck # Strict TypeScript check
npm run build # Bundles dist/app.html (single-file) + dist/server.js
npm test # Unit tests (redactor, multi-agent parsers, HTML XSS) + MCP stdio E2E
npm run install:antigravityAgent Toolkit Suite
Part of an open-source suite of developer tools for the Antigravity & MCP agent ecosystem:
find-my-skill — Search, security-audit, preview, and one-click install AI Agent Skills (
SKILL.md) from GitHub.mcp-xray — Live inspector, latency profiler, and payload debugger for MCP servers and tool calls.
agent-blackbox — Flight recorder, secret redactor, and standalone HTML replay exporter for AI coding sessions.
skill-doctor — Static linter, security auditor, and quality grader for
SKILL.mdagent skill repositories.mcp-switchboard — Unified profile switcher and router for managing MCP servers across Antigravity, Claude Code, Cursor, and Codex.
License
MIT © 2026 Oğuzhan Yıldırım
Available Tools
7 toolsapp_export_replayApp: Export Standalone HTML ReplayC
Internal UI tool to export a redacted standalone HTML replay file.
Inputs: sessionIdOrPath (required), title, outputPath, includeSystem.
app_inspect_sessionApp: Inspect Agent SessionC
Internal UI tool to inspect a session timeline with secret redaction.
Inputs: sessionIdOrPath (required), maxSteps, includeSystem.
app_list_sessionsApp: List Agent SessionsC
Internal UI tool to refresh and filter discovered local agent sessions.
Inputs: agent, limit, query.
export_session_replayExport Standalone HTML ReplayA
Scrub secrets & PII and export an AI coding session as a single, zero-dependency, XSS-safe interactive HTML flight replay file.
Inputs: sessionIdOrPath (required), title, outputPath, includeSystem.
inspect_agent_sessionInspect Agent Session TimelineB
Parse and redact an Antigravity, Claude Code, Codex, or custom .jsonl session into a step-by-step flight timeline with exact secret & PII redaction counts.
Inputs: sessionIdOrPath (required), maxSteps, includeSystem.
list_agent_sessionsList Local Agent SessionsB
Auto-discover local AI coding sessions across Antigravity (/.gemini/antigravity/brain), Claude Code (/.claude/projects), and Codex (~/.codex/sessions) with redacted metadata.
Inputs: agent, limit, query.
open_agent_blackboxAgent BlackboxB
Open the interactive Agent Blackbox Flight Recorder UI to browse local Antigravity, Claude Code, and Codex sessions, inspect redacted timelines, and export shareable standalone HTML replays.
Inputs: agent, limit, query, sessionId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The set contains three near-duplicate pairs: app_list_sessions vs list_agent_sessions, app_inspect_session vs inspect_agent_session, and app_export_replay vs export_session_replay. Only the 'Internal UI tool' phrasing in the description distinguishes them, which is easy for an agent to miss when selecting a tool.
Most names follow a verb_noun pattern (list_agent_sessions, inspect_agent_session, export_session_replay), but this is undermined by parallel app_-prefixed variants and by open_agent_blackbox, which uses a different verb style and no resource-target structure. Readable, but two conventions coexist.
Seven tools is a well-scoped size for a session flight-recorder server. The count is reasonable, though three of the seven exist only to mirror the same operations for the UI layer.
The browse → inspect → export → open-UI lifecycle is fully covered, including redaction, which is the core value proposition. Minor gaps: no content search across sessions, no delete/cleanup for generated replays, and no way to annotate or tag sessions.
Maintenance
Related MCP Connectors
One searchable history across every AI coding tool, with secret scanning and a shared task board.
Context, runtime and review for AI coding agents. One local install.
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
Jam recordings (video, console, network) as context and proof of work for your coding agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceRecords masked browser sessions (rrweb DOM + console + network) to a local SQLite store and exposes them to AI coding agents via stdio MCP. Fully local, no SaaS, no telemetry.109Apache 2.0
- AlicenseNot gradedqualityBmaintenanceGives AI coding agents eyes into running applications by recording browser activity and providing session investigation tools for debugging.3MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to access live operational context like processes, containers, and git state, while providing a tamper-evident audit log and policy-as-code compliance hooks locally.22402 npmBusiness Source 1.1
- AlicenseAqualityBmaintenanceRecords and rewinds AI coding agents (Claude Code, Codex, Cursor, Gemini CLI and others) locally. Its tools take a checkpoint, show the session timeline, preview and apply a rewind with a confirm code, list the tests the agent ran and whether the code changed since, write a handoff, verify the hash-chained log, and check a tool call against your guardrails.763 npmApache 2.0