DebugBundle

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 blockWhat it captures
errorException class, message, stack trace, raw and parsed frames
requestHTTP method, URL, headers, query, body (redacted)
responseStatus code, headers, body (redacted)
logsStructured log entries captured around the time of the error
frontendBreadcrumbs, console entries, navigation events, network requests
environmentEnvironment name, variables (redacted), feature flags
deployDeploy ID, git ref, timestamp, deployer
runtimeLanguage, version, OS, architecture, memory, uptime
gitCommit SHA, branch, remote URL, dirty flag
dependenciesPackage names and versions at deploy time
probe_dataAlways-on diagnostic ring buffer data attached on failure
deviceBrowser, 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

  1. 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.
  2. Agent-first design. CLI, API, and MCP have full parity. No capability is dashboard-only.
  3. Local-first by default. Start capturing and debugging without creating an account or connecting to any service.
  4. Deterministic output. Given the same normalized events, the bundle generator produces byte-identical output. No random IDs, no wall-clock timestamps in generation.
  5. 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

On this page