The open-source Node.js SDK that lets you build, ship, and manage AI agent applications. One API, one CLI — works across multiple runtime adapters.
Supported Adapters
ClawJS models a family of runtimes with explicit capabilities and degraded states instead of forcing one universal shape.
demo, openclaw, zeroclaw, picoclaw
nanobot, nanoclaw, nullclaw, ironclaw
nemoclaw, hermes
Quick Start
The API is built around runtime adapters, workspace contracts, provider catalogs, and normalized conversation transports.
Capabilities such as scheduler, memory, skills, channels, sandbox, and plugins are declared explicitly per adapter.
import { Claw } from "@clawjs/claw";
const claw = await Claw({
runtime: { adapter: "zeroclaw" },
workspace: {
appId: "my-app",
workspaceId: "main",
agentId: "assistant",
rootDir: "./workspace",
},
});
const status = await claw.runtime.status();
console.log(status.capabilityMap);
await claw.workspace.init();
const providers = await claw.providers.catalog();
const models = await claw.models.catalog();
for await (const event of claw.conversations.streamAssistantReplyEvents({
sessionId: "demo",
})) {
console.log(event);
}
Capabilities
Demo
A full local-first assistant built with ClawJS — chat, onboarding, settings, and integrations with WhatsApp, email, and calendar.