✓ Verified
💻 Development
✓ Enhanced Data
Copilotkit Runtime Patterns
Server-side runtime patterns for CopilotKit.
- Rating
- 4.7 (224 reviews)
- Downloads
- 24,752 downloads
- Version
- 1.0.0
Overview
Server-side runtime patterns for CopilotKit.
Complete Documentation
View Source →
CopilotKit Runtime Patterns
Server-side runtime configuration patterns. Contains 15 rules across 5 categories.
When to Apply
Reference these guidelines when:
- Setting up CopilotKit runtime endpoints (Express, Hono, Next.js API routes)
- Configuring CopilotRuntime with service adapters (OpenAIAdapter, etc.)
- Registering agents via remote endpoints (LangGraph, CrewAI)
- Adding middleware for logging, auth, or request modification
- Securing the runtime (CORS, auth, rate limiting)
- Optimizing runtime performance
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Endpoint Setup | CRITICAL | endpoint- |
| 2 | Agent Configuration | HIGH | runner- |
| 3 | Middleware | MEDIUM | middleware- |
| 4 | Security | HIGH | security- |
| 5 | Performance | MEDIUM | perf- |
Quick Reference
1. Endpoint Setup (CRITICAL)
endpoint-express-setup- Configure Express endpoint with CopilotRuntime and CORSendpoint-hono-setup- Configure Hono endpoint for edge runtimesendpoint-nextjs-route- Set up Next.js API route with copilotRuntimeNextJSAppRouterEndpoint
2. Agent Configuration (HIGH)
runner-inmemory-vs-sqlite- Use persistent storage for production thread managementrunner-agent-registration- Register agents via remoteEndpointsrunner-multiple-agents- Configure routing for multi-agent setups
3. Middleware (MEDIUM)
middleware-before-request- Use onBeforeRequest for auth, logging, context injectionmiddleware-after-request- Use onAfterRequest for response logging and cleanupmiddleware-error-handling- Handle errors in middleware without crashing the runtime
4. Security (HIGH)
security-cors-config- Configure CORS for your specific frontend originsecurity-auth-middleware- Authenticate requests before agent executionsecurity-rate-limiting- Rate limit by user or API key
5. Performance (MEDIUM)
perf-streaming-response- Ensure streaming is not buffered by proxies
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
Installation
Terminal bash
openclaw install copilotkit-runtime-patterns
Copied!
Tags
#web_and-frontend-development
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author generaljerel
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install copilotkit-runtime-patterns
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0