You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Agent uses a frontend tool to trigger rich generative UI inline in the chat
451
+
tags:
452
+
- generative-ui
453
+
route: /demos/gen-ui-tool-based
454
+
animated_preview_url:
455
+
highlight:
456
+
- src/app/demos/gen-ui-tool-based/page.tsx
457
+
- src/app/api/copilotkit/route.ts
458
+
- id: hitl
459
+
name: Human in the Loop (Step Selection)
460
+
description: Step-selection HITL surface rendered inline via `useHumanInTheLoop` (the LangGraph-specific `useLangGraphInterrupt` branch is a no-op on Mastra)
461
+
tags:
462
+
- interactivity
463
+
route: /demos/hitl
464
+
animated_preview_url:
465
+
highlight:
466
+
- src/app/demos/hitl/page.tsx
467
+
- src/app/api/copilotkit/route.ts
468
+
- id: hitl-in-chat-booking
469
+
name: In-Chat HITL (Booking)
470
+
description: Time-picker card rendered inline via useHumanInTheLoop for a booking flow (alias of hitl-in-chat)
471
+
tags:
472
+
- interactivity
473
+
route: /demos/hitl-in-chat
474
+
animated_preview_url:
475
+
highlight:
476
+
- src/app/demos/hitl-in-chat/page.tsx
477
+
- src/app/demos/hitl-in-chat/time-picker-card.tsx
478
+
- src/app/api/copilotkit/route.ts
479
+
- id: mcp-apps
480
+
name: MCP Apps
481
+
description: MCP server-driven UI rendered inline via the runtime's mcpApps config and the built-in activity renderer
482
+
tags:
483
+
- generative-ui
484
+
route: /demos/mcp-apps
485
+
animated_preview_url:
486
+
highlight:
487
+
- src/mastra/agents/index.ts
488
+
- src/app/demos/mcp-apps/page.tsx
489
+
- src/app/api/copilotkit-mcp-apps/route.ts
490
+
- id: tool-rendering-reasoning-chain
491
+
name: Tool Rendering + Reasoning Chain
492
+
description: Sequential tool calls rendered with per-tool components plus a reasoning chain rendered inline via a custom reasoningMessage slot
0 commit comments