Skip to main content

We’re open sourcing the Mind Layer

The Mind Layer.

Give your AI a memory, a personality, and a relationship with the people it talks to. Across conversations. Over time.

Read the Mind Layer docs

The standalone edition is available under Apache-2.0. Run it locally, with no Sonzai account. See what’s included.

Meet the Mind Layer

What it does

A conversation ends.
The context stays.

The Mind Layer keeps the facts, preferences, and commitments from your conversations. When someone comes back, your agent recalls what matters.

It gives your agent a consistent personality and a shared history with each person, so every conversation has somewhere to begin.

How memory works
An example · A personal assistant

First conversation

“I’m vegetarian. I usually cook for two.”

The Mind Layer remembers

Vegetarian · Cooks for two

Next conversation

“Any ideas for dinner?”

“How about mushroom tacos for two?”

The right context, without asking again.

What it’s for

Build AI people can come back to.

Assistants that know you

Remember preferences, ongoing plans, and past decisions. Pick up the work where you left it.

Characters with a history

Give companions and game characters a personality and memories of the experiences you’ve shared.

Agents that keep context

Carry customer history and commitments into the next interaction, so people don’t have to repeat themselves.

Use the standalone REST API or Go library to give your agent memory. The hosted platform also offers SDKs and MCP; its API and features differ from the open-source edition.

Built by Sonzai

Games

TeleMafia

We built a Telegram-native mafia RPG and the smart contracts behind its shared family treasuries: creating a vault for each family, tracking ownership, and controlling who can withdraw or move funds. 150k total users. Launched with Monad as part of the first Monad Momentum program.

Zenith reviewed the family vault and vault factory source in November 2025. The final report marks all seven findings resolved.

Zenith audit report

Smart contracts · Monad mainnet

AI characters

Pocket Souls

AI characters and companions. Soft launched in Indonesia.

AI memory

Mind Layer

Powering Pocket Souls and other agentic enterprise AI prototypes.