Skip to content

Installation

BPMN Kit is a collection of focused packages. Install only what you need.

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.

Terminal window
pnpm add @bpmnkit/core
# or
npm install @bpmnkit/core
# or
yarn add @bpmnkit/core

To run BPMN processes locally (browser or Node.js):

Terminal window
pnpm add @bpmnkit/engine

To interact with a live Camunda 8 cluster:

Terminal window
pnpm add @bpmnkit/api

To embed an interactive BPMN diagram viewer in a web page:

Terminal window
pnpm add @bpmnkit/canvas

The editor bundles the canvas, a properties panel, and an AI bridge:

Terminal window
pnpm add @bpmnkit/editor

The casen CLI is a standalone tool — install it globally:

Terminal window
pnpm add -g @bpmnkit/cli

With the CLI installed, you can use the AI-first workflow to implement processes from natural language using Claude Code:

Terminal window
casen skills install # install /implement, /review, /test, /deploy slash commands
casen proxy # start the AI bridge
casen reebe # start local workflow engine

Then in Claude Code: /implement an invoice approval process

See AI-Driven Implementation for a full walkthrough.

For standalone workers that connect to Zeebe without the full SDK:

Terminal window
npm install @bpmnkit/worker-client

Workers scaffolded by /implement depend only on this package at runtime.

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"
}
}
RuntimeMinimum Version
Node.js20 LTS
Deno1.40+
Bun1.0+
BrowsersES2022 (Chrome 94, Firefox 93, Safari 15.4)

All packages are ESM-only ("type": "module"). CommonJS is not supported.