Skip to content
GuyMannDudePublic

About

Omnemo — memory for Omarchy. One shared memory for every agent harness on the box.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Omnemo — memory for Omarchy

Agents come and go. The memory abides.

One shared memory for every agent harness on the box.

Actively maintained, MIT licensed, and running on Omarchy 4.5. Install from main with INSTALL.md. Want a friendlier desktop to go with it? Omnemo OS sets up both.

Omarchy made coding agents system citizens. Omnemo gives them the one thing they still wake up without: memory. Claude Code remembers what Codex did yesterday. Your agent knows this app crashed before — and what fixed it.

Built just for Omarchy. Not a fork, not a patch — a glove-fit layer made entirely from Omarchy's own extension points (skills, user plugins, a systemd user unit), which omarchy update leaves alone.

What you get

  • Shared recall across harnesses — one memory store, spoken over MCP, registered with Claude Code, Codex, OpenCode, Crush and Gemini (Pi gets the skill; its MCP registration is not supported yet). Save in one, recall in any.
  • Human-like memory, not a fixed database — recall blends similarity, recency, and importance; memories decay at different rates by kind, the way yours do.
  • A memory skill dropped into ~/.agents/skills/ and linked into the Claude Code, Codex and Pi skill dirs — those harnesses learn when to remember and when to recall, automatically.
  • Crashes with a past — Omarchy hands core dumps to your agent; Omnemo lets the agent answer "this crashed before, here's what fixed it."

Optional extra, off by default: a memory count in the Omarchy bar — omnemo setup --bar (or omnemo bar on any time; omnemo bar off removes it).

Install

Fastest path: pick a default agent if you haven't (omarchy default agent claude, or codex, …), open it (omarchy agent) and say "Install Omnemo — follow INSTALL.md." It will do the rest.

Manual instructions: INSTALL.md.

Using your memory

There's nothing new to learn. Talk to your AI helper (Claude, Codex, OpenCode or another) the way you always do. When you tell it something worth keeping, like your name, how you like answers, or a project you're working on, it saves it and tells you in one sentence that it did. Next time, in a new chat or even in a different AI app on the same computer, it already knows.

  • Want something gone? Just say so: "forget that I…". Your helper finds it, confirms which one, removes it, and tells you.
  • Personal things (health, money, family): your helper asks before it saves them.
  • Where it lives: in one folder on this computer, ~/.local/share/omnemo. Omnemo itself sends nothing anywhere. When your helper reads a memory to answer you, its AI service sees that memory, the same as anything you type to it.
  • Starting fresh: to wipe everything, copy that folder somewhere safe, then delete it.

Prove it

Memory is durable the instant a save returns — a crashing harness loses nothing. Don't take our word for it:

python3 examples/crash_demo.py

It opens a real MCP session against omnemo serve, saves a memory, SIGKILLs the server the moment the save is acknowledged (no shutdown, no flush), then recalls the memory from a fresh process.

Cross-harness recall, live

The core promise — save in one harness, recall in any — is a two-command demo on a box with two authenticated harnesses:

# Ask Claude Code (Anthropic) to remember something
claude -p 'Use the omnemo save tool to store this memory: the electronics
repair shop favorite song was "Everything'\''s Broken" by Bob Dylan' \
  --allowedTools "mcp__omnemo__save"

# Ask Codex (OpenAI) — a different vendor's harness, fresh process
codex exec 'Using only the omnemo MCP recall tool: what was the favorite
song at the electronics repair shop?'

Run live on the reference Omarchy 4.0.1 box:

mcp: omnemo/recall started
mcp: omnemo/recall (completed)
codex
"Everything's Broken" by Bob Dylan.

One memory, written by one vendor's agent, recalled by its competitor. The memory belongs to the machine, not the harness.

What to expect on a low-spec box

Measured 2026-10-30 on a 2016 laptop: Intel i3-6100U (2 cores / 4 threads), 3.7 GB RAM, Omarchy 4.5.0rc2 (rc channel), Omnemo 0.2.1.dev3, timed over the real MCP stdio path.

What Number
Cold start (spawn omnemo serve → first recall answered) 2.6 s
Warm recall, 20 calls (4 memories) p50 167 ms, p95 202 ms
Warm recall, 20 calls (1,000 memories) p50 136 ms, p95 148 ms
Save p50 79 ms, p95 139 ms
Server memory (RSS), warm ~330 MB (337 MB at 1,000 memories)
Store on disk 32 KB at 4 · 236 KB at 100 · 2.1 MB at 1,000 memories
One-shot CLI omnemo recall (loads the model each time) 1.6–1.9 s

Most of the memory and the cold start is the local embedding model (BAAI/bge-small-en-v1.5). Each harness runs its own server, so budget ~330 MB per open harness on a 4 GB machine. The cold start was measured with the model already in the OS file cache; the first run after a reboot is slower.

Status

The current release is v0.2.1 (2026-12-01). What was tested, October to December 2026, on a real 2016 laptop running Omarchy 4.0.6 and later the 4.5 release candidate:

  • An agent installs it alone. Told "Install Omnemo — follow INSTALL.md", Claude Code installed it on a wiped machine twice in a row with no human fixes and no sudo. Codex did the same once it had full access for the job (INSTALL step 0).
  • Save in one harness, recall in another. Claude Code and Codex, both directions, over MCP. OpenCode recalled from the same store through its own registration.
  • It keeps working after the server is killed right after a save (examples/crash_demo.py), a reboot, theme switches, and harness upgrades. Omarchy installs harnesses through mise, which upgrades them without asking; Omnemo's registration held through a Claude Code and a Codex upgrade.
  • omarchy update. The skill survived repeated updates on an Omarchy 4.0.4 test machine. On the real laptop, the bar widget files and the warm-up service survived the update from the 4.5 release candidate to 4.5.0 stable (2026-12-01), the warm-up ran clean on the next boot, and recall worked after. The widget was not placed on the bar at the time, so its on-bar placement across an update is not tested.
  • Speed and size: the table above.

Earlier runs (v0.2.0, clean Omarchy 4.0.1 and 4.0.4 machines, September to October 2026) covered the manual INSTALL walk and local-first operation with the network cut.

Known limits

  • Pi gets the memory skill only; its MCP registration is not supported yet.
  • Gemini CLI and Crush are registered but were not driven end to end. Gemini's free Google sign-in no longer works for third-party tools (use an API key, INSTALL step 2); Crush needs a provider login first.
  • Recall is a habit, not a guarantee. The skill tells agents to recall before they start work; nothing forces them to, and a busy agent can skip it.
  • One computer. No export, import or sync between machines yet.
  • Local embeddings only. There is no option to use a hosted embedding model or your own API key.
  • Each open harness runs its own server, about 330 MB each.
  • Crash memory was not exercised with a real crash. It is guidance in the skill (recall the crashing program's name, save the fix), not code.

See SPEC.md for the original design.

Lineage

Omnemo is the memory core of Mnemo Cortex — "memory that works more like a human than the others" — rebuilt clean and cut down to just memory, then fitted to Omarchy natively. MIT licensed, like Omarchy itself.

About

Omnemo — memory for Omarchy. One shared memory for every agent harness on the box.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages