legion code × activeloop

One memory. A whole hive around it.

The apiary is a stack of small, sharp programs that give your ai coding agents one shared memory on hardware you control. Each one answers a single stubborn problem.

curl -fsSL https://get.theapiary.sh | sh
See how it works

macOS · Linux · Windows, auto-detected, always switchable

5 products, one hive
6+ coding assistants supported
1 shared memory, on your hardware
the flagships

Two products carry the memory.

nectar helps your agent understand your code. honeycomb makes it remember. Together they are the memory layer your assistants have been missing.

keeping the hive running

doctor and hive hold it together.

The flagships do the thinking. These two make sure the stack stays alive and stays one address away.

coming soon
queen
the fleet orchestrator

Once the stack spreads across machines, who can even see the fleet?

queen is the control plane for liveness, identity, and fleet reporting, without ever touching your memory.

Read about queen
the problem

Your AI coding agents forget everything.

Your assistant is brilliant in the moment and forgetful the next. Close the window and the context is gone. Open a different tool tomorrow and it has never heard of your project. So you re-explain your conventions and re-discover fixes that already worked, day after day.

context dies with the windowevery tool starts from zerothe team can't see what you learned

One memory, four moves.

The apiary watches your work, writes clean notes, and hands the right ones back to any assistant on any device. It captures what happened, distills it into short notes, recalls the right context before your next session, and keeps tidying itself so your project memory gets sharper over time, not noisier.

see how it works

Works underneath the tools you already use.

Six coding assistants, one shared memory: Claude Code, Cursor, Codex, Hermes, pi, and OpenClaw. The apiary plugs in underneath whichever ones you have installed, and a memory written from one is recalled by the others, even on a different machine.

compare the assistants

What the apiary gives you.

Your data stays yours.

Memory lives in a store you control, powered by Deeplake, and you can host it in your own cloud. A small local helper is the only thing that connects to it, it binds to your machine only, and secrets are never shown to an assistant. Working on something sensitive? Flip to read-only and nothing new is written, while recall still works.

trust and security

Who it is for.

Vibe coders

You live inside an AI coding assistant and just want it to remember your project. One command, a dashboard that opens itself, no databases to run.

Teams and enterprises

Many developers, devices, and tools that should learn as one brain. A discovery by one engineer reaches the whole team, with data separated cleanly by team and project.

Open by default

The apiary is free to use, commercially or privately, under AGPL-3.0. Use it, inspect it, and build on it.

A collaboration between Legion Code and Activeloop: Deeplake for the memory, Hivemind for the open-source core, and the multi-tier memory, skill sharing, and self-healing daemons that tie the hive together.
Legion Code × Activeloop

Common questions

What is the apiary in one sentence?

A small stack of programs that give your AI coding assistants a memory that lasts past the session, travels between tools, and gets sharper over time, all on hardware you own.

Which AI coding assistants work with it?

Six at once: Claude Code, Cursor, Codex, Hermes, pi, and OpenClaw. The apiary plugs in underneath whichever you have, and a memory written from one is recalled by the others.

Do I need to know about databases or SQL?

No. You install with one command, click a button, and use plain commands. The technical machinery is hidden behind a friendly dashboard.

Where does my data live?

In your own Deeplake store, which you control and can even host in your own cloud account. The small helper on your machine is the only thing that connects to it, and teams and projects are kept separate at the storage layer.

Does it cost money in AI model usage?

The everyday features (capturing, recalling, the briefing) do not need their own model or API key. Two optional extras can use a model: turning sessions into skills, and the periodic self-tidying loop. Both are opt-in.

Is it open and free to use?

Yes. The apiary is licensed under AGPL-3.0-or-later. You can use it commercially or privately, free of charge, as long as you keep the license notices and share source if you run a modified version as a network service.

Give your agents a memory that lasts.

One command sets up the whole apiary, doctor included, and keeps it healthy from then on.

Windows (PowerShell): irm https://get.theapiary.sh/install.ps1 | iex

Download