Agent♥︎Age
Catalog

loci

Official

by 3M1RY33T · Python

Scoped memory for coding agents: picks the right project, answers in scope, or abstains.

io.github.3M1RY33T/loci MCP Server

This MCP server provides “scoped memory for coding agents” by routing requests to two underlying stores. It selects the right project, answers only in-scope, or abstains (ABSTAIN) rather than producing out-of-scope responses.

🛠️ Key Features

  • Scoped memory for coding agents
  • Router in front of two stores
  • Uses a structure store (what calls what) and an episode store (what happened and why)
  • Merges and cites a final answer, or abstains

🚀 Use Cases

  • Answering “what calls run_agent_turn” using call-graph structure
  • Explaining “why” for an event using episode history
  • Preventing responses when required context is missing (ABSTAIN)

⚡ Developer Benefits

  • Separates structure (knowledge graphs) from prose context (episodes)
  • Helps avoid mismatches where graphs lack “why” and prose recall lacks “call graphs”

⚠️ Limitations

  • Knowledge graphs “hold structure but no prose,” so they cannot answer why without episodes
  • Verbatim-recall systems “hold prose but no call graphs,” so they cannot answer call relationships without structure

Topics

ai-agentsclaudellmmcpmcp-servermemorypythonrag