Engineered for Hermes Agent & OpenClaw

Give Your AI Agent a Memory It Can't Forget β€”
And You Can Actually Read.

Every conversation session archived as clean Markdown, automatically secret-scrubbed, tracked for token telemetry, and staged for human review. No black boxes. No vendor lock-in. Native Obsidian power with built-in MCP server support.

PS > irm https://raw.githubusercontent.com/mistrysiddh/hermes-brain-template/main/_System/Scripts/Installers/install.ps1 | iex
Obsidian v1.8+ Β· Tokyo Night
Hermes Brain Obsidian Graph View

The 4-Stage Memory Pipeline

How volatile agent conversations transform into durable, human-verified knowledge without hallucinating or leaking secrets.

1. Hourly / Instant Session Archiving

Input / Source RAW AGENT SESSION

Pipeline Output / Transformation AUTO-SCRUBBED ARCHIVE (.md)

Click any stage above or use buttons to navigate

What's New in the Template

Your agent now remembers why you decided things, your vault has a local undo history, and cron noise stays out of your real chat logs.

Axioms 03-Resources/Axioms.md The few beliefs everything else derives from
Principles 03-Resources/Principles/ Standing rules distilled from repeated decisions
Decisions 03-Resources/Decisions/ Hard-to-reverse choices, with alternatives rejected
v1.24

Decisions, Principles & Axioms

Log hard-to-reverse choices from Decisions/TEMPLATE.md. The Alternatives Rejected section is mandatory, so agents stop re-proposing ideas you already ruled out. Axioms.md ships empty on purpose: it should hold your beliefs, not generic filler.

v1.24

Local Git Safety Net

Hook session_git_snapshot.py into Hermes' on_session_end and every session gets its own commit you can git diff or revert. Local history only: it never pushes or fetches. A secret-scanning gate blocks the commit if anything looks like an API key or private key, and logs only the file path, never the content.

v1.23.1

Cron Runs Kept Separate

Cron logs, lock files and cron-run session notes now live in 04-Archives/Cron/, so Daily/ holds only your real chats. Upgrading? migrate_cron_sessions.py moves old cron notes over and is safe to re-run.

v1.23

Post-Install Verification

The installers now finish by running verify_install, which sanity-checks vault structure, plugins, the MCP server and the memory pipeline, so problems show up on day one instead of week three.

v1.23

Opt-In Feature Packs

Scripts are grouped into beginner, analyst, poweruser and experimental packs under _System/Scripts/features/. Start with the core and copy in more when you're ready.

v1.23

Template Drift Checker

template_drift.py compares your vault to the latest template release by SHA-256 and sorts every file into safe, customized, outdated or missing, so you know exactly what an update will touch.

v1.22

Interactive Memory Review

promote_memory.py --review walks you through pending candidates one by one: promote to MEMORY.md or your User Profile, dismiss, or skip. Every action lands in the consolidation audit log.

v1.22

Dream Cycle v2

dream_cycle.py was rebuilt as an autonomous reflection engine that consolidates memories between sessions, and now ships with its own test suite.

Full history in the release notes on GitHub.

Multi-Agent ADR Squad Simulator

Test any architecture decision or tool directive against Hermes Brain's 4 peer review personas before committing it.

Sample Dilemmas:
πŸ›‘οΈ
Argus
Security & Boundaries
BLOCK
Loading evaluation...
πŸ’»
Codex
Architecture & Code
PASS
Loading evaluation...
πŸ“Š
Ledger
Token Budget & Context
PASS
Loading evaluation...
🎯
Vox
User Alignment & Tone
BLOCK
Loading evaluation...

11-Dimension Personality Matrix

Tune your agent's behavioral dials in real time. Generates a calibrated User-Profile.md alignment block.

Autonomy vs Confirmation 6/10
1: Ask before every action 10: Autonomous self-directed
Verbosity & Preamble 2/10
1: Commands only, 0 fluff 10: Deep explanatory prose
Fact Verification & Skepticism 8/10
1: Blindly trust claims 10: Strict empirical citations
Tone: Formality vs Banter 4/10
1: Ultra-formal corporate 10: Playful developer banter
Tool & MCP Proactivity 7/10
1: Wait for instructions 10: Proactively search vault
Generated 02-Areas/User-Profile.md Block ● Live Reactive

Obsidian Note Template Gallery

Inspect and 1-click copy the production Markdown templates bundled in _System/Templates/.

Interactive Vault Knowledge Graph

Explore real note connections across Projects, Areas, Resources, and Archives directly in your browser.

Live Vis-Network Graph Explorer

Token ROI & Context Budget Calculator

Compare the context window token overhead of naive chat log dumping vs Hermes Brain's human-staged fact memory.

Daily Agent Sessions 10 chats/day
1 session 40 sessions/day
Avg Tokens per Session 4,000 tokens
1k tokens (short) 12k tokens (deep spike)
πŸ’‘ Why this matters: Staging verified facts into 04-Archives/Memory-Review/ extracts durable knowledge while discarding 92% of transient chat noise from prompt tokens.
Naive Unstaged Context
1.2M
monthly prompt tokens
Hermes Brain Footprint
96k
staged facts injected
Tokens Saved (Monthly)
1.1M (92%)
context reduction
Estimated API Savings
$3.31 / mo
at $3.00/1M tokens avg

Built on the Proven PARA Method

Organized for discoverability, speed, and effortless agent context ingestion. Explore the directory hierarchy below.

Vault Root Hierarchy
  • 01-Projects/
  • 02-Areas/
  • 03-Resources/
  • 04-Archives/
  • _System/

01-Projects β€” Active Charters & ADRs

01-Projects/

