What is DebugBundle?
Understand the core product, the debug bundle artifact, and who DebugBundle is built for.
The Problem
DebugBundle is production debugging for AI coding agents. It packages the captured evidence for an incident into a debug bundle that an agent or developer can inspect alongside the code.
When a production error occurs, the initial signal is rarely enough to explain the failure. You may have a stack trace or a log entry, but not the surrounding request data, runtime state, deploy context, recent activity, or client-side evidence needed to understand it with confidence.
The result is a slow and unreliable workflow: engineers assemble context manually, work through competing hypotheses, attempt multiple reproductions, and often discover issues later than they should.
The Solution
DebugBundle captures that context at the moment of failure and packages it into a single structured artifact: the debug bundle.
A debug bundle is a deterministic, versioned JSON document containing the available evidence for an incident. Its context blocks depend on the SDK, capture settings, and what was captured. Inspect a synthetic example.
| Context block | What it captures |
|---|---|
error | Exception class, message, stack trace, raw and parsed frames |
request | HTTP method, URL, headers, query, body (redacted) |
response | Status code, headers, body (redacted) |
logs | Structured log entries captured around the time of the error |
frontend | Breadcrumbs, console entries, navigation events, network requests |
environment | Environment name, variables (redacted), feature flags |
deploy | Deploy ID, git ref, timestamp, deployer |
runtime | Language, version, OS, architecture, memory, uptime |
git | Commit SHA, branch, remote URL, dirty flag |
dependencies | Package names and versions at deploy time |
probe_data | Always-on diagnostic ring buffer data attached on failure |
device | Browser, OS, screen, viewport, language, touch/network/display preferences (browser only; may contribute to browser fingerprinting) |
When sufficient request context is available, DebugBundle generates a reproduction artifact with cURL, HTTPie, and a JSON request specification. It includes an explicit confidence and reason. Replaying the request may still require test credentials, application state, or other setup; generating a command does not verify reproduction of the original bug.
Who It's For
Developers who want to skip the context-gathering phase and jump straight to root-cause analysis.
Developers using AI coding agents to investigate runtime failures. Agents can fetch bundles through MCP, CLI, or API, inspect the evidence alongside the repository, and gather more context when needed. Configured repository workflows can take that investigation into a proposed pull request.
Teams that want shared visibility into production failures with automatic alerting, spike detection, and regression tracking.
Two Modes
DebugBundle works in two modes:
- Local-only — No cloud account needed. The SDK writes events to disk, the CLI processes them into bundles where those files live, and you inspect everything from the local store. This is the default starting point.
- Connected — Events ship to the cloud ingestion API for team-wide visibility, alerting, webhooks, and paid automation features such as GitHub automation. An upgrade path from local-only.
What Makes It Different
- The bundle is the artifact. Not a dashboard page, not a log search — a single structured document that can be passed to any tool, agent, or human.
- Agent-first design. CLI, API, and MCP have full parity. No capability is dashboard-only.
- Local-first by default. Start capturing and debugging without creating an account or connecting to any service.
- Deterministic output. Given the same normalized events, the bundle generator produces byte-identical output. No random IDs, no wall-clock timestamps in generation.
- Privacy-aware. Sensitive data is redacted at capture, ingestion, and storage. Tokens are hashed at rest. Webhook payloads are HMAC-signed.
Next Steps
- Quickstart — Go from zero to your first debug bundle in under 5 minutes
- How It Works — Understand the 4-stage lifecycle
- Core Concepts — Learn the three primitives: bundles, incidents, and profiles