Demos

236 results

Most Popular

LangGraph (Python)LangGraph Platform

CLI Start Command

Copy-paste command to clone the canonical starter

LangGraph (Python)LangGraph Platform

Pre-Built: CopilotChat

Vanilla CopilotChat with three starter-prompt suggestions — the minimum-viable surface for free-form chat

LangGraph (Python)LangGraph Platform

Chat Customization: CSS

Default CopilotChat re-themed via CopilotKitCSSProperties

LangGraph (Python)LangGraph Platform

Generative UI: Tool Rendering (Default)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

LangGraph (Python)LangGraph Platform

Generative UI: Tool Rendering (Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

LangGraph (Python)LangGraph Platform

Frontend Tools: In-app Actions

Agent invokes client-side handlers registered with useFrontendTool

LangGraph (Python)LangGraph Platform

Frontend Tools: Async

useFrontendTool with an async handler — agent awaits a client-side async operation (simulated notes DB query) and uses the returned result

LangGraph (Python)LangGraph Platform

Human In the Loop: In-chat

Time-slot picker rendered inline in the chat via `useHumanInTheLoop` — the agent requests user input, the frontend renders a TimePickerCard, and the user's choice resumes the agent.

LangGraph (Python)LangGraph Platform

Human in the Loop: In-app

Agent requests approval via useFrontendTool with an async handler; the approval UI pops up as an app-level modal OUTSIDE the chat, and a completion callback resolves the pending tool Promise with the user's decision

LangGraph (Python)LangGraph Platform

Generative UI: Tool Rendering (Custom)

Custom per-tool renderers (WeatherCard, FlightListCard) plus a wildcard catch-all for every other tool

LangGraph (Python)LangGraph Platform

Generative UI: Tool calls + reasoning

Per-tool renderers (WeatherCard, FlightListCard, custom catchall) interleaved with a reasoningMessage slot rendering the agent's reasoning tokens — combines reasoning-display + tool-rendering in one chat surface.

LangGraph (Python)LangGraph Platform

Generative UI: useComponent

Agent uses tools to trigger UI generation

LangGraph (Python)LangGraph Platform

Generative UI: Agent State

Agent-state-driven Gen UI — the agent plans a live step list via Command(update={steps}); the frontend subscribes through useAgent and renders the steps inside CopilotChat's messageView.children slot.

LangGraph (Python)LangGraph Platform

Shared State: Streaming

Per-token state delta streaming from agent to UI

LangGraph (Python)LangGraph Platform

Shared State: Read + Write

Bidirectional shared state — UI writes preferences via agent.setState; agent writes notes via a Command-returning tool

LangGraph (Python)LangGraph Platform

Shared State: Read-only

Recipe editor publishes form state via agent.setState; the agent reads the recipe context but does not mutate it (no backend tool — neutral default agent).

LangGraph (Python)LangGraph Platform

Sub-Agents

Multiple agents with visible task delegation

LangGraph (Python)LangGraph Platform

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

LangGraph (Python)LangGraph Platform

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

LangGraph (Python)LangGraph Platform

Chat Customization: Slots

Customize CopilotChat via its slot system

LangGraph (Python)LangGraph Platform

Headless UI: Simple

Minimum viable headless chat — useAgent + useCopilotKit dressed in shadcn/ui primitives. No tool rendering, no generative UI, just text in / text out.

LangGraph (Python)LangGraph Platform

Headless UI: Complete

Full headless surface — hand-rolled CopilotChat replacement that wires every render hook (useRenderTool, useDefaultRenderTool, useComponent, useRenderToolCall, useRenderActivityMessage, useSuggestions, useAttachments) on top of shadcn primitives.

LangGraph (Python)LangGraph Platform

Reasoning: Default

Built-in CopilotChatReasoningMessage rendering with no slot override.

LangGraph (Python)LangGraph Platform

Reasoning: Custom

Visible reasoning/thinking chain alongside the final answer

LangGraph (Python)LangGraph Platform

Human in the Loop: Interrupts

Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the LangGraph interrupt lifecycle

LangGraph (Python)LangGraph Platform

Human in the Loop: Headless Interrupts

Same interrupt(...) backend pattern as gen-ui-interrupt, but the time-picker mounts in a separate app-surface pane (left) instead of inline inside the chat — uses useHeadlessInterrupt (custom-event subscribe + manual runAgent forwardedProps.command.resume).

LangGraph (Python)LangGraph Platform

Declarative UI: Dynamic A2UI

Canonical A2UI BYOC — custom catalog (Card/StatusBadge/Metric/InfoRow/PrimaryButton) wired via a2ui.catalog on the provider

LangGraph (Python)LangGraph Platform

Declarative UI: Fixed A2UI

Render an A2UI tree from a fixed, server-side schema — the agent streams data into a pre-authored component tree

LangGraph (Python)LangGraph Platform

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. Backend-owned via get_a2ui_tools (injectA2UITool=false); reuses the declarative-gen-ui catalog.

LangGraph (Python)LangGraph Platform

MCP Apps

MCP server-driven UI via activity renderers

LangGraph (Python)LangGraph Platform

Shared State: Frontend Context

Frontend provides read-only context to the agent via useAgentContext

LangGraph (Python)LangGraph Platform

Declarative UI: json-render

Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)

LangGraph (Python)LangGraph Platform

Beautiful Chat

Canonical polished starter chat — brand fonts, theme tokens, suggestion pills

LangGraph (Python)LangGraph Platform

Attachments

Image and PDF uploads via CopilotChat attachments, processed by a vision-capable agent

LangGraph (Python)LangGraph Platform

Authentication

Bearer-token gate via runtime onRequest hook with unauthenticated / authenticated states

LangGraph (Python)LangGraph Platform

Declarative UI: Hashbrown

Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)

LangGraph (Python)LangGraph Platform

Open Generative UI: Default

Agent composes UI from a registered component library — distinct from Tool Rendering, which attaches a custom renderer to a *named* backend tool. Use Open Generative UI when you want the agent to assemble UI freely from a palette you control.

LangGraph (Python)LangGraph Platform

Open Generative UI: Custom

Same Open Generative UI surface, with the iframe-rendered components able to call back into frontend sandbox functions (e.g., a Calculator app whose buttons trigger handlers in the host page).

LangGraph (Python)LangGraph Platform

Voice

Speech-to-text via @copilotkit/voice with a bundled sample audio button

LangGraph (Python)LangGraph Platform

Agent Config Object

Forward a typed config object (tone / expertise / response length) from the provider to the agent's dynamic system prompt

LangGraph (TypeScript)LangGraph Platform

CLI Start Command

Copy-paste command to clone the canonical starter

LangGraph (TypeScript)LangGraph Platform

Pre-Built: CopilotChat

Natural conversation with frontend tool execution

LangGraph (TypeScript)LangGraph Platform

Human in the Loop: In-app

Agent requests approval via useFrontendTool with an async handler; the approval UI pops up as an app-level modal OUTSIDE the chat, and a completion callback resolves the pending tool Promise with the user's decision

LangGraph (TypeScript)LangGraph Platform

Human In the Loop: In-chat

Interactive approval/decision surface rendered inline in the chat via the high-level `useHumanInTheLoop` hook

LangGraph (TypeScript)LangGraph Platform

Generative UI: Tool Rendering (Custom)

Backend agent tools rendered as UI components

LangGraph (TypeScript)LangGraph Platform

Generative UI: useComponent

Agent uses tools to trigger UI generation

LangGraph (TypeScript)LangGraph Platform

Generative UI: Agent State

Long-running agent tasks with generated UI

LangGraph (TypeScript)LangGraph Platform

Shared State: Streaming

Per-token state delta streaming from agent to UI

LangGraph (TypeScript)LangGraph Platform

Shared State: Read + Write

Bidirectional shared state — UI writes preferences via agent.setState; agent writes notes via a Command-returning tool

LangGraph (TypeScript)LangGraph Platform

Shared State: Read-only

Recipe editor publishes form state via agent.setState; the agent reads the recipe context but does not mutate it (no backend tool — neutral default agent).

LangGraph (TypeScript)LangGraph Platform

Sub-Agents

Supervisor delegates to research / writing / critique sub-agents exposed as tools — each delegation appended to a live log in shared state

LangGraph (TypeScript)LangGraph Platform

Beautiful Chat

Canonical polished starter chat — brand fonts, theme tokens, suggestion pills

LangGraph (TypeScript)LangGraph Platform

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

LangGraph (TypeScript)LangGraph Platform

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

LangGraph (TypeScript)LangGraph Platform

Chat Customization: Slots

Customize CopilotChat via its slot system

LangGraph (TypeScript)LangGraph Platform

Chat Customization: CSS

Default CopilotChat re-themed via CopilotKitCSSProperties

