{
  "title": "AI Agent Debugger",
  "video_id": "2RC13FFo1rQ",
  "published": "2026-02-09T20:29:58+0000",
  "complexity": "Normal",
  "old_url": "https://workflows-of-ai.com/workflow/ai-agent-debugger",
  "description": "AI Agents Debugger for Drupal: inspect ReACT agent loops, tool calls and sub-agents, spoof tokens, and export or import runs.",
  "subtitle": "See every input, output, tool call and sub-agent conversation in a ReACT agent run, and ask an agent to help you fix it.",
  "summary": "The AI Agents Debugger replaces the AI Agents Explorer for ReACT agents and shows each loop, prompt, tool call and sub-agent with timings. With the AI Handler Agent installed you can discuss a run with an agent that can also change the agent's system prompt. Marcus also shows token spoofing, run export and import, and the roadmap with step-through debugging and spoofed tool output.",
  "categories": [
    "Drupal AI",
    "Agents"
  ],
  "intro_html": "<p>In this live session, I’m introducing the new AI Agents Debugger, a purpose-built debugging experience designed specifically for ReACT agents in Drupal AI.</p><p>The existing AI Agents Explorer was originally built for older, workflow-based coded agents. When ReACT agents were introduced in AI Agents 1.1, debugging support was added, but it was always a workaround. This new debugger is a clean break from that approach and is built from the ground up for how ReACT agents actually work.</p><p>In this video, you’ll see:<br />Full visibility into agent inputs and outputs<br />How to view conversations between agents and subagents<br />How to export and import agent runs for debugging across environments<br />How you can discuss a run with an agent itself<br />How to start debugging by selecting an agent and clicking Debug</p><p>The module is currently available in beta, with a production-ready release coming soon. It’s also designed to carry forward into AI 2.0.</p><p>If you’re building or debugging AI agents in Drupal, this tool is meant to make that process clearer, faster, and far more transparent.</p><p>AI Agents Debugger: <a href=\"https://www.drupal.org/project/ai_agents_debugger\">https://www.drupal.org/project/ai_agents_debugger</a><br />AI Handler Agent: <a href=\"https://www.drupal.org/project/ai_agent_agent\">https://www.drupal.org/project/ai_agent_agent</a></p>",
  "intro_added": false,
  "chapters": [
    "0:00 What the debugger shows",
    "1:48 Why the Explorer was not enough",
    "3:03 Beta status and step-through plans",
    "4:02 Built with AI coding agents",
    "4:56 Starting a debug run",
    "9:34 Discussing a run with an agent",
    "11:06 Loops and the chat view",
    "12:07 Spoofing tokens and exporting runs",
    "14:38 Roadmap and spoofed tool output"
  ],
  "corrections": [
    [
      "FR Give",
      "FreelyGive"
    ],
    [
      "Drupal NAI",
      "Drupal AI"
    ],
    [
      "Drupal CMSS",
      "Drupal CMS"
    ],
    [
      "Codeex",
      "Codex"
    ],
    [
      "react agents",
      "ReACT agents"
    ]
  ],
  "ai_note": "The video and the introduction are Marcus's own, first published on workflows-of-ai.com. AI wrote the subtitle, the summary and the video chapters from the transcript, and corrected misheard names in YouTube's automatic captions."
}