Urgent.News

What's breaking now, across thousands of outlets.

Tech

Debugging an Angular Agent UI with AG-UI DevTools

Learn how to debug an agent UI with AG-UI DevTools, a Chrome DevTools panel for AG-UI and LangGraph event streams. Introducing AG-UI DevTools When an agent run misbehaves, the Network panel shows you an opaque text/event-stream . And console.log only shows you what your app thinks happened. AG-UI DevTools shows you the wire. It captures, decodes, and validates every event in a run, and it lays…

Debugging an Angular Agent UI with AG-UI DevTools involves installing the Chrome DevTools panel for AG-UI and LangGraph event streams. Once installed, you can use the panel to capture, decode, and validate every event in a run, providing a visual representation of the wire. The panel supports Threadplane 0.3.4 and later versions, offering additional features like reporting which signals each event wrote and allowing script execution for the agent's next run.

The panel includes several tabs, such as Timeline, Runs, Messages, State, UI, and Signals, each with specific functionality. The Timeline tab shows each run, with bars representing messages, tool calls, and steps. The Runs tab displays a table with information about each run, including thread, agent, outcome, duration, time to first token (TTFT), event count, and issue count.

The Messages tab reconstructs the conversation from the stream, while the State tab replays state shared between the agent and UI. The UI tab provides a component tree for generative UI, and the Signals tab shows which signals each event wrote, helping identify issues in the conversation.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I shipped 174 pages across 7 languages. Two were silently broken.

Started this as an SEO task. Turned into about six hours of debugging that I want to write down before I forget the details. The setup A SaaS site with a service catalog.

  • Reporter shipped 174 pages across 7 languages for SEO task
  • Two pages silently broken due to hreflang cluster issue
  • Arabic version lacked dir= rtl attribute causing text orientation issue

More from Sunday 8 November →