Agentic Chat Natural conversation with frontend tool execution
chat-ui
In-Chat Human in the Loop (Original) User approves agent actions before execution
interactivity
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
interactivity
In-Chat HITL (useHumanInTheLoop — ergonomic API) Interactive approval/decision surface rendered inline in the chat via the high-level `useHumanInTheLoop` hook
interactivity
In-Chat HITL (Booking) Time-picker card rendered inline via useHumanInTheLoop for a booking flow
interactivity
Tool Rendering Backend agent tools rendered as UI components
agent-capabilities
Tool-Based Generative UI Agent uses tools to trigger UI generation
generative-ui
Agentic Generative UI Long-running agent tasks with generated UI
generative-ui
State Streaming Per-token state delta streaming from agent to UI
agent-state
Shared State (Read + Write) Bidirectional shared state — UI writes preferences via agent.setState; agent writes notes via a Command-returning tool
agent-state
Sub-Agents Supervisor delegates to research / writing / critique sub-agents exposed as tools — each delegation appended to a live log in shared state
agent-capabilities
Beautiful Chat Canonical polished starter chat — brand fonts, theme tokens, suggestion pills
chat-ui
Pre-Built: Sidebar Docked sidebar chat via <CopilotSidebar />
chat-ui
Pre-Built: Popup Floating popup chat via <CopilotPopup />
chat-ui
Chat Customization (Slots) Customize CopilotChat via its slot system
chat-ui
Chat Customization (CSS) Default CopilotChat re-themed via CopilotKitCSSProperties
chat-ui
Headless Chat (Simple) Minimal custom chat surface built on useAgent
chat-ui
Headless Chat (Complete) Full chat implementation built from scratch on useAgent
chat-ui
Authentication Bearer-token gate via runtime onRequest hook with unauthenticated / authenticated states
chat-ui
Multimodal Attachments Image and PDF uploads via CopilotChat attachments, processed by a vision-capable agent
chat-ui
Agent Config Object Forward a typed config object (tone / expertise / response length) from the provider to the agent's dynamic system prompt
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
generative-ui
Tool Rendering (Custom Catch-all) Single branded wildcard renderer via useDefaultRenderTool — the same app-designed card paints every tool call
generative-ui
Tool Rendering + Reasoning Chain (testing) Sequential tool calls with reasoning tokens rendered side-by-side
generative-ui
Reasoning Visible reasoning/thinking chain alongside the final answer
generative-ui
Reasoning (Default Render) Built-in CopilotChatReasoningMessage renders without a custom slot
generative-ui
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
generative-ui
Headless Interrupt (testing) Resolve langgraph interrupts from a plain button grid — no chat, no useInterrupt render prop
interactivity
Declarative Generative UI (A2UI) Canonical A2UI BYOC — custom catalog (Card/StatusBadge/Metric/InfoRow/PrimaryButton) wired via a2ui.catalog on the provider; backend agent owns the generate_a2ui tool
generative-ui
Declarative Generative UI (A2UI — Fixed Schema) A2UI rendering against a known client-side schema
generative-ui
MCP Apps MCP server-driven UI via activity renderers
generative-ui
Frontend Tools (In-App Actions) Agent invokes client-side handlers registered with useFrontendTool
interactivity
Frontend Tools (Async) useFrontendTool with an async handler — agent awaits a client-side async operation (simulated notes DB query) and uses the returned result
interactivity
Readonly State (Agent Context) Frontend provides read-only context to the agent via useAgentContext
agent-state
Voice Input Speech-to-text via @copilotkit/voice with a bundled sample audio button
chat-ui
BYOC Hashbrown Streaming structured output via @hashbrownai/react, rendering a sales dashboard catalog (MetricCard + PieChart + BarChart)
generative-ui
BYOC json-render Streaming hierarchical JSON UI spec rendered via @json-render/react, with a Zod-validated catalog (MetricCard + PieChart + BarChart)
generative-ui
Fully Open-Ended Generative UI Agent generates UI from an arbitrary component library
generative-ui
Open-Ended Gen UI (Advanced: with frontend function calling) Agent-authored UI that can invoke frontend sandbox functions from inside the iframe
generative-ui