New advertisers: 50% off your first month with code FIRSTMONTHSee slots
vornicx avatar

Midas

vornicx/midas

Local memory layer for AI agents, offline, with each recall traced to its source turn.

GitHub stars
14
tools
2
transport
STDIO
env vars
4
last updated
Jun 7, 2026
View on GitHub

What it does

  • Reads live state with memory_state for current decisions, constraints, and facts, and memory_diff for beliefs added or revised since a prior point
  • Stores memory with no LLM at ingest, so there is no per-message cost and nothing leaves the machine
  • Installs via uv tool install or npx, and midas init wires the shared memory file into MCP clients
  • Designed for coding agents that need to resume across sessions and avoid acting on stale or unconfirmed memory

Tools

2 tools

Public tool metadata for what this MCP can expose to an agent.

memory_stateReturns the live, non-superseded decisions, constraints, and facts.

Returns the live, non-superseded decisions, constraints, and facts.

No parameter schema in public metadata yet.

memory_diffLists beliefs added since a prior point and beliefs revised from old to new.

Lists beliefs added since a prior point and beliefs revised from old to new.

No parameter schema in public metadata yet.

Configuration

MIDAS_MCP_DB

Path to a SQLite file to persist memory across restarts (default: in-memory)

MIDAS_MCP_EMBEDDERdefault: local

Embedding backend: 'local' (bge ONNX, offline) or 'hashing' (default: local)

MIDAS_MCP_MAX_RECORDS

Cap the store; above it the lowest-value memories are auto-forgotten (no LLM)

MIDAS_MCP_MIN_IMPORTANCEdefault: 2

Relevance floor 1-5 for auto-capture; turns scoring below it are skipped

Readme

Midas

The local memory layer for long-horizon AI agents — remembers across sessions, keeps what's current, and won't act on stale memory.
No LLM at ingest · $0 per message · fully local · every recall traces to its source.

tests PyPI npm Python 3.11+ License: MIT


View the full README on GitHub

Details

Repository
github.com/vornicx/midas
Categories
Memory & Context, AI Agents & LLM Apps
Package
midas-memory-mcp
Transport
STDIO
Registry
MCP registry, active

Similar to Midas

More Memory & Context