feat(hermes): add MCP server support for vector-based RAG memory #4
Loading…
Reference in a new issue
No description provided.
Delete branch "eumel/nixos-config:feature/hermes-mcp-memory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Erweitert das Hermes NixOS Modul um eine mcpServers Option, die per-instanz MCP (Model Context Protocol) Server konfiguriert.
Was gemacht wird
ICM (Infinite Context Memory)
qmd
Beispiel
nix
instances.hermes.research = {
domain = "research.example.com";
port = 8642;
mcpServers = {
icm = { command = "icm"; args = [ "serve" ]; };
qmd = { command = "qmd"; args = [ "mcp" ]; };
};
};
Siehe: https://github.com/numtide/llm-agents.nix
https://github.com/rtk-ai/icm
https://github.com/tobi/qmd
Add mcpServers option to the Hermes NixOS module, allowing per-instance MCP (Model Context Protocol) server configuration. Each server gets command, args, env, and timeout — passed to Hermes config.yaml under mcp_servers, making tools available as mcp_<name>_<tool>. The module auto-detects known MCP servers (icm, qmd) and adds their packages from the llm-agents.nix flake to the container's system packages, so the binaries are on PATH. Example usage: instances.hermes.research = { domain = "research.example.com"; port = 8642; mcpServers = { icm = { command = "icm"; args = [ "serve" ]; }; qmd = { command = "qmd"; args = [ "mcp" ]; }; }; }; ICM (Infinite Context Memory) provides: - Vector RAG with auto-dedup (85% similarity) - Temporal decay (stale facts fade) - Hybrid search (BM25 30% + cosine 70% via sqlite-vec) - 31 MCP tools (store, recall, forget, knowledge graph CRUD) - Cross-agent memory (facts stored by one agent are visible to all) qmd provides: - Hybrid search (BM25 + vector + LLM reranking) - MCP server with query, get, multi_get, status tools See: https://github.com/numtide/llm-agents.nix https://github.com/rtk-ai/icm https://github.com/tobi/qmdView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.