omoikane

mcp
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Fail
  • exec() — Shell command execution in .github/workflows/ci.yml
  • fs module — File system access in .github/workflows/ci.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Eternal memory, alive and lightning fast, for AI coding agents. One Rust binary, one SQLite file, automatic recall. Stable since 1.0.

README.md

Omoikane

Omoikane

Eternal memory, alive and lightning fast.

Local memory for AI coding agents. One binary, one SQLite file, and the agent doesn't have to remember to look things up.

Omoikane recalling a saved gotcha on a new session, and staying quiet when nothing is related

Español

Omoikane (思兼, "the one who gathers thoughts") is the kami the other gods consult when a decision has to be made: he remembers everything that is known and puts it together. That is what this program does for an agent.

What makes it different

Your agent learns things every session: a bug that only shows up on Windows, why the team chose ULIDs, that you want short commits in English. Then the session ends and all of it is gone. Omoikane keeps those as short, typed memories in a local SQLite file, and does the rest by itself.

  • It recalls by itself, and almost always stays quiet. When what you type relates to something saved, a hook hands the agent that memory in about 35 ms (with a large memory, the meaning model checks it on the few prompts where words found something, and the noise drops). If nothing relates, it hands over nothing, as with 93 % of real prompts. When the agent opens a file on its own, the gotchas about that file come with it. It also saves what the agent forgot to, when the session ends.
  • It understands what you ask, even with other words, in 101 languages, accents or not. On the public benchmark (250 questions written blind), the right memory comes first for 89 % of questions and 55 % of paraphrases; engram 3.6, 71 % and 6 %.
  • Nothing gets lost. No duplicates, history with reasons, stale memories flagged, secrets redacted, a trash everything comes back from and a copy of the database every day. Each memory says what it is based on (you said it, read in the code, tested, a doc, or only worked out by an agent), and what an agent only worked out comes back marked. When two memories contradict each other, the old one waits until you say which holds.
  • From you alone to a whole company. The same memory on all your computers and with teammates, through a git repository of yours, encrypted. Spaces keep each client's memories apart, and trades share what one stack teaches (Android, web, WordPress…) with every project of that stack.
  • 15 agents, one memory. Claude Code, Codex, Gemini CLI, Cursor, Copilot, OpenCode and the rest; omoi setup <agent> gets each one ready. Two are tested by hand, the rest going by their documentation.
  • From memory to team skill. omoi skill turns a memory into a skill in the repository (.agents/skills and .claude/skills) that every agent loads, and tells when it fell behind the memory. In the web view it is one button, Make skill.
  • Your second brain. omoi brain opens it in the browser: the graph of everything with a memory beside it to read, follow its [[links]] and edit, its history kept. No Obsidian or other tool needed.
  • See it as a graph. The web view draws the whole memory on one map, like Obsidian: memories, projects, trades, tags, files and sites, filtered by kind or project and back in time. The files and sites come from what each memory says; no model guesses them.
  • One binary, no server. 10 MCP tools, SQLite built in, no Python, Node or Docker. It works offline, and on Windows just like on Linux and macOS.

Install

In Claude Code (2.1.310 or newer), two commands and nothing else:

/plugin marketplace add marcmayol/drac-plugins
/plugin install omoikane@drac

Automatic updates come off. omoi setup claude and the one-line installers ask whether you want them (no answer leaves them off) and, if you say yes, turn on the plugin's update too; omoi upgrade --on turns them on any time. For the plugin's, if you only ran the two commands above: /plugin → Marketplaces → drac → Enable auto-update (Claude Code leaves it off for third-party marketplaces).

On the first session the plugin downloads the omoi binary for your system from this repo's Releases (checking its SHA-256) into ~/.omoikane/bin, then, in the background and once, the light embedding model (~150 MB); until it arrives, search works by words. The meaning model (EmbeddingGemma, ~450 MB) only comes when the memory passes 1,000 memories: Omoikane downloads it by itself then and says so. omoi model semantic --on brings it earlier, --off never. When the plugin updates, it fetches the matching binary. Prebuilt binaries: Windows x64, Linux x64/ARM64 (glibc 2.35 or newer), macOS Apple Silicon and Intel; anywhere else, cargo install omoikane and the plugin uses the omoi on your PATH (or set OMOIKANE_BIN). If you'd rather not run a binary you didn't build, do the same: cargo install omoikane builds it from the source published on crates.io.

Without Claude Code, or to use omoi from the terminal or another MCP client, install the binary with one line:

Windows (PowerShell)

irm https://raw.githubusercontent.com/marcmayol/omoikane/master/install.ps1 | iex

Linux and macOS

curl -fsSL https://raw.githubusercontent.com/marcmayol/omoikane/master/install.sh | sh

Or cargo install omoikane. The installers also add the Claude Code plugin if Claude Code is there (OMOIKANE_NO_SETUP=1 to skip it, OMOIKANE_NO_MODEL=1 to skip the model).

Stable since 1.0

Throughout 1.x, the database, the sync line and the omoi export format don't change in any way that breaks things: a 1.3 and a 1.0 sync with each other, and a computer on 1.0 keeps and passes on what it doesn't understand from a newer version. The MCP tools and their parameters don't break either; things only get added. If something ever has to break, that will be 2.0, with a migration and a warning.

Version 1.18.0, on crates.io and in the Releases, with CI on Windows, Linux and macOS. Used every day on Windows, Linux and macOS (Apple Silicon). How it works is in docs/, what changes in each version in the CHANGELOG, and where it's going in the ROADMAP.

Measured

With 137 real notes and questions written blind by another agent, never used for tuning:

right memory first / within the top three 90 % / 97 %
search, median 43 ms (50 ms at 3,183 memories, just as accurate)
real prompts that get something injected 7 % of 300
recall hook 15-26 ms
embedding model (potion-multilingual-128M, int8) opens in 2.7 ms; 13 MB per process

Full method and every number: BENCHMARK.md. The public, reproducible benchmark (3,000 notes from open projects, 250 questions written blind) lives in omoikane-bench.

Documentation

Stack

Rust · rusqlite (bundled SQLite + FTS5) · sqlite-vec · model2vec-rs · rmcp

Contributing

Issues and pull requests are welcome: read CONTRIBUTING.md first (the rules that keep 1.x stable, and how to test). Security problems go through private reporting: SECURITY.md.

License

MIT · Marc Mayol

Reviews (0)

No results found