# genesys-memory [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Astrix-Labs/genesys  
**GitHub Stars:** 32  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/genesys-memory

## Description
Open-source causal memory for AI agents: persistent, explainable, MCP-native memory (13 tools).

## Tools
Capabilities this server exposes over MCP:

- **memory_store** — Store a new memory in the causal memory graph. Use `related` for writer-specified typed edges (each {id, type}); `related_to` is legacy and always creates caused_by edges. May return `possible_conflicts` — heuristic hints, not verified contradictions.
- **memory_amend** — Record a correction: creates a new memory that supersedes an existing one. The old memory is kept (decayed in recall results), not deleted.
- **memory_recall** — Recall memories using hybrid search (vector + keyword + graph spreading activation).
- **memory_search** — Filtered vector search by status, category, date, or entity. Pass an EMPTY query to enumerate by recency instead (no vector search, no embedder needed): with since/active_since this answers 'what's new/changed since <ts>' without knowing what to query for.
- **memory_traverse** — Traverse the memory graph from a starting node. Returns reachable nodes AND the edges of the induced subgraph among them (source/target/type/weight/created_by) — a superset of the BFS tree, so paths can be reconstructed.
- **memory_explain** — Explain a memory's score breakdown.
- **pin_memory** — Pin a memory to core status.
- **unpin_memory** — Unpin a memory and re-evaluate core eligibility.
- **list_core_memories** — List all core memories, optionally filtered by category.
- **delete_memory** — Permanently delete a memory node and all its edges.
- **memory_stats** — Get graph statistics.
- **set_core_preferences** — Configure core memory category preferences.
- **promote_to_org** — Promote a private memory to org visibility. Caller must own the node and belong to the target org.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "genesys-memory": {
    "command": "uvx",
    "args": ["papez"]
  }
}
```

## Documentation

## What genesys-memory does

genesys-memory gives MCP-compatible agents a causal memory layer for storing, finding, explaining, and managing information. Memories are nodes in a graph, with typed relationships that can represent how one item relates to another. The system also tracks lifecycle behavior: memories can be amended, pinned, unpinned, promoted, or permanently removed.

Recall uses a combination of vector similarity, keyword matching, and graph spreading activation. This lets an agent search by meaning while also benefiting from connected memories. Search can be narrowed by status, category, dates, entities, tags, references, or visibility scope. An empty search query can instead enumerate memories by recency, which is useful for finding what changed since a given timestamp.

The package is intended for local agent memory. It includes a stdio MCP server and does not require a database; state is held in memory and can optionally be written to JSON. A separate hosted product is described outside this package and should not be assumed to be part of the local server.

## How it works

The server stores memories as nodes and connects them with typed edges. `memory_store` accepts writer-specified relationships through `related`; the legacy `related_to` form creates `caused_by` edges. `memory_amend` preserves the original node and creates a replacement that supersedes it, causing the older item to decay in recall results rather than being deleted.

`memory_recall` performs hybrid retrieval and can reactivate relevant memories. `memory_search` provides filtered vector lookup or recency enumeration. `memory_traverse` starts from a node and returns reachable nodes plus the induced graph edges, including source, target, type, weight, and creator information, so callers can reconstruct paths.

Memory scores can be inspected with `memory_explain`, which exposes the score components and removal impact. Core-memory controls allow agents to list core items, pin or unpin nodes, and set category preferences. Visibility management includes promoting an owned private memory to an organization, subject to organization membership and ownership rules.

## Setup and configuration

Python 3.11 or newer is required. Install the package with:

```bash
pip install papez
```

Start the local MCP transport with:

```bash
python3 -m papez
```

Optional installation extras provide OpenAI embeddings, local sentence-transformer embeddings without an API key, or Anthropic-based causal inference for consolidation and contradiction detection. The base installation has no database dependency. Claude Code can register the process with `claude mcp add papez -- python -m papez`; Claude Desktop uses a `claude_desktop_config.json` entry whose command is `python` and whose argument is `-m papez`.

## Tools and capabilities

- Store memories and typed causal relationships with `memory_store`.
- Record corrections without deleting the superseded memory using `memory_amend`.
- Recall by natural language or search with filters and recency enumeration.
- Traverse graph neighborhoods and inspect memory-score explanations.
- Pin, unpin, list, and delete core or ordinary memory nodes.
- Read graph statistics, configure core-category preferences, and promote eligible private memories to organization visibility.

## Limitations and notes

The local server is a single stdio process. Memory calls should be treated as best-effort context rather than a hard dependency for an agent turn. Read operations can be retried with a short bounded backoff. Writes without a stable external identifier should not be blindly retried after an ambiguous timeout because a duplicate node may be created; a later recall can be used to reconcile state.

Conflict results from storing a memory are heuristic indications, not verified contradictions. Deleting a memory is permanent and removes its graph edges. Pinning prevents forgetting, while unpinning causes core eligibility to be evaluated again. Organization promotion requires ownership of the node and membership in the destination organization.

_Full upstream README: https://allmcps.com/mcp/genesys-memory/readme_

