About Helixir
Helixir is an MCP server published by nikita-rulenko in the Data category: one infinite session for any agents and harness you have. No more degradation and hallucinations. Conduid read 23 tools from its source: add_memory, agent_farewell, agent_heartbeat, connect_memories, enroll_client, get_add_status and 17 more. No package is published for it, so it installs from a source checkout.
The repository has 91 stars and 15 forks, is licensed MIT, and its last commit was on 25 Aug 2026. The latest release is v0.18.0 (25 Aug 2026): v0.18.0 — The Maintained Substrate Released 2026-08-25. It follows v0.17.1 (22 Aug 2026), and the 5 most recent releases go back to v0.16.0 (19 Aug 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include accessibility, ai-coding, component-library, custom-elements, custom-elements-manifest and design-system.
Install
git clone https://github.com/nikita-rulenko/HelixirTools (23)
add_memoryStore raw natural-language text in long-term memory. An LLM splits it into atomic typed facts (max 15 per call — split bigger inputs), embeds them, and wires them into the reasoning graph with typed edges. Use whenever the user states a fact, decision, preference, goal or outcome worth keeping across sessions. Provide actor_id and the concrete access group_id; Helixir resolves any dedup federation automatically. RESULT CONTRACT — read carefully: - ok:true = SUCCESS. NEVER retry an ok:true result. - ok:true + memory_ids = stored now. - ok:true + memory_ids = stored as new; ok:true + updated = existing memories changed. - ok:true + status:'accepted' + pending_id = buffered write still finishing; searchable within seconds; optionally confirm via get_add_status(pending_id). Still SUCCESS. - memories_added:0 with non-empty 'deduped' = this fact was ALREADY known and got linked. 'saved' counts added + updated + deduped outcomes. SUCCESS, not a failure. - Only ok:false / status:'failed' is a real failure. - 'pending_outcomes' = results of EARLIER buffered adds, delivered opportunistically. needs_clarification: if non-empty, the memory charter refused to silently resolve a conflict (e.g. a reversed preference). Ask the user each suggested_question (or apply a standing rule), then store the answer as a new memory. Never ignore it.agent_farewellSay goodbye to the swarm: stamp one existing execution instance 'done' and make it inactive immediately without affecting active siblings in the same logical-principal family. Pass the owning actor_id and the same agent_id used on agent_heartbeat and any add_memory calls. Permanent RBAC rejects cross-principal termination. Cheap and idempotent; the durable Agent node and authorship provenance remain intact, while an unknown id returns found=false and creates no registry row. GATED by the collective tier: Solo returns {available:false}.agent_heartbeatAnnounce or refresh one concrete execution instance without writing a memory. actor_id resolves the authenticated logical principal; agent_id identifies this sub-agent/process and is grouped under that principal. status is an optional non-terminal progress label (default 'working', max 64 characters). The operation is cheap, idempotent, changes no RBAC grants, and returns {available, principal_id, agent_id, status}. Call it when a sub-agent starts and at meaningful progress boundaries; call agent_farewell for the same agent_id when it finishes.connect_memoriesDiscover how two concepts are related through the memory graph: bidirectional path search between anchors A and B. Each anchor may be a free-text query OR an exact memory_id (mem_… / raw_…) — pass an id to connect a memory you already know precisely, bypassing the search step. Returns the connecting chain with edge types (IMPLIES/BECAUSE/...) and cumulative confidence. The elder-brain primitive: sees connections that are several logical hops apart.enroll_clientRegister this remote agent principal through the reserved onboarding workspace. This deliberately narrow operation accepts only actor_id and can grant only worker in onboarding; it cannot choose another user, role, or group. Repeated calls are idempotent, and an existing default/onboarding assignment is preserved without downgrade. Returns {principal_id, group_id, roles, created}.get_add_statusCheck the status of a buffered add_memory by its pending_id. Pass actor_id; only the write owner, creator, or a global admin may inspect it. Returns {status: pending|processing|done|failed|not_found, result?, error?}. Optional — outcomes are also delivered opportunistically as pending_outcomes on your next add_memory, so polling is not required.get_memory_graphReturn the user's knowledge graph as {nodes, edges}. Nodes are memories ({id, content, node_type}); edges are typed relations ({source, target, edge_type, weight}) where edge_type is BECAUSE/IMPLIES/SUPPORTS/CONTRADICTS. Pass memory_id to get the ego-network around one memory (radius = depth, default 2); omit it for the user's whole local graph. Use this to inspect structure — to WALK a reasoning chain use search_reasoning_chain, to find a PATH between two memories use connect_memories.list_memoriesDump a user's memories in bulk (newest first), with NO ranking by relevance — use it for counting, auditing, or seeing everything; for 'what's relevant to X' use search_memory instead. Optionally restrict to one ontology type via memory_type. Capped by 'limit' (default 100) and truncated on large stores, so it is not a substitute for search. Returns [{memory_id, content, memory_type, created_at, importance, certainty}].list_usersList the identities (user_ids) present in this Helixir, newest first — a deliberately small roster for ORIENTATION, not a full dump. Call it when you are unsure which user_id to use, want to find your OWN stable identity, or need a teammate's user_id to read their memories. It does NOT tell you which id is yours — pick one stable user_id and use it consistently on every call. Privacy: returns only {user_id, name, created_at}, never emails or content. GATED by the collective tier: in Solo mode it returns {available:false} with no roster (discovery is a shared-collective affordance). To read an identity's memories use list_memories(user_id); to search across everyone use search_memory(scope='collective').resolve_contradictionAnswer a contradiction_review notice: settle a dispute between two memories. Pass the notice's from_id/to_id and your verdict — 'confirm' (my memory stands; both records stay, dispute retired), 'retract' (my memory is outdated; the disputing memory SUPERSEDES it — history preserved, nothing deleted), or 'preference' (both are valid viewpoints; they coexist). Non-destructive in every branch. Once resolved the dispute stops re-surfacing in reconcile passes. Every verdict is recorded as a charter PRECEDENT; after enough identical verdicts the result carries a 'rule_proposal' — a ready-to-adopt standing rule (adopt it verbatim via the add_memory call it dictates, or surface it to your human; adopted rules appear in memory://rules and silence further questions of that shape). Returns {resolved, from_id, to_id, strategy, rule_proposal?}.search_by_conceptSemantic search restricted to ONE ontology type and/or tags — like search_memory but when you only want, say, the user's goals or preferences. Set concept_type to filter (one of skill/preference/goal/fact/opinion/experience/achievement/action; omit to search all types) and/or 'tags' (comma-separated). For unrestricted recall use search_memory. Returns [{memory_id, content, concept_score}].search_incomplete_thoughtsFind incomplete thoughts from previous sessions that timed out. Use at session start to continue unfinished research. Returns: [{memory_id, content, created_at}]search_memoryRecall memories by meaning — the DEFAULT retrieval tool (hybrid dense + keyword + graph, no generative/reasoning-LLM call; a cold semantic query still uses the configured embedding endpoint). Use it to answer 'what do I know about X'. Pick a sibling instead when: you want the WHY behind something -> search_reasoning_chain; to bridge two specific concepts -> connect_memories; to filter by ontology type/tags -> search_by_concept; to dump everything for a user -> list_memories. 'mode' sets recall breadth (recent ~4h / contextual ~30d default / deep ~90d / full = whole store; use full if a query you expect to match returns empty). 'time_from'/'time_to' (RFC3339 or YYYY-MM-DD) bound recall to an explicit EVENT-time window; memories outside the window that are linked to in-window results via the graph still return as FLASHBACKS — flagged metadata.flashback=true with their event_date, capped separately so they never crowd in-window rows. 'scope' defaults to personal; collective/all need the collective tier and are downgraded to personal otherwise. Returns ranked [{memory_id, content, score, metadata}] where metadata carries provenance (origin, edge, ppr, cosine). When a result's metadata has 'collapsed', those memory_ids are the same story folded under this row (a raw source and its extracted atoms never coexist in one window) — the content is NOT lost; fetch a folded id explicitly if you need its exact wording. A result with 'superseded: true' is OUTDATED (ranked down, kept for history) — 'superseded_by' names the current version; never act on a superseded row as current truth.search_reasoning_chainReconstruct chains of reasoning around a topic — the 'why / what-follows' tool, and Helixir's signature capability. It finds seed memories then walks typed reasoning edges (BECAUSE/IMPLIES/SUPPORTS/CONTRADICTS) to assemble cause->effect chains with a human-readable reasoning_trail. Use chain_mode 'causal' for 'why is X so', 'forward' for 'what does X lead to', 'both'/'deep' for full context. Can return a LARGE payload on a dense graph — keep max_depth (default 5) and limit modest. Returns {query, chains:[{seed, nodes, reasoning_trail}], total_memories, deepest_chain}.swarm_statusWho is in the swarm RIGHT NOW — the agent rendezvous. `families` is the logical-agent registry grouped by explicitly stored RBAC principal; `subagents` contains only child execution instances where agent_id differs from principal_id; `agents` preserves the complete instance roster as a compatibility/diagnostic view. `active`/`total` and `active_principals`/`total_principals` count logical families, never raw processes. Separate instance and subagent counters expose concurrency. A family is online when its root or any child has a live non-terminal lease. agent_farewell ends only that instance; siblings keep the family live. Presence is published explicitly by agent_heartbeat and refreshed by add_memory(agent_id). GATED by the collective tier: Solo returns {available:false}.think_addAdd a thought node to an active FastThink session (from think_start). actor_id must match the principal that started it. Attach it under parent_idx (a previous thought's index) to build a reasoning tree, or omit to attach to the root. thought_type defaults to 'reasoning'. Returns {thought_idx, thought_count, depth} — keep thought_idx to use as a parent for later thoughts.think_commitPersist a concluded FastThink session into main memory. Call think_conclude first. The conclusion is stored as-is (fast path, typically a few seconds): recalled evidence becomes SUPPORTS provenance edges and entity discovery finishes in the background — only a very long conclusion falls back to full LLM extraction. Call it ONCE at the end. Returns {memory_id, thoughts_processed, elapsed_ms}.think_concludeRecord the conclusion of the actor's FastThink session — REQUIRED before think_commit. actor_id must match the principal that started it. Pass supporting_idx with the thought indices the conclusion rests on. Returns {conclusion_idx, status:'decided'}.think_discardThrow away the actor's FastThink session without persisting anything (clears the scratchpad). actor_id must match the principal that started it. After this the session_id no longer exists. Returns {discarded_thoughts, elapsed_ms}.think_recallPull relevant facts from MAIN memory into the current FastThink session as child thoughts under parent_idx. READ-ONLY — it never modifies main memory. Use it to ground the session's reasoning in what is already known. Returns {recalled_count, thought_indices}.think_startBegin a FastThink session — a reasoning scratchpad wired into long-term memory. OPEN ONE WHEN: you are weighing options, diagnosing a cause, or making a decision that rests on facts you would have to recall — i.e. whenever your next move would be search_memory followed by a judgement. Why not just think silently: think_recall lands stored facts INSIDE your reasoning tree, and think_commit persists ONE conclusion with SUPPORTS provenance edges from that evidence (fast — a few seconds), so the next agent inherits the WHY, not just the answer. For storing a plain fact, add_memory is enough. Flow: think_start -> think_add steps -> think_recall -> think_conclude -> think_commit (or think_discard). YOU choose the session_id and reuse it on every call. Repeat the same actor_id on every lifecycle call; the session id is not a credential. Returns {session_id, root_thought_idx}.think_statusInspect the actor's FastThink session without changing it. actor_id must match the principal that started it. Returns {status, thought_count, thoughts_left, depth, has_conclusion, elapsed_ms}; thoughts_left is your headroom before the session's thought cap — and think_conclude STILL works at 0 (the conclusion is the exit, not another thought). Errors if the session_id does not exist (e.g. after think_discard or think_commit).update_memoryReplace the content of an EXISTING memory (you must pass its memory_id, e.g. from a search result); the embedding and graph relations are regenerated. Use to correct or refine a specific known fact. Note: this edits in place and Helixir never deletes — to retire an OUTDATED fact, prefer add_memory with the corrected statement and let the charter supersede the old one (history is preserved). Returns {updated: bool, memory_id}.Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and 5 more.
- ✓No dynamic code executionScanned 612 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPhelixir/src/mcp/server.rs:16, helixir/src/mcp/server.rs:383
- Starts other programs
- 122 callshelixdb/helix-cli/src/commands/build.rs:352, helixdb/helix-cli/src/commands/build.rs:377, helixdb/helix-cli/src/commands/build.rs:391
- Outbound network calls
- 83 callshelixdb/helix-cli/src/commands/auth.rs:99, helixdb/helix-cli/src/commands/auth.rs:118, helixdb/helix-cli/src/commands/cloud_api.rs:4
- Writes or deletes files
- 252 callshelixdb-mock/build.rs:88, helixdb-mock/src/trace.rs:51, helixdb-mock/src/trace.rs:106
- Lockfile
- Cargo.lock and 5 more
Pattern matches on the source text of 612 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.7K words, fetched a month ago. The original in the repository is authoritative.
Read full README