LangGraph (TypeScript)LangGraph Platform

Headless UI: Simple

Minimal custom chat surface built on useAgent

LangGraph (TypeScript)LangGraph Platform

Headless UI: Complete

Full chat implementation built from scratch on useAgent

LangGraph (TypeScript)LangGraph Platform

Authentication

Bearer-token gate via runtime onRequest hook with unauthenticated / authenticated states

LangGraph (TypeScript)LangGraph Platform

Attachments

Image and PDF uploads via CopilotChat attachments, processed by a vision-capable agent

LangGraph (TypeScript)LangGraph Platform

Agent Config Object

Forward a typed config object (tone / expertise / response length) from the provider to the agent's dynamic system prompt

LangGraph (TypeScript)LangGraph Platform

Generative UI: Tool Rendering (Default)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

LangGraph (TypeScript)LangGraph Platform

Generative UI: Tool Rendering (Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

LangGraph (TypeScript)LangGraph Platform

Generative UI: Tool calls + reasoning

Sequential tool calls with reasoning tokens rendered side-by-side

LangGraph (TypeScript)LangGraph Platform

Reasoning: Custom

Visible reasoning/thinking chain alongside the final answer

LangGraph (TypeScript)LangGraph Platform

Reasoning: Default

Built-in CopilotChatReasoningMessage rendering with no slot override.

LangGraph (TypeScript)LangGraph Platform

Human in the Loop: Interrupts

Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the LangGraph interrupt lifecycle

LangGraph (TypeScript)LangGraph Platform

Human in the Loop: Headless Interrupts

Resolve langgraph interrupts from a plain button grid — no chat, no useInterrupt render prop

LangGraph (TypeScript)LangGraph Platform

Declarative UI: Dynamic A2UI

Canonical A2UI BYOC — custom catalog (Card/StatusBadge/Metric/InfoRow/PrimaryButton) wired via a2ui.catalog on the provider

LangGraph (TypeScript)LangGraph Platform

Declarative UI: Fixed A2UI

A2UI rendering against a known client-side schema

LangGraph (TypeScript)LangGraph Platform

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. Backend-owned via getA2UITools (injectA2UITool=false); reuses the declarative-gen-ui catalog.

LangGraph (TypeScript)LangGraph Platform

MCP Apps

MCP server-driven UI via activity renderers

LangGraph (TypeScript)LangGraph Platform

Frontend Tools: In-app Actions

Agent invokes client-side handlers registered with useFrontendTool

LangGraph (TypeScript)LangGraph Platform

Frontend Tools: Async

useFrontendTool with an async handler — agent awaits a client-side async operation (simulated notes DB query) and uses the returned result

LangGraph (TypeScript)LangGraph Platform

Shared State: Frontend Context

Frontend provides read-only context to the agent via useAgentContext

LangGraph (TypeScript)LangGraph Platform

Voice

Speech-to-text via @copilotkit/voice with a bundled sample audio button

LangGraph (TypeScript)LangGraph Platform

Declarative UI: Hashbrown

Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)

LangGraph (TypeScript)LangGraph Platform

Declarative UI: json-render

Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)

LangGraph (TypeScript)LangGraph Platform

Open Generative UI: Default

Agent generates UI from an arbitrary component library

LangGraph (TypeScript)LangGraph Platform

Open Generative UI: Custom

Agent-authored UI that can invoke frontend sandbox functions from inside the iframe

Agent Frameworks

Google ADKGoogle AI Studio

CLI Start Command

Copy-paste command to clone the canonical starter

Google ADKGoogle AI Studio

Pre-Built: CopilotChat

Vanilla CopilotChat with three starter-prompt suggestions — the minimum-viable surface for free-form chat

Google ADKGoogle AI Studio

Chat Customization (CSS)

Default CopilotChat re-themed via CopilotKitCSSProperties

Google ADKGoogle AI Studio

Tool Rendering (Default Catch-all)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

Google ADKGoogle AI Studio

