Are you the author? Sign in to claim
Local visual debugger for AI agent runs: replay failures, inspect prompts/tools/results, and export redacted evidence.
A local visual debugger for AI agent runs: replay the failure, inspect every prompt/tool/result, and export redacted evidence before you wire in live tools.
AgentDesk answers the 10-second question: what actually happened inside this agent run, and can I replay or share the evidence?
Live demo | Launch page | GitHub repo | Wiki

Failed MCP step -> prompt/tool/result -> artifacts -> cost -> replay -> redacted evidence export.
The AgentDesk Wiki is the detailed operating manual for users and contributors. It is the best place to understand setup, run modes, MCP/runtime behavior, BYOK LLM configuration, exports, troubleshooting, security boundaries, and launch/contribution workflows.
| Wiki page | Use it for |
|---|---|
| Getting Started | Install paths, first run, and the 30-second failure replay demo. |
| Core Concepts | Workflows, nodes, edges, traces, artifacts, costs, validation, and replay. |
| Run Modes | Demo, Ollama, Cloud BYOK, and Runtime mode behavior. |
| MCP and Runtime | MCP import, live discovery, local command nodes, official SDK adapter, and runtime safety boundaries. |
| LLM Configuration | OpenAI/Anthropic BYOK setup, model presets, and browser-direct caveats. |
| Replay Sessions and Exports | Replay-session JSON, trace bundle ZIP, redaction, and framework starter exports. |
| Troubleshooting | Common local setup, Ollama, BYOK, MCP, and Runtime mode failures. |
| Security Model | What AgentDesk redacts, what it does not promise, and how to handle secrets. |
| Contributing Guide | Repo workflow, verification commands, code areas, and contribution expectations. |
| Launch and Promotion | Launch positioning, assets, community threads, and promotion checklist. |
Run failure demo.Browser Replay trace event to highlight the graph node.Replay failed step, then export the .agentdesk-session.json evidence bundle.Want to inspect the export format directly? Open docs/examples/failure-replay.agentdesk-session.json.
Most workflow builders optimize for wiring boxes together and shipping automation. AgentDesk optimizes for the debugging loop before that: replay a run, click from trace to graph, inspect the exact prompt/tool/result payloads, review artifacts and cost, check graph health, and export redacted evidence.
Use it when you need to explain or reproduce an agent run locally. Use a workflow builder when you need production scheduling, hosted secrets, queues, branching operations, or live third-party tool execution.
| Need | Use |
|---|---|
| Replay and explain a failed local agent run | AgentDesk |
| Production scheduling, queues, hosted secrets, and cron jobs | Workflow builders |
| Hosted tracing/evals across deployed applications | Observability platforms |
| Framework-specific authoring and debugging | Framework studios |
Fastest path:
npx --yes --package=@papaplus/agentdesk agentdesk --port 5173
The executable is still agentdesk, so global installs work as expected:
npm install -g @papaplus/agentdesk
agentdesk --port 5173
Source install:
git clone https://github.com/karurikwao/agentdesk.git
cd agentdesk
npm install
npm run dev
For the packaged local runtime:
npm run build
node ./bin/agentdesk.mjs --port 5173
provider: "ollama" model nodes.provider: "openai" and provider: "anthropic" model nodes, with API keys held in browser session state only.mcpServers, VS Code-style servers, nested mcp.servers, remote server URLs, and single-server JSON.portableWorkflow, traceSummary, trace bundle manifest, LangGraph/CrewAI starter exports, full trace data, artifacts, costs, validation issues, selected evidence, imported MCP metadata, and secret/path redaction.agentdesk after npm run build.Static hosted demos do not execute local processes. Live local command and MCP execution is available only when you run the packaged CLI on loopback and switch to Runtime mode.
| Failure Debugger | Artifacts | BYOK LLMs |
|---|---|---|
![]() | ![]() | ![]() |
Prerequisite: Node.js 20.19.0 or newer.
npm install
npm run dev
Open http://127.0.0.1:5173.
The app opens on Start, which gives the shortest path into the Failure Replay Lab, trace inspector, Doctor, and LLM key setup.
Start tab and click Load lab.Run demo trace.Browser Replay trace event to highlight its node and inspect prompt/tool/result.Replay failed step, then open Artifacts and Costs.LLM keys or Doctor from Start when you want setup checks.docs/examples..agentdesk-session.json replay session and import it again to restore the evidence.127.0.0.1:11434.ollama pull llama3.2.Local Research Agent.Demo to Ollama.Run local Ollama.Only Ollama model nodes are executed. All MCP and local tool nodes remain simulated metadata steps. Cloud-provider model nodes remain simulated too, with trace entries marked as simulated during Ollama mode.
Local Research Agent for the OpenAI path (Cloud Synthesis) or Repo QA Swarm for an Anthropic planning path.LLMs tab.OpenAI Responses for Local Research Agent or Anthropic Messages for Anthropic model nodes.Use Cloud mode.Apply to nodes if you want matching model nodes updated to the selected model.Run BYOK cloud.Only configured OpenAI/Anthropic model nodes execute in Cloud mode. API keys stay in this browser tab's React state and are not saved to localStorage, replay sessions, workflow exports, or debug payloads. Cloud BYOK calls are browser-direct: provider CORS, browser policy, or organization settings may block direct requests, and production apps should use a backend proxy or hosted secret boundary.
npm run build
node ./bin/agentdesk.mjs --port 5173
http://127.0.0.1:5173.Doctor, then Check runtime.Runtime.provider: "local" command nodes, or import an MCP config and click Discover on an MCP server.Runtime mode uses loopback-only API routes, JSON-only requests, no shell by default, fixed timeouts, stdout/stderr caps, and redacted trace artifacts. MCP stdio servers are initialized through JSON-RPC, paginated tools/list results are captured as evidence, and tools/call is available when a node supplies toolName and optional toolInputJson in config. AgentDesk negotiates MCP protocol version 2025-11-25, preserves discovered tool descriptor metadata such as outputSchema and execution, and treats isError: true tool-call results as failed trace events. Remote MCP Streamable HTTP endpoints are probed only after explicit discovery.
Secrets in env values, headers, URLs, args, private user path prefixes, and common token formats are redacted before display/export.
npm run dev # start local Vite app on 127.0.0.1:5173
npm run build # typecheck and build
npm run preview # preview production build
npm run test # run unit tests
npm run test:e2e:install # install Playwright Chromium
npm run test:e2e # build and run browser regressions
npm run check:release # verify launch/release docs and version metadata
npm run screenshots:launch # refresh GitHub Pages launch screenshots
npm run smoke:package # pack, install, and serve the CLI in a clean temp project
npm run lint # run TypeScript checks
npm run verify # typecheck, test, build, audit
npm pack --dry-run # verify package contents
npm run build
node ./bin/agentdesk.mjs --port 5173
The CLI serves the built dist app from localhost with conservative static-server headers.
127.0.0.1:11434; CORS settings may need adjustment in some local Ollama setups.AGENTDESK_ALLOW_SHELL=1 is set before starting the CLI.docs/RELEASE_v0.7.0.mddocs/GOOD_FIRST_ISSUES.mddocs/KILLER_DEMO.mddocs/NPM_PUBLISH.mddocs/PROJECT_LAUNCH.mddocs/LAUNCH_PLAN.mdAgentDesk treats imported MCP configs and replay sessions as untrusted. Runtime mode can execute local commands and MCP servers only through the loopback CLI after explicit UI action. Exports redact common secrets and private paths, but local UI display is not a secret vault. BYOK API keys are session-only and excluded from replay exports, but direct browser calls still expose the supplied key to the local tab runtime and provider endpoint. Do not paste real secrets into node labels, prompts, stdout/stderr, artifacts, screenshots, or model responses. See SECURITY.md.
MIT
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows