Skip to content

Installation ​

bash
npm install @chamvi/core @chamvi/store-memory ai
  • Runtime: Node.js 26.0.0 or newer. The package is ESM only.
  • Storage: the engine takes a service per aggregate, each over a repository; @chamvi/store-memory keeps them in the process (development and tests), @chamvi/store-db in PostgreSQL (below). @chamvi/app builds them for you.
  • 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

Database store ​

For durable runs and more than one replica, add the PostgreSQL repositories with typeorm and the pg driver:

bash
npm install @chamvi/store-db typeorm pg

See database store.

Testing helpers ​

@chamvi/test-kit exports an engine on memory repositories, the repository port suites and a controllable clock. @chamvi/core and vitest are its peer dependencies:

bash
npm install --save-dev @chamvi/test-kit vitest

See Testing 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.

File processing tools ​

For JSON, CSV and text transformations over run artifacts without a coding workspace:

bash
npm install @chamvi/tool-files

@chamvi/core and ai are peer dependencies. See File processing tools.

Web research tools ​

Agents that read the web (pages, changelogs, package registries) add the web fetch tool:

bash
npm install @chamvi/tool-web

@chamvi/core and ai are peer dependencies. See Web research tools.

Utility tools ​

Agents that need the date, date arithmetic or a sum add the utility tools:

bash
npm install @chamvi/tool-utils

@chamvi/core and ai are peer dependencies. See Utility tools.

Mail and calendar tools ​

Agents that read a mailbox or a calendar add the read-only IMAP and CalDAV tools:

bash
npm install @chamvi/tool-mail @chamvi/tool-calendar

@chamvi/core and ai are peer dependencies. See Mail and calendar tools.

App and CLI ​

An agent repository that runs as a service (HTTP, cron, the store from DATABASE_URL, a graceful shutdown) exports one createApp() and runs it with the chamvi bin:

bash
npm install @chamvi/app @chamvi/cli ai @ai-sdk/anthropic typeorm pg
npm install --save-dev tsdown   # for chamvi build and a TypeScript entry

@chamvi/app re-exports @chamvi/core, so the repository imports one package; the CLI needs Node.js 26.0.0 or newer. See Apps & Modules.

Packages ​

PackageStatus
@chamvi/coreShipped (0.x)
@chamvi/accessUnreleased, the permission check over authup bindings (core, http, app and the dashboard use it)
@chamvi/test-kitShipped (0.x), test helpers
@chamvi/channel-cronShipped (0.x), the cron channel, one tick across replicas
@chamvi/store-dbShipped (0.x), TypeORM store (PostgreSQL)
@chamvi/httpShipped (0.x), REST, SSE, MCP, the webhook channel and the /channels/<name> mount
@chamvi/githubShipped (0.x), the GitHub channel (deliveries in, comments out) 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
@chamvi/tool-filesUnreleased, JSON/CSV/text tools over selected run artifacts
@chamvi/tool-utilsUnreleased, current_time, date arithmetic, decimal calculate and run_info
@chamvi/tool-webShipped (0.x), web_fetch: public pages as markdown, registry JSON as is
@chamvi/tool-mail, @chamvi/tool-calendarUnreleased, read-only mail (IMAP) and calendar (CalDAV) tools
@chamvi/channel-openclawShipped (0.x), the OpenClaw channel: messages and approval requests into a chat
@chamvi/uiShipped (0.x), the dashboard
@chamvi/knowledgeUnreleased, knowledge collections searched by meaning through knowledge_search
@chamvi/app, @chamvi/cliShipped (0.x), createApp() and the chamvi bin
Base image, Helm chart, templatePlanned See the roadmap

chamvi is pre-1.0: a minor version may contain breaking changes, including changes to the store schema.