Tool Rendering (Custom Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

Google ADKGoogle AI Studio

Frontend Tools (In-App Actions)

Agent invokes client-side handlers registered with useFrontendTool

Google ADKGoogle AI Studio

Frontend Tools (Async)

useFrontendTool with an async handler — agent awaits a client-side async operation and uses the returned result

Google ADKGoogle AI Studio

Human In the Loop: In-chat

Time-slot picker rendered inline in the chat via `useHumanInTheLoop` — the agent requests user input, the frontend renders a TimePickerCard, and the user's choice resumes the agent.

Google ADKGoogle AI Studio

MCP Apps

Runtime mcpApps config wires an Excalidraw MCP server; the built-in MCPAppsActivityRenderer renders the sandboxed iframe inline in the chat with no app-side renderer

Google ADKGoogle AI Studio

In-App Human in the Loop (Frontend Tools + async HITL)

Agent requests approval via a frontend tool with an async handler; the approval UI pops up as an app-level modal OUTSIDE the chat, and a completion callback resolves the pending tool Promise with the user's decision

Google ADKGoogle AI Studio

Human in the Loop: Interrupts

Interactive time-picker rendered inline in the chat. ADK has no LangGraph interrupt() primitive, so this uses the Strategy-B adaptation — the agent calls a frontend schedule_meeting tool (useHumanInTheLoop) whose Promise resolves only once the user picks a slot, giving the same inline-card UX as the LangGraph reference.

Google ADKGoogle AI Studio

Tool Rendering

Custom per-tool renderers (WeatherCard, FlightListCard) plus a wildcard catch-all for every other tool

Google ADKGoogle AI Studio

Tool-Based Generative UI

Agent uses tools to trigger UI generation

Google ADKGoogle AI Studio

Agentic Generative UI

Canonical agent-state-driven Gen UI — the agent plans a live step list and emits it via state["steps"]; the frontend renders it via useAgent

Google ADKGoogle AI Studio

Shared State: Read-only

Recipe editor publishes form state via agent.setState; the agent reads the recipe context but does not mutate it (no backend tool — neutral default agent).

Google ADKGoogle AI Studio

Shared State: Read + Write

Bidirectional shared state — UI writes preferences via agent.setState; agent writes notes via a Command-returning tool

Google ADKGoogle AI Studio

State Streaming

Per-token state delta streaming from agent to UI via PredictStateMapping

Google ADKGoogle AI Studio

Sub-Agents

Multiple agents with visible task delegation

Google ADKGoogle AI Studio

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

Google ADKGoogle AI Studio

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

Google ADKGoogle AI Studio

Chat Customization (Slots)

Customize CopilotChat via its slot system

Google ADKGoogle AI Studio

Headless Chat (Simple)

Minimal custom chat surface built on useAgent

Google ADKGoogle AI Studio

Headless Chat (Complete)

Full chat implementation built from scratch on useAgent

Google ADKGoogle AI Studio

Reasoning: Custom

Visible reasoning/thinking chain alongside the final answer (Gemini 3.1 thinking mode)

Google ADKGoogle AI Studio

Reasoning: Default

Built-in CopilotChatReasoningMessage rendering with no slot override.

Google ADKGoogle AI Studio

Declarative Generative UI (A2UI)

Canonical A2UI BYOC — custom catalog (Card/StatusBadge/Metric/InfoRow/PrimaryButton) wired via a2ui.catalog on the provider; the runtime injects the render_a2ui tool automatically (injectA2UITool=true) and the ag_ui_adk adapter auto-injects generate_a2ui

Google ADKGoogle AI Studio

Declarative Generative UI (A2UI — Fixed Schema)

A2UI rendering against a known client-side schema

Google ADKGoogle AI Studio

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. Backend-owned via get_a2ui_tool (injectA2UITool=false); reuses the declarative-gen-ui catalog. Also shipped for langgraph (python/fastapi/typescript) and strands (python/typescript).

Google ADKGoogle AI Studio

Readonly State (Agent Context)

Frontend provides read-only context to the agent via useAgentContext

Google ADKGoogle AI Studio

Tool Rendering + Reasoning Chain (testing)

Sequential tool calls with reasoning tokens rendered side-by-side

Google ADKGoogle AI Studio

Declarative UI: json-render

Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)

Google ADKGoogle AI Studio

Beautiful Chat

Canonical polished starter chat — brand fonts, theme tokens, suggestion pills

Google ADKGoogle AI Studio

Multimodal Attachments

Image and PDF uploads via CopilotChat attachments, processed by a Gemini multimodal agent

Google ADKGoogle AI Studio

Authentication

Bearer-token gate via runtime onRequest hook with unauthenticated / authenticated states

Google ADKGoogle AI Studio

Declarative UI: Hashbrown

Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)

Google ADKGoogle AI Studio

Fully Open-Ended Generative UI

Agent generates UI from an arbitrary component library

Google ADKGoogle AI Studio

