# Cognition: Hermes Agent plugin

> Cognition session-end memory — facts regex-extracted from your messages at session end, stored in a local SQLite queue and JSON log under one repo label, with fetch-first merge, per-entry provenance, and budgeted…

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

Cognition session-end memory — facts regex-extracted from your messages at session end, stored in a local SQLite queue and JSON log under one repo label, with fetch-first merge, per-entry provenance, and budgeted prefetch (tools: cognition_search, cognition_status, read-only cognition_dream).

## Good to know before installing

Saves verbatim excerpts (up to 400 chars) of your own messages that match preference/decision phrases in plain local files under HERMES_HOME/cognition/ (SQLite queue, JSON commit log) and re-injects them into later prompts sent to your model provider; the author name is read from ~/.gitconfig; the plugin makes no network calls of its own.

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 cognition
```

2. Said no? Turn it on later:

```bash
hermes plugins enable cognition
```

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: aska-digital (Community)
- Needs: No API keys declared
- Adds tools: `cognition_search`, `cognition_status`, `cognition_dream`
- Works on: linux, macos, windows
- Version: 0.1.1
- In the catalog since: 2026-10-12

## Links

- [Full setup and settings (official page)](https://hermes-agent.nousresearch.com/docs/plugins/cognition)
- [Source code](https://github.com/aska-digital/cognition-memory#readme)
- [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
