Chat Components
Customizable, drop-in components for building AI-powered chat interfaces
This feature (agentic-chat) hasn't been tagged in any MS Agent Harness (.NET) cell yet. Try CopilotKit's Built-in Agent, LangGraph (Python), LangGraph (TypeScript).
Pre-built components for agentic chat#
CopilotKit's chat components give you a fully functional, customizable AI chat interface out of the box. They handle streaming, generative UI, and deep customization so you can focus on your agent's behavior, not UI plumbing.
What it looks like in code#
The live agentic-chat cell above is built from a single, small page. Wrap your UI in <CopilotKit> once (it wires the runtime, session, and agent registry) and drop <CopilotChat> wherever the chat should go:
ms-agent-harness-dotnet::agentic-chat. Known demos are bundled from manifest demos[i]; check the cell id and framework slug.Inside the chat, the useConfigureSuggestions hook lets you show contextual
starter prompts. The example below uses it to seed a simple "Write a sonnet"
suggestion:
ms-agent-harness-dotnet::agentic-chat. Known demos are bundled from manifest demos[i]; check the cell id and framework slug.