Memoose: A Dual-Path Memory System for Proactive Agents
Contents
What is Memoose
Memoose is a dual-path memory system for proactive agents. Memory survives the session and
survives switching agents. It is found two ways: by search when the agent asks, and by
recommendation when it does not. An engine keeps a typed knowledge graph on your machine; a
harness of skills, hooks and tools teaches the model your host already runs how to use it.
It is built for long-lived project work: decisions, conventions and ownership facts that must stay
correct for months, each with an evidence pointer back to its source.
Vision
Memory is upkeep. Facts are written as they surface. memoose maintain sweeps the store into
one worklist of things to judge and decides nothing itself; a model makes every call, on a small
subagent that costs neither your attention nor the conversation's turns.
Search and recommendation are the two ways anything gets found. Search answers a question you
thought to ask. Recommendation surfaces what you did not. A search-only memory stays silent unless
the agent already suspects something is there. Memoose does both: recall, and a hint before each
prompt.
The context an agent most often lacks is procedural. It knows what things are and still runs
steps out of order, skips a check, or repeats a step that already failed. Memoose stores procedures
as a graph, after Google's Procedural Graphs: steps as nodes,
transitions carrying a condition, an advice and a pitfall. The agent declares where it is, reads the
transitions two hops out, and decides. When the session ends with an outcome, every transition it
took counts it, so the next run learns from the last.
Read more: Vision.
Quick start
Python 3.11 or newer, nothing else:
pip install memoose # or: pipx install memoose, or uvx memoose --help
Store a fact, ask a question, look at the graph:
memoose remember "Bao:Person --owns--> auth-service:System" -e "user said 2026-09-18"
memoose remember "auth-service --uses--> PostgreSQL:Technology" -e "repo://src/db.py#L1-L20"
memoose recall "who owns auth and what does it run on"
memoose view # the graph in your browser, nothing uploaded
A fact is source[:Type] --relation--> target[:Type]. Give the :Type the first time an entity
appears; after that the name is enough. Every fact takes -e/--evidence, --valid-from and
--desc. Later:
memoose maintain # one worklist: conflicts, duplicates, sessions to distil
memoose history auth-service # every change to an entity or fact, by whom and why
Memory lives in ~/.memoose/<dataset>.sqlite: one dataset per project plus a user dataset for
facts that hold everywhere. MEMOOSE_DATA_DIR moves it. Full command table under CLI.
Give your agent memory
The CLI is enough for an agent with a shell. To add the skills, on Claude Code and Codex the hooks,
and on Claude Code the memory-keeper subagent:
memoose install claude # or: codex | opencode | cursor
memoose status # what is installed where
install copies the skills into the host. On Claude Code it also registers the hooks in
~/.claude/settings.json and drops the agent into ~/.claude/agents/; on Codex it registers them in
~/.codex/hooks.json, and Codex asks you to trust them once in /hooks. It is user-scoped;
--project . scopes it to one repository; uninstall <host> reverses it. No MCP server is wired
unless the agent has no shell: install <host> --mcp adds uvx memoose serve, which needs
uv.
On Claude Code the plugin is the simplest route and keeps one copy of everything:
/plugin marketplace add AndrewNgo-ini/memoose
/plugin install memoose@memoose
Working from a checkout
git clone https://github.com/AndrewNgo-ini/memoose.git && cd memoose && uv sync
uv run memoose install claude # skills, hooks and agent from this checkout
claude --plugin-dir . # or load the checkout as a plugin
uv sync --extra fastembed # local embeddings (a keyless hash fallback is used otherwise)
uv sync --extra ontology # full RDF parsing
uv run pytest