Comemo – composite memory provider for Hermes Agent
Comemo, a new composite memory meta-provider, allows Hermes Agent to use multiple memory systems simultaneously, overcoming a long-standing limitation of the platform.
Hermes Agent, an AI assistant platform, has historically limited users to a single memory provider at a time. This constraint, marked as 'wontfix' in the core system (Issue #24770), has now been addressed by Comemo, a new composite memory meta-provider that enables simultaneous use of multiple memory systems. The solution allows users to leverage the strengths of different providers while maintaining redundancy and reliability.
Comemo functions as a plugin that sits in Hermes' single memory slot but writes to and reads from multiple providers concurrently. When a write operation occurs, Comemo fans out to all active providers in parallel using a thread pool. For reads, it queries all providers simultaneously, merges the results, and deduplicates identical information before returning them to Hermes. This architecture ensures that if one provider fails, the others continue operating without interruption.
How Comemo Works
The implementation addresses a known community issue where multiple memory providers had been developed—Honcho for cross-session identity tracking, Mem0 for automatic fact extraction, Supermemory for structured knowledge storage, and Hindsight for vectorized knowledge graphs—but could only be used one at a time. Comemo solves this by acting as a multiplexer that handles all providers simultaneously.
For reliability, Comemo includes failure handling mechanisms. When a provider becomes unavailable, failed writes are stored in a local SQLite retry queue and automatically replayed at the next session start, with each item retried up to five times. This ensures no data loss even during partial system failures.
Installation and Setup
Comemo can be installed either through the Hermes marketplace with the command 'hermes plugins install comemo' or directly from GitHub using 'hermes plugins install andausman/comemo'. After installation, users run 'hermes memory setup' to configure each provider, with API keys securely stored in Hermes' secret scope rather than in configuration files.
Comemo multiplexes multiple Hermes memory providers simultaneously. Each provider you enable runs in parallel — reads and writes fan out to all of them.
Provider Capabilities
The supported memory providers each offer distinct capabilities. Honcho tracks user identity across sessions using workspace-scoped storage. Mem0 automatically extracts facts from conversations through LLM analysis. Supermemory provides three-layer retrieval including user profiles, entity graphs, and document RAG. Hindsight creates vectorized knowledge graphs with entity resolution and hybrid retrieval methods.
Users can enable any subset of providers through Comemo's setup wizard or manual configuration in the ~/.hermes/config.yaml file. The plugin replaces Hermes' built-in memory provider when active, though existing built-in memories are not automatically migrated. Commands like 'status', 'test', and 'inspect' allow users to verify functionality and retrieve stored memories across all enabled providers.