DocsGet started
DocsStart
Get started
Install Memora, get a one-time code with memora-cli setup, create your account, choose the vault, add your first AI agent and give it the recommended instructions.
On this page
Memora runs on your own machine: one process, one port, your notes as plain Markdown files. Three steps take you from nothing to your account, and a few more minutes to an AI agent that remembers.
1. Install Memora#
Pick one, in this order of ease. Every option, path and flag is in Install.
# npm (Linux x86_64 / arm64, Windows x64; Node.js 22+): install, then keep it running
npm install -g @codrihub/memora && memora
# Docker (any OS with Docker)
docker run -d --name memora --restart unless-stopped -p 8400:8400 \
-v memora-data:/data -v memora-state:/state ghcr.io/codrihub/memora:latest
# Native installer (Linux server with systemd, x86_64 or aarch64)
curl -fsSL https://raw.githubusercontent.com/Codrihub/memora/main/scripts/install.sh | sudo shOn Windows, install Node.js 22 or newer and use the npm line above.
The native installer downloads the release for your CPU, verifies it against the release SHA256SUMS, creates a memora system user and installs a hardened memora.service unit; data lives in /var/lib/memora. The Docker image ghcr.io/codrihub/memora runs on linux/amd64 and linux/arm64. On macOS, use Docker for now.
2. Get a one-time setup code#
A fresh instance cannot be claimed by whoever finds the port. Ask for a one-time code on the machine that runs Memora:
memora-cli setup --minutes 15 # npm, in a second terminal
docker exec -it memora memora-cli setup --minutes 15 # Docker
sudo memora-cli setup --minutes 15 # native installerIt opens a short setup window and prints the code and the link to open. You can also run memora-cli with no arguments for the console and type /web. If the window expires unused, the instance locks until you run memora-cli setup or memora-cli unlock.
3. Open the link and create your account#
Open the link it printed (http://<host>:8400/login), enter the code and create your account. The server listens on port 8400; put a reverse proxy with TLS in front of it before you expose it to the internet (see Deployment).
Memora then asks which folder to use as the vault: /var/lib/memora/vault with the native installer, /data in Docker. An existing folder of Markdown works as is. Every note is a .md file with optional frontmatter and [[wikilinks]], and when the vault folder is a git repository, every change is committed, so you can see, diff and restore any revision (run git init in the vault to turn this on). You can switch the folder later in Settings → Notes folder.
4. Add an agent#
In the web app open Agents (in the sidebar, under the Agents group), then New agent. Pick the app (Claude Code, Cursor, VS Code, Codex CLI, Gemini CLI, Windsurf, Claude, ChatGPT, Claude Desktop or any other MCP client), give the agent a name and its access, and paste the config Memora shows, with your endpoint and key already filled in. Make one agent per app or device, so Activity shows who did what.
For reference, Claude Code looks like this:
claude mcp add --transport http memora https://your-domain/mcp \
--header "Authorization: Bearer memora_live_REPLACE_WITH_YOUR_KEY"Clients that support MCP authorization (such as Claude or ChatGPT) connect with only the URL: you approve them in the browser and they show up as agents you can restrict or revoke. Every agent gets its own page with Overview, Setup, Activity, Access and Settings. Details for every client are in MCP & agents.
5. Paste the agent instructions#
Connecting gives an agent the tools; instructions tell it when to use them. The last step of New agent shows the recommended prompt. You can also copy it from Agent instructions into your client's rules or custom instructions, and your agent will search Memora before it answers and save what is worth keeping.
Find your way around#
The web app has the same pages on every screen, in the same groups:
- Workspace: Overview (your notes and agents at a glance, and what is due on your boards), Notes, Boards, Tags and Brain (with its Graph and Canvas modes).
- Agents: Mnemo (the built-in notes agent), Activity (every agent call, live) and Agents (connect AI apps and choose what each may do).
On a desktop or tablet these groups sit in the sidebar, and each folds like an accordion. Under them, the Library holds your pinned notes and folders, a filter and the folder tree; its heading stays at the top while you scroll. Trash and Settings sit in the sidebar footer. The menu under your name holds the theme, Tools (switch MCP tools on or off), Access rules, help (Documentation, Help & shortcuts, What's new) and Sign out. Press [ to collapse the sidebar.
On a phone the bottom bar has Overview, Notes, Brain, Activity and More. More opens a sheet with every other page, Boards and Mnemo included, in the same groups. The bar slides away while the keyboard is open.
New note and New board sit at the top of the sidebar. Overview and the folder view have one New button that asks for a note or a board, and the keys N and B do the same in the open folder. Ctrl+K (or /) searches notes, jumps to pages and runs actions, and Alt+1 to Alt+9 open the pages in the sidebar's order.
Notes and boards#
- Reading settings. Aa in a note's toolbar opens the reading panel (a bottom sheet on phones) with a live preview: page colour and accent, font, text size, line and paragraph spacing, alignment, hyphenation, text width, pictures, headings, links and the code theme. Each applies to every note or to this note only, kept on the device, with Reset per section. F hides the toolbar for reading; F or Esc brings it back.
- Boards. A note in the Obsidian Kanban format opens as a board: drag cards and lanes, tick them off, and open a card to edit its text, checklist, due date, linked notes and tags. On a board, Aa opens Board view (spacing, lane width, card style, what cards show, colour by card, tag or due date). Turn into board in a note's ⋯ menu makes a list note a board, and Add board in the editor puts a board into a note. See Kanban boards.
- What is due. Overview's Due section lists open cards across every board that are overdue, due today or due in the next 7 days; tick one off right there. The Boards item shows how many cards are overdue, and Settings → Notifications can send due date reminders.
Help inside Memora#
- In the web app, open the menu under your name, then Documentation (
/docs) for these guides and the agent instructions with Copy buttons. Help & shortcuts (or?) lists the keyboard shortcuts. - In the terminal, run
memora-cli docs, or type/docsin the console. - Watch your agent work in Activity and on its own page: every read, write and search is logged as it happens.
Next steps#
- Mnemo: the notes agent built into Memora.
- Kanban boards: boards in the Obsidian Kanban format, for you and your agents.
- Tools & permissions: give each agent only the scopes and tools it needs.
- Configuration: every setting and where it lives.
- Security policy: the security model and how to report a problem.