# Openltm: Hermes Agent plugin

> Long-term memory for Hermes agents, stored in a local SQLite database.

Canonical: https://hermeswatcher.com/plugins/openltm  
Tier: Community  
Official page (Nous Research): https://hermes-agent.nousresearch.com/docs/plugins/openltm  
Last updated in catalog: 2026-10-16

Long-term memory for Hermes agents, stored in a local SQLite database. FTS5 full-text search with optional vector (sqlite-vec) recall, importance-weighted decay, a queryable memory graph, and automatic capture: a declarative rule engine classifies corrections, constraints, preferences, decisions, and agent-discovered facts from a conversation and stores each one as a distilled, self-contained fact. Runtime notifications and read-only OpenLTM tool requests are excluded by named guards so ops noise never becomes memory. No cloud, no telemetry, no API keys required; optional semantic recall via a local llama.cpp embedding server. MIT licensed.

## Good to know before installing

Local SQLite in HERMES_HOME; runs git config to read the repo remote; memory text goes to Gemini or OpenAI embeddings, or to the llama.cpp server URL you set (default 127.0.0.1:8080), only if selected in openltm.json (default local Ollama)

From the plugin's catalog listing.

## How to install

1. Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.

```bash
hermes plugins install openltm
```

2. Said no? Turn it on later:

```bash
hermes plugins enable openltm
```

3. Restart Hermes so it loads the plugin.

Some plugins also need a sign-in or settings: see the official page. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugins

## Facts

- Category: Memory & notes
- Maintained by: RohiRIK (Community)
- Needs: No API keys declared
- Adds tools: `openltm_recall`, `openltm_learn`, `openltm_forget`, `openltm_context`, `openltm_relate`, `openltm_graph`, `openltm_brain_stats`, `openltm_stale`
- Version: 2.19.0
- In the catalog since: 2026-10-02, updated 2026-10-16

## Links

- [Full setup and settings (official page)](https://hermes-agent.nousresearch.com/docs/plugins/openltm)
- [Source code](https://github.com/RohiRIK/OpenLtm/blob/main/docs/10-hermes-plugin.md)
- [All plugins](https://hermeswatcher.com/plugins.md)

---

HermesWatcher is an independent guide. It is not affiliated with or endorsed by Nous Research. The [official Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs) and [repository](https://github.com/NousResearch/hermes-agent) from Nous Research are the authority; each page here lists the official sources it was written from. If this site and the official docs disagree, trust the official docs. Index for agents: https://hermeswatcher.com/llms.txt
