scene 01 · without engram
Claude Code · session log
→
Read · src/auth.ts
5,400
→
Read · src/auth.ts (again)
+5,400
→
Read · src/auth.ts (again)
+5,400
→
Read · src/auth.ts (again)
+5,400
cumulative tokens
5,400
↑ same file, 4 reads, 4× the cost
Your AI agent re-reads the same files.
Every session. Every time.
Every session. Every time.
scene 02 · 30 seconds
~ · zsh
engram install
$npm install -g engramx
↳ added engramx@2.0.2 in 4s
$cd ~/my-project
$engram init
↳ indexed 451 nodes · 1005 edges
$engram install-hook
↳ ✓ 7 hooks installed · hud label active
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three commands. No accounts. No cloud.
scene 03 · with engram
// agent
Read('src/auth.ts')
requesting source…
requesting source…
// engram sentinel
PreToolUse · intercepted
graph query · 8 providers
packing context packet…
deny + reason
packing context packet…
deny + reason
// agent receives
structure · decisions · git ·
mistakes · library docs
~500 tokens · vs 5,400
↓ 11×
mistakes · library docs
~500 tokens · vs 5,400
↓ 11×
Hooks at the boundary. Returns a context packet, not the file.
scene 04 · result · session totals
tokens saved
88.1%
↓ 86.0K saved this session
cost saved · $3/M
$0.26
↓ vs raw-Read baseline
graph health
451 / 1005
nodes / edges · 96% extracted
⚠
mistake memory — auth.ts: don't add NOT NULL without backfill (caught 2026-03-04)
88.1% fewer context tokens. $0 cloud. Persistent memory.
-
scene 01 · problem Your agent re-reads the same files
Every session. Every time. The cost compounds.
-
scene 02 · install Three commands. Thirty seconds.
No accounts. No cloud. Local SQLite.
-
scene 03 · intercept Hooks at the boundary
Returns a context packet, not the file. ~500 tokens vs 5,400.
-
scene 04 · result 88.1% fewer context tokens · $0 cloud
Mistake memory surfaces past regressions at the top of every query.
Render to MP4:
this file is the source. Run
npx hyperframes render --input docs/demos/showcase.html --output docs/demos/showcase.mp4 --width 1280 --height 720 --fps 30 --duration 24
— see demos/README.md for the full guide.