Hermes Atlas
Memory & knowledge · works with Hermes Agent

DNA Memory

AIPMAndy/dna-memory

Local-first shared memory MCP server giving Codex, Claude Code and Hermes one Markdown memory

In short

DNA Memory is a local-first memory MCP server that lets Codex, Claude Code, Claude Desktop and Hermes read and write one shared Markdown or Obsidian memory. Hermes is one of the three clients its setup wires up.

What DNA Memory does

DNA Memory treats a Markdown or Obsidian directory as the source of truth for long-term memory and SQLite as a deletable, rebuildable index. Clients connect over stdio MCP and use memory_recall, memory_remember and feedback tools, so they stop keeping separate and conflicting memories.

It does not store whole transcripts. Automatic import keeps only session IDs, paths, hashes, offsets and counts, and extraction produces at most three candidate memories per session, each up to 800 characters. Conclusions are sorted into eight types, including preference, fact, decision, workflow and error_lesson, and credentials, private keys and likely tokens are rejected. Recalled memories can be marked useful or misleading, and outdated ones are replaced through an explicit supersedes link. The profile config includes skill roots for Codex, Claude and Hermes, with Hermes at ~/.hermes/skills, and the README shows commands to connect all three clients to one MCP service. The README is in Chinese, with an English version linked.

Key features

  • Markdown or Obsidian directory as the memory source of truth, SQLite as index
  • Shared stdio MCP service for Codex, Claude Code, Claude Desktop and Hermes
  • Eight memory types with duplicate detection and supersedes links
  • Rejects credentials, private keys and likely tokens
  • Stores session pointers instead of full transcripts

When to use it

  • Letting Hermes and Codex recall the same project decisions
  • Keeping long-term notes in an Obsidian vault that agents can search
  • Marking recalled items as useful or misleading to improve later recall

Who it is for: People who switch between Hermes, Codex and Claude tools and want one memory instead of several.

How it fits with Hermes Agent

Hermes is one of the clients it connects, with a dedicated Hermes skill root in the profile; the tool also serves Codex and Claude.

Requirements: Python 3 with venv support; an MCP-capable client

FAQ

What is DNA Memory?

DNA Memory is a local-first memory MCP server that keeps long-term memory in a Markdown or Obsidian folder and shares it across several AI clients.

Does DNA Memory work with Hermes Agent?

Yes. The README names Hermes as a supported client, shows how to point Codex, Claude Code and Hermes at the same MCP service, and sets a Hermes skill root at ~/.hermes/skills.

Is DNA Memory free and open source?

Yes. The repository is licensed under Apache-2.0.

Similar memory for Hermes Agent

All memory

Related guides: SOUL.md for Hermes Agent: what it is and how to write one · Run multiple Hermes agents with profiles