Persistent engineering memory for AI-assisted development.
Stop repeating mistakes. Reuse proven workflows. Recognize familiar problems instantly.
AI assistants are brilliant but stateless. They forget every lesson learned as soon as a chat session ends. Engram fixes this by maintaining a queryable memory database that persists across sessions and projects:
- Mistakes — "We tried flood-fill on alpha edges before, it doesn't work. Use the tinting approach."
- Patterns — "This looks like the API Parameter Mismatch pattern. Look up the ID from the listing endpoint first."
- Skills — "There's already a proven workflow for this. Follow steps 1-5 instead of figuring it out again."
- Codebase Knowledge — "I've mapped this project. Here are the key file summaries without re-reading everything."
Recent capabilities (July 2026 — see CHANGELOG for the full story):
- Crash-proof session resume — a Stop hook checkpoints every agent turn;
engram resume(MCP:memory_resume) answers "where did the last session leave off?" even after a crash or spend-limit cutoff (schema v21). - Retrieval feedback —
engram feedback <type:id> --helped|--unhelpful(MCP:memory_feedback) rewards or demotes memories in ranking only; deletion is always proposed to the user via the inbox, never automatic (v22). Non-use is never penalized. - Per-memory forgetting curves — FSRS-4.5 stability per item, grown by proven use and helped feedback, shrunk by lapses; unproven items keep the classic fixed half-life (v25).
- Self-growing real benchmark —
engram bench-labelmines real queries from the search-audit log; you confirm labels; the real-corpus eval grows with actual usage. - Measured ranking weights —
benchmarks/fit_ranking.pyfits the ranking constants against labeled evals behind an instrument gate, pre-registered holdout rules, and fit-blindness warnings;engram weights applyadopts only provenance-stamped, proven candidates. - Single-owner search index + multi-process hardening — the dual FTS write path (a live corruption generator) was removed (v23); WAL-correct backups, serialized migrations, race-safe inbox, fail-closed confirmation gates (v24).
- Pinned memories, write-time dedup, auto-extract, LLM maintenance, temporal facts — the earlier foundation (v10–v11).
Architecture decisions are documented in docs/decisions/.
Engram is more than recall: it is a framework that makes agents cheaper and more correct over time. Every task has three rungs, cheapest first:
REFLEX ~50 tokens approved deterministic script ← earned by 5+ proven uses + human approval
RECALL ~80 tokens follow retrieved prior art ← earned by capture + reuse
REASON 1000s tokens full LLM derivation ← the default for anything new
The reflex/recall figures are measured engram route output
(python benchmarks/ladder_cost.py); REASON's "1000s" is the counterfactual
cost of unaided reasoning that the lower rungs avoid — not an Engram
measurement. The load-bearing, testable claim is the ordering: reflex ≪ recall ≪ reason.
engram route "task"(MCP:memory_route) — one budgeted call answers "what is the cheapest correct way to do this": a reflex to invoke, prior art to follow, or reason-then-capture. Known past mistakes ride along as pitfall warnings on every rung.- Reflexes — skills proven by reuse get promoted (
engram promote <id>) into scripts a human reviews and approves (engram reflex approve). Approval pins the script hash (edits un-approve); syntax is parse-checked; approved reflexes appear as nativereflex_*MCP tools in every client. Two consecutive failures auto-demote and capture the failure as a mistake. - Monitors & inbox — a reflex with
kind=monitorwatches a real system on a cron schedule (engram schedule <id> "*/15 * * * *"); firing files a deduped inbox alert instead of demoting. Agents can propose actions (memory_propose_decision) but never execute them:engram inbox+engram decide <id> --approve [--run]is the only proposal→execution path, human-invoked by construction. Delivery goes through a user-approvednotifyreflex (engram notify-init; osascript default, swap for any webhook) — the notification channel itself is under the trust model. - Self-maintenance —
engram self-check(cron it daily) files promotion candidates, flaky reflexes, hygiene issues and capture-quality warnings as inbox decisions: the system proposes its own upkeep; you decide. - Change journal — mutating scripts emit
ENGRAM_CHANGE target=… before=… after=…; every reported mutation is journaled and revertible-by-information. - Honest accounting —
engram efficiencyreports measured floors only.
See ADR 0006 for the design and its scope fence.
Full documentation: docs/GUIDE.md (concepts + lifecycle), docs/COMMANDS.md (complete CLI reference, auto-generated), docs/decisions/ (ADRs). Validate that a memory actually changes behavior with engram validate; import Claude's native memories with engram import-claude-memories.
Measured, not vibes: Engram publishes reproducible numbers. On its home domain
(labeled real-corpus eval): R@5 = 1.00 at 60–120 ms, ~560 context tokens/query.
On the out-of-domain LongMemEval oracle (940 chit-chat sessions, retrieval-only,
fully local 274 MB embedder, no LLM): session-level R@5 = 0.538 at 218 ms,
374 tokens/query — with per-category numbers and honest comparability caveats in
benchmarks/BENCHMARKS.md.
Engram uses a hybrid search engine combining SQLite FTS5 (lexical) and sqlite-vec (semantic) to retrieve relevant context.
Retrieval and ranking: Semantic (KNN over vec_memory) and lexical (FTS5 over memory_fts) ranked lists are fused with reciprocal rank fusion (RRF) so neither channel always wins a priori; fused scores feed the same utility model (usage, project affinity, recency, type hints) and BM25-style reranking on the candidate set. Lexical query terms are tokenized consistently with that ranking (alphanumeric words), so punctuation does not fight keyword overlap.
graph TD
User[User] -->|manual_terminal| CLI[CLI_handler]
Cursor[Cursor_or_Claude_Code] -->|MCP_protocol| MCP[MCP_server]
Antigravity[Antigravity] -->|shell_CLI_not_MCP| CLI
subgraph engram_core [Engram_Core]
CLI --> SE[Search_engine]
MCP --> SE
SE --> DB_Int[Database_interface]
end
SE -- Embeddings --> Ollama[(Local_Ollama)]
SE -- LLM_tasks --> LLM[LLM_layer_optional]
LLM --> Ollama
subgraph storage [Storage]
DB_Int --> SQLite[(memory.db_SQLite)]
SQLite --- FTS[FTS5_lexical]
SQLite --- VEC[sqlite-vec_semantic]
end
How clients connect: Cursor (and other MCP-capable IDEs) call Engram through the MCP server (memory_search, memory_add, memory_auto_extract, memory_llm_status, etc.). Antigravity has no Engram MCP in the default flow—the agent runs the same operations via the engram CLI on your PATH (see bootstrapped .antigravity/instructions.md). Both paths hit the same search engine and database at ~/.engram/memory.db by default. Claude Code can use either path: run engram claude-skill to install a personal skill (~/.claude/skills/engram-memory/) that teaches the agent to search before non-trivial tasks and capture lessons afterward, or register the MCP server directly. LLM-powered features (audit, GC scoring, extract, merge) are optional and degrade gracefully when no backend is reachable.
Embedding backends: local Ollama by default (OLLAMA_HOST); set ENGRAM_EMBED_URL to any OpenAI-compatible /v1/embeddings endpoint (ENGRAM_EMBED_API_KEY for auth), or to disabled for lexical-only search. Models with a different output dimension are supported — engram migrate-embeddings --target-model <model> probes the dimension, rebuilds the vector table if needed, and re-embeds from FTS content. All environment variables are documented in src/config.py.
Use the same memory database from every project directory:
- Recommended:
pipx install/uv tool installfrom a built wheel, or from a git checkout:pip install -e .(installs theengramconsole script). - Default DB:
~/.engram/memory.db. For one global store, do not set a differentENGRAM_DB_PATHper project unless you intend split corpora. - Search uses the current working directory for project-affinity ranking by default (
engram search …). Useengram search --no-projectfor global-only ranking, or--project /pathto override. - Session summary file:
engram import-session-summaryingests a markdown file (e.g.session_summary.md) into memory for cross-workspace search. - Developers (no
pip install): run CLI only from the Engram repository root aspython3 -m src.cli(or setPYTHONPATH); do not use that from unrelated project trees. - Optional script:
scripts/engram.shdelegates toengramonPATHor, ifENGRAM_ROOTis set, topython3 -m src.cliin that checkout. - Antigravity (all workspaces): Google’s Antigravity IDE merges global rules from
~/.gemini/AGENTS.md(and Antigravity-specific~/.gemini/GEMINI.md) on every project. Engram does not rely on a user-level~/.antigravity/config path; runengram antigravity-global(orengram bootstrap --global-antigravitywhile bootstrapping a repo) to idempotently add an Engram section toAGENTS.md. Per-repo.antigravity/instructions.mdfromengram bootstrapstill adds project-specific workflow detail.
The easiest way to get started is using the unified setup script:
git clone https://github.com/luiscota99/engram.git
cd engram
bash scripts/setup.shThen wire Engram into every agent tool on your machine in one step:
engram install # detects Cursor / Claude Code / Antigravity and configures eachThis script will:
- Check your Python environment (>= 3.9).
- Install dependencies (
sqlite-vec,sqlean-py). - Configure Ollama for semantic search.
- Initialize and seed your local memory database.
Engram turns AI assistants into senior partners who remember your project's history.
Chats do not automatically surface everything Engram knows on every turn. When retrieval matters—project facts you indexed, mistakes to avoid, past decisions—say so: e.g. check Engram, search Engram for …, @engram full (Cursor), or run memory_search (MCP), engram search (CLI). Default LIGHT mode may still only search lightly at session start; explicit phrasing or FULL mode is how you make recall deliberate. See engagement modes below and .cursor/rules/engram.mdc (or bootstrap output in your repo) for behavior.
| Cursor | Antigravity | |
|---|---|---|
| How Engram is wired | .cursor/rules/engram.mdc + optional Cursor hooks |
.antigravity/instructions.md (from engram bootstrap) |
| Primary interface | MCP tools (memory_search, memory_suggest_capture, memory_add, memory_auto_extract, memory_llm_status, memory_pin, …) |
CLI (engram … on PATH; CWD is used for project affinity) |
| Session capture | Hooks can call suggest-capture on stop / session end |
Agent runs suggest-capture per instructions (heuristic, same engine) |
| Skill import/export | Yes (engram import-cursor-skills, export-skills) |
Use CLI / memory search; no separate Antigravity skill sync |
- In your application repositories:
engram bootstrapinstalls.cursor/rules/engram.mdc(and related engagement files) into that project. That is what Cursor loads for day-to-day work. - In the Engram repo: committed templates live under
cursor-rules/(for exampleengram.mdc, adaptive/committee variants). Those files are the canonical template source for bootstrap and documentation;.cursor/rules/here may mirror them for dogfooding Engram while developing. For consumers, follow bootstrap output in your own repo—do not assume two different trees need to stay manually in sync.
Same behavior, different channel: search, add, and suggest-capture map 1:1 between MCP and CLI; pick one client per project or use both for different tasks—avoid writing the same memory twice by agreeing which tool runs capture.
Run this in any repository you want your AI agent to remember:
engram bootstrapThis creates .cursor/rules/engram.mdc for Cursor and .antigravity/instructions.md for Antigravity. You will be prompted to choose an engagement mode.
Repos that must not add those workspace files: create an empty file .omit-agent-integration at the project root or run engram bootstrap --omit-project-integration. Bootstrap still initializes the database (if needed) and can still prompt for MCP; only the Cursor rule and .antigravity/instructions.md are skipped.
Engram supports three engagement modes — choose based on your project's complexity and how much ceremony you want.
| Mode | Default Behavior | Best For |
|---|---|---|
| Adaptive (recommended) | LIGHT by default; escalates automatically on complexity signals | Most projects — balances speed with memory |
| Full | Always-on: session init, memory search, retrospective every session | Long-running complex projects, architecture work |
| Minimal | Off by default; only activates on explicit user request | Quick scripts, prototypes, low-stakes work |
# Interactive prompt (recommended)
engram bootstrap
# Or set mode directly
engram bootstrap --mode adaptive
engram bootstrap --mode full
engram bootstrap --mode minimalAdaptive mode starts every session in LIGHT mode (one quick memory search, no ceremony) and escalates automatically to FULL mode when complexity is detected.
Escalation triggers (Cursor + Antigravity):
- 3+ failed attempts or error messages
- Keywords:
debug,refactor,architecture,investigate,performance,security - Changes span 5+ files or mention "project-wide"
- Session exceeds 10 turns
- You say:
check engram,use engram, or@engram full
User overrides (Cursor):
| Say | Effect |
|---|---|
@engram full |
Force full mode immediately |
@engram off |
Disable for this session |
@engram light |
Return to light mode |
@engram status |
Report current mode |
User overrides (Antigravity):
| Say | Effect |
|---|---|
use engram / check memory |
Activate full mode |
quick question / no engram |
Keep Engram disabled |
simple fix |
Stay in light mode |
When in Full mode, Engram uses a structured SDLC where agents act as a "committee" (Analyst, Researcher, Skeptic, Archivist) to prevent shallow decisions.
sequenceDiagram
participant A as AI Agent
participant E as Engram Memory
participant U as User
A->>E: memory_search(task context)
E-->>A: [Mistakes, Skills, Patterns]
A->>U: Propose plan based on memory
U->>A: Approve
A->>A: Execute Task
A->>E: memory_session_review()
E-->>A: [Reflection Checklist]
A->>E: memory_add_mistake() / memory_add_skill()
Antigravity / CLI: use the same flow with engram search, engram add session, engram add transcript, engram add decision, engram suggest-capture, and optional engram import-session-summary / engram session-review; see .antigravity/instructions.md for exact commands.
Proven Engram skills can be exported as permanent Cursor skills — and Cursor skills can be imported into Engram for semantic search.
# See what's out of sync
engram sync-skills --dry-run
# Export proven skills to Cursor (usage >= 2)
engram export-skills --min-usage 2
# Import all Cursor skills into Engram
engram import-cursor-skills ~/.cursor/skills
# Bidirectional auto-sync
engram sync-skills --autoA brain is a self-contained memory under ~/.engram/brains/<name>/ — its own DB, backups,
and a launcher that pins ENGRAM_DB_PATH so every command runs against that brain only.
Isolation is the point: a specialized agent's recall and guard fire on its domain, not on a
global pool of unrelated projects.
engram brain new mtg --seed # create ~/.engram/brains/mtg/ with a ./brain launcher
engram brain list # brains and their memory counts
~/.engram/brains/mtg/brain search "mulligan" # any command, scoped to that brainMoving a brain to another machine is a directory copy: the DB carries its schema version
and migrations run forward on first use. To replace an existing DB safely, use
engram restore <file.db> — it integrity-checks the file and snapshots the current DB first,
so a restore is itself reversible. Embeddings only stay valid under the same embed model;
otherwise run engram reembed afterwards.
Sharing memories across machines or a team uses chunk sync — no server, no accounts. Entries export as append-only, content-hashed, gzipped-JSONL chunks into a plain directory; put that directory in a git repo (or any synced folder) and it merges without conflicts by construction. Import replays foreign entries through the same write path as a local add, so FTS, tags, and embedding queueing behave identically, and the local SQLite DB stays the source of truth.
engram sync-export --dir ~/.engram/sync # write local entries the sync dir lacks (one new chunk)
engram sync-status --dir ~/.engram/sync # local vs remote counts, nothing changes
engram sync-import --dir ~/.engram/sync # create every remote entry you don't have (idempotent)Chunk sync currently carries mistakes, patterns, skills, conversations, and prompts with their
tags. Relations, pins, project affinity, and reflexes do not travel yet, and imported entries
carry no provenance stamp — see docs/PLAN-portable-brains-2026-09.md for what's planned.
engram backup is different: it writes a JSON archive of every table for safekeeping, and
there is no JSON importer — use restore (SQLite) or sync-import (chunks) to bring data back.
Engram integrates directly with Claw-Code for high-performance execution. Use Claw as your agent's execution engine to get ultra-fast results while logging everything to Engram:
engram run "Optimizing image pipeline" --role Analyst --session-id "IMG-01"Note: Requires claw binary to be in your PATH or configured in .env.
| Command | Description |
|---|---|
engram search "query" |
Search all memory (lexical + semantic); defaults to CWD for project affinity (--no-project, --project DIR) |
engram session-review |
Print MCP-style retrospective checklist (optionally --project, --tasks, --bugs-fixed, …) |
engram import-session-summary [--file session_summary.md] |
Ingest a session summary file into conversations for global search |
engram recent |
Show the 10 most recent memory entries |
engram add mistake |
Log a new mistake with root cause |
engram add pattern |
Log a recurring problem pattern |
engram add skill |
Log a proven, reusable workflow |
engram list skills |
List all stored skills |
engram suggest-consolidate |
Find near-duplicate memory clusters (vector similarity) |
engram suggest-capture --task "…" --outcome "…" |
Heuristic drafts for capture (see docs/MEASURING_FIT_AND_HELP.md) |
engram session-help --score 0-3 |
Append Session Help Score to ~/.engram/session-help.jsonl (optional) |
engram stats |
Memory database statistics |
engram health |
Comprehensive health report |
Enforcing use (recall is otherwise advisory): engram bootstrap installs three
Claude Code hooks so using memory isn't left to the agent's discretion:
- Auto-recall (
UserPromptSubmit→engram hook recall) searches memory for each prompt and injects the top matches as context automatically — recall happens whether or not the agent remembers to search. A relevance gate injects nothing rather than noise. - Guard (
PreToolUse→engram hook guard) surfaces known mistakes/patterns relevant to an Edit/Write/Bash before it runs. Warn-only by default; it requires real lexical overlap, so unrelated actions don't trigger false warnings. - Checkpoint (
StopandPreCompact→engram hook checkpoint) records a crash-proof "where we left off" after every agent turn and again right before context compaction squashes nuance;engram resumereads it back. For richer briefings,engram handoff -m "state + next steps"writes a deliberate milestone that resume features above the ambient per-turn capture.
Injected memories are labeled as reference data, not instructions. For the repo
boundary, add engram guard --staged as a pre-commit hook (it reads your local
DB — CI has none). See CONTRIBUTING.md.
Turn on search auditing once (engram audit on), then ask engram roi at any
time for a measured answer: searches served and hit rate, memories actually
reused, reflex-rung tokens avoided, and an honest verdict — it will tell you
"capture-heavy, reuse-light" or "auditing is off" rather than invent a number.
See docs/MEASURING_FIT_AND_HELP.md — labeled retrieval (R@5), Session Help Score (0–3), optional ENGRAM_AUDIT_LOG / ENGRAM_SESSION_HELP_LOG, and public vs private disclosure for commits.
| Command | Description |
|---|---|
engram index-project |
Create a persistent map of the current codebase |
engram query-codebase |
Search project-specific file summaries |
engram graph |
Visualize file dependency graph |
| Command | Description |
|---|---|
engram export-skills |
Export Engram skills as Cursor SKILL.md files |
engram import-cursor-skills <path> |
Import Cursor skills into Engram |
engram sync-skills |
Diff and sync Engram ↔ Cursor skills directory |
| Command | Description |
|---|---|
engram brain new <name> [--seed] |
Create a scoped brain under ~/.engram/brains/<name>/ with its own launcher |
engram brain list |
List brains and their memory counts |
engram brain path <name> |
Print a brain's DB path (for ENGRAM_DB_PATH / scripting) |
engram sync-export [--dir DIR] |
Export new memories as an append-only, content-hashed chunk (git-friendly) |
engram sync-import [--dir DIR] |
Import chunk entries the local DB lacks (idempotent) |
engram sync-status [--dir DIR] |
Compare local DB vs sync dir without changing anything |
engram restore <file.db> [--yes] |
Replace the DB from a SQLite backup — validated, current DB snapshotted first |
| Command | Description |
|---|---|
engram bootstrap [--mode adaptive|full|minimal] |
Set up agent rules for a project |
engram doctor [--repair] |
Diagnostics: FTS/vector drift, embeddings, Ollama, LLM engine |
engram gc [--mode dry-run|archive|delete] |
Garbage collect unused memories (time-based) |
engram reembed |
Regenerate stale or pending embeddings |
engram merge-projects --from ID --into ID |
Merge duplicate project rows after renames |
engram backup |
Write a JSON archive of every table (safekeeping only — no JSON importer; use restore or sync-import) |
Engram does not run an LLM process itself—it calls a configured OpenAI-compatible endpoint (local Ollama by default). If unreachable, LLM features are skipped; everything else works unchanged.
| Command | Description |
|---|---|
engram llm status |
Show provider URL, models, reachability, enabled tasks |
engram llm audit |
LLM consolidation audit (dry-run; scores near-duplicates) |
engram llm audit --execute |
Apply safe auto_merge decisions (2-item clusters only) |
engram llm gc |
LLM-assisted GC scoring (dry-run) |
engram llm gc --archive |
Archive items the LLM marks as discard |
MCP equivalent: memory_llm_status — agents can call this before suggesting engram llm audit.
See LLM configuration below for env vars.
| Command | Description |
|---|---|
engram retrieval-benchmark |
R@k, MRR, NDCG on curated query set (100 queries; see benchmarks/BENCHMARKS.md) |
python benchmarks/longmemeval_bench.py |
LongMemEval adapter (R@5 retrieval; honest comparison vs Mem0/MemPal — see metric footnote in output) |
engram benchmark |
External LLM API latency/token probe (optional API keys) |
- Regression:
engram retrieval-benchmark --fail-under-r5 0.90on seeded DB (CI gates full 100-query set). - LongMemEval:
python benchmarks/longmemeval_bench.py --offlinefor local smoke; full eval requires dataset download. - Metric note: Engram publishes R@5 retrieval (is the correct memory in top-5?). Mem0/Mastra publish QA accuracy (can the model answer from memory?). These are not directly comparable — see evals/RESULTS.md.
- Stress (local):
python benchmarks/inject_noise.py— benchmarks/BENCHMARKS.md for flags and how to read scores. - Labeled real-DB eval (optional): evals/README.md (frozen DB +
real_queries.json).
Stress metrics depend on Ollama and the embedding model; compare runs on the same machine, not fixed headline numbers.
Engram uses Ollama for local embedding generation. Configure the model with ENGRAM_EMBED_MODEL (canonical). ENGRAM_EMBEDDING_MODEL is a deprecated alias for the same setting—prefer ENGRAM_EMBED_MODEL.
The sqlite-vec index (vec_memory) is fixed at 768 dimensions. Only embeddings with that length are stored for semantic KNN; the default nomic-embed-text matches this schema. Models that produce other dimensions (e.g. 1024-dim models in the table below) are listed for reference; if selected, lexical search still works, but vector rows are skipped until you use a 768-dim model or migrate the schema.
# Default — full hybrid (FTS5 + semantic); vectors stored
engram search "database migration"
# Explicit default model
ENGRAM_EMBED_MODEL=nomic-embed-text engram search "database migration"
# Set permanently in your shell profile
export ENGRAM_EMBED_MODEL=nomic-embed-text| Model | Dimensions | Context | Size | Notes |
|---|---|---|---|---|
nomic-embed-text (default) |
768 | 8192 tokens | 274 MB | Matches vec_memory; best context window |
mxbai-embed-large |
1024 | 512 tokens | 670 MB | Higher MTEB; not stored in current vec schema |
bge-large-en-v1.5 |
1024 | 512 tokens | 670 MB | Strong English retrieval; not stored in current vec schema |
snowflake-arctic-embed |
1024 | 512 tokens | 669 MB | Fast; not stored in current vec schema |
Recommendation: Use nomic-embed-text for semantic + hybrid behavior. Engram's hybrid FTS5 + semantic search still helps when vectors are unavailable (lexical-only path).
Note: Changing models invalidates existing embeddings for ranking consistency. Run
engram doctor --repairthenengram reembedafter switching compatible models.
LLM features power consolidation audit, assisted GC, auto-extract, and entry merge. They use a separate model config from embeddings.
| Variable | Default | Purpose |
|---|---|---|
ENGRAM_LLM_BASE_URL |
http://localhost:11434/v1 |
OpenAI-compatible chat API (Ollama, Groq, OpenRouter, …) |
ENGRAM_LLM_MODEL |
llama3.2 |
Default chat model |
ENGRAM_LLM_EXTRACT_MODEL |
(falls back to ENGRAM_LLM_MODEL) |
Override for memory_auto_extract |
ENGRAM_LLM_AUDIT_MODEL |
(falls back to ENGRAM_LLM_MODEL) |
Override for consolidation audit and GC scoring |
ENGRAM_LLM_API_KEY |
(unset) | Bearer token for cloud providers |
# Local Ollama (default) — zero cloud cost
engram llm status
# Cloud example (Groq) — no local GPU/RAM used
export ENGRAM_LLM_BASE_URL=https://api.groq.com/openai/v1
export ENGRAM_LLM_API_KEY=gsk_...
export ENGRAM_LLM_MODEL=llama-3.3-70b-versatile
export ENGRAM_LLM_EXTRACT_MODEL=llama-3.1-8b-instant # fast extraction
export ENGRAM_LLM_AUDIT_MODEL=llama-3.3-70b-versatile # precise audit
engram llm statusCost note: With Ollama, the model loads on demand and only runs when you invoke LLM features (audit, GC, extract, merge)—not on every search. Pointing at a cloud API offloads compute entirely.
If things aren't working as expected, run the built-in diagnostic tool:
engram doctor --repairIt checks FTS/vector index drift, orphaned tags and embedding status, Ollama connectivity (embeddings), and LLM engine reachability (consolidation audit, GC scoring, auto-extract). Run engram llm status separately to see which LLM tasks are enabled.
MIT — Luis Miguel Cota
