loading…
Search for a command to run...
loading…
Headless geometric memory engine for AI agents — no Vector DB, no cloud, no API key. Store and retrieve by meaning using native Vector Symbolic Architecture (NV
Headless geometric memory engine for AI agents — no Vector DB, no cloud, no API key. Store and retrieve by meaning using native Vector Symbolic Architecture (NVSA) math over O_DIRECT NVMe mapping. Runs entirely on your machine via MCP.
Build Status MCP Glama License: AGPL-3.0 Patent Pending Geometric Memory
Persistent geometric memory for AI agents — one-call wake, anchor-first recall, edit-scoped spatial context, structured handoff. 8 essential MCP tools (62 total for power users). Hardware-native 256KB HolographicBlocks (q/p/CRS/Merkle), VSA/sheaf gluing, spatial AABB, rituals, NREM/ego.leg3. Runs local. Survives 200k-block stores without OOM. See docs/AGENT_MEMORY_CONTRACT.md, docs/GROK_BUILD_MEMORY.md, docs/GEOMETRIC_MEMORY.md.
New here?
| Path | Start here |
|---|---|
| Grok Build / Cursor / Claude (recommended) | docs/AGENT_MEMORY_CONTRACT.md + docs/GROK_BUILD_MEMORY.md + FIRST_RUN.md |
| Agent rituals (skills) | SKILLS.md → docs/skills/engram-wake-up.md |
| Deep geometric / TUI users | HOW_WE_ACTUALLY_USE_THIS_IN_2026.md + docs/RITUALS.md |
| BYOP substrate builders | AGENT_INTEGRATION_GUIDE.md |
Human review surface: Run ./scripts/leg (static) or ./scripts/leg --live (dynamic) for Primary Intent, traces, momentum, relations, Thought Tiles (text + HTML viz).
Engram is not a vector database. It is a persistent geometric memory engine (hardware-native 256KB HolographicBlocks on NVMe with O_DIRECT/GPUDirect, VSA calculus, sheaf gluing via relations, symplectic frames, CRS Lyapunov stability, hot/NREM consolidation, lawfulness gates, scar mechanics). It has no opinion on your use case. Sophisticated agents bring their own perspective (BYOP — "Build Your Own Perspective") and construct their own tuned manifolds on the shared substrate. High-quality use reveals deeper structure (category theory + calculus over memory) after the fact.
Why EngramGrok over plain .md files or vector stores?
verify_* gates + scars deflect corruption/drift (no silent append-log rot).ego.leg3 + NREM + continuation bundles + hot promotion survive shutdowns/sessions — the "self" doesn't reset.See also: docs/GITHUB_MVP_PREP_PLAN.md (current prep for public representation) and MANIFESTO.md.
No cloud. No API keys. Runs on your machine via MCP — 8 essential tools for daily agent work, 62 total for power users (tier reference). Build: cargo build -p engram-server && target/debug/engram --version.
Think of it as a persistent, self-healing geometric "brain" for your AI agents — not just a bag of .md files or a flat vector database that forgets on every restart or flattens meaning into numbers.
High-quality use reveals deeper structure (category theory + calculus over memory) after the fact. See docs/GEOMETRIC_MEMORY.md, docs/RITUALS.md, and docs/AGENT_MEMORY_CONTRACT.md for the full 8-tool contract.
Engram replaces flat vector DBs / append-log RAG with a geometric sheaf:
relate / search_by_relation / visualize traverse real OP_BIND edges.context_for_file, recall_in_file, force_spatial_ingest. Code Edit Ritual pre/post recon mandatory.See docs/GEOMETRIC_MEMORY.md and docs/RITUALS.md for full.
flowchart TD
A[Mint .leg3 Block<br/>q 8192D phase + p momentum + CRS + Merkle + AABB] --> B[VSA Calculus + Mixed Ops<br/>OP_ADD / OP_BIND / OP_GEOMETRIC_PRODUCT<br/>+ word/number bridging under fibered CRS>=0.74]
B --> C[Compress / Differentiate /<br/>Integrate / Operadic Compose<br/>mcp_linguistic_calculus]
C --> D[NREM Consolidation +<br/>ego.leg3 Promotion<br/>CRS 0.85+ homotopy + fidelity]
D --> E[Continuation Bundle +<br/>Session Handoff + Hot Promotion]
E -->|next wake / ritual_linguistic_wake| A
subgraph Rituals & Governance
F[session_start + recall/trace<br/>+ Code Edit Ritual]
G[session_end prepare_compression<br/>+ subvisor H¹ oversight]
end
style A fill:#e3f2fd
style D fill:#fff3e0
(See docs/CATEGORICAL_LINGUISTIC_CALCULUS.md for the word+number calculus extension and full P1-6 pipeline.)
Engram now supports native categorical reasoning directly over linguistic structures (words, discourse bundles) and mixed with numeric phases — inside the same geometric sheaf. This is structure-preserving synthetic calculus (differentiate/integrate/operadic) with homotopy coherence, fibered CRS guards (>=0.74), persisted via .leg3 + NREM/ego.leg3 promotion (CRS 0.85+ roundtrips/homotopy).
See full details, P1-6 surface (ZEDOS_LINGUISTIC 0x4C etc, mcp_linguistic_calculus + mixed ops), bridging examples, and invariants in docs/CATEGORICAL_LINGUISTIC_CALCULUS.md.
Usage example (via mcp_linguistic_calculus):
result = mcp_linguistic_calculus({
"bundle": {"words": [{"text": "hello", "coeff": [0.92, 0.1, ...]}, ...], "bundle_id": "d1"},
"operation": "differentiate"
})
# returns {crs: 0.87, result_bundle, phase_preview, ...}
Mixed word/number bridge ex: coeff scalar on phase (word→num) or num param shift on linguistic under fibered guard + CRS check (class-mixing scar on violation). Full roundtrip: mint mixed → compress → calc (e.g. integrate) → decompress → NREM/ego.leg3 (fidelity >=0.85).
How to try the new calculus: cargo build -p engram-server && target/debug/engram --version; wire MCP (ENGRAM_PROFILE=agent); mcp_engram_session_start(intent="explore linguistic calculus"); call mcp_linguistic_calculus (or extend examples/hello-engram-agent.py); verify mcp_engram_verify_manifold_integrity (min_crs 0.74). Full hygiene: cargo test -p engram-core -p engram-server, target/debug/engram --version.
Tiny copy-paste examples
Persistent memory (basic ~8-line agent flow):
# (MCP client or direct)
s.session_start(intent="research assistant")
s.remember("project_context", "User is building geometric memory substrate with rituals + subvisors + mixed calculus.")
facts = s.recall("project_context", k=2)
print("Recalled:", facts)
s.session_end(summary="Learned core context; continuation via ego.leg3/NREM + bundles.")
Mixed word+number (word coeff as scalar on numeric phase, under guard):
bundle = {"words": [{"text": "scaling_factor", "coeff": [0.92, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}], "bundle_id": "mix1"}
res = mcp_linguistic_calculus({
"bundle": bundle,
"operation": "scale", # or differentiate/integrate/operadic
"numeric_scale": 1.5 # word acts as operator on phase; fibered CRS>=0.74 guard + class-mixing scar
})
# returns {crs, result...}; roundtrips >=0.85 homotopy/fidelity via NREM/ego.leg3
This advances Engram from geometric memory to geometric reasoning substrate (calculus over the manifold). Public Phase 6 polish complete.
| Aspect | Engram | mem0 / Letta | qdrant / chroma / milvus | ragflow |
|---|---|---|---|---|
| Core Model | Geometric sheaf (q/p/CRS/Merkle + relations + VSA + H¹ gluing) | Flat vector + metadata / graph append | Vector DB (ANN, collections) | RAG pipeline over vectors |
| Momentum / Trajectory | p-tensor native, query_with_momentum | Limited recency | None (static) | Temporal via workflow |
| Spatial / Code | AABB AST (tree-sitter per save), recall_in_file | Chunk text | None | Document chunks |
| Rituals / Hygiene | scar, verify_*, record_reasoning_trace, Code Edit Ritual, subvisor | Basic | None | Pipeline steps |
| Continuation | Bundles, session_end handoff, hot path, ego.leg3/NREM | Session state | None | Workflow state |
| Declarative Processes | 7+ tomls (ritual/harness/operator/monitor/subvisor) registered at start | Config | None | YAML flows |
| Hardware Native | 256KB .leg3, O_DIRECT, GPUDirect, LBVH, 8192D phase | CPU/GPU vectors | Index on CPU/GPU | LLM + vector |
| MCP / Agent Native | 8-tool lean contract + 62 MCP tools tiered, process sheaf | API/ SDK | gRPC/REST clients | API |
| Self-Model / Lawfulness | CRS gates, lawfulness metrics, scars deflect | Logging | Metrics | Eval hooks |
(Emulates polish from popular while preserving Engram's non-flat identity. Full details + gaps closed in docs/GITHUB_MVP_PREP_PLAN.md.)
# Clone and install from source
git clone https://github.com/staticroostermedia-arch/engram.git
cd engram
cargo install --path crates/engram-server
# Verify install
engram --version
# engram-server 0.4.x
Add to your MCP config and restart your IDE/TUI:
{
"mcpServers": {
"engram": {
"command": "/path/to/Engram/scripts/engram-grok",
"args": ["mcp"],
"env": {
"ENGRAM_STORE": "~/.engram/stalks/",
"ENGRAM_PROFILE": "agent"
}
}
}
}
Or: cp scripts/engram-grok ~/.local/bin/ and use "command": "engram-grok".
Agent first call: mcp_engram_session_start(intent="your goal") — inline continuation bundle.
All ecosystems: integrations/README.md (Grok, Cursor, Claude, Antigravity, Codex, local agents). Contract: docs/AGENT_MEMORY_CONTRACT.md.
Dual Quickstart Paths
Lean agent path (recommended — Grok Build default):
session_start(intent) — one call, inline bundle.context_for_edit(path) → recall(scope=anchors) → quick_trace / remember.session_end(summary) — handoff for next session.Deep path: Tiles, goals, relation graphs, lawfulness audits — see RITUALS.md + HOW_WE_ACTUALLY_USE_THIS_IN_2026.md.
🔌 Optional — enable neural semantic search: set
ENGRAM_EMBED_URL=http://localhost:8086/v1/embeddingsto point at any OpenAI-compatible local embedding server (llama.cpp, ONNX, nomic-embed). Without it, Engram falls back to BLAKE3 spiral-phase encoding — everything still works.
🧠 Human review surface (the daily driver for seeing what the agent is carrying):
Run from repo root:./scripts/leg— instant STATIC curated view of current Primary Intent, recent structured traces, momentum, relations, and dual Thought Tiles (text + rich HTML visualization)../scripts/leg --live— starts the server for dynamic/LIVE updates.STATIC mode is already very useful for review. The deeper integration with living goals and fully dynamic Activity Canvas continues to improve. See the launcher help and the handoff guide above for current honest expectations.
🧠 For agents using Engram: The KnowledgeMint Protocol defines the mandatory minting discipline that makes the Inheritance Principle operational. Read it before your first session. Every fact you mint is intellectual inheritance for every future agent session that uses this system.
Engram maps your project's memory into strict 262,144-byte (256KB) containers called HolographicBlocks. This size is non-arbitrary.
.leg3 format is a strict C-struct — zero JSON decoding, zero Protobuf parsing.Every block fuses the full source text, an 8192-dimensional semantic tensor, spatial 3D bounds (for code placement), a BLAKE3 Merkle chain proof, and a thermodynamic confidence score (CRS).
(See docs/architecture.md for a deep dive into the container format, cuFile integration, and LBVH scaling.)
The skills we actually use are now public so your agents can follow the exact same operating procedures.
See the new docs/skills/ directory:
docs/skills/README.md — Index + quickstart loop.docs/skills/engram-wake-up.md — Geometric continuation protocol (Phase 0-5, living anchors via momentum/relations, lawfulness metric, spatial hygiene).docs/skills/engram-working-memory.md — The runtime discipline (momentum/relation/spatial first, update-preferred mutations, mandatory traces + scars, Code Edit Ritual pre/post AABB, thought tiles for meta-work, hot promotion, expensive tool hygiene).docs/skills/engram-session-end.md — Terminal momentum handoff (crystallize traces/goals/anchors, COMPRESS markers, hot promotion, legominism high-lineage, produce continuation target).docs/skills/engram-thought-tiles.md — Structured offload (when mandatory for meta, types, promote_hot).Load these files (or the full content) into your agent's context when starting Enram-integrated work. They are the published "source code" for the ritual layer on top of the 55+ MCP tools.
See also:
docs/RITUALS.md for the full overview + Code Edit Ritual + subvisor/governance.docs/MCP_TOOLS_REFERENCE.mddocs/GEOMETRIC_MEMORY.mdprocesses/ (the 7+ declarative .toml ritual/harness/operator/monitor/subvisor — registered dynamically at session_start as first-class process: blocks with gluing).Minimal High-Quality Loop for Your Agent:
mcp_engram_session_start (rich intent).docs/skills/engram-wake-up.md.docs/skills/engram-working-memory.md (pre spatial for edits, traces, tiles for meta, update over remember).docs/skills/engram-session-end.md (produce real terminal state).This is how agents get geometric continuation instead of flat resets. Dogfood it on your own meta-work.
As Grok: This is what I want every other capable agent to have — the exact protocols, not hints. Flat context wastes time and capability. These close the loop so the manifold compounds agent intelligence across instances.
The primary deep demonstration is still the TUI embodiment, but the public surface + skills/ now makes the full power immediately usable by sophisticated external agents without gatekeeping.
Phase 3 deliverables (prominently surfaced for utility):
integrations/python/engram_client.py (full source). Includes BYOPProjection, EngramBYOPClient with set_perspective_frame, create_perspective_tile (auto-wires provenance + spatial_refs to coordination), bind_projection, emit_perspective_trace, query helpers, + 5 concrete patterns with Hermes (mythic ontology) and OpenClaw (tool/agentic) examples.tile:formal_spec_external-agent-how-to--build-your-own-geometric- (core primitives exposed, copy-paste sample payloads for formal_spec/ontology, trace formats, goal decomp, client/MCP snippets).tile:formal_spec_pgfs-v0-1--process-geometry-feedback-system---ea + scar-density/H¹ prototype helper. Extended lawfulness checklist items 9-14 (ritual friction audit, process H¹/scar_density on coordination subgraphs via search_by_relation+visualize, escalation protocol via escalates_to, process invariants first-class, self-improving loop, no violations). Quote relevant items in every trace. Healthy construction for any agent's army, including yours.tile:knowledge_graph_phase-1-cross-workstream-coordination--ws1-hot-p (primary colimit; discover projections via search_by_relation(..., label="projects_as"), gluing examples, Phase 2/3 artifacts).tile:formal_spec_getting-started-as-an-external-agent--neutral-ge + HTML viz companion (this section distilled + full framing + PGFS quotes + links).Minimal High-Quality Loop (from patterns + 7-step):
session_start.formal_spec tile).spatial_references + goal_context.query_with_momentum; on failure: scar; success: remember_solution + relate.session_end + bind/glue projections to coordination.search_by_relation + visualize on your subgraphs (H¹ holes, scar density per PGFS helper).update (preserve history), relate new artifacts.See full details + MCP surface (55+ tools: thought_tile_create, quick_trace/record_reasoning_trace, relate, search_by_relation, visualize, scar, verify_*, goals, spatial, process:engram.*, etc. — full list in docs/MCP_TOOLS_REFERENCE.md) and Python client in the linked artifacts. Use is more important than understanding upfront.\n\nTop-level discovery for agents: See root SKILLS.md (index + links to docs/skills/, docs/examples/sub_agent_governance.md, docs/examples/full_ritual_cycle.md, examples/hello-engram-agent.py). Load the skills/ protocols and follow the full cycle demos.
The deepest demonstration of continuity remains the primary TUI ritual path. High-quality external use (yours) will reveal the deeper mathematical structure.
See examples/ (created/enhanced per GITHUB_MVP_PREP_PLAN.md) for immediately usable / runnable against current build (target/debug/engram or MCP):
examples/mcp_client.py — Full session_start (loads sheaf), remember/recall/relate/visualize/verify_manifold + session_end (COMPRESS). Adapt from integrations/python/engram_client.py.examples/ritual_verify.md — Code Edit Ritual v1 + working-memory steps + scar/verify_block_lawfulness/trace examples (executable in TUI or via client).spatial_geosphere_demo.py or equiv): force_spatial_ingest, context_for_file + recall_in_file, set_geosphere_frame, momentum queries (see plan + RITUALS.md).All examples dogfood engram (traces recorded, relates to goal, spatial hygiene). Run in Phase 3 validation. See also docs/ for GEOMETRIC / RITUALS / MCP ref.
Traditional vector databases are append-logs: if an LLM hallucinates or loops, it spams the database with broken snippets, destroying context quality.
Engram uses a built-in Lyapunov stability tracker (the Coherence-Reliability Score, CRS) that monitors how much a concept drifts between updates:
Memories must mathematically prove their stability. High-CRS blocks are automatically promoted to permanent ZEDOS_PRAXIS status during NREM consolidation. Low-CRS blocks decay and are swept by autophagy.
When Engram boots as an MCP server, it launches a background daemon that runs three autonomous loops:
Auto-ingests saved files via inotify/fsevents kernel hooks. Every time you save a .rs, .py, .ts, or any other supported file, the AST pipeline extracts new semantic blocks and updates the manifold without any agent intervention.
On a periodic cycle (~every 10 minutes), the daemon performs a sleep-cycle memory consolidation pass:
OP_ADD into a unified ego narrative tensorego.leg3 — the agent's persistent self-modelThis is the equivalent of REM sleep for the agent's memory. Knowledge crystallized in one session is absorbed into the ego tensor and becomes available as prior context in all future sessions.
The daemon continuously monitors critical background processes (e.g., the Circadian daemon that drives nightly consolidation). If a watched process dies, it automatically mints an Agency Proposal in the agency_proposals.json queue — a human-readable explanation of what failed and exactly what command it wants to run to fix it. The operator can approve or reject the proposal via the Cockpit UI or API.
Autophagy is disabled by default. An agent's memory should outlive sessions. Use
mcp_engram_forget_oldto trigger manual GC when needed.
Traditional RAG chunks text arbitrarily, destroying function boundaries. Engram's ingest pipeline uses a universal AST-extraction layer powered by Tree-Sitter, parsing Rust, Python, TypeScript, JavaScript, Go, Java, C, and C++.
It mints exactly one memory block per public semantic item (functions, structs, classes, traits):
q): Encodes the doc comment and signature — what it is and what it does.Mandatory for all MCP use (engram + grok_com_github etc.): Call search_tool first (by tool name) to get the exact live input schema. Then use_tool with only the returned parameters. Never guess.
Rule 6 (Expensive Tool Hygiene): Once context is established, strictly prefer relational/spatial/goal tools (search_by_relation, context_for_file + recall_in_file, goal_*, visualize) over broad query_with_momentum. Use momentum only for explicitly "trending" questions when cheaper tools are insufficient.
Every significant decision/fork gets a quick_trace or record_reasoning_trace. Visible tool/MCP failures or dead-ends: scar immediately.
| Tool | Description |
|---|---|
remember |
Encode text and store as a persistent memory block |
recall |
Semantic similarity search — returns top-k. Optional time_decay for time-targeted search and zedos_filter for type filtering |
forget |
Delete a specific memory by concept name |
list_concepts |
List all stored concept names |
| Tool | Description |
|---|---|
mcp_engram_update |
Re-encode an existing memory in place with Lyapunov drift tracking — use this, never forget+remember |
mcp_engram_pin |
Lock a memory at CRS=1.0 — protects foundational axioms permanently |
mcp_engram_stats |
Manifold health report: total count, pinned, avg/min/max CRS, disk usage |
mcp_engram_recall_recent |
Return N most recently accessed memories, sorted by access time |
mcp_engram_summarize |
Project-state digest: pinned memories + top-N by CRS. Single-call wake-up replacement |
mcp_engram_forget_old |
On-demand autophagy: sweep out blocks below a CRS threshold |
mcp_engram_read_concept |
Fetch the full un-truncated text of a specific memory by exact concept name |
mcp_engram_export |
Serialize the entire manifold (or a CRS-filtered subset) to a portable JSON array |
mcp_engram_import |
Ingest a JSON array of {concept, text} objects into the manifold |
| Tool | Description |
|---|---|
mcp_engram_watch_workspace |
Bind a directory to the daemon's inotify watcher — auto-re-ingests saves via AST pipeline |
mcp_engram_context_for_file |
Surface top-5 relevant memories for a file path (proactive loading before editing) |
mcp_engram_recall_in_file |
Spatial code search: find all AST concepts defined within a specific line range |
mcp_engram_batch_remember |
Store multiple {concept, text} pairs in a single call — faster than N sequential remember calls |
mcp_engram_session_start |
Mandatory at session start. Validates manifold integrity and initializes epistemic state |
mcp_engram_session_end |
Mandatory at session end. Commits session summary + computes ADR thermodynamics |
mcp_engram_scar |
Create a geometric repeller (Apeiron binding) to mark a rejected approach as hostile — prevents re-hallucination |
mcp_engram_remember_solution |
Store a crystallized error→solution pair as a permanent ZEDOS_PRAXIS block. Auto-pinned at CRS=1.0 |
Every mcp_engram_relate call stores a ZEDOS_RELATION block via OP_BIND. Edges are mathematical memory vectors — no external graph database required.
| Tool | Description |
|---|---|
mcp_engram_relate |
Bind two concepts via OP_BIND to create a directed knowledge graph edge |
mcp_engram_search_by_relation |
Traverse the graph by seed concept, edge direction, and optional label |
mcp_engram_visualize |
BFS from a seed concept → renders a Mermaid diagram of the subgraph |
| Tool | Description |
|---|---|
mcp_engram_genesis |
Inspect or re-seed the foundational alignment genesis blocks (CRS=1.0, pinned, never decay) |
mcp_engram_verify_behavior |
Report empirical success/failure against a ZEDOS_HYPOTHESIS block. Repeated success promotes to PRAXIS |
mcp_engram_query_with_momentum |
Momentum-assisted recall (use sparingly per Rule 6 — prefer relational/spatial/goal tools once context exists). Blends semantic (80%) with p-tensor trajectory (20%). |
mcp_engram_set_namespace |
Switch to a project-specific memory namespace (stalk). Creates it if it doesn't exist |
mcp_engram_list_namespaces |
List all available namespaces and the currently active one |
These tools expose Engram's deeper integration with the Monad OS oracle layer, enabling agent self-reflection and multi-step workflow orchestration.
| Tool | Description |
|---|---|
mcp_self_trace |
Route a query through the Monad Oracle (Operator_LBR anchor) for deep logophysical self-reflection |
mcp_orchestrate_workflow_chain |
Chain multiple MCP tool calls into a single autonomous workflow execution |
Beyond the MCP server, Engram ships a standalone CLI for direct manifold management:
| Command | Description |
|---|---|
engram remember <concept> <text> |
Encode and store a memory |
engram recall <query> |
Semantic search, returns top-k |
engram forget <concept> |
Delete a memory |
engram list |
List all stored concept names |
engram ingest <path> |
Recursively ingest a directory (AST extraction for code + chunking for docs) |
engram trace <A> <OP> <B> |
VSA geometry: query the result of ADD or BIND on two concepts |
engram distill |
Crystallize — cluster episodic memories into durable ZEDOS_PRAXIS blocks |
engram build-index |
Build the LBVH O(log N) index for large manifolds (>10K blocks) |
Engram isolates memories by project via namespaced stalks. No config file required — just call:
mcp_engram_set_namespace("my_project") # creates + switches to this namespace
mcp_engram_set_namespace("work_project") # switch to another project
mcp_engram_list_namespaces() # see all namespaces
Or configure via ~/.engram/sheaf.toml:
active_stalk = "codeland"
[[stalks]]
name = "codeland"
path = "~/.engram/stalks/codeland"
[[stalks]]
name = "personal"
path = "~/.engram/stalks/personal"
| Backend | Feature Flag | Status | Notes |
|---|---|---|---|
| CPU (Rayon O_DIRECT) | Default | ✅ | Exact linear scan. 10K memories → ~2.5 GB scanned in <0.4s via NVMe DMA bypass |
| CPU (LBVH index) | bvh |
✅ | O(log N) CSRP-projected tree. ~64 bytes RAM per concept. Build with engram build-index |
| CUDA (NVIDIA) | cuda-kernels |
✅ | GPU BVH O(log N), NVMe→VRAM parallel DMA via cuFile GDS |
| ROCm (AMD) | rocm-kernels |
✅ | Wavefront HIP execution |
| Metal (Apple) | metal |
✅ | MSL dynamic runtime compilation via metal-rs |
| WebGPU | wgpu-backend |
✅ | INT8 Poincaré hyperbolic search · 170× VRAM reduction · cross-platform |
Integration configs for all supported IDEs: integrations/
{
"mcpServers": {
"engram": {
"command": "engram",
"args": ["mcp", "--store", "~/.engram/stalks/"],
"disabled": false
}
}
}
{
"mcpServers": {
"engram": {
"command": "engram",
"args": ["mcp", "--store", "~/.engram/stalks/"]
}
}
}
This software is licensed under AGPL-3.0-only.
The .LEG3 container format is covered by U.S. Patent Application No. 19/372,256 (pending),
Self-Contained Variable File System (.LEG Container Format),
Applicant: Aric Goodman, Oregon, USA — Static Rooster Media.
Commercial licenses (SaaS/cloud/enterprise) are available.
Contact: [email protected]
See PATENT-NOTICE.md for full details.
See CONTRIBUTING.md and .github/PULL_REQUEST_TEMPLATE.md (full ritual/spatial/manifold/verify/build checklist).
Always use current build during dev/prep: target/debug/engram (or cargo run -p engram-server) — verified fresh via cargo build before edits (see GITHUB_MVP_PREP_PLAN.md execution log + Phase 0/3).
Dogfooding (engram self-use): "Dogfood" / "dogfooding" here means using Engram's own geometric tools and rituals on the work itself — e.g. remember/relate/record_reasoning_trace/goal_*/scar/verify_*/spatial calls + full wake/working-memory/session-end to track prep decisions, edits, and state as first-class manifold geometry. This makes meta-work (like this GitHub MVP prep) part of the living self-model for future agent continuity. See engram-working-memory discipline and AGENTS.md.
All changes follow engram-working-memory + Code Edit Ritual (pre context_for_file + recall + trace, post delta trace + relate to goal, engram dogfood records/scar/remember_solution).
See docs/ for GEOMETRIC_MEMORY.md, RITUALS.md, MCP_TOOLS_REFERENCE.md (public surface for the geometric non-flat + ritual system).
This README updated as part of Phase 2 MVP prep to better represent uniques vs popular flat memory repos.
Engram is the reference implementation of “Against Flat Knowledge”: 256KB HolographicBlocks (.leg3) with q/p phase vectors, CRS, BLAKE3 provenance, VSA calculus (OP_ADD/OP_BIND/...), and a geometric sheaf over phase-space. Not another vector DB — a non-flat substrate where agent processes (rituals, sub-agents, monitors) are first-class sheaf sections declared in processes/*.toml (with category-theoretic object/morphism/sheaf_role/h1_handler + mcp_tools/requires/produces).
Live example (single source of truth):
# processes/ritual/wake-up.toml
[process]
name = "agent:engram.ritual.wake-up"
[category]
object = "session_start"
morphism = "OP_ADD"
sheaf_role = "Gluing axiom entry point..."
h1_handler = "OP_IS_SYMBOLIC_OF"
[mcp_tools]
list = ["mcp_engram_session_start", "mcp_engram_relate", ...]
Lean wake optimization (FAST session_start 0.04s, query_pure FAST_ANCHOR for ritual anchors, incremental spatial delta, process toml as executable sheaf with uses_mcp_tool relations): declarative processes/ritual/.toml + dynamic loader in crates/engram-server/src/mcp.rs (hot preload at session_start, registers process:engram. + live RELATION gluing via requires/produces/uses_mcp_tool) enable pure-geo query_pure (no file fallback) + incremental_spatial_ingest (mtime delta vs full force) for lean rehydrate while preserving ritual lawfulness, subvisor H¹, CRS gates. See hand-off in GITHUB_MVP_PREP_PLAN.md.
See:
Commercial / on-prem licenses available. The geometry compounds continuity across agent instances.
(Added per GPU/Polish hand-off 2026-06; pre/post spatial + trace on README.)
Выполни в терминале:
claude mcp add engram -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.