Memrain Lite is one person's memory for their AI agents. It is free and
open source (MIT) and runs in your own AWS account, so you pay only your AWS
bill: about $52 a month for the server and database, plus a few cents of
embedding calls, under a daily cap you set. To start, follow
docs/QUICKSTART.md.
Editions
Memrain Lite is this repository: MIT, free, for one person, self-hosted in
your own AWS account.
- Pages with version history, links and tags, which your agents read and write
over MCP (29 tools).
- Hybrid search, keywords plus Titan embeddings, with every result pointing to
its page.
- Chat history import from ChatGPT, Claude, Codex and Claude Code.
- Secrets redacted on the way in, scoped OAuth clients and personal access
tokens, and daily spend caps.
Memrain Pro is the commercial edition. It adds facts, people and
timelines, synthesis, a code index, connectors such as Gmail, Google Calendar,
Microsoft 365, Slack, Teams and Fireflies, an Ask chat, background maintenance, and team
features: members, groups, private member data, shared sources and folder
rules. It is hosted by the maintainer or self-hosted under a licence, and is in
early access; see memrain.com/pricing. A Lite
database can move to Pro without migration loss.
Why
- Your agent forgets. Every new chat starts from zero, so you paste the same context again and again.
- Your knowledge is scattered. Decisions sit in notes, the reasons in old chats, the details in other places.
- Answers without sources are guesses. You cannot check an answer that does not say where it came from.
Memrain keeps your notes as pages in one place and lets every agent you use
search them. Each result points to the exact page it came from.
What you get
| |
|---|
 | Answers you can check. Ask "what did we decide about the auth flow?" and get the passages from your own notes, each with the page it came from. Your agent writes the answer; Memrain supplies the evidence. |
- Pages with history. Every write keeps a version; read, revert or
restore any of them. Rename a page and its links and history follow it.
- Search by meaning and by words. A keyword arm and a vector arm (Bedrock
Titan embeddings), fused into one ranked list, plus an exact-phrase lookup.
Without AWS it runs keyword-only.
- Links and tags.
[[wikilinks]] are linked on write; typed links, tags
and backlinks answer "what points here".
- Chat history import. ChatGPT, Claude, Codex and Claude Code exports
become searchable pages (docs/TRANSCRIPTS.md).
- Secrets stripped on the way in. API keys, tokens, private keys and
database passwords are redacted before anything is stored; the originals
are kept encrypted for you alone.
- Guarded writes. Text written as instructions to an AI is held by the
write gate, odd content is quarantined, and owner-only sources stay hidden
from every other credential.
The 29 tools
A client sees up to these 29 (docs/TOOLS.md); its scopes, its tool surface and the ingress it comes through decide which:
| Kind | Tools |
|---|
| Search | search, search_exact, resolve_slugs, get_chunks |
| Read pages | page_get, page_list, page_versions |
| Write pages | page_put, page_append, page_edit, page_rename, page_delete, page_restore, page_revert, purge_deleted_pages, index |
| Links and tags | link, unlink, get_links, backlinks, add_tag, remove_tag, get_tags |
| Brain and access | get_brain_identity, whoami, stats, sources_list, sources_status, run_doctor |
Coming from 0.25 or earlier? Read
UPGRADING.md first.
See it work