Agents that compound.
Compounding relational intelligence for AI agents. Memory, behavior, and relationships that grow with every interaction.
Intelligence that grows with the relationship
10 lines to your first compounding agent
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.5 ways to integrate
Whatever your stack, Sonzai fits in. Choose what works for you.
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 relational agent harness for stateful AI agents. It gives any AI agent persistent memory, evolving Big Five personality, 4D mood, relationships, and a knowledge graph through three peer surfaces: a REST API, an MCP server, and native SDKs for TypeScript, Python, and Go.