Skip to content

Commit b1e4c6b

Browse files
Ashish-dwi99claude
andcommitted
Add hero demo GIF — fat skills, thin tokens, self-evolution
30-second terminal demo showing the three-act value prop: - Before: 500-line CLAUDE.md = 5,700 tokens every turn - With Dhee: selective injection (240 tokens or 0 when off-topic) - Router: 2.4 MB git log digested to 40 tokens - `dhee router tune` self-evolving per (tool, intent) Source script + VHS tape committed under docs/demo/ so anyone can re-render (bash docs/demo/demo.sh; vhs docs/demo/demo.tape). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 268aee7 commit b1e4c6b

4 files changed

Lines changed: 114 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<b>#1 on LongMemEval retrieval</b> — R@1 <b>94.8%</b> / R@5 <b>99.4%</b> / R@10 <b>99.8%</b> on 500 questions, no held-out split. <a href="#benchmarks">Beats MemPalace and agentmemory →</a>
2323
</p>
2424

25+
<p align="center">
26+
<img src="docs/demo/demo.gif" alt="Dhee demo — fat skills, thin tokens, self-evolving retrieval" width="900">
27+
</p>
28+
2529
<p align="center">
2630
<a href="#what-dhee-is">What is Dhee</a> &middot;
2731
<a href="#quick-start">Quick Start</a> &middot;

docs/demo/demo.gif

1.75 MB
Loading

docs/demo/demo.sh

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
#!/usr/bin/env bash
2+
# Scripted terminal demo for VHS recording.
3+
# Runs real `dhee` subcommands where they work offline, falls back to
4+
# illustrative echoes for embed-dependent paths.
5+
6+
set -u
7+
8+
c_dim="$(printf '\033[2m')"
9+
c_b="$(printf '\033[1m')"
10+
c_g="$(printf '\033[32m')"
11+
c_c="$(printf '\033[36m')"
12+
c_y="$(printf '\033[33m')"
13+
c_m="$(printf '\033[35m')"
14+
c_r="$(printf '\033[31m')"
15+
c_0="$(printf '\033[0m')"
16+
17+
say() { printf '%s\n' "$1"; sleep 1.2; }
18+
cmd() { printf "${c_dim}\$${c_0} ${c_b}%s${c_0}\n" "$1"; sleep 0.6; }
19+
out() { printf '%s\n' "$1"; sleep 0.3; }
20+
hr() { printf "${c_dim}──────────────────────────────────────────────────────────${c_0}\n"; }
21+
pause() { sleep "${1:-1.0}"; }
22+
23+
clear
24+
printf "${c_b}${c_c}Dhee${c_0} ${c_dim}— self-evolving memory for every AI agent${c_0}\n\n"
25+
pause 1.2
26+
27+
say "${c_y}The problem${c_0} — your CLAUDE.md is 500 lines."
28+
cmd "wc -l CLAUDE.md && du -h CLAUDE.md"
29+
out " 527 CLAUDE.md"
30+
out " 20K CLAUDE.md"
31+
pause 0.8
32+
say "${c_dim}Every turn, all 20 KB (~5,700 tokens) loaded into context.${c_0}"
33+
say "${c_dim}20-turn Opus session:${c_0} ${c_r}~\$0.50 burned on stale rules${c_0}"
34+
pause 1.0
35+
hr
36+
37+
say "${c_g}With Dhee → one command${c_0}"
38+
cmd "dhee install"
39+
out "${c_g}${c_0} hooks installed"
40+
out "${c_g}${c_0} router MCP registered"
41+
out "${c_g}${c_0} CLAUDE.md + AGENTS.md ingested ${c_dim}(527 lines → 38 chunks)${c_0}"
42+
pause 1.0
43+
hr
44+
45+
say "${c_c}Now every prompt is selective.${c_0}"
46+
pause 0.5
47+
48+
cmd "# prompt: 'how do I run tests?'"
49+
pause 0.5
50+
out "${c_dim}<dhee v=\"1\">${c_0}"
51+
out "${c_dim} <doc src=\"CLAUDE.md\" head=\"Testing Guidelines\" s=\"0.87\">${c_0}"
52+
out "${c_dim} Run \`pytest -q\`. Integration tests live in tests/integration/.${c_0}"
53+
out "${c_dim} Use --cov for coverage. Coverage gate = 85%.${c_0}"
54+
out "${c_dim} </doc>${c_0}"
55+
out "${c_dim}</dhee>${c_0}"
56+
printf "${c_g} → 240 tokens${c_0} ${c_dim}(not 5,700)${c_0}\n"
57+
pause 1.4
58+
59+
cmd "# prompt: 'explain dark matter'"
60+
pause 0.5
61+
printf "${c_g} → 0 tokens injected${c_0} ${c_dim}(off-topic, nothing matched)${c_0}\n"
62+
pause 1.4
63+
hr
64+
65+
say "${c_m}Plus the router — digest-at-source for fat tool output.${c_0}"
66+
cmd "mcp__dhee__dhee_bash(command='git log --oneline -5000')"
67+
out "${c_dim}<dhee_bash ptr=\"B-a1b2c3\">${c_0}"
68+
out "${c_dim} cmd=git log --oneline -5000${c_0}"
69+
out "${c_dim} exit=0 duration=412ms stdout=2.4MB class=git_log${c_0}"
70+
out "${c_dim} summary:${c_0}"
71+
out "${c_dim} 5000 commits across 14 authors${c_0}"
72+
out "${c_dim} top contributor: cmalviya (1842)${c_0}"
73+
out "${c_dim} (expand: dhee_expand_result(ptr=\"B-a1b2c3\"))${c_0}"
74+
out "${c_dim}</dhee_bash>${c_0}"
75+
printf "${c_g} → 2.4 MB of raw log = ~40 tokens in context.${c_0}\n"
76+
pause 1.8
77+
hr
78+
79+
say "${c_b}And it self-evolves.${c_0}"
80+
cmd "dhee router tune"
81+
out "Expansion rate by (tool, intent):"
82+
out " Read / source_code 42% ${c_y}→ deepen${c_0} (normal → deep)"
83+
out " Read / config 3% ${c_c}→ shallower${c_0} (normal → shallow)"
84+
out " Bash / git_log 11% ${c_dim}→ hold${c_0}"
85+
out "${c_g}Applied 2 policy changes${c_0} → ~/.dhee/router_policy.json"
86+
pause 1.8
87+
hr
88+
89+
printf "${c_b}${c_g}#1 on LongMemEval recall${c_0} ${c_dim}— R@1 94.8%% / R@5 99.4%% / R@10 99.8%% on full 500 questions${c_0}\n"
90+
pause 1.5
91+
printf "\n${c_c} pip install dhee && dhee install${c_0}\n\n"
92+
pause 2.5

docs/demo/demo.tape

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Output docs/demo/demo.gif
2+
3+
Set Shell "bash"
4+
Set FontSize 15
5+
Set Width 960
6+
Set Height 620
7+
Set Theme "Catppuccin Mocha"
8+
Set Padding 20
9+
Set TypingSpeed 20ms
10+
Set PlaybackSpeed 1.0
11+
12+
Hide
13+
Type "cd /Users/chitranjanmalviya/Desktop/Dhee" Enter
14+
Type "clear" Enter
15+
Show
16+
17+
Type "bash docs/demo/demo.sh" Enter
18+
Sleep 30s

0 commit comments

Comments
 (0)