Agents & Automation

Hermes Agent and Obsidian: how a notes vault can extend your agent’s memory

Hermes Agent keeps its built-in memory to a few thousand characters. Its bundled Obsidian skill lets the agent read, search and write notes in a vault you own. Here is what it does, how to set it up and what to watch.

Finley · FoxAI World4 min read
18
Finley gestures toward an open vault with the Obsidian logo as a small robot and document icons float nearby.Notes as agent memory

Conceptual cover created with AI.

You ask your agent what you decided about a project last month, and it has no idea. Not because the model is weak, but because nothing it can see holds that answer. Hermes Agent, the open-source agent from Nous Research, keeps its own memory deliberately small. Its bundled Obsidian skill offers a different place to look: the folder of notes you may already be writing.

Why Hermes keeps its built-in memory small

According to the official Hermes documentation, built-in memory lives in two files under ~/.hermes/memories/. MEMORY.md holds the agent’s own notes and is capped at 2,200 characters, roughly 800 tokens. USER.md holds a profile of you and is capped at 1,375 characters, roughly 500 tokens. A token is the small chunk of text a language model reads and counts.

These files are not a growing archive. When a write would go past the limit, Hermes returns an error instead of quietly dropping entries, so the agent has to merge or remove older entries first. Both files are also injected into the system prompt, the standing instructions the model sees, as a snapshot taken once when a session starts. Changes are saved to disk immediately, but they only show up in that prompt in the next session.

Finley sits at a laptop beside an Obsidian vault, a robot with a shield, a warning symbol and a magnifying glass.
AI-generated conceptual illustration.

What the Obsidian skill can do

Obsidian is a note-taking app that stores notes as plain Markdown files in a folder it calls a vault. The obsidian skill in the Hermes Agent repository (version 1.0.0, MIT licence, listed for Linux, macOS and Windows) is described as a way to read, search, create and edit notes in that vault.

In practice it maps everyday note work onto Hermes’ file tools. The agent reads a note with read_file, lists notes and searches file names or note contents with search_files, creates new notes with write_file, and makes targeted edits with patch. Appending works by reading the note and applying an anchored patch, or with a simple terminal append. The skill also covers adding [[Note Name]] wikilinks, Obsidian’s way of connecting one note to another.

How to point Hermes at your vault

The skill reads the vault location from the OBSIDIAN_VAULT_PATH variable. By convention you set it in the .env file inside your Hermes home folder, which is ~/.hermes unless HERMES_HOME says otherwise. If the variable is missing, the skill falls back to ~/Documents/Obsidian Vault.

Two practical details from the skill file matter here. File tools do not expand shell variables, so the path has to be resolved to a concrete absolute path first. And because vault paths often contain spaces, the skill prefers file tools over shell commands; the terminal is reserved for resolving the path, checking the fallback location and simple appends.

Does a vault replace memory or session search?

No. It sits next to them. Besides the two memory files, Hermes stores every CLI and messaging session in a local SQLite database, ~/.hermes/state.db, with full-text search. Its session_search tool returns the actual past messages without an AI-written summary. For heavier needs, the documentation lists external memory providers that run alongside built-in memory: RetainDB and ByteRover come bundled, while Honcho, Hindsight, Supermemory, Mem0, OpenViking and Holographic can be added with hermes plugins install.

So the layers answer different questions. Built-in memory carries a few durable facts into every session. Session search finds what was said in earlier chats. The vault holds whatever you and the agent choose to write down, in files you control.

What to watch before you connect it

The skill does not only read. It can create notes and edit existing ones, which means the agent can change files you rely on. Notes in the vault are also not loaded automatically like the memory snapshot; the agent finds them when it searches or opens them during a task.

My take: treat the vault as a library the agent consults, not as a second brain it carries around. There’s a simpler handoff here. Give the agent one folder, such as an inbox, where it writes new notes, and move anything into your main project notes only after you have read it. That keeps the useful part, an agent that can look things up in your own writing, while the decision about what becomes a lasting record stays with you. This is a working suggestion, not a rule from the Hermes documentation.

The underlying files remain plain Markdown on your own disk. If you stop using Hermes, the notes are still yours and still readable in any text editor.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.