agentdebugx 0.3.1__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/PKG-INFO +232 -31
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/README.md +217 -13
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/docs/ARCHITECTURE.md +25 -2
- agentdebugx-0.4.0/docs/GUI_RCA_COMMANDS.md +113 -0
- agentdebugx-0.4.0/docs/assets/UI.png +0 -0
- agentdebugx-0.4.0/docs/assets/logo-dark.svg +43 -0
- agentdebugx-0.4.0/docs/assets/logo.svg +43 -0
- agentdebugx-0.4.0/docs/assets/stylesheets/extra.css +757 -0
- agentdebugx-0.4.0/docs/concepts/workflow.md +60 -0
- agentdebugx-0.4.0/docs/getting-started/installation.md +59 -0
- agentdebugx-0.4.0/docs/getting-started/quickstart.md +116 -0
- agentdebugx-0.4.0/docs/guides/diagnose.md +122 -0
- agentdebugx-0.4.0/docs/guides/gui-rca.md +80 -0
- agentdebugx-0.4.0/docs/guides/ingest.md +100 -0
- agentdebugx-0.4.0/docs/guides/local-ui.md +70 -0
- agentdebugx-0.4.0/docs/guides/rerun.md +107 -0
- agentdebugx-0.4.0/docs/help/build-docs.md +49 -0
- agentdebugx-0.4.0/docs/help/troubleshooting.md +94 -0
- agentdebugx-0.4.0/docs/index.md +67 -0
- agentdebugx-0.4.0/docs/reference/cli.md +108 -0
- agentdebugx-0.4.0/docs/reference/diagnostic-report.md +84 -0
- agentdebugx-0.4.0/docs/reference/python-api.md +106 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/pyproject.toml +25 -21
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/__init__.py +7 -1
- agentdebugx-0.4.0/src/agentdebug/capture/README.md +91 -0
- agentdebugx-0.4.0/src/agentdebug/capture/__init__.py +5 -0
- agentdebugx-0.4.0/src/agentdebug/capture/config.py +114 -0
- agentdebugx-0.4.0/src/agentdebug/capture/context.py +140 -0
- agentdebugx-0.4.0/src/agentdebug/capture/contracts.py +111 -0
- agentdebugx-0.4.0/src/agentdebug/capture/filtering.py +194 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/CODEX_SUPPORT.md +20 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/README.md +9 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/__init__.py +6 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/base.py +54 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/claude_code.py +263 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/codex.py +228 -0
- agentdebugx-0.4.0/src/agentdebug/capture/hosts/registry.py +74 -0
- agentdebugx-0.4.0/src/agentdebug/capture/identity.py +76 -0
- agentdebugx-0.4.0/src/agentdebug/capture/repository.py +505 -0
- agentdebugx-0.4.0/src/agentdebug/capture/service.py +351 -0
- agentdebugx-0.4.0/src/agentdebug/capture/snapshot.py +51 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/README.md +25 -1
- agentdebugx-0.4.0/src/agentdebug/cli/__init__.py +13 -0
- agentdebugx-0.4.0/src/agentdebug/cli/commands/capture.py +183 -0
- agentdebugx-0.4.0/src/agentdebug/cli/commands/run.py +91 -0
- agentdebugx-0.4.0/src/agentdebug/cli/commands/ui.py +25 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/legacy.py +102 -24
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/main.py +66 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/__init__.py +2 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/__init__.py +4 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/attribute/README.md +109 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/attribute/__init__.py +12 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/attribute/async_api.py +119 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/attribute/attribution.py +669 -24
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/attribute/moe.py +13 -8
- agentdebugx-0.4.0/src/agentdebug/diagnose/attribute/reference.py +189 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/attribute/trajdebug.py +359 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/attribute/trajdebug.json +11 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/detect/perstep.json +19 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/detect/stage_a.json +11 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/detect/trajdebug.json +11 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/README.md +119 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/__init__.py +25 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/compression.py +612 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/evidence.py +360 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/judge.py +35 -15
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/perstep.py +416 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/gui/manifest.json +1 -3
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/selection.py +98 -0
- agentdebugx-0.4.0/src/agentdebug/diagnose/detect/trajdebug.py +386 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/gui_rca.py +14 -23
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/profiles/deepdebug.py +7 -1
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/recover/recovery.py +11 -3
- agentdebugx-0.4.0/src/agentdebug/gui/__init__.py +70 -0
- agentdebugx-0.4.0/src/agentdebug/gui/__main__.py +981 -0
- agentdebugx-0.4.0/src/agentdebug/gui/agent.py +342 -0
- agentdebugx-0.4.0/src/agentdebug/gui/config/debugger.example.json +13 -0
- agentdebugx-0.4.0/src/agentdebug/gui/config.py +150 -0
- agentdebugx-0.4.0/src/agentdebug/gui/discuss.py +292 -0
- agentdebugx-0.4.0/src/agentdebug/gui/dispatch.py +239 -0
- agentdebugx-0.4.0/src/agentdebug/gui/eval/__init__.py +29 -0
- agentdebugx-0.4.0/src/agentdebug/gui/eval/accuracy.py +335 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/__init__.py +13 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/alignment.py +243 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/case_loader.py +78 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/prompts.py +87 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/protocol.py +29 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/runner.py +330 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/state.py +82 -0
- agentdebugx-0.4.0/src/agentdebug/gui/evolving/tools.py +104 -0
- agentdebugx-0.4.0/src/agentdebug/gui/ingester.py +155 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/__init__.py +104 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/annotation_loader.py +148 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/distill.py +340 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/episode_memory.py +253 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/intention.py +101 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/lesson_injector.py +414 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/lesson_memory.py +635 -0
- agentdebugx-0.4.0/src/agentdebug/gui/memory/semantic_merge.py +582 -0
- agentdebugx-0.4.0/src/agentdebug/gui/openai_adapter.py +135 -0
- agentdebugx-0.4.0/src/agentdebug/gui/output.py +99 -0
- agentdebugx-0.4.0/src/agentdebug/gui/perplexity_adapter.py +371 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/__init__.py +11 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/classify.py +46 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/client_factory.py +45 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/orchestrator.py +132 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/results.py +273 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/runtime.py +40 -0
- agentdebugx-0.4.0/src/agentdebug/gui/pipeline/worker.py +185 -0
- agentdebugx-0.4.0/src/agentdebug/gui/prompts.py +276 -0
- agentdebugx-0.4.0/src/agentdebug/gui/prompts_discuss.py +75 -0
- agentdebugx-0.4.0/src/agentdebug/gui/rca.py +405 -0
- agentdebugx-0.4.0/src/agentdebug/gui/scripts/__init__.py +11 -0
- agentdebugx-0.4.0/src/agentdebug/gui/scripts/download_input_trajectory.py +200 -0
- agentdebugx-0.4.0/src/agentdebug/gui/tagger.py +202 -0
- agentdebugx-0.4.0/src/agentdebug/gui/taxonomy.py +133 -0
- agentdebugx-0.4.0/src/agentdebug/gui/together_adapter.py +284 -0
- agentdebugx-0.4.0/src/agentdebug/gui/tools/__init__.py +537 -0
- agentdebugx-0.4.0/src/agentdebug/gui/tools/lesson_explorer.py +207 -0
- agentdebugx-0.4.0/src/agentdebug/gui/trajectory.py +418 -0
- agentdebugx-0.4.0/src/agentdebug/gui/trajectory_normalizer.py +87 -0
- agentdebugx-0.4.0/src/agentdebug/gui/utils/__init__.py +9 -0
- agentdebugx-0.4.0/src/agentdebug/gui/utils/lock.py +36 -0
- agentdebugx-0.4.0/src/agentdebug/gui/utils/logger.py +323 -0
- agentdebugx-0.4.0/src/agentdebug/gui/vis/__init__.py +25 -0
- agentdebugx-0.4.0/src/agentdebug/gui/vis/debugger_app.py +2159 -0
- agentdebugx-0.4.0/src/agentdebug/gui/vis/generate_assignments.py +78 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/README.md +1 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/__init__.py +1 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/importers.py +348 -4
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/osworld.py +17 -23
- agentdebugx-0.4.0/src/agentdebug/ingest/adapters/trajdebug.py +210 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/README.md +78 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/discussion.py +765 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/app.py +2 -2
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/assets/robot-avatar.svg +13 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/branch_store.py +80 -53
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/discussion_store.py +771 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/llm_convert.py +319 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/manager.py +197 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/mcp_rerun.py +356 -0
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/routes.py +1407 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/server.py +1 -8
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/services.py +320 -34
- agentdebugx-0.4.0/src/agentdebug/inspect/ui/upload.py +146 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/views.py +1783 -454
- agentdebugx-0.4.0/src/agentdebug/integrations/README.md +51 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/__init__.py +6 -0
- agentdebugx-0.4.0/src/agentdebug/integrations/_templates.py +31 -0
- agentdebugx-0.4.0/src/agentdebug/integrations/agentdebug_skill/SKILL.md +110 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/analysis.md +2 -1
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/cli_reference.md +66 -6
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/recovery.md +6 -5
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/safety.md +5 -3
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/setup.md +30 -3
- agentdebugx-0.4.0/src/agentdebug/integrations/capture_management.py +62 -0
- agentdebugx-0.4.0/src/agentdebug/integrations/codex_skill.py +22 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/debug_skill.py +43 -6
- agentdebugx-0.4.0/src/agentdebug/integrations/management.py +107 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/__init__.py +2 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/gui_taxonomy.py +11 -28
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/llm.py +169 -8
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/llm_channel.py +23 -35
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/storage.py +81 -22
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/schema/__init__.py +2 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/schema/models.py +55 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/schema/taxonomy.py +61 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/README.md +94 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/__init__.py +10 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/models.py +141 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/profiles.py +70 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/registry.py +79 -0
- agentdebugx-0.4.0/src/agentdebug/workbench/service.py +382 -0
- agentdebugx-0.3.1/src/agentdebug/cli/__init__.py +0 -5
- agentdebugx-0.3.1/src/agentdebug/diagnose/attribute/README.md +0 -41
- agentdebugx-0.3.1/src/agentdebug/diagnose/detect/README.md +0 -50
- agentdebugx-0.3.1/src/agentdebug/inspect/README.md +0 -46
- agentdebugx-0.3.1/src/agentdebug/inspect/ui/routes.py +0 -407
- agentdebugx-0.3.1/src/agentdebug/integrations/README.md +0 -36
- agentdebugx-0.3.1/src/agentdebug/integrations/_templates.py +0 -404
- agentdebugx-0.3.1/src/agentdebug/integrations/agentdebug_skill/SKILL.md +0 -87
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/LICENSE +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/docs/TRACE_SCHEMA.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/docs/assets/logo.png +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/docs/assets/overview.pdf +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/docs/assets/overview.png +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/batch/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/batch/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/batch/workflow.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/__main__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/batch.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/config.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/diagnose.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/doctor.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/hub.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/ingest.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/integrations.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/rerun.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/runner.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/serve.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/cli/commands/store.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/events.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/gui_taxonomy.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/llm.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/llm_channel.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/models.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/plugins/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/plugins/registry.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/plugins/types.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/storage.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/core/taxonomy.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/attribution.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/hub/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/hub/backend_base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/hub/backends.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/hub/bundle.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/hub/scrub.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/integrations/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/integrations/_templates.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/integrations/claude_skill.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/integrations/debug_skill.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/integrations/openhands.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/moe.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/actions/recovery.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/analyzers.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/attribute/deep_memory.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/attribute/deepdebug.py +0 -0
- {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/recover → agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests}/__init__.py +0 -0
- {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/detect → agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/attribute}/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/all_at_once.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/binary_search.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/counterfactual.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/deepdebug.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/heuristic.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/attribute/step_by_step.json +0 -0
- {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/attribute → agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/detect}/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/detect/heuristic.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/detect/llm_judge.json +0 -0
- {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests → agentdebugx-0.4.0/src/agentdebug/diagnose/component_manifests/recover}/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/auto_manual.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/critic.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/deepdebug.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/reflexion.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/saga_rollback.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/component_manifests/recover/self_refine.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/context.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/deep.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/deep_memory.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/analyzers.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/detectors.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/agenterrorbench.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/core.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/gui.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/manifest.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/rules.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/core/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/core/manifest.json +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/core/rules.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/gui/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/packs/gui/rules.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules/registry.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/rules.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detect/taxonomy_induction.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/detectors.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/deterministic.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/judge.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/judges.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/pipeline.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/profiles/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/profiles/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/recover/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/recover/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/registry.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/agenterrorbench.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/core.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/gui.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/rules/registry.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/diagnose/taxonomy_induction.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/backend_base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/backends.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/bundle.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/hub/scrub.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/crewai.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/gaia_odr.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/langgraph.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/openai_agents.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/otel.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/adapters/raw.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/core/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/importers.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/instrumentation.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/ingest/recorder.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/traceback.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/inspect/ui/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/agentdebug_skill/references/formats.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/claude_skill.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/integrations/openhands.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/py.typed +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/ACTOR_TASK_SPEC.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/RUNNER_SPEC.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/SIMULATION_SPEC.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/actor_task.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/branch.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/evaluators.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/executors/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/executors/base.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/executors/http_live.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/executors/llm_continuation.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/executors/process_live.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/http_service.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/live_validation.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/request.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/rerun/workflow.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/README.md +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/events.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/plugins/__init__.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/plugins/registry.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/runtime/plugins/types.py +0 -0
- {agentdebugx-0.3.1 → agentdebugx-0.4.0}/src/agentdebug/schema/README.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentdebugx
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Portable error analysis, tracing, and recovery framework for agentic AI systems. Import as `agentdebug`.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -28,36 +28,33 @@ Classifier: Typing :: Typed
|
|
|
28
28
|
Provides-Extra: all
|
|
29
29
|
Provides-Extra: crewai
|
|
30
30
|
Provides-Extra: gui
|
|
31
|
+
Provides-Extra: gui-app
|
|
32
|
+
Provides-Extra: gui-memory
|
|
31
33
|
Provides-Extra: hub-hf
|
|
32
34
|
Provides-Extra: langgraph
|
|
33
35
|
Provides-Extra: openai-agents
|
|
34
36
|
Provides-Extra: otel
|
|
35
37
|
Provides-Extra: ui
|
|
36
|
-
Requires-Dist: anthropic ; extra == "gui" or extra == "all"
|
|
37
|
-
Requires-Dist:
|
|
38
|
-
Requires-Dist: chromadb ; extra == "gui" or extra == "all"
|
|
38
|
+
Requires-Dist: anthropic ; extra == "gui-app" or extra == "all"
|
|
39
|
+
Requires-Dist: chromadb ; extra == "gui-memory" or extra == "all"
|
|
39
40
|
Requires-Dist: crewai ; extra == "crewai" or extra == "all"
|
|
40
41
|
Requires-Dist: fastapi ; extra == "ui" or extra == "all"
|
|
41
42
|
Requires-Dist: httpx (>=0.24,<1.0)
|
|
42
43
|
Requires-Dist: huggingface_hub ; extra == "hub-hf" or extra == "all"
|
|
43
|
-
Requires-Dist: langchain-chroma ; extra == "gui" or extra == "all"
|
|
44
|
-
Requires-Dist: langchain-core ; extra == "langgraph" or extra == "gui" or extra == "all"
|
|
45
|
-
Requires-Dist: langchain-openai ; extra == "gui" or extra == "all"
|
|
46
|
-
Requires-Dist:
|
|
47
|
-
Requires-Dist: numpy ; extra == "gui" or extra == "all"
|
|
48
|
-
Requires-Dist: openai ; extra == "gui" or extra == "all"
|
|
44
|
+
Requires-Dist: langchain-chroma ; extra == "gui-memory" or extra == "all"
|
|
45
|
+
Requires-Dist: langchain-core ; extra == "langgraph" or extra == "gui-memory" or extra == "all"
|
|
46
|
+
Requires-Dist: langchain-openai ; extra == "gui-memory" or extra == "all"
|
|
47
|
+
Requires-Dist: openai ; extra == "gui-app" or extra == "all"
|
|
49
48
|
Requires-Dist: openai-agents ; extra == "openai-agents" or extra == "all"
|
|
50
49
|
Requires-Dist: opentelemetry-api ; extra == "otel" or extra == "all"
|
|
51
50
|
Requires-Dist: opentelemetry-sdk ; extra == "otel" or extra == "all"
|
|
52
|
-
Requires-Dist: pandas ; extra == "gui" or extra == "all"
|
|
53
|
-
Requires-Dist: pillow ; extra == "gui" or extra == "all"
|
|
51
|
+
Requires-Dist: pandas ; extra == "gui-app" or extra == "all"
|
|
52
|
+
Requires-Dist: pillow ; extra == "gui" or extra == "gui-app" or extra == "all"
|
|
54
53
|
Requires-Dist: pydantic (>=1.10,<3.0)
|
|
55
|
-
Requires-Dist:
|
|
56
|
-
Requires-Dist:
|
|
57
|
-
Requires-Dist: streamlit ; extra == "gui" or extra == "all"
|
|
58
|
-
Requires-Dist:
|
|
59
|
-
Requires-Dist: together ; extra == "gui" or extra == "all"
|
|
60
|
-
Requires-Dist: tqdm ; extra == "gui" or extra == "all"
|
|
54
|
+
Requires-Dist: scikit-learn ; extra == "gui-memory" or extra == "all"
|
|
55
|
+
Requires-Dist: streamlit ; extra == "gui-app" or extra == "all"
|
|
56
|
+
Requires-Dist: streamlit-adjustable-columns ; extra == "gui-app" or extra == "all"
|
|
57
|
+
Requires-Dist: together ; extra == "gui-app" or extra == "all"
|
|
61
58
|
Requires-Dist: uvicorn ; extra == "ui" or extra == "all"
|
|
62
59
|
Project-URL: Documentation, https://github.com/AgentDebugX/AgentDebugX
|
|
63
60
|
Project-URL: Homepage, https://www.agentdebugx.com
|
|
@@ -73,6 +70,7 @@ Description-Content-Type: text/markdown
|
|
|
73
70
|
**A local-first debugging framework for agentic AI systems: diagnose failures, attribute root causes, recover with evidence, and validate fixes through reruns.**
|
|
74
71
|
|
|
75
72
|
<a href="https://www.agentdebugx.com"><img src="https://img.shields.io/badge/WEBSITE-208B57?style=for-the-badge&logo=googlechrome&logoColor=white" alt="AgentDebugX website"></a>
|
|
73
|
+
<a href="https://docs.agentdebugx.com/"><img src="https://img.shields.io/badge/DOCS-176B45?style=for-the-badge&logo=materialformkdocs&logoColor=white" alt="AgentDebugX documentation"></a>
|
|
76
74
|
<a href="https://github.com/AgentDebugX/AgentDebugX"><img src="https://img.shields.io/badge/GITHUB-24292F?style=for-the-badge&logo=github&logoColor=white" alt="AgentDebugX GitHub repository"></a>
|
|
77
75
|
<a href="https://youtu.be/ztni6w0o_l8"><img src="https://img.shields.io/badge/DEMO_VIDEO-EA4335?style=for-the-badge&logo=youtube&logoColor=white" alt="AgentDebugX demo video"></a>
|
|
78
76
|
|
|
@@ -99,6 +97,24 @@ runners, and local agent development workflows. AgentDebugX is local-first by
|
|
|
99
97
|
default: traces stay on your machine, sharing is opt-in, and recovery proposals
|
|
100
98
|
carry explicit policy and approval metadata into the Rerun boundary.
|
|
101
99
|
|
|
100
|
+
## 📰 News
|
|
101
|
+
|
|
102
|
+
- 🔌 **2026-08-25** — Released
|
|
103
|
+
[`dsh-agentdebugx` v0.1.0](https://www.npmjs.com/package/dsh-agentdebugx),
|
|
104
|
+
the AgentDebugX plugin for DeepSeek Harness.
|
|
105
|
+
- 📄 **2026-07-31** — Released
|
|
106
|
+
[CUADebug](https://arxiv.org/abs/2608.02643), our framework for diagnosing
|
|
107
|
+
and repairing computer-use agent failures.
|
|
108
|
+
- 📄 **2026-07-21** — Released the
|
|
109
|
+
[AgentDebugX paper](https://arxiv.org/abs/2607.18754), presenting our
|
|
110
|
+
open-source toolkit for failure observability, attribution, recovery, and
|
|
111
|
+
rerun in LLM agents.
|
|
112
|
+
- 📦 **2026-05-16** — Released AgentDebugX on
|
|
113
|
+
[PyPI](https://pypi.org/project/agentdebugx/).
|
|
114
|
+
- 📄 **2025-09-29** — Released
|
|
115
|
+
[Where LLM Agents Fail and How They Can Learn From Failures](https://arxiv.org/abs/2509.25370),
|
|
116
|
+
introducing AgentErrorTaxonomy, AgentErrorBench, and AgentDebug.
|
|
117
|
+
|
|
102
118
|
## System Overview
|
|
103
119
|
|
|
104
120
|
<p align="center">
|
|
@@ -146,7 +162,8 @@ agentic skill.
|
|
|
146
162
|
- **Rerun**: three explicit modes for plan/export only, labeled simulation, or
|
|
147
163
|
observed execution in an application-owned process or persistent HTTP runner.
|
|
148
164
|
- **Local inspection UI**: no-build FastAPI dashboard for traces, reports,
|
|
149
|
-
saved cases, debug branches,
|
|
165
|
+
before/after CUA visuals, debugger discussions, saved cases, debug branches,
|
|
166
|
+
and rerun-from-event workflows.
|
|
150
167
|
- **Error Hub**: scrubbed, shareable failure bundles for regression tests,
|
|
151
168
|
benchmark corpora, and team debugging memory.
|
|
152
169
|
- **Agent integrations**: generate host-runtime assets such as debugging skills
|
|
@@ -166,16 +183,67 @@ pip install "agentdebugx[langgraph]" # LangGraph adapter
|
|
|
166
183
|
pip install "agentdebugx[crewai]" # CrewAI adapter
|
|
167
184
|
pip install "agentdebugx[openai-agents]" # OpenAI Agents SDK adapter
|
|
168
185
|
pip install "agentdebugx[otel]" # OpenTelemetry ingest
|
|
169
|
-
pip install "agentdebugx[gui]" #
|
|
186
|
+
pip install "agentdebugx[gui]" # screenshot decoding for GUI RCA
|
|
170
187
|
pip install "agentdebugx[all]" # all optional integrations
|
|
171
188
|
```
|
|
172
189
|
|
|
190
|
+
Computer-use / OSWorld GUI root-cause analysis (`agentdebug.gui`) ships with the
|
|
191
|
+
core install and needs no extra. The `gui` extra only adds `pillow`, which the
|
|
192
|
+
RCA tools use to decode screenshots. Two heavier layers of the same package sit
|
|
193
|
+
behind their own extras: `gui-memory` for the lesson/episodic memory stack, and
|
|
194
|
+
`gui-app` for the provider adapters, the batch pipeline (`python -m
|
|
195
|
+
agentdebug.gui`) and the Streamlit annotation app.
|
|
196
|
+
|
|
173
197
|
The package is installed as `agentdebugx` and imported as `agentdebug`:
|
|
174
198
|
|
|
175
199
|
```python
|
|
176
200
|
import agentdebug
|
|
177
201
|
```
|
|
178
202
|
|
|
203
|
+
## Claude Code and Codex Plugins
|
|
204
|
+
|
|
205
|
+
AgentDebugX ships native plugins for Claude Code and Codex so an agent can
|
|
206
|
+
debug its own session. The plugin bundles capture hooks and the AgentDebug
|
|
207
|
+
skill, which keeps two boundaries explicit:
|
|
208
|
+
|
|
209
|
+
- **Capture is automatic** once a project opts in. Sessions are normalized into
|
|
210
|
+
AgentDebugX trajectories locally and silently.
|
|
211
|
+
- **Diagnosis is explicit.** Ask AgentDebug in-session and the skill diagnoses
|
|
212
|
+
that exact captured trajectory with `agentdebug run --current --profile deep`.
|
|
213
|
+
Re-running or repairing the agent's work stays a separately authorized step.
|
|
214
|
+
|
|
215
|
+
Follow the [capture quickstart](CAPTURE_QUICKSTART.md) to install a plugin,
|
|
216
|
+
enable project capture, diagnose a session, and turn capture off again.
|
|
217
|
+
|
|
218
|
+
The plugin bundles live in this repository:
|
|
219
|
+
|
|
220
|
+
| Plugin | Bundle | Documentation |
|
|
221
|
+
| --- | --- | --- |
|
|
222
|
+
| Claude Code | `integrations/claude-code/plugins/agentdebug` | [Claude Code plugin](integrations/claude-code/README.md) |
|
|
223
|
+
| Codex | `integrations/codex/plugins/agentdebug` | [Codex plugin](integrations/codex/README.md) |
|
|
224
|
+
|
|
225
|
+
Each plugin's documentation covers its hooks, install scope, the capture
|
|
226
|
+
consent step, and lazy session creation. See
|
|
227
|
+
[`src/agentdebug/capture/README.md`](src/agentdebug/capture/README.md) for the
|
|
228
|
+
stored `.agentdebug/` layout and
|
|
229
|
+
[`src/agentdebug/workbench/README.md`](src/agentdebug/workbench/README.md) for
|
|
230
|
+
`agentdebug run` profiles and run manifests.
|
|
231
|
+
|
|
232
|
+
## DeepSeek Harness Plugin
|
|
233
|
+
|
|
234
|
+
AgentDebugX is also available as the
|
|
235
|
+
[`dsh-agentdebugx`](https://www.npmjs.com/package/dsh-agentdebugx) plugin for
|
|
236
|
+
DeepSeek Harness. It diagnoses current and saved Harness trajectories and
|
|
237
|
+
starts the Python bridge and local dashboard only when they are needed.
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
pip install "agentdebugx[ui]>=0.3.1,<0.4"
|
|
241
|
+
dsh plugin --profile web add dsh-agentdebugx
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
See the [plugin documentation](integrations/dsh-agentdebugx/README.md) for
|
|
245
|
+
configuration, commands, saved-session discovery, and deep diagnosis.
|
|
246
|
+
|
|
179
247
|
## Quick Start: Python API
|
|
180
248
|
|
|
181
249
|
Record a trajectory and analyze it locally:
|
|
@@ -228,7 +296,7 @@ agentdebug ingest raw_trace.json --format auto --out trace.json
|
|
|
228
296
|
|
|
229
297
|
Use `--format` when the source is known, for example `messages`,
|
|
230
298
|
`openai_agents_spans`, `crewai_events`, `langgraph_callbacks`, `claude_code`,
|
|
231
|
-
or `osworld`.
|
|
299
|
+
`codex`, or `osworld`.
|
|
232
300
|
|
|
233
301
|
Process a directory of independent JSON files or every non-empty line in a
|
|
234
302
|
JSONL dataset:
|
|
@@ -352,6 +420,19 @@ agentdebug rerun report.json \
|
|
|
352
420
|
--out rerun.live.json
|
|
353
421
|
```
|
|
354
422
|
|
|
423
|
+
To branch from a specific trajectory event, pass its 1-based event number:
|
|
424
|
+
|
|
425
|
+
```bash
|
|
426
|
+
agentdebug rerun report.json \
|
|
427
|
+
--trajectory trace.json \
|
|
428
|
+
--start-event 4 \
|
|
429
|
+
--out rerun.from-event.json
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
`--start-event N` resolves the Nth event to its stable event ID and sends a
|
|
433
|
+
`from_event` checkpoint to plan, simulation, and live runner modes. The selected
|
|
434
|
+
runner must support restoring or continuing from event checkpoints.
|
|
435
|
+
|
|
355
436
|
The service owns the framework, real model, tools, credentials, environment,
|
|
356
437
|
job lifecycle, and trajectory recorder. A chat-completions URL alone is not an
|
|
357
438
|
Agent environment. Submissions are idempotent, transient failures use bounded
|
|
@@ -421,9 +502,15 @@ agentdebug hub push <trace-id> \
|
|
|
421
502
|
Generate a debugging skill for a supported host runtime:
|
|
422
503
|
|
|
423
504
|
```bash
|
|
424
|
-
agentdebug integrations
|
|
505
|
+
agentdebug integrations install --platform claude
|
|
506
|
+
agentdebug integrations install --platform codex
|
|
507
|
+
agentdebug integrations status --platform codex --json
|
|
425
508
|
```
|
|
426
509
|
|
|
510
|
+
Generated Hermes and OpenClaw skills remain available through
|
|
511
|
+
`agentdebug integrations skill --platform hermes|openclaw`. Refresh generated
|
|
512
|
+
skills after upgrading so they use the shared `agentdebug run` contract.
|
|
513
|
+
|
|
427
514
|
### Optional: launch the local console
|
|
428
515
|
|
|
429
516
|
Install the UI extra only when a visual inspection workflow is useful:
|
|
@@ -436,10 +523,45 @@ agentdebug serve \
|
|
|
436
523
|
--port 7777
|
|
437
524
|
```
|
|
438
525
|
|
|
526
|
+
For the integrated single-run path, AgentDebugX can manage the loopback server
|
|
527
|
+
and return a readiness-checked deep link without opening a browser:
|
|
528
|
+
|
|
529
|
+
```bash
|
|
530
|
+
agentdebug run trace.json --profile standard --ui --json
|
|
531
|
+
agentdebug ui ensure --run-id <run-id> --json
|
|
532
|
+
agentdebug ui status --json
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
For a multi-record AgentErrorBench JSONL collection, either select one record
|
|
536
|
+
or run the same durable workflow for every independent record:
|
|
537
|
+
|
|
538
|
+
```bash
|
|
539
|
+
agentdebug run trajectories.jsonl --trajectory-id <trajectory-id> --json
|
|
540
|
+
agentdebug run trajectories.jsonl --batch --profile standard --json
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
`--batch` also accepts directories and recursively discovers independent JSON
|
|
544
|
+
files. Each item receives its own run, trajectory, and report identity.
|
|
545
|
+
Failures are isolated; a partial batch exits with code 3. A directly supplied
|
|
546
|
+
JSONL file is split by row, so use `--batch` only when each row is a complete
|
|
547
|
+
trajectory, not when the file is one event stream.
|
|
548
|
+
|
|
549
|
+
For GUI RCA batches, continue using `python -m agentdebug.gui`; its OSWorld
|
|
550
|
+
classification, failure filtering, parallel workers, memory, and output layout
|
|
551
|
+
are intentionally separate from the generic `run --batch` contract.
|
|
552
|
+
|
|
553
|
+
The run manifest, normalized trajectory, selected report, inline JSON, and
|
|
554
|
+
`/runs/<run-id>` page retain the same `run_id`, `trace_id`, and `report_id`.
|
|
555
|
+
The `deep` and `gui` profiles are explicitly LLM-backed; `quick` and
|
|
556
|
+
`standard` never escalate to an LLM implicitly. UI startup failure is reported
|
|
557
|
+
separately and does not change a completed diagnosis into a failed run.
|
|
558
|
+
|
|
439
559
|
## CLI Reference
|
|
440
560
|
|
|
441
561
|
| Command | Purpose |
|
|
442
562
|
| --- | --- |
|
|
563
|
+
| `agentdebug run` | Create durable trajectory/report runs for one input or an explicit batch |
|
|
564
|
+
| `agentdebug ui ensure` / `status` | Start, reuse, or inspect the readiness-checked local UI |
|
|
443
565
|
| `agentdebug ingest` | Normalize an external trace export into AgentDebugX schema |
|
|
444
566
|
| `agentdebug diagnose` | Run detection, attribution, and recovery planning |
|
|
445
567
|
| `agentdebug batch ingest` | Normalize every JSON file or independent JSONL record |
|
|
@@ -449,7 +571,7 @@ agentdebug serve \
|
|
|
449
571
|
| `agentdebug list` / `agentdebug show` | Inspect traces in a local store |
|
|
450
572
|
| `agentdebug config` | Manage and test LLM endpoints and persistent HTTP runners |
|
|
451
573
|
| `agentdebug hub` | Package, scrub, push, and pull Error Hub bundles |
|
|
452
|
-
| `agentdebug integrations` | Generate
|
|
574
|
+
| `agentdebug integrations` | Generate, install, and validate host integration assets |
|
|
453
575
|
| `agentdebug act` | Compatibility namespace for Hub and integration actions |
|
|
454
576
|
| `agentdebug serve` / `agentdebug inspect` | Launch the optional local web console |
|
|
455
577
|
| `agentdebug doctor` | Report optional dependency and configuration status |
|
|
@@ -471,7 +593,7 @@ src/agentdebug/rerun/ rerun plans, requests, branch comparison, and execu
|
|
|
471
593
|
src/agentdebug/inspect/ traceback renderer and local inspection UI
|
|
472
594
|
src/agentdebug/hub/ scrubbed failure bundle packaging and backends
|
|
473
595
|
src/agentdebug/integrations/ host skill and runtime integration generators
|
|
474
|
-
|
|
596
|
+
src/agentdebug/gui/ computer-use / OSWorld GUI root-cause analysis
|
|
475
597
|
examples/ runnable examples and demo traces
|
|
476
598
|
docs/ architecture, schema, and project assets
|
|
477
599
|
```
|
|
@@ -517,13 +639,56 @@ frontend. It is intentionally a surface layer:
|
|
|
517
639
|
- local case and branch stores live in `inspect/ui/branch_store.py`
|
|
518
640
|
- `inspect/ui/server.py` remains a compatibility import path
|
|
519
641
|
|
|
642
|
+
### Launch from the CLI
|
|
643
|
+
|
|
644
|
+
Install the optional UI dependencies, then point the server at an existing
|
|
645
|
+
AgentDebugX trace store:
|
|
646
|
+
|
|
647
|
+
```bash
|
|
648
|
+
pip install "agentdebugx[ui]"
|
|
649
|
+
|
|
650
|
+
agentdebug serve \
|
|
651
|
+
--store-sqlite .agentdebug/traces.sqlite \
|
|
652
|
+
--host 127.0.0.1 \
|
|
653
|
+
--port 7777
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
Open [http://127.0.0.1:7777](http://127.0.0.1:7777) in a browser. For a JSONL
|
|
657
|
+
store, replace `--store-sqlite` with
|
|
658
|
+
`--store-jsonl .agentdebug/traces.jsonl`. Keep the default loopback host unless
|
|
659
|
+
the UI is deployed behind appropriate authentication and transport security.
|
|
660
|
+
Place native trajectory and diagnostic-report JSON files under
|
|
661
|
+
`.agentdebug/imports/`, then use **Sync imports** in the workspace to import
|
|
662
|
+
new or changed files. Set `AGENTDEBUG_IMPORT_DIR` to use another server-owned
|
|
663
|
+
directory.
|
|
664
|
+
|
|
665
|
+

|
|
666
|
+
|
|
520
667
|
The UI can inspect traces, save typical error cases, prepare debug
|
|
521
|
-
continuations, and invoke a server-controlled live runner.
|
|
668
|
+
continuations, and invoke a server-controlled live runner. Rerun Composer is
|
|
669
|
+
opened from a selected event and uses that event as its checkpoint. Set
|
|
522
670
|
`AGENTDEBUG_RUNNER_URL` for the preferred persistent HTTP transport or
|
|
523
|
-
`AGENTDEBUG_RERUN_COMMAND` for process compatibility.
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
671
|
+
`AGENTDEBUG_RERUN_COMMAND` for process compatibility. The selected runner must
|
|
672
|
+
advertise or implement `from_event` checkpoint support. The browser does not
|
|
673
|
+
accept or persist runner commands or bearer tokens; LLM API keys configured in
|
|
674
|
+
the local UI are retained only for the current browser tab.
|
|
675
|
+
|
|
676
|
+
OSWorld trajectories with locally available screenshot artifacts open in the
|
|
677
|
+
read-only **Visual** view by default. Use the **Trace / Visual** control to
|
|
678
|
+
switch without changing the selected event; the choice is remembered per trace
|
|
679
|
+
for the current browser tab. Visual compares the selected action's **Before**
|
|
680
|
+
state (an explicit input image or the immediately preceding event result) with
|
|
681
|
+
all **After** images attached to the selected event; it never changes timeline
|
|
682
|
+
selection or guesses across missing steps. Screenshots are served only through
|
|
683
|
+
trace/event artifact IDs, and only when the resolved image remains inside the
|
|
684
|
+
trajectory's recorded `metadata.source_dir`.
|
|
685
|
+
|
|
686
|
+
**Discuss with Debugger** is available for every normalized trace format, not
|
|
687
|
+
only CUA. Discussions are persisted locally, pinned to a report snapshot, cite
|
|
688
|
+
canonical event IDs, and may produce an exportable report-revision draft.
|
|
689
|
+
Discussion tools are read-only and drafts never overwrite stored diagnostic
|
|
690
|
+
reports. The separate Streamlit app remains the tool for annotation,
|
|
691
|
+
multi-reviewer assignment, and accuracy workflows.
|
|
527
692
|
|
|
528
693
|
## Privacy and Safety
|
|
529
694
|
|
|
@@ -581,8 +746,44 @@ python -m compileall -q src/agentdebug tests
|
|
|
581
746
|
Build artifacts under `dist/` should not be committed. Generate them only for
|
|
582
747
|
release workflows.
|
|
583
748
|
|
|
584
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for test organization, optional
|
|
585
|
-
|
|
749
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for test organization, the optional GUI
|
|
750
|
+
test suite, quality checks, and pull request expectations.
|
|
751
|
+
|
|
752
|
+
## Citation
|
|
753
|
+
|
|
754
|
+
```bibtex
|
|
755
|
+
@article{agentdebug2025,
|
|
756
|
+
title={Where LLM Agents Fail and How They Can Learn From Failures},
|
|
757
|
+
author={Zhu, Kunlun and Liu, Zijia and Li, Bingxuan and Tian, Muxin and Yang Yingxuan and Zhang, Jiaxun and others},
|
|
758
|
+
journal={arXiv preprint arXiv:2509.25370},
|
|
759
|
+
year={2025}
|
|
760
|
+
}
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
```bibtex
|
|
764
|
+
@misc{zhu2026agentdebugxopensourcetoolkitfailure,
|
|
765
|
+
title={AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents},
|
|
766
|
+
author={Kunlun Zhu and Xuyan Ye and Zhiguang Han and Yuchen Zhao and Bingxuan Li and Weijia Zhang and Muxin Tian and Xiangru Tang and Pan Lu and James Zou and Jiaxuan You and Heng Ji},
|
|
767
|
+
year={2026},
|
|
768
|
+
eprint={2607.18754},
|
|
769
|
+
archivePrefix={arXiv},
|
|
770
|
+
primaryClass={cs.AI},
|
|
771
|
+
url={https://arxiv.org/abs/2607.18754},
|
|
772
|
+
}
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
```bibtex
|
|
776
|
+
@misc{zhang2026cuadebugdiagnosingrepairingcomputeruse,
|
|
777
|
+
title={CUADebug: Diagnosing and Repairing Computer-Use Agent Failures},
|
|
778
|
+
author={Weijia Zhang and Kunlun Zhu and Zeyi Liu and Yinting Chen and Tianyi Ma and Jiateng Liu and Jiaxun Zhang and Bingxuan Li and Xiangru Tang and Heng Ji and Jiaxuan You},
|
|
779
|
+
year={2026},
|
|
780
|
+
eprint={2608.02643},
|
|
781
|
+
archivePrefix={arXiv},
|
|
782
|
+
primaryClass={cs.SE},
|
|
783
|
+
url={https://arxiv.org/abs/2608.02643},
|
|
784
|
+
}
|
|
785
|
+
```
|
|
786
|
+
|
|
586
787
|
|
|
587
788
|
## License
|
|
588
789
|
|