all.sourceall.source

Quickstart

From zero to persistent agent memory in 2 minutes.

1. Install

cargo install allsource-prime

Requires Rust 1.92+. Single static binary, no runtime dependencies.

2. Configure Claude Desktop

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "prime": {
      "command": "allsource-prime",
      "args": ["--data-dir", "~/.prime/memory"]
    }
  }
}

Restart Claude Desktop. You now have 13 tools for knowledge management.

3. Store your first memory

Tell Claude something worth remembering:

You: "Alice is the lead engineer on the Prime project. She started in January 2026."

Claude will call prime_add_nodeto create a "person" node with Alice's details, then prime_add_edge to connect her to the project.

4. Recall it later

You: "Who works on the Prime project?"

Claude calls prime_index to see the knowledge map, then prime_neighbors to find everyone connected to the project node.

Claude: "Alice is the lead engineer on Prime. She started in January 2026."

5. Check the compressed index

You: "What do you know so far?"

Claude calls prime_index and returns:

# Knowledge Index
_2 nodes, 1 domain_

## engineering
- **Nodes:** 2 (person, project)
- **Examples:** Alice, Prime

What's next?

  • Conceptsunderstand domains, cross-references, and temporal queries
  • MCP Setupauto-inject, per-project memory, advanced configuration
  • HTTP APIuse Prime from any language via REST