Installation
bash
npm install @chamvi/core ai- Runtime: Node.js 22 or newer. The package is ESM only.
- AI SDK:
ai@^7(the Vercel AI SDK) is a peer dependency. Install the provider package of your model as well, for example@ai-sdk/anthropicor@ai-sdk/openai. - Schemas: tool input schemas are whatever the AI SDK accepts. The examples in these docs use zod. State collections take any Standard Schema.
bash
npm install @ai-sdk/anthropic zodTypeORM store
For durable runs and more than one replica, add the TypeORM store with typeorm and the pg driver (PostgreSQL):
bash
npm install @chamvi/store-typeorm typeorm pgSee TypeORM store.
Testing helpers
@chamvi/test-kit exports the store contract suite and a controllable clock. @chamvi/core and vitest are its peer dependencies:
bash
npm install --save-dev @chamvi/test-kit vitestSee Writing a Store and the test-kit reference.
Workspaces and coding tools
Agents that run commands or edit code add the sandbox manager, the coding tools and one provider:
bash
npm install @chamvi/sandbox @chamvi/coding @chamvi/sandbox-docker # one container per workspace
npm install @chamvi/sandbox @chamvi/coding @chamvi/sandbox-k8s # one pod per workspace
npm install @chamvi/sandbox @chamvi/coding @chamvi/sandbox-local # development only, no isolation@chamvi/core and ai are peer dependencies of all of them. See Workspaces & Coding.
Packages
| Package | Status |
|---|---|
@chamvi/core | Shipped (0.x) |
@chamvi/test-kit | Shipped (0.x), test helpers |
@chamvi/scheduler | Shipped (0.x), cron triggers across replicas |
@chamvi/store-typeorm | Shipped (0.x), TypeORM store (PostgreSQL) |
@chamvi/http | Shipped (0.x), REST, SSE, webhooks and MCP |
@chamvi/github | Shipped (0.x), GitHub App webhooks and tools |
@chamvi/sandbox, @chamvi/sandbox-local, @chamvi/sandbox-docker, @chamvi/sandbox-k8s | Shipped (0.x), disposable workspaces |
@chamvi/coding | Shipped (0.x), coding tools over a workspace |
notifiers, @chamvi/ui, chamvi (CLI) | Planned See the roadmap |
chamvi is pre-1.0: a minor version may contain breaking changes, including changes to the store schema.