Learning resourcesReviewed · Mem0

Mem0 integration guide for Hermes Agent

This guide helps Hermes Agent users add long-term memory with Mem0, but automatic saving can miss details and standalone-plugin support depends on the Hermes release. It covers Mem0 Cloud, a self-hosted HTTP server and an in-process SDK, alongside Hermes’ built-in file memory.

Researched 15 Nov 2026

In short.

This guide helps Hermes Agent users and developers add Mem0 memory, but saving is best effort and installation depends on Hermes compatibility. It explains three deployment options, automatic recall, background fact extraction and four memory tools. Recall waits up to three seconds, while automatic extraction receives only 450 characters per message by default and can skip turns. Prices, license terms, migration rollout status and runtime performance are unknown from this page.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the complete documentation page at [https://docs.mem0.ai/integrations/hermes], including all deployment modes, setup examples, configuration precedence, identity scoping, migration prerequisites and reliability notices. Linked plugin code, Hermes code, server code, pull requests and other documentation pages are excluded. The page’s command examples do not demonstrate successful execution. Installation, runtime behavior, retrieval quality and performance remain unassessed.

The overview

Identity

Mem0 publishes this integration guide for Hermes Agent, Nous Research’s AI agent command-line interface. It describes a standalone plugin that extracts facts from conversations and retrieves relevant memories for later questions. The guide is available at [https://docs.mem0.ai/integrations/hermes].

The plugin supplements Hermes’ built-in MEMORY.md and USER.md files. The linked plugin repository is a separate resource; its implementation is outside this page’s scope.

Assessment

The documented behavior suggests a useful fit for retaining preferences and other reusable facts across Hermes conversations when occasional omissions are acceptable. Truncation, skipped capture and the absence of a durable write queue make it unsuitable as the sole complete conversation record.

The guide explains deployment and operational tradeoffs in detail, but supplies no measured evidence of better answers, retrieval accuracy or latency. Its installation instructions also depend on Hermes completing the standalone-provider migration.

Users

Hermes users comfortable with terminal commands, API keys and profile settings can follow the managed Cloud setup. Developers operating their own infrastructure get configuration details for model services, vector databases and a separate Mem0 server.

People using Hermes across CLI, Telegram, Slack or Discord need to understand identity settings. A nondefault user_id merges that identity’s memories across gateways; leaving it unset uses native gateway identities when available. Searches span sessions and do not filter by the current channel.

Capabilities

The integration provides automatic recall and background extraction, plus four tools. mem0_search finds memories by meaning using a required query; top_k defaults to 10 and allows up to 50 results. Reranking is documented as Platform-only and defaults to false.

mem0_add stores the supplied content verbatim without model extraction. mem0_update changes a memory using memory_id and text, while mem0_delete removes one using memory_id. Writes include an agent identifier and channel metadata.

Using it

Requirements

The guide requires Python 3.11 or later and a Hermes build supporting memory-provider plugins. Hosts that still bundle Mem0 prefer that implementation, so installing the standalone plugin does not replace it. A confirmed minimum Hermes release completing migration is not identified.

Documented dependencies are mem0ai>=2.0.10,<3 and httpx>=0.27,<1. Older hosts such as Hermes v0.21.3 need these installed explicitly in the Hermes Python environment. Manual OSS setup may also require qdrant-client, psycopg2-binary or ollama.

Cloud requires a Mem0 API key. The self-hosted option requires a reachable server and normally its API key. OSS requires an extraction model, an embedding model and storage. The listed providers are OpenAI or Ollama for models, and Qdrant or pgvector for storage. Hardware requirements are not specified.

Mechanism

For each incoming question, Hermes searches stored memories and waits up to three seconds. Results arriving within that window enter the system prompt. If they arrive too late, automatic injection is skipped, although the model can still call mem0_search.

After the assistant responds, a background thread sends the user message and assistant response for fact extraction. Each message is capped at 450 characters by default, preferably ending at a sentence boundary; sync_max_chars changes this limit.

OSS runs the SDK inside Hermes. Its extraction and embedding models are configured separately from the main Hermes chat model. The documented OpenAI defaults are gpt-5-mini and text-embedding-3-small; the Ollama defaults are llama3.1:8b and nomic-embed-text.

Setup

For a compatible Hermes build, the documented sequence is hermes plugins install mem0ai/mem0/integrations/hermes-plugin-mem0, then hermes plugins enable mem0, followed by hermes memory setup mem0. Choose the backend and start a fresh conversation. The page makes installation conditional on the plugin directory being available on Mem0’s main branch.

The wizard needs an interactive terminal. Redirected input cannot select the mode and falls back to Platform. Some Hermes hosts reject options such as --mode and --host before the plugin runs.

Settings belong in the active profile’s $HERMES_HOME/mem0.json, with API keys normally in that profile’s .env. Nonempty file settings override environment defaults. Cloud uses mode platform with an empty host; a self-hosted HTTP server also uses mode platform, with host set to its address. Mode oss ignores host.

The guide recommends checking an actual memory write and search in a fresh session. hermes memory status reports configuration availability and is not a full backend health check.

Example

An illustrative use is asking Hermes to store “I prefer Python examples” through mem0_add, supplying that sentence as content. In a later conversation using the same user_id, a related question could use automatic recall or an explicit mem0_search query.

This illustrates the documented tool flow, not an observed result. Explicit addition avoids automatic fact extraction and its per-message capture limit; successful storage and retrieval were not assessed.

Assessment & evidence

Limitations

Automatic capture can omit facts beyond the character cap. If a previous extraction is still running after a five-second wait, capture of the next turn is skipped. There is no durable queue, and forced termination, including Hermes’ 30-second exit watchdog, can interrupt pending writes.

Five consecutive backend failures pause memory calls for two minutes while the agent continues without memory. The three-second recall wait does not describe every operation’s timeout: self-hosted HTTP capture has a 120-second read timeout and 30-second connection timeout; other HTTP operations use 30 seconds.

Switching backends does not transfer memories. Concurrent CLI and Desktop processes should use a Qdrant server or the Mem0 HTTP server instead of sharing a local Qdrant directory. The plugin supplies no Desktop configuration panel or provider-specific CLI commands.

Deployment tradeoffs

Based on the described architecture, Cloud reduces the number of backend components the user operates. The HTTP server option places Mem0 behind a separately operated service. OSS gives direct control over extraction, embedding and storage configuration, with additional dependency and infrastructure work.

OSS alone does not keep processing local: conversation data goes to whichever model services are configured. Local Mem0 processing requires local extraction and embedding models plus local storage. The main Hermes chat model remains a separate configuration choice.

Alternatives

Hermes’ built-in MEMORY.md and USER.md files are the baseline described on this page. Mem0 operates alongside them. The page provides no comparison establishing when adding Mem0 produces better results than using file memory alone.

Cloud, a self-hosted server and the in-process SDK are deployment alternatives within this integration. Other external memory providers are not described sufficiently for a supported comparison.

Evidence

The evidence is Mem0’s documentation at [https://docs.mem0.ai/integrations/hermes]. It contains configuration examples, expected behavior, compatibility notices and troubleshooting guidance.

The page does not establish implementation correctness, retrieval quality, security or measured performance. No installation, code execution, model call or memory operation was performed. Linked repositories, pull requests and other documentation pages are outside the evidence.

Access & freshness

Costs

The page gives no prices, quotas, free-tier limits or billing terms for Mem0 Cloud. Cloud cost is unknown.

OSS does not require a Mem0 Cloud API key, but uses the configured model services and storage. Model-provider charges, server expenses and local operating costs are not quantified. No deployment option’s total cost can be established from this page.

Rights

The guide describes an open-source SDK option and links source repositories, but includes no license text or specific commercial-use, modification or redistribution terms. Those permissions are unknown from the supplied page.

Cloud data ownership, retention, training-use terms and deletion guarantees are also unspecified. A memory deletion tool is documented, but broader service-level deletion terms are not established.

Freshness

The documentation was captured on 15 November 2026, and its metadata reports a last modification on 24 September 2026. These dates do not identify a plugin release or confirm current Hermes compatibility.

Automatic migration is documented as requiring a Hermes build containing PR #114569, an approved mem0 catalog entry pinned to a reviewed full commit SHA, and removal of the bundled provider. Whether these rollout conditions have been met is unknown from this page.

Next steps

Confirm that the intended Hermes build supports the standalone provider and no longer prioritizes bundled Mem0. Existing users should preserve their provider setting, user identity, profile configuration and OSS storage paths; the documented migration does not require rerunning setup.

Choose a backend according to where conversation data should go and which services you can operate. Establish its pricing and applicable license or service terms before adoption.

In a fresh session, verify an explicit memory write and search using the same user identity. Check whether the 450-character capture default suits the intended conversations, and use mem0_add when exact text matters. Keep secrets within the active profile and restrict manually edited configuration files to their owner.

Evidence for this report

selected-page.htmlselected · checked 2026-11-15