Skip to content

Let an AI agent use your memory

Read this if you use an AI agent and want it to automatically reach into your work context — without you pasting in emails or saying “go check OMem.” This is the payoff: the agent answers from your real history on its own.

Once connected, the agent recognizes a work-flavored question, queries OMem, reads just what it needs, and answers — citing your actual emails, docs, and notes. Step through a real exchange:

You
What were the open items we promised to revisit from the Acme Q3 review?

A question about your real work — the kind an agent normally has no context for.

turn 1 / 6

The key: you don’t tell it to use OMem. It notices the question touches your work and reaches for it.

Pick the one that matches your agent.

The richest integration, for agents with a skill / plugin mechanism — Claude Code, Codex, Claw Hub. The skill carries trigger semantics and the drill-down flow, not just raw tools. First make sure the omem CLI is installed and set up (installsetup).

In Claude Code:

/plugin marketplace add seacen/omem
/plugin install omem@omem-marketplace

In Codex and Claw Hub, install OMem’s plugin from their respective plugin systems — the same skill, a different front door. (Full per-agent steps.)

To verify, ask the agent “check my OMem health” — it should run omem doctor.

Both the skill and the MCP server expose the same six read-only tools:

ToolWhat it does
queryRanked search across all your indexed work
page_getFull wiki page (frontmatter + body)
raw_get_pathPath to the original source file (file kind)
raw_get_parsed_pathPath to the parsed source (with version history)
wiki_lsBrowse pages by kind / source / account / date
doctorOMem health check
The CLI is the real interface — everything else is a thin wrapper

The skill (the plugin you install in Claude Code) is a small wrapper that shells out to omem query. The MCP server is a thin process that does the same. Neither re-implements anything — a human in the terminal and an agent through the plugin run the identical command and get identical behavior. That’s deliberate: the agent layer changes year to year, so OMem keeps the memory underneath bound to a stable CLI, not to any one agent. Switch agents whenever; your memory persists. (Design principle P5.)

You’ve gone from nothing to an agent that remembers your work. From here:

  • How-to guides — ingest more sources, tune search, schedule it, back it up.
  • Concepts — why OMem is shaped the way it is.