Pre-alpha · open source · Apache-2.0

A terminal coding agent that never forgets your project

Mnemo is an open-source terminal coding agent for macOS, Linux and Windows. After each run it writes down what it learned about your project, recalls it next session, keeps the fix when something failed, and writes skills for itself. Bring your own model; memory stays on your machine.

Install MnemoHow it works

v0.2.0 · macOS · Linux · Windows · no Bun, Node or Rust needed

Mne, our elephant, is made of memories. Move the pointer; scroll to take it apart.

How it remembers

Take the elephant apart and you find a memory

01

Every run leaves a mark.

After each run, one grounded reflection writes down what it learned: the facts you stated or a tool showed, what was decided, what is still open, and the fix for anything that failed.

02

Memory is a graph, not a pile.

Each memory is a node, linked by typed edges (part of, derived from, supersedes) and filed into six areas, from episodic to executive. Recall follows the links one hop out, so related memories come along.

03

Written down, plain as day.

Everything is one append-only journal on your machine, a line per change. Replaying it gives back the whole graph. Nothing is ever erased: a changed fact supersedes the old one and the old one stays as history.

04

Next session, it remembers.

Before the model sees your message, memory is searched for it and what it finds is attached: the project's facts, your preferences, pitfalls with their fixes, the skills it wrote. On a small model, that took one repo from 87% of tasks done right to 100%.

Measured

  • 87→100%six tasks in one repo, small model, memory off → on
  • 82→99%two repos whose rules conflict
  • 0telemetry. Nothing leaves but what you send your provider
  • 3systems: macOS, Linux and Windows, one archive each

Small samples on DeepSeek v4.1 Flash; read the direction, not the decimals. What we measured.

Just added

Five new things your agents can do

The newest work, newest first. Each one runs below as a small demo built from the app's own text. Pick one and press the buttons.

A shared plan and log per run

Once a second agent works on what you asked, they share a TASK.md and a LOG.md. Agents claim steps with task_update, only a step's owner marks it done, and each turn starts with what the others did.

on mainPull request #83

Merged, and in the next release.

TASK.md# Run r1

Goal (the user's words): add rate limiting to the API and document it

## Plan
1. [claimed #1] add the limiter to src/api/client.ts
2. [open] document the limits in README.md
3. [open] a test for the 429 path
LOG.md14:30 #1 started #2 "docs": document the limits in README.md
14:30 #1 claimed step 1

Only task_update changes the plan. At each turn an agent is shown, as data, what the others in its run did since it last looked.

Try it here

See what it does

It asks before it edits

Every edit and command waits for you by default. Allow it and the change is checked before it is called done; refuse it and nothing is written.

add a retry to the fetch helper
I should read it first, then retry only on server errors so a 404 still fails fast.
read src/fetch.ts 5 lines
edit src/fetch.ts
-  const res = await fetch(url);+  for (let attempt = 1; ; attempt++) {+    if (res.ok) return res.json();+    if (attempt === 3 || res.status < 500) throw …
allowed once
bash git diff --check && git diff --stat
src/fetch.ts | 9 ++++++---
Done: server errors retry up to three times with backoff; 4xx still fail on the first try.
learned 2 facts · 1 open: no test covers the retry path yet

A simulation built from the app's own text. mnemo --demo plays a real session with no API key.

Hands on

Poke the memory

This is the shape of one project's memory after a few sessions. Run a session and watch it recall what it needs, then leave something behind. Change a fact and the new value supersedes the old one, which stays as history.

How the real one works »

memory.journal · live

Drag a block. Run a session to watch it recall and learn.

Install Mnemo

curl -fsSL https://github.com/AtmanMishra/Mnemo/releases/latest/download/install.sh | sh

The installer checks the download's SHA-256 against the release's checksum file (that catches a corrupted download, not a compromised release: verify provenance if that matters to you), never touches your memory or settings, and upgrades in place when you run it again. Read the script first. Prefer a download? Every build, with checksums.

Then run mnemo doctor to see what it found, mnemo --demo for a scripted session that needs no API key, and mnemo to start. Remove it with … | sh -s -- --uninstall (Windows: set $env:MNEMO_UNINSTALL=1 first).

Questions

Questions people ask

What is Mnemo?

Mnemo is an open-source terminal coding agent with a memory that learns your projects. It reads your files, edits them and runs commands as you, asks before it does, and remembers what it learned for the next session. You bring the model.

Is Mnemo free?

Yes. Mnemo is free and open source under the Apache-2.0 license, and the source is on GitHub. You pay only your model provider for the tokens you use.

Which models does Mnemo work with?

You choose the provider and the model: /login adds a provider key or subscription and /model picks one. It also uses credentials it finds in your environment, such as ANTHROPIC_API_KEY or OPENAI_API_KEY.

How do I install Mnemo?

Run the one-line installer for your system from the install section, or download an archive. No Bun, Node or Rust is needed. Then mnemo doctor shows what it found and mnemo --demo plays a scripted session that needs no API key.

Does Mnemo collect telemetry?

No. There is no telemetry, and no update check unless you turn one on (mnemo update --auto on). Your prompts and the files the model reads go to the provider you chose, and nothing else leaves your machine.

Where is the memory stored?

On your machine, in Mnemo's memory sidecar (memsrv): an append-only journal that is the only source of truth. Credentials live separately in ~/.mnemo/auth.json with mode 0600.

Is it safe to run on my code?

By default Mnemo asks before every edit and command. The permission gate filters what runs; it is not a sandbox. Commands it runs inherit your environment, provider keys included, so use /yolo and headless -p in a container or a throwaway checkout. SECURITY.md has the details.

How do I update Mnemo?

Run mnemo update, or /update inside Mnemo: it installs the latest release with the same checksum-checked installer. mnemo update --auto on adds a daily check at launch that tells you when there is a new version and never installs on its own. Homebrew and Scoop installs use brew upgrade mnemo and scoop update mnemo.

How do I remove Mnemo?

Run the installer again with the uninstall flag: … | sh -s -- --uninstall. On Windows, set $env:MNEMO_UNINSTALL=1 first. Your memory and settings are never touched by the installer.

Give your agent a memory

Pre-alpha, open source, and honest about its rough edges. Tell us what you find.

Download MnemoReleases