Installation
BPMN Kit is a collection of focused packages. Install only what you need.
Core SDK
Section titled “Core SDK”The @bpmnkit/core package is the foundation — it provides the fluent process builder,
BPMN 2.0 parser/serializer, auto-layout, and the AI-compact format.
pnpm add @bpmnkit/core# ornpm install @bpmnkit/core# oryarn add @bpmnkit/coreSimulation Engine
Section titled “Simulation Engine”To run BPMN processes locally (browser or Node.js):
pnpm add @bpmnkit/engineCamunda 8 REST API Client
Section titled “Camunda 8 REST API Client”To interact with a live Camunda 8 cluster:
pnpm add @bpmnkit/apiSVG Canvas Viewer
Section titled “SVG Canvas Viewer”To embed an interactive BPMN diagram viewer in a web page:
pnpm add @bpmnkit/canvasFull Editor
Section titled “Full Editor”The editor bundles the canvas, a properties panel, and an AI bridge:
pnpm add @bpmnkit/editorThe casen CLI is a standalone tool — install it globally:
pnpm add -g @bpmnkit/cliWith the CLI installed, you can use the AI-first workflow to implement processes from natural language using Claude Code:
casen skills install # install /implement, /review, /test, /deploy slash commandscasen proxy # start the AI bridgecasen reebe # start local workflow engineThen in Claude Code: /implement an invoice approval process
See AI-Driven Implementation for a full walkthrough.
Worker client
Section titled “Worker client”For standalone workers that connect to Zeebe without the full SDK:
npm install @bpmnkit/worker-clientWorkers scaffolded by /implement depend only on this package at runtime.
TypeScript Requirements
Section titled “TypeScript Requirements”All packages require TypeScript 5.0+ with strict: true. The recommended tsconfig.json settings:
{ "compilerOptions": { "strict": true, "module": "NodeNext", "moduleResolution": "NodeNext", "target": "ES2022" }}For browser/bundler projects (Vite, Webpack, etc.), use:
{ "compilerOptions": { "strict": true, "module": "ESNext", "moduleResolution": "bundler" }}Runtime Requirements
Section titled “Runtime Requirements”| Runtime | Minimum Version |
|---|---|
| Node.js | 20 LTS |
| Deno | 1.40+ |
| Bun | 1.0+ |
| Browsers | ES2022 (Chrome 94, Firefox 93, Safari 15.4) |
All packages are ESM-only ("type": "module"). CommonJS is not supported.