Back
By Nathan Tarbert and Eli Berman
September 10, 2025

Introducing the AG-UI Dojo: A Learning Tool to Help You Ship Faster

Building AI agent frontends? You've probably hit the usual roadblocks-streaming updates that break, state bugs that make no sense, tool calls that require way too much setup.

The AG-UI Dojo fixes that problem. It's a collection of working examples you can actually visualize and use.

What Makes Up the Dojo?

We built this with three parts:

  • Preview: Run the demo. See how it actually behaves.
  • Code: Check out the implementation. No hunting through repos.
  • Docs: Official specs and guides, right next to the code.

You can visualize it, understand it, and then use it.Our goal was to make it simple for developers who just want to see something working fast.

What the Demos Cover

Six core features, in its own "hello world" style examples:

  • Agentic Chat: Streaming chat with tool hooks built in
  • Human-in-the-Loop: Agent planning that waits for user input
  • Agentic Generative UI: Long tasks with UI that updates as you go
  • Tool-Based Generative UI: A haiku generator that renders images nicely in the chat
  • Shared State: Agent and UI stay perfectly synced
  • Predictive State Updates: Real-time collaboration with the agent

Each demo shows one building block. Put them together and you get real agent apps.

A Learning Tool

The Dojo works as both a learning tool and a debugging resource. Our documentation calls it "learning-first" - you walk through each capability and see the code that makes it work.

It's also your implementation checklist for building new integrations. Run through the demos and you'll know your AG-UI setup handles everything properly.

Common problems-event ordering, payload issues, and state sync bugs.

You can troubleshoot all of that here before you ship.

Faster Development

Three things:

  1. Faster learning - see the code working, not just sitting in documentation
  2. Less complexity - bite-sized demos instead of overwhelming examples
  3. Better debugging - validate your setup before production

Getting Started

Try the Dojo. Click through the previews, check the code tabs, and read the docs.

Use it when you're building your own agent UIs. These demos work as reference implementations and testing grounds for your integration. Check out the Dojo source code here.

We’d love to know how this tool has helped your team. Reach out and book a meeting, as we take your feedback seriously.

Want to learn more?

Happy Building!

Top posts

See All
Master the 17 AG-UI Event Types for Building Agents the Right Way
Anmol Baranwal and Nathan TarbertNovember 3, 2025
Master the 17 AG-UI Event Types for Building Agents the Right WayAgent-User Interaction Protocol (AG-UI) is quickly becoming the standard for connecting agents with user interfaces. It gives you a clean event stream to keep the UI in sync with what the agent is doing. All the communication is broken into typed events. I have been digging into the Protocol, especially around those core event types, to understand how everything fits together. Here’s what I picked up and why it matters.
AG-UI Is Redefining the Agent–User Interaction Layer
Nathan Tarbert October 30, 2025
AG-UI Is Redefining the Agent–User Interaction LayerThe AG-UI Protocol continues to surge — and with it, a new standard is forming across the agentic landscape.AG-UI isn’t just another SDK. It’s the open protocol for agent-user communication, enabling real-time collaboration between humans and agents across any app, platform, or framework. What started as a developer-driven initiative inside the CopilotKit ecosystem has grown into an open-source movement — now being adopted, extended, and accelerated by leaders across the industry.
How to Make Agents Talk to Each Other (and Your App) Using A2A + AG-UI
Bonnie and Nathan TarbertOctober 9, 2025
How to Make Agents Talk to Each Other (and Your App) Using A2A + AG-UIIn this guide, you will learn how to build full-stack Agent-to-Agent(A2A) communication between AI agents from different AI agent frameworks using A2A Protocol, AG-UI Protocol, and CopilotKit.Before we jump in, here is what we will cover: What is the A2A Protocol? Setting up A2A multi-agent communication using the CLI, Integrating AI agents from different agent frameworks with the A2A protocolBuilding a frontend for the AG-UI and A2A multi-agent communication using CopilotKit.
Are you ready?

Stay in the know

Subscribe to our blog and get updates on CopilotKit in your inbox.