Open Source as Foundation: Why We Give Away Our Core

Alexander Bering
Alexander Bering
March 27, 2026 · 5 min read

The Question Everyone Asks

"If your memory system is what makes Zensation special — why do you give it away?"

We hear this question often. And it's legitimate. ZenBrain is the technological heart of everything we build. The algorithms, the memory layers, the sleep consolidation — years of research and development, freely available on GitHub and npm.

Why?

Because Trust Requires Open Source

Remember the last post. We argued that a system that knows your thinking must belong to you. Self-hosting gives you control over your data. But that's not enough.

You also need to control what the software does with your data.

With closed-source software, you have to trust the provider. "We don't store anything." "We don't track anything." "We don't train on your data." You have no way to verify that.

With open source, you can read every line of code. You can see exactly how memories are stored, processed, and deleted. You can perform security audits. You can fork the code if you don't like a single line.

That's not just transparency. That's radical trust.

The Flywheel

But open source is more than a trust measure. It's a growth strategy — and the strongest one that exists for developer tools.

The flywheel works like this:

Open Source → Developers discover ZenBrain, use it in their projects Developer Community → Contributions, bug reports, feature requests improve the product B2C Adoption → Developers recommend it, build on top of it B2B Conversion → Companies need support, enterprise features, SLAs Enterprise → Revenue funds further open-source development

Each step amplifies the next. This isn't wishful thinking — it's the model that brought companies like HashiCorp, Elastic, and GitLab to billion-dollar valuations.

What We Give Away — and What We Don't

Transparency about what's open source and what isn't:

Open Source (Apache 2.0):

  • @zensation/algorithms — 12 neuroscience algorithms
  • @zensation/core — 7 memory layers + MemoryCoordinator
  • @zensation/adapter-postgres — PostgreSQL integration
  • @zensation/adapter-sqlite — SQLite for zero-config start

This is the cognitive core. The algorithms that make memory possible. Anyone can use them, modify them, integrate them into their own products.

Proprietary (ZenAI Platform):

  • 55 AI tools and integrations
  • Multi-context architecture (4 schemas)
  • Proactive intelligence
  • Agent teams and orchestration
  • Enterprise features (RBAC, audit, MFA)

Why this separation? Because the algorithms are the foundation — they should be free so others can build on them. The platform is the experience we build on top — and the value that funds our business.

What Community Means to Us

Open source isn't a one-way street. It's an invitation.

We have a Discord server for everyone interested in AI memory — whether they use ZenBrain or not. We want to discuss: What does good AI memory look like? Which neuroscience findings should we implement next? Where are the limits of what a digital memory should be able to do?

And yes: we accept pull requests. We review them carefully, give constructive feedback, and when a contribution meets our quality bar, it becomes part of ZenBrain. With credit, of course.

Why Apache 2.0

We deliberately chose Apache 2.0 — not MIT, not GPL, not AGPL.

Not GPL/AGPL, because we want companies to use ZenBrain without fear of copyleft. If someone builds a commercial product on our algorithms — great. More adoption, more feedback, better algorithms for everyone.

Not MIT, because Apache 2.0 includes an explicit patent grant. Even if we held patents on our algorithms (we don't), Apache 2.0 would guarantee that users can use them. It's stronger protection for the community.

The Numbers

Since ZenBrain's launch on npm:

  • 12 algorithms in @zensation/algorithms
  • 7 memory layers in @zensation/core
  • 276 tests — all green
  • 0 external dependencies — completely standalone
  • TypeScript-native — full type safety
npm install @zensation/algorithms @zensation/core

Two lines. That's all you need to bring neuroscience-grounded AI memory into your project.

The Beginning

Open source isn't a one-time release for us. It's an ongoing commitment.

On our roadmap: retention curve visualization, extended cross-context operations, performance benchmarks against Mem0 and Zep, and a growing collection of adapters for different databases.

Each of these will be open source. Everyone can contribute. Everyone benefits.

The Circle Closes

This blog series started with a personal story: a father who wanted to build a brain for his children. Now that brain is open source on GitHub. Anyone can use it. Anyone can improve it. Anyone can preserve the thoughts that matter to them.

That's not a coincidence. That's the plan.

We're not just building a technology. We're building a community of people who believe that human knowledge is worth preserving. Open, accessible, for everyone.

Welcome to Zensation.


This was the final part of our founding series. To learn more: