- Dashboard host accessible; the
cli-startcell is an informational command cell (no/demos/cli-start/route) - Local machine with Node.js 18+, npm 9+, and Python 3.11+ available; network access to the npm registry and GitHub
- Canonical starter for comparison:
showcase/integrations/langgraph-python/in the CopilotKit repo
- Open the LangGraph (Python) provider view on the dashboard; locate the "CLI Start Command" cell
- Verify the cell displays the exact command
npx copilotkit@latest init --framework langgraph-python - If a copy-to-clipboard button is present, click it; verify clipboard contents equal the command above (paste into a text editor to confirm)
- In a fresh, empty directory, run
npx copilotkit@latest init --framework langgraph-python - Verify the CLI completes without errors and scaffolds a project tree that matches the canonical starter at
showcase/integrations/langgraph-python/(same top-level files:package.json,next.config.ts,langgraph.json,showcase.json,tsconfig.json,postcss.config.mjs,Dockerfile,entrypoint.sh,src/) - Verify
package.jsonreferences@copilotkit/*at version2.0.0or newer (matchescopilotkit_versionin the provider manifest)
- Run
npm installin the scaffolded directory; verify it completes with no error-level output - Start the Next.js dev server per the scaffolded project's README /
package.jsondevscript (typicallynpm run dev); verify it binds and logs a local URL (e.g.http://localhost:3000) - Start the LangGraph backend per the scaffolded project's instructions (typically
langgraph devusinglanggraph.json); verify it binds without error - Open the local URL in a browser; verify the starter demo renders (the "Sales Dashboard" surface per the manifest
starter.name) and a basic chat round-trip works
- Re-run the CLI in a non-empty directory; verify it either refuses or prompts before overwriting (does not silently clobber)
- Verify the scaffolded project has no lockfile merge conflicts and no unresolved peer-dependency errors in
npm installoutput
- CLI command copies cleanly and runs without interactive blockers (aside from any documented prompts)
- Scaffolded tree matches the canonical starter shape
npm installcompletes without error; dev server + LangGraph backend boot; starter demo is interactive