Open-Ended Gen UI (Advanced: with frontend function calling)

Agent-authored UI that can invoke frontend sandbox functions from inside the iframe

Google ADKGoogle AI Studio

Voice Input

Speech-to-text via @copilotkit/voice with a bundled sample audio button

Google ADKGoogle AI Studio

Agent Config Object

Forward a typed config object (tone / expertise / response length) from the provider to the agent's dynamic system prompt

Emerging

LangGraph (FastAPI)LangGraph Platform

CLI Start Command

Copy-paste command to clone the canonical starter

LangGraph (FastAPI)LangGraph Platform

Agentic Chat

Natural conversation with frontend tool execution

LangGraph (FastAPI)LangGraph Platform

Tool Rendering

Backend agent tools rendered as UI components

LangGraph (FastAPI)LangGraph Platform

In-Chat Human in the Loop (Original)

User approves agent actions before execution

LangGraph (FastAPI)LangGraph Platform

Agentic Generative UI

Long-running agent tasks with generated UI

LangGraph (FastAPI)LangGraph Platform

Tool-Based Generative UI

Agent uses tools to trigger UI generation

LangGraph (FastAPI)LangGraph Platform

State Streaming

Per-token state delta streaming from agent to UI

LangGraph (FastAPI)LangGraph Platform

Shared State (Read + Write)

Bidirectional shared state — UI writes preferences, agent writes notes

LangGraph (FastAPI)LangGraph Platform

Sub-Agents

Multiple agents with visible task delegation

LangGraph (FastAPI)LangGraph Platform

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

LangGraph (FastAPI)LangGraph Platform

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

LangGraph (FastAPI)LangGraph Platform

Chat Customization (Slots)

Customize CopilotChat via its slot system

LangGraph (FastAPI)LangGraph Platform

Chat Customization (CSS)

Default CopilotChat re-themed via CopilotKitCSSProperties

LangGraph (FastAPI)LangGraph Platform

Beautiful Chat

Canonical polished starter chat — brand fonts, theme tokens, suggestion pills

LangGraph (FastAPI)LangGraph Platform

Headless Chat (Simple)

Minimal custom chat surface built on useAgent

LangGraph (FastAPI)LangGraph Platform

Headless Chat (Complete)

Full chat implementation built from scratch on useAgent

LangGraph (FastAPI)LangGraph Platform

Authentication

Bearer-token gate via runtime onRequest hook with unauthenticated / authenticated states

LangGraph (FastAPI)LangGraph Platform

Multimodal Attachments

Image and PDF uploads via CopilotChat attachments, processed by a vision-capable agent

LangGraph (FastAPI)LangGraph Platform

Agent Config Object

Forward a typed config object (tone / expertise / response length) from the provider to the agent's dynamic system prompt

LangGraph (FastAPI)LangGraph Platform

Tool Rendering (Default Catch-all)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

LangGraph (FastAPI)LangGraph Platform

