showcase/INTEGRATION-CHECKLIST.md
Two checklists: what makes a complete package, and what external setup is needed when adding a new framework.
pnpm create-integration generates)Everything below should exist in showcase/integrations/<slug>/:
manifest.yaml — name, slug, category, language, features, demos, deployed: false, generative_ui, interaction_modalities, and optionally managed_platformpackage.json — dependencies including @copilotkit/react-core, zod, tailwindcsstsconfig.jsonnext.config.tspostcss.config.mjssrc/app/)layout.tsx — imports globals.css, copilotkit-overrides.css, @copilotkit/react-core/v2/styles.cssglobals.css — NO * { margin: 0; padding: 0; } reset (only box-sizing: border-box)copilotkit-overrides.css — separate file for CopilotKit class overrides (survives Tailwind v4 purging)api/copilotkit/route.ts — runtime endpointapi/health/route.ts — health check endpointerror-boundary.tsx — DemoErrorBoundary componentsrc/app/demos/<feature-id>/page.tsx)One per declared feature. Each demo must:
CopilotKit provider with runtimeUrl="/api/copilotkit" and correct agent name@copilotkit/react-core/v2 imports (NOT @copilotkitnext/)CopilotChat demos: wrapper div with px-6 for horizontal padding (matches Dojo)CopilotSidebar demos: no extra padding needed (sidebar has built-in px-8)h-full not h-screen (demos render in iframes)useConfigureSuggestions with relevant suggestionssrc/agents/ (Python) or src/lib/ (TypeScript)agent prop in demo pages)langgraph.json (Python) or equivalent configDockerfile — multi-stage, starts both agent backend and Next.js frontendentrypoint.sh — starts agent server and Next.js, waits for bothplaywright.config.tstests/ — one E2E test per demo (basic: load → send message → get response)qa/ — manual QA checklist per demoshowcase/shell/public/logos/<slug>.svgexamples/integrations/* vs showcase/integrations/*Two directories hold integration code, and they play different roles. Understanding the relationship is critical before adding or modifying a package.
examples/integrations/<name>/ — the Dojo example. This is the dep-pinning source of truth: minimal, focused agent code used to prove a framework works against CopilotKit/AG-UI. The weekly drift-detection workflow and the "Always pin agent framework and SDK versions to exact versions from the working Dojo example" rule (see "Dependency Pinning" below) both treat this directory as canonical.showcase/integrations/<slug>/ — the full triple-duty integration:
showcase.copilotkit.dev)extract-starter.ts)examples/integrations/<name>/ ──(migrate-integration-examples.ts)──▶ showcase/integrations/<slug>/src/agents/
showcase/integrations/<slug>/ ──(extract-starter.ts)────────────────▶ standalone starter (on-demand)
showcase/scripts/migrate-integration-examples.ts copies agent code from examples/integrations/<name>/ into showcase/integrations/<slug>/src/agents/. It never runs in reverse.showcase/scripts/extract-starter.ts extracts a clean standalone starter from any integration on demand, dereferencing symlinks and stripping test/CI artifacts.showcase/integrations/<slug>/src/agents/ if the package has a Dojo counterpart — fix it upstream in examples/integrations/<name>/ and re-run the migration script.Five packages exist only in showcase and have no examples/integrations/<name>/ sibling:
ag2claude-sdk-pythonclaude-sdk-typescriptlangroidspring-aiThese are authored directly in showcase/integrations/<slug>/ and are exempt from the pin-to-Dojo rule — there is no Dojo to pin to. They still must pin exact versions (see "Dependency Pinning"), but the reference is whatever the framework's own examples or release notes recommend, not a sibling examples/integrations/ directory.
Several packages have different names in examples/integrations/ vs showcase/integrations/. The aliasing is historical — showcase standardized on shorter, marketing-friendly slugs while the Dojo kept the original framework-canonical names.
showcase/integrations/ slug | examples/integrations/ name | Why different |
|---|---|---|
google-adk | adk | Showcase prefixes with vendor for disambiguation |
langgraph-typescript | langgraph-js | Showcase prefers full language name (-typescript) |
ms-agent-dotnet | ms-agent-framework-dotnet | Showcase shortens -framework- out of the slug |
ms-agent-python | ms-agent-framework-python | Same — shorter slug in showcase |
strands | strands-python | Showcase drops the language suffix (no TS variant exists) |
When running migrate-integration-examples.ts or reasoning about drift, remember that the script internally maps these aliases — don't "fix" them by renaming one side.
ghcr.io/copilotkit/showcase-<slug>:latest/api/healthNODE_ENV=production, NEXT_PUBLIC_BASE_URL=https://showcase.copilotkit.devRAILWAY_TOKEN secret exists in the repo.github/workflows/showcase_deploy.yml)workflow_dispatch.inputs.service.optionsshowcase/integrations/<slug>/**RAILWAY_TOKEN secretnpx tsx showcase/scripts/generate-registry.ts to regenerate registry.jsoncurl https://showcase-<slug>-production.up.railway.app/api/health/demos/<id> routedeployed: true in manifest.yamlnpx tsx showcase/scripts/validate-constraints.ts <slug>npx tsx showcase/scripts/generate-registry.tsmanifest.yaml name, verify startsWith matching worksnpx tsx showcase/scripts/generate-demo-content.ts if it existsAlways pin agent framework and SDK versions to exact versions from the working Dojo example. Do not use floating ranges like >=0.3.0 — they resolve to different versions over time and silently break APIs.
Why this matters: langchain>=0.3.0 resolved to 0.3.x which lacked create_agent. The Dojo uses langchain==1.2.0 where it exists. A floating range that worked at scaffold time broke on the next Docker build when a different version was pulled.
What to pin:
What can float:
Where to find correct versions:
examples/integrations/<slug>/requirements.txt / pyproject.toml / package.jsonLangGraph supports two agent authoring styles, and showcase uses both. When touching a LangGraph package — or adding a new one — decide the style explicitly and match the existing sibling's idioms.
StateGraph with addNode(...), explicit edges, and custom routing logic. Maximum control; more code to maintain.create_react_agent / create_agent helpers that wrap the common ReAct pattern. Minimal code; less flexibility.| Package | Style | Evidence |
|---|---|---|
showcase/integrations/langgraph-python | Prebuilt | create_react_agent in src/agents/main.py:53 |
showcase/integrations/langgraph-fastapi | Prebuilt | create_react_agent in src/agents/src/agent.py:166 |
showcase/integrations/langgraph-typescript | Node-based | StateGraph in src/agent/graph.ts:271 |
The ag-ui/apps/dojo/ e2e tests exclusively exercise node-based graphs. This means prebuilt-agent coverage is thin in the Dojo even though two of the three LangGraph packages users clone from showcase are prebuilt.
Cross-reference the action inventory for the full breakdown of which AG-UI features are exercised where: https://www.notion.so/3443aa38185281b5a1dfc6e0890264e1.
This distinction only applies to LangGraph today. Other frameworks (CrewAI, Mastra, etc.) have their own framework-specific authoring idioms — out of scope for this section.
| Gotcha | Fix |
|---|---|
| CSS classes purged by Tailwind v4 | Put CopilotKit overrides in copilotkit-overrides.css, not globals.css |
* { margin: 0; padding: 0; } | NEVER use this reset — it strips CopilotKit's internal padding |
| Chat messages flush to edges | Add px-6 to the CopilotChat wrapper div |
h-screen in demos | Use h-full — demos render inside iframes |
| Dynamic content unstyled | Use inline style={} not Tailwind classes for agent-generated content |
| Stale lockfile | Run pnpm install after changing package.json, commit the lockfile |
| Stack chip not lighting up | Check deployed: true in manifest and registry name matching |
| Agent import errors in Docker | Pin framework deps to exact Dojo versions — floating ranges resolve differently over time |