Skip to main content

Agents that compound.

Compounding relational intelligence for AI agents. Memory, behavior, and relationships that grow with every interaction.

$npm install @sonzai-labs/agents

10 lines to your first compounding agent

index.ts
import { Sonzai } from "@sonzai-labs/agents";

const client = new Sonzai();

const agent = await client.agents.create({
  name: "Atlas",
  personality: { openness: 0.8, warmth: 0.7 },
});

const res = await client.chat({
  agentId: agent.id,
  userId: "user-123",
  message: "Remember our hiking chat?",
});
// Atlas remembers. Atlas compounds.
Standalone Memory

Memory as a service

Use your own LLM for chat. Anonymize data for privacy. We handle memory, personality, mood, habits, and proactive behavior. Works with any SDK or OpenClaw.

See how it works

Frequently asked

Memory, personality, and stateful agents

Common questions about Sonzai, memory layers, and personality APIs for AI agents.

Sonzai is the memory and personality API for stateful AI agents. It gives any AI agent persistent memory, evolving Big Five personality, mood, relationships, and a knowledge graph through a single REST API and MCP server. SDKs for TypeScript, Python, and Go.