Neonmem

Neonmem SDK

A memory file, served to an agent

A .neonmem file is the memory an agent talks to. The SDK serves that file over MCP to any client that speaks it, and carries a command line for building one.

How to use it

The file holds a project's memories, the typed links between them, their vectors and every passage imported into it. Embedding, search, ranking, decay and consolidation happen inside; copying the file copies the memory.

  1. Download

    The archive from the release page: 61 MB, Windows x64.

  2. Unzip

    Anywhere. The runtime is inside the folder, and deleting the folder removes everything it fetched.

  3. Connect

    neonmem mcp-config <project> prints the client configuration with this folder's paths resolved; --write merges it into the project's .mcp.json.

  4. Build a memory

    Import documents and code, record decisions and their reasons, then ask it questions.

# a memory for a project, from its documents
neonmem init . --name "the ops runbook"
neonmem import ./docs --topics tenancy,authentication

# a decision, with its reason
neonmem decided "staging deploys go through the gateway" \
  --because "rate limits are enforced there"

# ask it
neonmem ask "which tenant does staging use?"

# serve it to an agent
neonmem mcp-config .

What an agent is told

The order to consult it

On connect, the agent is told to ask the memory first and which part is the project's own record rather than a passage quoted from an imported document.

What the file is

A cartridge can declare its name, contents and how to cite it, and is introduced to the agent by that description.

Output for scripts

Every command takes --json; results go to standard output and progress to standard error, so piping stays safe.

Download Neonmem SDK 0.1.0

Windows x64, runtime included, under the PolyForm Noncommercial License 1.0.0. The embedding model is fetched once per machine on first use. The same engine runs inside Neonmem Workspace; for a team, Neonmem Server serves many such memories.