{"id":51181353,"url":"https://github.com/perseus-computing-llc/hermes-mimir","last_synced_at":"2026-06-27T07:02:58.287Z","repository":{"id":365381475,"uuid":"1271848542","full_name":"Perseus-Computing-LLC/hermes-mimir","owner":"Perseus-Computing-LLC","description":"Mimir persistent memory provider for Hermes Agent — encrypted, local-first, 27 MCP tools","archived":false,"fork":false,"pushed_at":"2026-06-17T04:19:30.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T06:16:00.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/tcconnally/mimir","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Perseus-Computing-LLC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-17T04:17:32.000Z","updated_at":"2026-06-17T05:10:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Perseus-Computing-LLC/hermes-mimir","commit_stats":null,"previous_names":["tcconnally/hermes-mimir"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Perseus-Computing-LLC/hermes-mimir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perseus-Computing-LLC%2Fhermes-mimir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perseus-Computing-LLC%2Fhermes-mimir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perseus-Computing-LLC%2Fhermes-mimir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perseus-Computing-LLC%2Fhermes-mimir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Perseus-Computing-LLC","download_url":"https://codeload.github.com/Perseus-Computing-LLC/hermes-mimir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perseus-Computing-LLC%2Fhermes-mimir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34844346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T07:02:55.399Z","updated_at":"2026-06-27T07:02:58.273Z","avatar_url":"https://github.com/Perseus-Computing-LLC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hermes-mimir\n\nMimir persistent memory provider for [Hermes Agent](https://github.com/NousResearch/hermes-agent).\n\nMimir is an encrypted, local-first memory engine for AI agents — 27 MCP tools,\nsingle Rust binary (~8 MB), embedded SQLite + FTS5 + vector search. Zero cloud\ndependencies.\n\n## Features\n\n- **Encrypted at rest** — AES-256-GCM encryption for production deployments\n- **Hybrid search** — BM25 (FTS5) + dense embeddings + Reciprocal Rank Fusion\n- **Confidence decay** — memories naturally decay unless reinforced\n- **27 MCP tools** — full memory lifecycle: remember, recall, search, forget,\n  summarize, decay, vault export, embed, prune\n- **Web dashboard** — browse and manage memories at `http://localhost:8080`\n- **Single binary** — no Docker, Postgres, or cloud required\n\n## Installation\n\n```bash\n# From GitHub (until published to PyPI)\npip install git+https://github.com/Perseus-Computing-LLC/hermes-mimir.git\n\n# Or from PyPI (coming soon)\n# pip install hermes-mimir\n```\n\nThen install the Mimir binary:\n\n```bash\n# Via cargo\ncargo install mimir\n\n# Or download from GitHub Releases\n# https://github.com/Perseus-Computing-LLC/mimir/releases\n```\n\n### Hermes Plugin Setup\n\nHermes discovers memory providers in `$HERMES_HOME/plugins/\u003cname\u003e/`.\nAfter installing the package, link it into your Hermes plugins directory:\n\n```bash\nHERMES_HOME=\"${HERMES_HOME:-$HOME/.hermes}\"\nmkdir -p \"$HERMES_HOME/plugins/mimir\"\n\n# Copy the provider module and metadata\npython3 -c \"\nimport hermes_mimir, shutil, os\nsrc = os.path.dirname(hermes_mimir.__file__)\nshutil.copy(os.path.join(src, '__init__.py'), '$HERMES_HOME/plugins/mimir/__init__.py')\nshutil.copy(os.path.join(os.path.dirname(src), 'plugin.yaml'), '$HERMES_HOME/plugins/mimir/plugin.yaml')\nprint('Plugin installed to $HERMES_HOME/plugins/mimir/')\n\"\n```\n\nVerify the plugin is discovered:\n\n```bash\nhermes memory setup   # should show mimir as an available provider\n```\n\n## Configuration\n\nAdd to `~/.hermes/config.yaml`:\n\n```yaml\nmemory:\n  provider: mimir\n  mimir:\n    binary: /usr/local/bin/mimir     # optional — auto-detected from PATH\n    db_path: ~/.hermes/mimir.db      # optional — defaults to ~/.hermes/mimir.db\n```\n\nThen restart Hermes:\n\n```bash\nhermes gateway restart\n# or exit and re-launch the CLI\n```\n\n## How It Works\n\n`hermes-mimir` implements Hermes's `MemoryProvider` ABC. On startup, it:\n\n1. Launches the Mimir binary as a subprocess\n2. Performs an MCP JSON-RPC 2.0 handshake (`initialize`)\n3. Discovers available MCP tools via `tools/list`\n4. Exposes those tools to the Hermes agent as callable functions\n5. Handles `prefetch` (recall before each turn) and `sync_turn` (persist after each turn)\n\nThe agent sees `mimir_remember`, `mimir_recall`, `mimir_search_memories`, and\n24 other tools — all backed by the Mimir binary running alongside Hermes.\n\n## Comparison\n\n| Feature | Built-in memory | Mimir |\n|---|---|---|\n| Storage | Flat text files | Encrypted SQLite |\n| Search | Substring grep | FTS5 + embeddings + RRF |\n| Encryption | None | AES-256-GCM |\n| Cross-session | Yes (same files) | Yes (structured entities) |\n| Decay | No | Ebbinghaus decay with configurable half-life |\n| Dashboard | No | Built-in web UI |\n| Tools | 1 (`memory`) | 27 |\n| Dependencies | None | Single Rust binary |\n\n## Development\n\n```bash\ngit clone https://github.com/Perseus-Computing-LLC/hermes-mimir.git\ncd hermes-mimir\npip install -e \".[dev]\"\npytest\n```\n\n## License\n\nMIT — same as Hermes Agent and Mimir.\n\n## Related\n\n- [Mimir](https://github.com/Perseus-Computing-LLC/mimir) — the memory engine\n- [Hermes Agent](https://github.com/NousResearch/hermes-agent) — the agent framework\n- [Perseus](https://github.com/Perseus-Computing-LLC/perseus) — live context engine for AI agents\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperseus-computing-llc%2Fhermes-mimir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperseus-computing-llc%2Fhermes-mimir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperseus-computing-llc%2Fhermes-mimir/lists"}