The simplest CopilotKit surface: a plain agentic chat backed by a LangGraph (Python) agent.
- Natural Conversation: Chat with your Copilot in a familiar chat interface
- Streaming Responses: Assistant messages stream in token-by-token via AG-UI
- Suggestion Chips: A starter suggestion is rendered as a quick-action chip
Click the suggestion chip, or type your own prompt. For example:
- "Write a short sonnet about AI"
- "Explain the difference between an LLM and an agent"
- "Give me three ideas for a weekend project"
Provider — CopilotKit wires the page to the runtime:
runtimeUrl="/api/copilotkit"points at the Next.js route that proxies to the agentagent="agentic_chat"selects the LangGraph agent defined inlanggraph.json
Chat surface — CopilotChat renders the full chat UI with input, message list, and streaming.
Suggestions — useConfigureSuggestions registers a static suggestion that appears as a clickable chip below the chat input.