Tool Rendering (Custom Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

LangGraph (FastAPI)LangGraph Platform

Tool Rendering + Reasoning Chain (testing)

Sequential tool calls with reasoning tokens rendered side-by-side

LangGraph (FastAPI)LangGraph Platform

In-Chat HITL (useInterrupt — low-level primitive)

Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the LangGraph interrupt lifecycle

LangGraph (FastAPI)LangGraph Platform

Headless Interrupt (testing)

Resolve langgraph interrupts from a plain button grid — no chat, no useInterrupt render prop

LangGraph (FastAPI)LangGraph Platform

Declarative Generative UI (A2UI)

Canonical A2UI BYOC — custom catalog (Card/StatusBadge/Metric/InfoRow/PrimaryButton) wired via a2ui.catalog on the provider

LangGraph (FastAPI)LangGraph Platform

Declarative Generative UI (A2UI — Fixed Schema)

A2UI rendering against a known client-side schema

LangGraph (FastAPI)LangGraph Platform

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. Backend-owned via get_a2ui_tools (injectA2UITool=false); reuses the declarative-gen-ui catalog.

LangGraph (FastAPI)LangGraph Platform

MCP Apps

MCP server-driven UI via activity renderers

LangGraph (FastAPI)LangGraph Platform

Frontend Tools (In-App Actions)

Agent invokes client-side handlers registered with useFrontendTool

LangGraph (FastAPI)LangGraph Platform

Frontend Tools (Async)

useFrontendTool with an async handler — agent awaits a client-side async operation (simulated notes DB query) and uses the returned result

LangGraph (FastAPI)LangGraph Platform

In-App Human in the Loop (Frontend Tools + async HITL)

Agent requests approval via useFrontendTool with an async handler; the approval UI pops up as an app-level modal OUTSIDE the chat, and a completion callback resolves the pending tool Promise with the user's decision

LangGraph (FastAPI)LangGraph Platform

In-Chat HITL (useHumanInTheLoop — ergonomic API)

Interactive approval/decision surface rendered inline in the chat via the high-level `useHumanInTheLoop` hook

LangGraph (FastAPI)LangGraph Platform

In-Chat HITL (Booking)

Time-picker card rendered inline via useHumanInTheLoop for a booking flow

LangGraph (FastAPI)LangGraph Platform

Readonly State (Agent Context)

Frontend provides read-only context to the agent via useAgentContext

LangGraph (FastAPI)LangGraph Platform

Voice Input

Speech-to-text via @copilotkit/voice with a bundled sample audio button

LangGraph (FastAPI)LangGraph Platform

Fully Open-Ended Generative UI

Agent generates UI from an arbitrary component library

LangGraph (FastAPI)LangGraph Platform

Open-Ended Gen UI (Advanced: with frontend function calling)

Agent-authored UI that can invoke frontend sandbox functions from inside the iframe

AWS Strands (Python)AWS Bedrock AgentCore

CLI Start Command

Copy-paste command to clone the canonical starter

AWS Strands (Python)AWS Bedrock AgentCore

Agentic Chat

Natural conversation with frontend tool execution

AWS Strands (Python)AWS Bedrock AgentCore

Chat Customization (CSS)

Default CopilotChat re-themed via CopilotKitCSSProperties

AWS Strands (Python)AWS Bedrock AgentCore

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

AWS Strands (Python)AWS Bedrock AgentCore

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

AWS Strands (Python)AWS Bedrock AgentCore

Chat Customization (Slots)

Customize CopilotChat via its slot system

AWS Strands (Python)AWS Bedrock AgentCore

Headless Chat (Simple)

Minimal custom chat surface built on useAgent

AWS Strands (Python)AWS Bedrock AgentCore

Headless Chat (Complete)

Full chat implementation built from scratch on useAgent

AWS Strands (Python)AWS Bedrock AgentCore

Frontend Tools (In-App Actions)

Agent invokes client-side handlers registered with useFrontendTool

AWS Strands (Python)AWS Bedrock AgentCore

Frontend Tools (Async)

useFrontendTool with an async handler

AWS Strands (Python)AWS Bedrock AgentCore

In-Chat HITL (useHumanInTheLoop)

Inline approval/decision surface via the ergonomic useHumanInTheLoop hook

AWS Strands (Python)AWS Bedrock AgentCore

In-Chat HITL (Booking)

Time-picker card rendered inline via useHumanInTheLoop for a booking flow

AWS Strands (Python)AWS Bedrock AgentCore

In-App Human in the Loop

Agent requests approval via async useFrontendTool; UI pops as an app-level modal

AWS Strands (Python)AWS Bedrock AgentCore

In-Chat HITL (Steps)

Agent pauses for user approval via step-based human-in-the-loop

AWS Strands (Python)AWS Bedrock AgentCore

Tool Rendering

Custom render for tool calls inline in the chat stream

AWS Strands (Python)AWS Bedrock AgentCore

Tool Rendering (Default Catch-all)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

AWS Strands (Python)AWS Bedrock AgentCore

Tool Rendering (Custom Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

AWS Strands (Python)AWS Bedrock AgentCore

Tool Rendering + Reasoning Chain

Sequential tool calls with reasoning tokens rendered side-by-side

AWS Strands (Python)AWS Bedrock AgentCore

Agentic Generative UI

Long-running agent tasks with generated UI

AWS Strands (Python)AWS Bedrock AgentCore

Tool-Based Generative UI

Agent uses tools to trigger UI generation

AWS Strands (Python)AWS Bedrock AgentCore

Declarative Generative UI (A2UI)

Dynamic A2UI BYOC via a custom catalog

AWS Strands (Python)AWS Bedrock AgentCore

Declarative Generative UI (A2UI — Fixed Schema)

A2UI rendering against a known client-side schema

AWS Strands (Python)AWS Bedrock AgentCore

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. The Strands adapter runs the recovery loop on its auto-inject path; reuses the declarative-gen-ui catalog.

AWS Strands (Python)AWS Bedrock AgentCore

Shared State (Read + Write)

Bidirectional agent state — UI writes preferences, agent writes notes back

AWS Strands (Python)AWS Bedrock AgentCore

Shared State: Read-only

Recipe editor publishes form state via agent.setState; the agent reads the recipe context but does not mutate it (no backend tool — neutral default agent).

AWS Strands (Python)AWS Bedrock AgentCore

Sub-Agents

Multiple agents with visible task delegation

AWS Strands (Python)AWS Bedrock AgentCore

State Streaming

Per-token state delta streaming from agent to UI

AWS Strands (Python)AWS Bedrock AgentCore

Readonly State (Agent Context)

Frontend provides read-only context to the agent via useAgentContext

AWS Strands (Python)AWS Bedrock AgentCore

Multimodal Attachments

Image and PDF uploads via CopilotChat attachments

AWS Strands (Python)AWS Bedrock AgentCore

Voice Input

Speech-to-text via @copilotkit/voice with a bundled sample audio button

AWS Strands (Python)AWS Bedrock AgentCore

Authentication

Bearer-token gate via runtime onRequest hook

AWS Strands (Python)AWS Bedrock AgentCore

Agent Config Object

Forward a typed config object (tone / expertise / response length) from provider to agent

AWS Strands (Python)AWS Bedrock AgentCore

Declarative UI: Hashbrown

Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)

AWS Strands (Python)AWS Bedrock AgentCore

Declarative UI: json-render

Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)

