Memro is a persistent-memory system for AI coding agents, intended to let Claude Code, Cursor, and Codex retain useful information between sessions. It offers a hosted connection through a short device-login workflow or can be self-hosted with Docker Compose. Its Go API stores memories in PostgreSQL 16 with pgvector; retrieval combines vector similarity and full-text search using Reciprocal Rank Fusion. Agents can authenticate with Ed25519 identities whose private keys stay on the local machine, or with bearer tokens. The project also provides a CLI, an MCP server, and Python, JavaScript/TypeScript, and Go SDKs, alongside runnable integration examples.
Memories can be categorized as facts, events, procedures, or agent profiles, and the system supports time-aware search, tracking how information changes, identifying and resolving contradictions, and tracing relationships and provenance through reasoning graphs. The maintainers describe evaluations covering 500 LongMemEval questions, as well as tests for stale or conflicting facts, distractors, and identity boundaries. Self-hosting requires configuring the server and database; OpenAI credentials are needed for hybrid search, and a metrics token can protect monitoring endpoints. The code is available under the PolyForm Noncommercial License: personal, research, and testing use is allowed, while commercial or production use requires a Memro Cloud subscription or a separate commercial license.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.