Skip to main content
3ngram gives your AI assistant persistent memory across sessions. Use these tools in plain language, no function syntax needed.

Saving memories

Just ask your AI to remember something:
“Remember that we chose PostgreSQL for the database”
“Save a decision: we’re using Railway for deployment”
“Remember this as a blocker for the engram project: the staging SSL certs aren’t provisioned”

Memory types

Be specific about the kind of memory:
TypeUse for
commitmentThings you said you’d do, with due dates
decisionChoices you’ve made and why
blockerWhat’s in your way
patternRecurring behaviors or observations
preferenceYour working style and tooling choices
contextGeneral background facts
“Save this as a commitment due Friday: deliver the API review”

Recalling memories

Ask naturally:
“What do you remember about the engram architecture?”
“Recall my recent decisions about deployment”

Brief mode

When scanning many memories:
“Give me a brief recall of everything about engram”
Returns a compact list with one line per memory: ID, topic, type, and snippet. Then drill into specific ones:
“Show me the full content of memories 42 and 44”
Workflow: scan briefly, then read what matters. Keeps conversations focused.

Filtering

By source

Every memory tracks where it came from:
SourceMeaning
manualYou or your AI saved it deliberately
hookAuto-captured by Claude Code hooks
autoSystem-generated (debriefs, consolidation)
“Recall only my manually saved memories about engram”

By scope and project

“What blockers do I have for the engram project?”
“Brief recall of manual decisions about engram”

Commitments and due dates

Commitments support status tracking and due dates:
StatusMeaning
openActive, needs attention (default)
waitingBlocked on external input
scheduledIntentionally deferred for later
resolvedDone
“Remember this commitment as waiting: blocked on security review from DevOps”
“Save a scheduled commitment due 2026-04-01: migrate to the new API version”
Deferred commitments (waiting/scheduled) are excluded from the default commitments list and won’t trigger stale or overdue alerts.
“Show me all commitments including deferred ones”

Resolving and managing

Mark things as done with an optional resolution note:
“Resolve memory 42 with note: shipped in PR #85”
Check your status:
“Show me my open commitments”
“Any overdue commitments?”
“Are there stale commitments I should follow up on?”

Automatic capture (Claude Code only)

If you use Claude Code CLI, 3ngram can auto-capture context via hooks:
HookEventWhat it does
Session startSessionStartReminds you to check recent context
Post tool usePostToolUseCaptures git commits
Session endSessionEndSaves files modified and commits
Auto-captured memories are tagged source=hook so they don’t mix with deliberate saves.

Setup

The hooks need two environment variables:
export ENGRAM_MCP_URL="https://mcp.3ngram.ai/mcp"
export ENGRAM_MCP_TOKEN="your-bearer-token"
Hooks never block your session (5-second timeout, silent failure). Sessions with no file changes are skipped.

Privacy

Wrap sensitive content in <private> tags to prevent storage:
“Remember that the API key is <private>sk-abc123</private> and we use OAuth for auth.”
The private content is stripped before persistence.