Skip to content

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/anthropic or @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 zod

TypeORM 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 pg

See 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 vitest

See 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 ​

PackageStatus
@chamvi/coreShipped (0.x)
@chamvi/test-kitShipped (0.x), test helpers
@chamvi/schedulerShipped (0.x), cron triggers across replicas
@chamvi/store-typeormShipped (0.x), TypeORM store (PostgreSQL)
@chamvi/httpShipped (0.x), REST, SSE, webhooks and MCP
@chamvi/githubShipped (0.x), GitHub App webhooks and tools
@chamvi/sandbox, @chamvi/sandbox-local, @chamvi/sandbox-docker, @chamvi/sandbox-k8sShipped (0.x), disposable workspaces
@chamvi/codingShipped (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.