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
What Compounds

Intelligence that grows with the relationship

Behavioral Profiling

Personality traits, communication style, and preferences that evolve with every interaction.

Hierarchical Memory

Structured recall across sessions. Facts, events, patterns — organized and searchable.

Per-Interaction Learning

Every message updates the agent's understanding. Mood shifts, habits form, relationships deepen.

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.