
# Memoose: A Dual-Path Memory System for Proactive Agents
---
## Contents
- [What is Memoose](#what-is-memoose)
- [Quick start](#quick-start)
- [Give your agent memory](#give-your-agent-memory)
- [How Memoose works](#how-memoose-works)
- [Usage](#usage): [tools](#tools) · [skills](#skills) · [CLI](#cli)
- [Benchmarks](#benchmarks)
- [Learn more](#learn-more): [documentation](#documentation) · [inspiration](#inspiration) · [contributing](#contributing) · [license](#license)
# 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](https://arxiv.org/abs/2609.09153): 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](https://andrewngo-ini.github.io/memoose/vision.html).
# Quick start
Python 3.11 or newer, nothing else:
```sh
pip install memoose # or: pipx install memoose, or uvx memoose --help
```
Store a fact, ask a question, look at the graph:
```sh
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:
```sh
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/