CopilotKit
The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Protocol
Explore CopilotKit integration with Next.js App Router versus Pages Router for SSR. Learn how to implement secure server-side rendering without exposing API keys.
How to Use Wildcard Tool Calls for Dynamic Tool Invocation in CopilotKitLearn how to use wildcard tool calls in CopilotKit for dynamic tool invocation. Master fallback UI rendering with defineToolCallRenderer to handle unknown tools seamlessly.
How to Implement Custom UI Components for Tool Calls in CopilotKitLearn to implement custom UI components for tool calls in CopilotKit. Discover how useRenderTool and useDefaultRenderTool manage typed props and execution states for flexible integrations.
How to Set Up Telemetry and Observability for CopilotKit Agent PerformanceEasily set up telemetry and observability for CopilotKit agent performance. Gain insights into metrics with the built-in TelemetryClient without affecting stability.
How to Use AgentRegistry for Dynamic Agent Registration in CopilotKitLearn how to use CopilotKit AgentRegistry to dynamically register AI agents at runtime. Add, replace, or remove agents without rebuilding your application.
How to Handle Attachment Rendering and File Uploads in CopilotKit MessagesLearn to handle file uploads and attachment rendering in CopilotKit messages. Use the useAttachments hook for validation and custom workflows, and AttachmentChip for UI.
How to Handle Agent Errors and Implement Error Boundaries in CopilotKit Chat UILearn to handle agent errors in CopilotKit chat UI using CopilotErrorBoundary and CopilotKitErrorBridge. Automatically catch failures log them and display usage banners. Maintain a single subscription to error events across you...
How to Implement Voice Input and Transcription with CopilotChatAudioRecorderImplement voice input and transcription easily using CopilotChatAudioRecorder. This component records audio, visualizes input, and converts speech to text with the runtime's transcription service. Get started now!
How to Use CopilotRuntime with Express, Hono, or Node.jsLearn how to use CopilotRuntime with Express, Hono, or Node.js HTTP servers. CopilotKit adapters enable seamless integration for identical capabilities across any Node.js environment.
How to Secure CopilotKit Endpoints with Authentication and AuthorizationSecure your CopilotKit endpoints using authentication and authorization. Implement API keys, JWT, or OAuth with the onRequest hook for robust security.
CopilotKit v1 to v2 Migration Guide: Breaking Changes & Upgrade StepsMigrate CopilotKit v1 to v2 seamlessly. Discover breaking changes and follow clear upgrade steps for the new agent-centric model. Upgrade your AI copilots today.
How to Manage Conversation Threads and Context with CopilotKit StoresLearn to manage conversation threads and context with CopilotKit stores. Separate state from UI using ThreadStore and ContextStore for seamless persistence and agent data management.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →