Advanced AI UI patterns in UI Dojo
mainThe project demonstrates several advanced patterns for building agentic interfaces:
- Generative UIs: Building custom UI components that render in response to tool calls. See
src/pages/ai-sdk/generative-user-interfaces.tsx. - Workflows: Implementing multi-step AI workflows with streaming and suspend/resume capabilities (Human in the Loop). See
src/pages/ai-sdk/workflow.tsxandsrc/pages/ai-sdk/workflow-suspend-resume.tsx. - Agent Networks: Coordinating multiple AI agents (e.g., via a routing agent). See
src/pages/ai-sdk/network.tsx. - Custom Events: Handling custom events within Generative UIs, Agent Networks, and Sub-agents/Workflows. See files in
src/pages/ai-sdk/with-custom-eventssuffix. - Client Tools: Using Mastra's Client SDK with different frameworks. See
src/pages/client-tools/.