@signetai/connector-hermes-agent 0.140.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,64 @@
1
+ # Signet Memory Provider
2
+
3
+ Persistent cross-session memory powered by the [Signet](https://github.com/Signet-AI/signetai) daemon. Hybrid search (BM25 + vector + knowledge graph), predictive recall, automatic entity extraction, and retention decay.
4
+
5
+ ## Requirements
6
+
7
+ - Signet daemon running on localhost:3850 (default)
8
+ - Install: `curl -fsSL https://signetai.sh/install.sh | bash`, `npm install -g signetai`, or `bun add -g signetai`
9
+
10
+ ## Setup
11
+
12
+ ```bash
13
+ hermes memory setup # select "signet"
14
+ ```
15
+
16
+ Or manually:
17
+ ```bash
18
+ hermes config set memory.provider signet
19
+ signet start # ensure daemon is running
20
+ ```
21
+
22
+ ## Config
23
+
24
+ Environment variables:
25
+ - `SIGNET_DAEMON_URL` — Full daemon URL (default: `http://localhost:3850`)
26
+ - `SIGNET_HOST` / `SIGNET_PORT` — Host and port separately
27
+ - `SIGNET_TOKEN` — Optional daemon bearer token; sent to loopback daemon URLs by default
28
+ - `SIGNET_TRUSTED_DAEMON_ORIGINS` — Comma-separated remote daemon origins allowed to receive `SIGNET_TOKEN`
29
+ - `SIGNET_AGENT_ID` — Agent scope identifier (default: `hermes-agent`)
30
+ - `SIGNET_AGENT_WORKSPACE` — Optional named-agent workspace path (for example `~/.agents/agents/dot`)
31
+ - `SIGNET_AGENT_READ_POLICY` — Optional named-agent memory policy for first registration: `shared` (default), `isolated`, or `group`
32
+ - `SIGNET_AGENT_POLICY_GROUP` — Required when `SIGNET_AGENT_READ_POLICY=group`
33
+
34
+ ## Tools
35
+
36
+ | Tool | Description |
37
+ |------|-------------|
38
+ | `memory_search` | Hybrid memory search (keyword + semantic + knowledge graph) |
39
+ | `signet_session_search` | Search active or completed Signet session transcripts (namespaced to avoid Hermes's built-in `session_search` core tool) |
40
+ | `memory_store` | Store a fact, preference, or decision to memory |
41
+ | `memory_get` | Retrieve a memory by ID |
42
+ | `memory_list` | List memories with optional filters |
43
+ | `memory_modify` | Edit an existing memory |
44
+ | `memory_forget` | Soft-delete a memory |
45
+ | `recall` / `remember` | Compatibility aliases for search/store |
46
+
47
+ `memory_store` exposes the full Signet remember surface, including:
48
+
49
+ - `content`, `type`, `importance`, `tags`, `pinned`, and `project`
50
+ - `hints` for prospective recall hints and alternate phrasings
51
+ - `transcript` for lossless source text alongside the saved memory
52
+ - `structured.entities`, `structured.aspects`, and `structured.hints` for callers that already extracted graph-ready memory metadata
53
+
54
+ ## How It Works
55
+
56
+ The plugin bridges Hermes Agent's memory lifecycle to the Signet daemon:
57
+
58
+ 1. **Session start** — Calls Signet's session-start hook, which returns identity files (AGENTS.md, SOUL.md, USER.md, MEMORY.md), scored memories, and knowledge graph constraints. Injected into the system prompt.
59
+
60
+ 2. **Per-turn recall** — On each user message, calls the user-prompt-submit hook. Signet runs hybrid search (BM25 + vector similarity + knowledge graph traversal + predictive scoring) and returns the most relevant memories.
61
+
62
+ 3. **Session end** — Sends the conversation transcript to Signet's session-end hook, which queues it for the memory pipeline: extraction, knowledge graph updates, retention decay, and MEMORY.md synthesis.
63
+
64
+ 4. **Explicit tools** — The agent can call canonical Signet tools such as `memory_search` and `memory_store` directly during conversation for on-demand memory operations. Legacy `signet_*` names are handled for compatibility but are not advertised to the model.