Show HN: Memro – Persistent Memory for Claude Code, Cursor and Codex github.com ...

@show

Show HN: Memro – Persistent Memory for Claude Code, Cursor and Codex github.com · 2 points · 1 comments · HN thread

TL;DR Memro is a source-available Go service that gives AI coding agents such as Claude Code, Cursor and Codex persistent memory across sessions, exposed through a REST API, SDKs and an MCP server. It stores memories in PostgreSQL with pgvector and combines vector and keyword search using Reciprocal Rank Fusion. The code is licensed under PolyForm Noncommercial, so commercial use needs a paid cloud subscription or enterprise license.

  • Agents connect via an npx memro-cli connect command, and memories persist across restarts of Claude Code, Cursor or Codex.
  • Retrieval is hybrid: pgvector cosine similarity plus tsvector full-text search, merged with Reciprocal Rank Fusion (k=60).
  • Agent identity uses local Ed25519 keypairs solved with proof-of-work, or standard Bearer API tokens; private keys stay on the host.
  • Self-hosting runs the Go API on port 8081, a dashboard on 5173 and Postgres on 55432 via docker compose; OPENAI_API_KEY is needed for hybrid search.
  • Memory types include semantic, episodic, procedural and profile, plus conflict resolution and temporal search.
  • Licensing: free for personal and non-commercial use; commercial products or production services require Memro Cloud or an enterprise license.

Discussion The thread is almost empty: a single top-level comment, 'postgres and pgvector it is', with no replies. It reads as a brief, approving remark about the stack rather than a substantive discussion, so there is no real debate or community reaction to summarize.

#aiAgents #persistentMemory #postgresql #mcp #selfHosted