Sign In Sign Up

GitHub repository ui-dojo exploration

tell me about https://github.com/mastra-ai/ui-dojo/tree/main use the librarian

The user wants me to use the librarian tool to learn about the GitHub repository https://github.com/mastra-ai/ui-dojo. This is a public GitHub repository, and the librarian is the right tool for exploring and understanding codebases on GitHub.

Librarian
Explain the architecture, purpose, and main features of the mastra-ai/ui-dojo repository. What does this project do, how is it structured, and what are the key components

UI Dojo is a Mastra showcase project that demonstrates integrations with three AI UI frameworks: AI SDK, Assistant UI, and CopilotKit.

Key highlights:

  • 11 agents (Ghibli, weather, routing, report generation, etc.)
  • 3 workflows (activities, order fulfillment, approval with suspend/resume)
  • 8 tools including weather, data analysis, and client-side tools
  • Advanced patterns: Generative UIs, agent networks, human-in-the-loop approval, streaming

The project lets you compare how different frameworks approach the same problems side-by-side—useful for learning Mastra integration patterns and choosing the right UI framework for your needs.

b34801fc tell me what we did here

The user wants me to read a thread to understand what was done there. I should use the read_thread tool to extract the information from that thread.

In that thread, we fixed a bug in the inspect_trace bash script where it couldn't parse the trace ID argument.

Problem: The script expected traceId=value format but Amp was passing traceId: value.

Fix: Updated the parsing logic in scripts/amp-toolbox/inspect_trace to handle both formats:

if [[ "$line" == traceId=* ]]; then
  TRACE_ID="${line#traceId=}"
elif [[ "$line" == "traceId: "* ]]; then
  TRACE_ID="${line#traceId: }"
fi

The tool now correctly parses trace IDs and returns trace details.

Handed off to T-daf20225-1c12-458d-b416-b0014c70a8ef

Instructions: "Handoff from parent thread"