agentdebugx 0.3.1__tar.gz → 0.5.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.
Files changed (340) hide show
  1. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/PKG-INFO +232 -31
  2. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/README.md +217 -13
  3. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/docs/ARCHITECTURE.md +25 -2
  4. agentdebugx-0.5.0/docs/GUI_RCA_COMMANDS.md +113 -0
  5. agentdebugx-0.5.0/docs/assets/UI.png +0 -0
  6. agentdebugx-0.5.0/docs/assets/logo-dark.svg +43 -0
  7. agentdebugx-0.5.0/docs/assets/logo.svg +43 -0
  8. agentdebugx-0.5.0/docs/assets/stylesheets/extra.css +757 -0
  9. agentdebugx-0.5.0/docs/concepts/workflow.md +60 -0
  10. agentdebugx-0.5.0/docs/getting-started/installation.md +59 -0
  11. agentdebugx-0.5.0/docs/getting-started/quickstart.md +116 -0
  12. agentdebugx-0.5.0/docs/guides/diagnose.md +122 -0
  13. agentdebugx-0.5.0/docs/guides/gui-rca.md +80 -0
  14. agentdebugx-0.5.0/docs/guides/ingest.md +100 -0
  15. agentdebugx-0.5.0/docs/guides/local-ui.md +70 -0
  16. agentdebugx-0.5.0/docs/guides/rerun.md +107 -0
  17. agentdebugx-0.5.0/docs/help/build-docs.md +49 -0
  18. agentdebugx-0.5.0/docs/help/troubleshooting.md +94 -0
  19. agentdebugx-0.5.0/docs/index.md +67 -0
  20. agentdebugx-0.5.0/docs/reference/cli.md +108 -0
  21. agentdebugx-0.5.0/docs/reference/diagnostic-report.md +84 -0
  22. agentdebugx-0.5.0/docs/reference/python-api.md +106 -0
  23. agentdebugx-0.5.0/docs/taxonomy_manifest.md +36 -0
  24. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/pyproject.toml +25 -21
  25. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/__init__.py +7 -1
  26. agentdebugx-0.5.0/src/agentdebug/capture/README.md +91 -0
  27. agentdebugx-0.5.0/src/agentdebug/capture/__init__.py +5 -0
  28. agentdebugx-0.5.0/src/agentdebug/capture/config.py +114 -0
  29. agentdebugx-0.5.0/src/agentdebug/capture/context.py +140 -0
  30. agentdebugx-0.5.0/src/agentdebug/capture/contracts.py +111 -0
  31. agentdebugx-0.5.0/src/agentdebug/capture/filtering.py +194 -0
  32. agentdebugx-0.5.0/src/agentdebug/capture/hosts/CODEX_SUPPORT.md +20 -0
  33. agentdebugx-0.5.0/src/agentdebug/capture/hosts/README.md +9 -0
  34. agentdebugx-0.5.0/src/agentdebug/capture/hosts/__init__.py +6 -0
  35. agentdebugx-0.5.0/src/agentdebug/capture/hosts/base.py +54 -0
  36. agentdebugx-0.5.0/src/agentdebug/capture/hosts/claude_code.py +263 -0
  37. agentdebugx-0.5.0/src/agentdebug/capture/hosts/codex.py +228 -0
  38. agentdebugx-0.5.0/src/agentdebug/capture/hosts/registry.py +74 -0
  39. agentdebugx-0.5.0/src/agentdebug/capture/identity.py +76 -0
  40. agentdebugx-0.5.0/src/agentdebug/capture/repository.py +505 -0
  41. agentdebugx-0.5.0/src/agentdebug/capture/service.py +351 -0
  42. agentdebugx-0.5.0/src/agentdebug/capture/snapshot.py +51 -0
  43. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/README.md +25 -1
  44. agentdebugx-0.5.0/src/agentdebug/cli/__init__.py +13 -0
  45. agentdebugx-0.5.0/src/agentdebug/cli/commands/capture.py +183 -0
  46. agentdebugx-0.5.0/src/agentdebug/cli/commands/run.py +91 -0
  47. agentdebugx-0.5.0/src/agentdebug/cli/commands/ui.py +25 -0
  48. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/legacy.py +102 -24
  49. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/main.py +66 -0
  50. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/__init__.py +2 -0
  51. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/__init__.py +4 -0
  52. agentdebugx-0.5.0/src/agentdebug/diagnose/attribute/README.md +109 -0
  53. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/attribute/__init__.py +18 -0
  54. agentdebugx-0.5.0/src/agentdebug/diagnose/attribute/async_api.py +119 -0
  55. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/attribute/attribution.py +710 -24
  56. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/attribute/moe.py +13 -8
  57. agentdebugx-0.5.0/src/agentdebug/diagnose/attribute/reference.py +189 -0
  58. agentdebugx-0.5.0/src/agentdebug/diagnose/attribute/trajdebug.py +359 -0
  59. agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/attribute/trajdebug.json +11 -0
  60. agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/detect/perstep.json +19 -0
  61. agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/detect/stage_a.json +11 -0
  62. agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/detect/trajdebug.json +11 -0
  63. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/README.md +177 -0
  64. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/__init__.py +25 -0
  65. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/compression.py +612 -0
  66. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/evidence.py +940 -0
  67. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/judge.py +35 -15
  68. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/perstep.py +416 -0
  69. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/gui/manifest.json +1 -3
  70. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/selection.py +98 -0
  71. agentdebugx-0.5.0/src/agentdebug/diagnose/detect/trajdebug.py +386 -0
  72. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/gui_rca.py +14 -23
  73. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/profiles/deepdebug.py +7 -1
  74. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/recover/recovery.py +11 -3
  75. agentdebugx-0.5.0/src/agentdebug/gui/__init__.py +70 -0
  76. agentdebugx-0.5.0/src/agentdebug/gui/__main__.py +981 -0
  77. agentdebugx-0.5.0/src/agentdebug/gui/agent.py +342 -0
  78. agentdebugx-0.5.0/src/agentdebug/gui/config/debugger.example.json +13 -0
  79. agentdebugx-0.5.0/src/agentdebug/gui/config.py +150 -0
  80. agentdebugx-0.5.0/src/agentdebug/gui/discuss.py +292 -0
  81. agentdebugx-0.5.0/src/agentdebug/gui/dispatch.py +239 -0
  82. agentdebugx-0.5.0/src/agentdebug/gui/eval/__init__.py +29 -0
  83. agentdebugx-0.5.0/src/agentdebug/gui/eval/accuracy.py +335 -0
  84. agentdebugx-0.5.0/src/agentdebug/gui/evolving/__init__.py +13 -0
  85. agentdebugx-0.5.0/src/agentdebug/gui/evolving/alignment.py +243 -0
  86. agentdebugx-0.5.0/src/agentdebug/gui/evolving/case_loader.py +78 -0
  87. agentdebugx-0.5.0/src/agentdebug/gui/evolving/prompts.py +87 -0
  88. agentdebugx-0.5.0/src/agentdebug/gui/evolving/protocol.py +29 -0
  89. agentdebugx-0.5.0/src/agentdebug/gui/evolving/runner.py +330 -0
  90. agentdebugx-0.5.0/src/agentdebug/gui/evolving/state.py +82 -0
  91. agentdebugx-0.5.0/src/agentdebug/gui/evolving/tools.py +104 -0
  92. agentdebugx-0.5.0/src/agentdebug/gui/ingester.py +155 -0
  93. agentdebugx-0.5.0/src/agentdebug/gui/memory/__init__.py +104 -0
  94. agentdebugx-0.5.0/src/agentdebug/gui/memory/annotation_loader.py +148 -0
  95. agentdebugx-0.5.0/src/agentdebug/gui/memory/distill.py +340 -0
  96. agentdebugx-0.5.0/src/agentdebug/gui/memory/episode_memory.py +253 -0
  97. agentdebugx-0.5.0/src/agentdebug/gui/memory/intention.py +101 -0
  98. agentdebugx-0.5.0/src/agentdebug/gui/memory/lesson_injector.py +414 -0
  99. agentdebugx-0.5.0/src/agentdebug/gui/memory/lesson_memory.py +635 -0
  100. agentdebugx-0.5.0/src/agentdebug/gui/memory/semantic_merge.py +582 -0
  101. agentdebugx-0.5.0/src/agentdebug/gui/openai_adapter.py +135 -0
  102. agentdebugx-0.5.0/src/agentdebug/gui/output.py +99 -0
  103. agentdebugx-0.5.0/src/agentdebug/gui/perplexity_adapter.py +371 -0
  104. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/__init__.py +11 -0
  105. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/classify.py +46 -0
  106. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/client_factory.py +45 -0
  107. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/orchestrator.py +132 -0
  108. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/results.py +273 -0
  109. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/runtime.py +40 -0
  110. agentdebugx-0.5.0/src/agentdebug/gui/pipeline/worker.py +185 -0
  111. agentdebugx-0.5.0/src/agentdebug/gui/prompts.py +276 -0
  112. agentdebugx-0.5.0/src/agentdebug/gui/prompts_discuss.py +75 -0
  113. agentdebugx-0.5.0/src/agentdebug/gui/rca.py +405 -0
  114. agentdebugx-0.5.0/src/agentdebug/gui/scripts/__init__.py +11 -0
  115. agentdebugx-0.5.0/src/agentdebug/gui/scripts/download_input_trajectory.py +200 -0
  116. agentdebugx-0.5.0/src/agentdebug/gui/tagger.py +202 -0
  117. agentdebugx-0.5.0/src/agentdebug/gui/taxonomy.py +133 -0
  118. agentdebugx-0.5.0/src/agentdebug/gui/together_adapter.py +284 -0
  119. agentdebugx-0.5.0/src/agentdebug/gui/tools/__init__.py +537 -0
  120. agentdebugx-0.5.0/src/agentdebug/gui/tools/lesson_explorer.py +207 -0
  121. agentdebugx-0.5.0/src/agentdebug/gui/trajectory.py +418 -0
  122. agentdebugx-0.5.0/src/agentdebug/gui/trajectory_normalizer.py +87 -0
  123. agentdebugx-0.5.0/src/agentdebug/gui/utils/__init__.py +9 -0
  124. agentdebugx-0.5.0/src/agentdebug/gui/utils/lock.py +36 -0
  125. agentdebugx-0.5.0/src/agentdebug/gui/utils/logger.py +323 -0
  126. agentdebugx-0.5.0/src/agentdebug/gui/vis/__init__.py +25 -0
  127. agentdebugx-0.5.0/src/agentdebug/gui/vis/debugger_app.py +2159 -0
  128. agentdebugx-0.5.0/src/agentdebug/gui/vis/generate_assignments.py +78 -0
  129. agentdebugx-0.5.0/src/agentdebug/ingest/README.md +66 -0
  130. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/__init__.py +6 -0
  131. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/__init__.py +1 -0
  132. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/importers.py +364 -4
  133. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/osworld.py +17 -23
  134. agentdebugx-0.5.0/src/agentdebug/ingest/adapters/trajdebug.py +210 -0
  135. agentdebugx-0.5.0/src/agentdebug/ingest/native_protocol.py +588 -0
  136. agentdebugx-0.5.0/src/agentdebug/inspect/README.md +78 -0
  137. agentdebugx-0.5.0/src/agentdebug/inspect/discussion.py +765 -0
  138. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/app.py +2 -2
  139. agentdebugx-0.5.0/src/agentdebug/inspect/ui/assets/robot-avatar.svg +13 -0
  140. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/branch_store.py +80 -53
  141. agentdebugx-0.5.0/src/agentdebug/inspect/ui/discussion_store.py +771 -0
  142. agentdebugx-0.5.0/src/agentdebug/inspect/ui/llm_convert.py +319 -0
  143. agentdebugx-0.5.0/src/agentdebug/inspect/ui/manager.py +197 -0
  144. agentdebugx-0.5.0/src/agentdebug/inspect/ui/mcp_rerun.py +356 -0
  145. agentdebugx-0.5.0/src/agentdebug/inspect/ui/routes.py +1407 -0
  146. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/server.py +1 -8
  147. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/services.py +320 -34
  148. agentdebugx-0.5.0/src/agentdebug/inspect/ui/upload.py +146 -0
  149. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/views.py +1783 -454
  150. agentdebugx-0.5.0/src/agentdebug/integrations/README.md +51 -0
  151. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/__init__.py +6 -0
  152. agentdebugx-0.5.0/src/agentdebug/integrations/_templates.py +31 -0
  153. agentdebugx-0.5.0/src/agentdebug/integrations/agentdebug_skill/SKILL.md +110 -0
  154. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/analysis.md +2 -1
  155. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/cli_reference.md +66 -6
  156. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/recovery.md +6 -5
  157. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/safety.md +5 -3
  158. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/setup.md +30 -3
  159. agentdebugx-0.5.0/src/agentdebug/integrations/capture_management.py +62 -0
  160. agentdebugx-0.5.0/src/agentdebug/integrations/codex_skill.py +22 -0
  161. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/debug_skill.py +43 -6
  162. agentdebugx-0.5.0/src/agentdebug/integrations/management.py +107 -0
  163. agentdebugx-0.5.0/src/agentdebug/provenance.py +69 -0
  164. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/__init__.py +2 -0
  165. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/gui_taxonomy.py +11 -28
  166. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/llm.py +169 -8
  167. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/llm_channel.py +23 -35
  168. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/storage.py +81 -22
  169. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/schema/__init__.py +2 -0
  170. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/schema/models.py +55 -0
  171. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/schema/taxonomy.py +61 -0
  172. agentdebugx-0.5.0/src/agentdebug/taxonomy_manifest.py +384 -0
  173. agentdebugx-0.5.0/src/agentdebug/workbench/README.md +94 -0
  174. agentdebugx-0.5.0/src/agentdebug/workbench/__init__.py +10 -0
  175. agentdebugx-0.5.0/src/agentdebug/workbench/models.py +141 -0
  176. agentdebugx-0.5.0/src/agentdebug/workbench/profiles.py +70 -0
  177. agentdebugx-0.5.0/src/agentdebug/workbench/registry.py +79 -0
  178. agentdebugx-0.5.0/src/agentdebug/workbench/service.py +382 -0
  179. agentdebugx-0.3.1/src/agentdebug/cli/__init__.py +0 -5
  180. agentdebugx-0.3.1/src/agentdebug/diagnose/attribute/README.md +0 -41
  181. agentdebugx-0.3.1/src/agentdebug/diagnose/detect/README.md +0 -50
  182. agentdebugx-0.3.1/src/agentdebug/ingest/README.md +0 -42
  183. agentdebugx-0.3.1/src/agentdebug/inspect/README.md +0 -46
  184. agentdebugx-0.3.1/src/agentdebug/inspect/ui/routes.py +0 -407
  185. agentdebugx-0.3.1/src/agentdebug/integrations/README.md +0 -36
  186. agentdebugx-0.3.1/src/agentdebug/integrations/_templates.py +0 -404
  187. agentdebugx-0.3.1/src/agentdebug/integrations/agentdebug_skill/SKILL.md +0 -87
  188. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/LICENSE +0 -0
  189. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/docs/TRACE_SCHEMA.md +0 -0
  190. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/docs/assets/logo.png +0 -0
  191. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/docs/assets/overview.pdf +0 -0
  192. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/docs/assets/overview.png +0 -0
  193. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/batch/README.md +0 -0
  194. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/batch/__init__.py +0 -0
  195. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/batch/workflow.py +0 -0
  196. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/__main__.py +0 -0
  197. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/__init__.py +0 -0
  198. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/batch.py +0 -0
  199. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/config.py +0 -0
  200. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/diagnose.py +0 -0
  201. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/doctor.py +0 -0
  202. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/hub.py +0 -0
  203. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/ingest.py +0 -0
  204. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/integrations.py +0 -0
  205. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/rerun.py +0 -0
  206. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/runner.py +0 -0
  207. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/serve.py +0 -0
  208. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/cli/commands/store.py +0 -0
  209. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/events.py +0 -0
  210. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/gui_taxonomy.py +0 -0
  211. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/llm.py +0 -0
  212. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/llm_channel.py +0 -0
  213. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/models.py +0 -0
  214. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/plugins/__init__.py +0 -0
  215. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/plugins/registry.py +0 -0
  216. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/plugins/types.py +0 -0
  217. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/storage.py +0 -0
  218. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/core/taxonomy.py +0 -0
  219. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/README.md +0 -0
  220. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/__init__.py +0 -0
  221. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/attribution.py +0 -0
  222. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/hub/__init__.py +0 -0
  223. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/hub/backend_base.py +0 -0
  224. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/hub/backends.py +0 -0
  225. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/hub/bundle.py +0 -0
  226. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/hub/scrub.py +0 -0
  227. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/integrations/__init__.py +0 -0
  228. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/integrations/_templates.py +0 -0
  229. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/integrations/claude_skill.py +0 -0
  230. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/integrations/debug_skill.py +0 -0
  231. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/integrations/openhands.py +0 -0
  232. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/moe.py +0 -0
  233. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/actions/recovery.py +0 -0
  234. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/analyzers.py +0 -0
  235. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/attribute/deep_memory.py +0 -0
  236. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/attribute/deepdebug.py +0 -0
  237. {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/recover → agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests}/__init__.py +0 -0
  238. {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/detect → agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/attribute}/__init__.py +0 -0
  239. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/all_at_once.json +0 -0
  240. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/binary_search.json +0 -0
  241. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/counterfactual.json +0 -0
  242. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/deepdebug.json +0 -0
  243. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/heuristic.json +0 -0
  244. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/attribute/step_by_step.json +0 -0
  245. {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests/attribute → agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/detect}/__init__.py +0 -0
  246. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/detect/heuristic.json +0 -0
  247. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/detect/llm_judge.json +0 -0
  248. {agentdebugx-0.3.1/src/agentdebug/diagnose/component_manifests → agentdebugx-0.5.0/src/agentdebug/diagnose/component_manifests/recover}/__init__.py +0 -0
  249. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/auto_manual.json +0 -0
  250. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/critic.json +0 -0
  251. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/deepdebug.json +0 -0
  252. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/reflexion.json +0 -0
  253. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/saga_rollback.json +0 -0
  254. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/component_manifests/recover/self_refine.json +0 -0
  255. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/context.py +0 -0
  256. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/deep.py +0 -0
  257. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/deep_memory.py +0 -0
  258. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/analyzers.py +0 -0
  259. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/detectors.py +0 -0
  260. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/__init__.py +0 -0
  261. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/agenterrorbench.py +0 -0
  262. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/base.py +0 -0
  263. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/core.py +0 -0
  264. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/gui.py +0 -0
  265. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/__init__.py +0 -0
  266. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/__init__.py +0 -0
  267. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/manifest.json +0 -0
  268. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/agenterrorbench/rules.py +0 -0
  269. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/core/__init__.py +0 -0
  270. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/core/manifest.json +0 -0
  271. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/core/rules.py +0 -0
  272. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/gui/__init__.py +0 -0
  273. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/packs/gui/rules.py +0 -0
  274. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules/registry.py +0 -0
  275. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/rules.py +0 -0
  276. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detect/taxonomy_induction.py +0 -0
  277. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/detectors.py +0 -0
  278. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/deterministic.py +0 -0
  279. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/judge.py +0 -0
  280. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/judges.py +0 -0
  281. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/pipeline.py +0 -0
  282. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/profiles/README.md +0 -0
  283. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/profiles/__init__.py +0 -0
  284. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/recover/README.md +0 -0
  285. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/recover/__init__.py +0 -0
  286. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/registry.py +0 -0
  287. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/__init__.py +0 -0
  288. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/agenterrorbench.py +0 -0
  289. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/base.py +0 -0
  290. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/core.py +0 -0
  291. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/gui.py +0 -0
  292. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/rules/registry.py +0 -0
  293. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/diagnose/taxonomy_induction.py +0 -0
  294. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/README.md +0 -0
  295. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/__init__.py +0 -0
  296. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/backend_base.py +0 -0
  297. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/backends.py +0 -0
  298. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/bundle.py +0 -0
  299. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/hub/scrub.py +0 -0
  300. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/base.py +0 -0
  301. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/crewai.py +0 -0
  302. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/gaia_odr.py +0 -0
  303. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/langgraph.py +0 -0
  304. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/openai_agents.py +0 -0
  305. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/otel.py +0 -0
  306. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/adapters/raw.py +0 -0
  307. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/core/__init__.py +0 -0
  308. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/importers.py +0 -0
  309. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/instrumentation.py +0 -0
  310. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/ingest/recorder.py +0 -0
  311. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/__init__.py +0 -0
  312. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/traceback.py +0 -0
  313. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/inspect/ui/__init__.py +0 -0
  314. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/agentdebug_skill/references/formats.md +0 -0
  315. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/claude_skill.py +0 -0
  316. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/integrations/openhands.py +0 -0
  317. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/py.typed +0 -0
  318. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/ACTOR_TASK_SPEC.md +0 -0
  319. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/README.md +0 -0
  320. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/RUNNER_SPEC.md +0 -0
  321. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/SIMULATION_SPEC.md +0 -0
  322. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/__init__.py +0 -0
  323. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/actor_task.py +0 -0
  324. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/branch.py +0 -0
  325. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/evaluators.py +0 -0
  326. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/executors/__init__.py +0 -0
  327. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/executors/base.py +0 -0
  328. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/executors/http_live.py +0 -0
  329. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/executors/llm_continuation.py +0 -0
  330. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/executors/process_live.py +0 -0
  331. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/http_service.py +0 -0
  332. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/live_validation.py +0 -0
  333. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/request.py +0 -0
  334. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/rerun/workflow.py +0 -0
  335. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/README.md +0 -0
  336. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/events.py +0 -0
  337. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/plugins/__init__.py +0 -0
  338. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/plugins/registry.py +0 -0
  339. {agentdebugx-0.3.1 → agentdebugx-0.5.0}/src/agentdebug/runtime/plugins/types.py +0 -0
  340. {agentdebugx-0.3.1 → agentdebugx-0.5.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.1
3
+ Version: 0.5.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: backoff ; extra == "gui" or extra == "all"
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: matplotlib ; extra == "gui" or extra == "all"
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: python-dotenv ; extra == "gui" or extra == "all"
56
- Requires-Dist: scikit-learn ; extra == "gui" or extra == "all"
57
- Requires-Dist: streamlit ; extra == "gui" or extra == "all"
58
- Requires-Dist: streamlit-adjustable-columns ; extra == "gui" or extra == "all"
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, and rerun-from-event workflows.
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]" # computer-use / OSWorld GUI tooling
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 skill --platform claude --target .claude/skills
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 external runtime integration assets |
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
- cua_debugger/ computer-use / OSWorld GUI root-cause tooling
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
+ ![AgentDebugX local inspection UI](docs/assets/UI.png)
666
+
520
667
  The UI can inspect traces, save typical error cases, prepare debug
521
- continuations, and invoke a server-controlled live runner. Set
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. UI reruns default to a
524
- full `from_start` rollout; `from_event` requires runner capability plus the
525
- explicit server policy `AGENTDEBUG_UI_RERUN_POLICY=from_event`. The browser does
526
- not accept or persist runner commands, bearer tokens, or model API keys.
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 CUA
585
- tests, quality checks, and pull request expectations.
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