Contains active initiatives with concrete deadlines and deliverables. Includes Architectural Decision Records (ADR) with 4-agent peer review personas (Argus for security, Codex for code, Ledger for token efficiency, Vox for human alignment).

Key Files & Artifacts

πŸ“„ Hermes-Agent-Vault-Setup.md Master hub note and deployment charter
πŸ“„ ADR/ADR-001-Memory-Pipeline.md Architectural record of staging protocol
πŸ“„ Projects.base Obsidian Dataview live database of active projects

Built-In MCP Server (hermes_brain_mcp.py)

Expose your Obsidian second brain directly to Claude Desktop, Cursor, OpenClaw, and any MCP-compatible client over stdio.

Exposed Agent Tools & Resources

Click any tool below to test the simulated stdio JSON-RPC request and see the real-time response payload:

vault_search(query, tags)
Keyword, regex, and frontmatter tag search across the entire vault.
read_note(path)
Safely fetch Markdown note content, frontmatter, and headings.
get_user_profile()
Fetch operator operating parameters, boundaries, and tone guidelines.
stage_memory_candidate(fact, category)
Stage candidate facts directly into the Kanban queue for human review.
vault_stats()
Telemetry metrics on sessions, token usage, projects, and archiver health.
Claude Desktop / Cursor Config Snippet:
"hermes-brain": {
  "command": "python",
  "args": ["<vault_path>/_System/Scripts/hermes_brain_mcp.py"]
}
stdio JSON-RPC Inspector

5 Flexible Ways to Get Started

Choose the setup option that fits your workflow β€” from a 1-paste chat prompt to an interactive terminal script.

Fastest: Run the automated installer directly in your terminal

Downloads the latest template, asks where you want your vault, checks for Obsidian, registers HERMES_VAULT_PATH, then runs verify_install to confirm the vault structure, plugins, MCP server and memory pipeline are all wired up.

Windows (PowerShell):
irm https://raw.githubusercontent.com/mistrysiddh/hermes-brain-template/main/_System/Scripts/Installers/install.ps1 | iex
Linux / macOS / WSL (Bash):
curl -fsSL https://raw.githubusercontent.com/mistrysiddh/hermes-brain-template/main/_System/Scripts/Installers/install.sh | bash

Zero Manual Terminal Work: Paste directly into your Hermes / OpenClaw chat

Hermes will clone the repo, run the installer, configure the environment, and wire up the hourly archiving cron job automatically.

Clone https://github.com/mistrysiddh/hermes-brain-template into a new "Hermes Brain" vault for me. Steps:
1. Ask me where I want the vault folder to live (default: ~/Hermes Brain on Linux/macOS, or %USERPROFILE%\Hermes Brain on Windows).
2. Clone the repo into that location.
3. Run the platform-appropriate installer (_System/Scripts/Installers/install.sh or install.ps1).
4. Relay any questions to me and confirm env.HERMES_VAULT_PATH is set.
5. Create an hourly session-archiving cron job named "hermes-brain-archive-hourly" pointing to <vault>/_System/Scripts/hourly_archive.py.
6. Show me the verify_install results and fix anything it flags.

Own Your Private Git Repo with Full Version History

Use GitHub's green "Use this template" button to fork the repository privately into your GitHub account, then clone it locally:

git clone https://github.com/mistrysiddh/hermes-brain-template.git "Hermes Brain"
cd "Hermes Brain"
# Windows:
powershell -ExecutionPolicy Bypass -File .\_System\Scripts\Installers\install.ps1
# Linux/macOS:
chmod +x _System/Scripts/Installers/install.sh && ./_System/Scripts/Installers/install.sh

Zero Commitment: Test in a disposable sandbox

Creates a temporary copy in %TEMP% or /tmp without touching your real Hermes config or permanent directories:

# Linux / macOS:
./_System/Scripts/Installers/try.sh

# Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File .\_System\Scripts\Installers\try.ps1

Instant Browser Sandbox (60 Free Hours / Month)

Spin up a fully configured Linux container in your browser with zero local installs:

Launch Codespaces Sandbox

Everything You Need to Know

No! The core vault, session archiver, and memory-review pipeline work with any Hermes / OpenClaw agent without requiring local models. Only the optional trend-digest and nocturnal dream cycle scripts use Ollama or sentence-transformers for local semantic embeddings.
100% private. Everything lives in your local vault directory (or private GitHub fork). All session archives in 04-Archives/Daily/, candidate reviews in 04-Archives/Memory-Review/, and plugin configs are strictly git-ignored so you never accidentally commit personal data.
Yes. The vault structure, Dataview queries, Kanban boards, and templates make an outstanding standalone Obsidian "Second Brain" for developers and engineers. The Hermes automation simply adds automated session harvesting on top.
Run ./_System/Scripts/Installers/update.sh (or update.ps1 on Windows). It pulls the latest scripts, templates, and bug fixes without touching your existing personal notes, daily logs, or user profiles. Want to see what would change first? Run python _System/Scripts/template_drift.py "<vault-path>" to get a report of which files are safe, customized, outdated or missing.
Since v1.24, you can wire _System/Scripts/session_git_snapshot.py in as a Hermes on_session_end hook. It commits a local snapshot of the vault after every session (creating a local-only repo on first run), so a bad multi-file edit is one git revert away. It never pushes or fetches, and it refuses to commit if it spots something that looks like a secret.
Since v1.23.1, cron-run session notes are filed under 04-Archives/Cron/sessions/ so Daily/ only holds real conversations and your Dataview queries stay clean. Upgrading from an older vault? Run python _System/Scripts/migrate_cron_sessions.py --vault "<vault-path>" once (add --dry-run to preview) to move the existing ones.
ESC to close