Agency Memory Kit
Deterministic, folder-based memory for Claude Code
when you run an agency with many clients. Packaged as a Claude Code plugin.
Contents
Open beta, read this first
This is an open beta, not a finished product. It is a first attempt at solving
agency memory, shared in the open: from the people, for the people. Use it however you
want, fork it, tear it apart. Just keep in mind while you use it that this is genuinely
the open beta of a first try, so expect rough edges and treat your real client data with
care (keep backups, review what the weekly run proposes before you accept it). Nothing
here writes to your hand-curated files or archives anything without your approval, by
design, but you are still the last line of defense.
The idea
Most "AI memory" tools use a global vault: one shared pile the model reads and writes
across every project. For an agency that is a liability - client A's data can surface
while you work on client B.
This kit takes the opposite stance:
The client folder is the single source of truth. There is no global vault.
Client data cannot leak across clients because there is no shared pile to leak through.
Memory loading is deterministic (a hook injects a fixed load order, not a fuzzy
similarity search), and memory capture is agent-driven into the one client folder the
session is actually about. When it is ambiguous which client a learning belongs to, it
goes to a quarantine inbox and you file it - it is never guessed into the wrong folder.
Engine and data are separate
The plugin is the engine (hooks + scripts + config schema). Your agency's data
is a separate "world": a folder with clients/ and system/memory/. One engine can
serve many worlds, and the engine never hardcodes your section names or language - those
live in your world config (system/memory/world.json), which overrides the plugin's
English defaults. A Hungarian agency ships a Hungarian world.json; the engine does not
change.
- The scripts find themselves via
${CLAUDE_PLUGIN_ROOT}.
- They find your data via, in order:
--world / AGENCY_WORLD_ROOT, then
CLAUDE_PROJECT_DIR (set by Claude Code for hooks), then the current directory.
How it works