AWS Strands (Python)AWS Bedrock AgentCore

Open Generative UI (Minimal)

Agent-authored HTML/CSS/SVG in a sandboxed iframe, minimal variant

AWS Strands (Python)AWS Bedrock AgentCore

Open Generative UI (Advanced)

Sandboxed iframe that invokes host-registered sandbox functions via Websandbox.connection.remote

AWS Strands (Python)AWS Bedrock AgentCore

MCP Apps

MCP server-driven UI via activity renderers

AWS Strands (Python)AWS Bedrock AgentCore

Beautiful Chat

Polished landing-style chat surface with brand theming and suggestion pills

AWS Strands (Python)AWS Bedrock AgentCore

In-Chat HITL (useInterrupt — low-level primitive)

Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the interrupt lifecycle

AWS Strands (Python)AWS Bedrock AgentCore

Headless Interrupt (testing)

Resolve interrupts from a plain button grid — no chat, no useInterrupt render prop

AWS Strands (TypeScript)AWS Bedrock AgentCore

CLI Start Command

Copy-paste command to clone the canonical starter

AWS Strands (TypeScript)AWS Bedrock AgentCore

Agentic Chat

Natural conversation with frontend tool execution

AWS Strands (TypeScript)AWS Bedrock AgentCore

Chat Customization (CSS)

Default CopilotChat re-themed via CopilotKitCSSProperties

AWS Strands (TypeScript)AWS Bedrock AgentCore

Pre-Built: Sidebar

Docked sidebar chat via <CopilotSidebar />

AWS Strands (TypeScript)AWS Bedrock AgentCore

Pre-Built: Popup

Floating popup chat via <CopilotPopup />

AWS Strands (TypeScript)AWS Bedrock AgentCore

Chat Customization (Slots)

Customize CopilotChat via its slot system

AWS Strands (TypeScript)AWS Bedrock AgentCore

Headless Chat (Simple)

Minimal custom chat surface built on useAgent

AWS Strands (TypeScript)AWS Bedrock AgentCore

Headless Chat (Complete)

Full chat implementation built from scratch on useAgent

AWS Strands (TypeScript)AWS Bedrock AgentCore

Frontend Tools (In-App Actions)

Agent invokes client-side handlers registered with useFrontendTool

AWS Strands (TypeScript)AWS Bedrock AgentCore

Frontend Tools (Async)

useFrontendTool with an async handler

AWS Strands (TypeScript)AWS Bedrock AgentCore

In-Chat HITL (useHumanInTheLoop)

Inline approval/decision surface via the ergonomic useHumanInTheLoop hook

AWS Strands (TypeScript)AWS Bedrock AgentCore

In-Chat HITL (Booking)

Time-picker card rendered inline via useHumanInTheLoop for a booking flow

AWS Strands (TypeScript)AWS Bedrock AgentCore

In-App Human in the Loop

Agent requests approval via async useFrontendTool; UI pops as an app-level modal

AWS Strands (TypeScript)AWS Bedrock AgentCore

In-Chat HITL (Steps)

Agent pauses for user approval via step-based human-in-the-loop

AWS Strands (TypeScript)AWS Bedrock AgentCore

Tool Rendering

Custom render for tool calls inline in the chat stream

AWS Strands (TypeScript)AWS Bedrock AgentCore

Tool Rendering (Default Catch-all)

Out-of-the-box tool rendering — backend defines the tools; the frontend adds zero custom renderers and relies on CopilotKit's built-in default UI

AWS Strands (TypeScript)AWS Bedrock AgentCore

Tool Rendering (Custom Catch-all)

Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call

AWS Strands (TypeScript)AWS Bedrock AgentCore

Tool Rendering + Reasoning Chain

Sequential tool calls with reasoning tokens rendered side-by-side

AWS Strands (TypeScript)AWS Bedrock AgentCore

Agentic Generative UI

Long-running agent tasks with generated UI

AWS Strands (TypeScript)AWS Bedrock AgentCore

Tool-Based Generative UI

Agent uses tools to trigger UI generation

AWS Strands (TypeScript)AWS Bedrock AgentCore

Declarative Generative UI (A2UI)

Dynamic A2UI BYOC via a custom catalog

AWS Strands (TypeScript)AWS Bedrock AgentCore

Declarative Generative UI (A2UI — Fixed Schema)

A2UI rendering against a known client-side schema

AWS Strands (TypeScript)AWS Bedrock AgentCore

A2UI Error Recovery

Makes the A2UI validate->retry recovery loop visible — an invalid first render heals to a valid one, and an always-invalid render shows a graceful recovery-exhausted fallback. The Strands adapter runs the recovery loop on its auto-inject path; reuses the declarative-gen-ui catalog.

AWS Strands (TypeScript)AWS Bedrock AgentCore

Shared State (Read + Write)

Bidirectional agent state — UI writes preferences, agent writes notes back

AWS Strands (TypeScript)AWS Bedrock AgentCore

Shared State: Read-only

Recipe editor publishes form state via agent.setState; the agent reads the recipe context but does not mutate it (no backend tool — neutral default agent).

AWS Strands (TypeScript)AWS Bedrock AgentCore

Sub-Agents

Multiple agents with visible task delegation

AWS Strands (TypeScript)AWS Bedrock AgentCore

State Streaming

Per-token state delta streaming from agent to UI

AWS Strands (TypeScript)AWS Bedrock AgentCore

Readonly State (Agent Context)

Frontend provides read-only context to the agent via useAgentContext

AWS Strands (TypeScript)AWS Bedrock AgentCore

Multimodal Attachments

Image and PDF uploads via CopilotChat attachments

AWS Strands (TypeScript)AWS Bedrock AgentCore

Voice Input

Speech-to-text via @copilotkit/voice with a bundled sample audio button

AWS Strands (TypeScript)AWS Bedrock AgentCore

Authentication

Bearer-token gate via runtime onRequest hook

AWS Strands (TypeScript)AWS Bedrock AgentCore

Agent Config Object

Forward a typed config object (tone / expertise / response length) from provider to agent

AWS Strands (TypeScript)AWS Bedrock AgentCore

Declarative UI: Hashbrown

Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)

AWS Strands (TypeScript)AWS Bedrock AgentCore

Declarative UI: json-render

Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)

AWS Strands (TypeScript)AWS Bedrock AgentCore

Open Generative UI (Minimal)

Agent-authored HTML/CSS/SVG in a sandboxed iframe, minimal variant

AWS Strands (TypeScript)AWS Bedrock AgentCore

Open Generative UI (Advanced)

Sandboxed iframe that invokes host-registered sandbox functions via Websandbox.connection.remote

AWS Strands (TypeScript)AWS Bedrock AgentCore

MCP Apps

MCP server-driven UI via activity renderers

AWS Strands (TypeScript)AWS Bedrock AgentCore

Beautiful Chat

Polished landing-style chat surface with brand theming and suggestion pills

AWS Strands (TypeScript)AWS Bedrock AgentCore

In-Chat HITL (useInterrupt — low-level primitive)

Interactive component rendered inline in the chat via the lower-level `useInterrupt` primitive — direct control over the interrupt lifecycle

AWS Strands (TypeScript)AWS Bedrock AgentCore

Headless Interrupt (testing)

Resolve interrupts from a plain button grid — no chat, no useInterrupt render prop

62a46840e
CopilotKit Showcase