Send agent sessions to Agent Debugger

Distlang Agent Debugger captures OpenCode and Claude Code sessions so you can inspect what happened after an agent run: prompts, model calls, tool calls, file edits, context growth, cost, and timing.

Install the integration for your agent tool, run one slash command, and your sessions start appearing in the hosted dashboard.

Distlang Agent Debugger overview showing captured agent sessions and observability details

Use Agent Debugger as the shared timeline for agent sessions across your local coding tools.

1. Install the OpenCode plugin

Run the installer to add the Distlang plugin and command shortcuts to your OpenCode config:

curl -fsSL https://distlang.com/agent-debugger-opencode | bash

The script backs up your existing config, adds shortcuts for start, status, stop, and view, and skips anything already installed.

2. Start OpenCode and sign in

Run OpenCode from your project, then run this inside the OpenCode TUI:

/distlang-start

If you are not signed in, the plugin opens the browser login flow and enables uploads after auth succeeds.

After a captured run, use this command to open the matching Agent Debugger session in your browser:

/distlang-view

That is it. Your next OpenCode sessions are captured, and /distlang-view can take you back to the matching session or the Agent Debugger overview.

Update or remove later

Run the installer again with --update to refresh the OpenCode setup, or --uninstall to remove the plugin entry and Distlang command shortcuts.

curl -fsSL https://distlang.com/agent-debugger-opencode | bash -s -- --update
curl -fsSL https://distlang.com/agent-debugger-opencode | bash -s -- --uninstall
Screenshot of the Distlang Agent Debugger session detail page showing status cards, time controls, and the session timeline

Review the full run timeline, duration, cost, token totals, and captured interactions in the dashboard.

Open any interaction to see the lower-level timeline and selected step details, including model metadata, tool calls, file edits, and context breakdowns when available.

Screenshot of Distlang Agent Debugger showing an interaction timeline and selected step context breakdown

Drill into an interaction to understand how the agent used context and tools.