How can I help you today?
AI can make mistakes. Please verify important information.
AG-UI Interactive Dojo
Integrations
Mastra
View
Preview
Code
Docs
Demos
Agentic Chat
Chat with your Copilot and call frontend tools
Chat
Tools
Streaming
Backend Tool Rendering
Render and stream your backend tools to the frontend.
Agent State
Collaborating
Human in the loop
Plan a task together and direct the Copilot to take the right steps
HITL
Interactivity
Interrupt (Suspend/Resume)
Agent suspends a tool mid-execution to ask the user, then resumes
HITL
Interactivity
Interrupt
Tool Based Generative UI
Haiku generator that uses tool based generative UI.
Generative ui (action)
Tools
Shared State between agent and UI
A recipe Copilot which reads and updates collaboratively
Agent State
Collaborating
Agentic Chat Reasoning
Chat with a reasoning Copilot and call frontend tools
Chat
Tools
Streaming
Reasoning
Agentic Chat Multimodal
Chat with a Copilot using images and other media
Chat
Multimodal
Streaming
A2UI Fixed Schema
Fixed-schema A2UI flight search with data-bound cards (no streaming)
A2UI
Generative UI
Fixed Schema
A2UI Dynamic Schema
Dynamic LLM-generated A2UI surfaces from conversation context
A2UI
Generative UI
Dynamic Schema
Streaming
Observational Memory
Watch Mastra Observational Memory observe and compress the conversation in the background, surfaced as a distinct activity.
Observational Memory
Activity
Memory
A2UI Error Recovery
Automatic A2UI error recovery — invalid surfaces are regenerated (no wipe), with a tasteful hard-failure fallback
A2UI
Error Recovery
Streaming