-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathicm.html
More file actions
1124 lines (1050 loc) · 62.1 KB
/
icm.html
File metadata and controls
1124 lines (1050 loc) · 62.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ICM — The SQLite of AI Memory | rtk-ai</title>
<meta name="description" content="ICM is permanent memory for AI agents. Single binary, zero dependencies, MCP native. Episodic memories with temporal decay and semantic knowledge graphs.">
<meta property="og:title" content="ICM — The SQLite of AI Memory">
<meta property="og:description" content="Permanent memory for AI agents. Episodic memories with temporal decay, semantic knowledge graphs, hybrid search. Single binary, zero API keys.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.rtk-ai.app/icm.html">
<meta property="og:image" content="https://www.rtk-ai.app/og-icm-banner.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="330">
<meta property="og:image:alt" content="ICM — Infinite Context Memory">
<meta property="og:site_name" content="rtk">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="ICM — The SQLite of AI Memory">
<meta name="twitter:description" content="Permanent memory for AI agents. Episodic memories with temporal decay, semantic knowledge graphs, hybrid search. Single binary, zero API keys.">
<meta name="twitter:image" content="https://www.rtk-ai.app/og-icm-banner.png">
<link rel="canonical" href="https://www.rtk-ai.app/icm.html">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<meta name="theme-color" content="#0a0a0b">
<meta name="author" content="rtk-ai">
<meta name="robots" content="index, follow">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "ICM",
"alternateName": "Infinite Context Memory",
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "AI Memory MCP Server",
"operatingSystem": "macOS, Linux, Windows",
"description": "Permanent memory for AI agents. Single binary, zero dependencies, MCP native. Episodic memories with temporal decay and semantic knowledge graphs.",
"url": "https://www.rtk-ai.app/icm.html",
"downloadUrl": "https://github.com/rtk-ai/icm/releases/latest",
"author": {
"@type": "Organization",
"name": "rtk-ai",
"url": "https://github.com/rtk-ai"
},
"license": "https://www.apache.org/licenses/LICENSE-2.0",
"programmingLanguage": "Rust",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"featureList": [
"Dual memory model: episodic memories + semantic knowledge graphs",
"Hybrid search: BM25 + vector cosine similarity",
"Temporal decay by importance levels",
"26 MCP tools for 17 AI editors (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Copilot, Gemini, Codex, Zed, Amp, Amazon Q, Cline, Roo Code, Kilo Code, OpenCode, Continue.dev, Aider)",
"Interactive dashboards: TUI (ratatui) and web UI with Three.js 3D knowledge graph (icm dashboard / icm serve --expose)",
"Feedback system: record corrections, search past feedback, track stats",
"Auto-extraction hooks (PostToolUse, PreCompact, UserPromptSubmit) at zero LLM cost",
"Single binary, zero API keys, fully local",
"Written in Rust with SQLite storage"
]
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/style.css?v=2">
</head>
<body>
<a href="#main-content" class="skip-to-content">Skip to content</a>
<!-- Nav -->
<nav class="nav">
<div class="nav-inner">
<a href="index.html" class="nav-logo">
<svg class="logo-svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" fill="#22d3ee" stroke="#a78bfa" stroke-width="1.5"/></svg>
<span class="logo-text">rtk</span>
<span class="nav-sep">/</span>
<span class="logo-text-icm">icm</span>
</a>
<div class="nav-links">
<a href="#features">Features</a>
<a href="#dashboard">Dashboard</a>
<a href="#models">Models</a>
<a href="#tools">Live Demo</a>
<a href="#compare">Compare</a>
<a href="#install">Install</a>
<a href="vox.html" class="nav-link-vox">Vox</a>
<a href="https://discord.gg/RySmvNF5kF" class="btn btn-sm" target="_blank" rel="noopener">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.947 2.418-2.157 2.418z"/></svg>
Discord
</a>
<a href="https://github.com/rtk-ai/icm" class="btn btn-sm" target="_blank" rel="noopener">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
GitHub
</a>
</div>
</div>
</nav>
<main id="main-content">
<!-- Hero -->
<section class="hero">
<div class="hero-badge">Open Source · Apache-2.0 License · Written in Rust</div>
<h1>Your AI forgets everything.<br><span class="gradient-text">Fix that.</span></h1>
<p class="hero-sub">
<strong>ICM</strong> gives AI agents real persistent memory.
Episodic memories with temporal decay, semantic knowledge graphs, hybrid search — in a single binary.
</p>
<div class="hero-stats">
<div class="stat">
<span class="stat-value">∞</span>
<span class="stat-label">session memory</span>
</div>
<div class="stat-sep"></div>
<div class="stat">
<span class="stat-value">0</span>
<span class="stat-label">context lost</span>
</div>
<div class="stat-sep"></div>
<div class="stat">
<span class="stat-value">22</span>
<span class="stat-label">MCP tools</span>
</div>
<div class="stat-sep"></div>
<div class="stat">
<span class="stat-value">1</span>
<span class="stat-label">single binary</span>
</div>
</div>
<img src="/og-icm-banner.png" alt="ICM — Infinite Context Memory" class="icm-hero-banner" loading="eager">
<div class="hero-cta">
<a href="#install" class="btn btn-primary">Install ICM</a>
<a href="https://github.com/rtk-ai/icm" class="btn btn-ghost" target="_blank" rel="noopener">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
Star on GitHub
</a>
<a href="https://discord.gg/RySmvNF5kF" class="btn btn-ghost" target="_blank" rel="noopener">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.947 2.418-2.157 2.418z"/></svg>
Join Discord
</a>
</div>
</section>
<!-- Features -->
<section class="features" id="features">
<div class="section-inner">
<h2>Why ICM?</h2>
<p class="section-sub">Your AI restarts from zero every session. ICM changes that.</p>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" stroke="#22d3ee" stroke-width="2"/><path d="M12 6v6l4 2" stroke="#a78bfa" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<h3>Temporal Decay</h3>
<p>Memories fade naturally based on importance. Critical decisions stay forever. Trivial details disappear. Like human memory.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" stroke="#22d3ee" stroke-width="2"/><polyline points="3.27 6.96 12 12.01 20.73 6.96" stroke="#a78bfa" stroke-width="2"/><line x1="12" y1="22.08" x2="12" y2="12" stroke="#a78bfa" stroke-width="2"/></svg>
</div>
<h3>Knowledge Graphs</h3>
<p>Memoirs organize concepts with typed relations: depends_on, contradicts, refines. Structured knowledge, not flat notes.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><circle cx="11" cy="11" r="8" stroke="#22d3ee" stroke-width="2"/><line x1="21" y1="21" x2="16.65" y2="16.65" stroke="#a78bfa" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<h3>Hybrid Search</h3>
<p>BM25 keyword search (30%) + vector cosine similarity (70%) via sqlite-vec. Find memories by meaning, not just keywords.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><path d="M12 2L2 7l10 5 10-5-10-5z" stroke="#22d3ee" stroke-width="2" stroke-linejoin="round"/><path d="M2 17l10 5 10-5" stroke="#a78bfa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 12l10 5 10-5" stroke="#22d3ee" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<h3>MCP Native</h3>
<p>26 tools exposed via Model Context Protocol. <code>icm init</code> auto-configures 17 editors: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, GitHub Copilot, Gemini, Codex, Zed, Amp, Amazon Q, Cline, Roo Code, Kilo Code, OpenCode, Continue.dev, and Aider.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><rect x="3" y="11" width="18" height="11" rx="2" stroke="#22d3ee" stroke-width="2"/><path d="M7 11V7a5 5 0 0110 0v4" stroke="#a78bfa" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="16" r="1" fill="#22d3ee"/></svg>
</div>
<h3>100% Local</h3>
<p>Everything stays on your machine. SQLite storage, local embeddings (384-dim via BAAI/bge-small), no cloud, no API keys.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" stroke="#22d3ee" stroke-width="2" stroke-linejoin="round"/></svg>
</div>
<h3>Single Binary</h3>
<p>One <code>brew install</code>. No Docker, no Python, no Qdrant, no Redis. Just a Rust binary and a SQLite file.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><path d="M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z" stroke="#22d3ee" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 10h8M8 14h4" stroke="#a78bfa" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<h3>Feedback System</h3>
<p>Record corrections when AI predictions are wrong. Search past feedback to avoid repeating mistakes. Track correction stats over time.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none"><path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z" stroke="#22d3ee" stroke-width="2"/><path d="M2 12h20M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10A15.3 15.3 0 0112 2z" stroke="#a78bfa" stroke-width="2"/></svg>
</div>
<h3>Auto-Extraction Hooks</h3>
<p>Three lifecycle hooks — PostToolUse, PreCompact, UserPromptSubmit — automatically extract and store context at zero LLM cost.</p>
</div>
</div>
</div>
</section>
<!-- Dashboard -->
<section class="icm-dash" id="dashboard">
<div class="section-inner">
<h2>See your memory, actually</h2>
<p class="section-sub">Every memory, every concept, every link — in your terminal or your browser. No telemetry, no cloud, your SQLite file.</p>
<div class="dash-hero">
<img src="assets/icm/web-graph-3d.png" alt="ICM web dashboard — Three.js force-directed knowledge graph" loading="lazy">
<div class="dash-hero-cap">
<span class="dash-tag">Web · Three.js WebGL</span>
<strong>3D knowledge graph</strong>
<span class="dash-muted">Concepts as nodes, typed relations as edges. Click a node for the full concept panel.</span>
</div>
</div>
<div class="dash-grid">
<figure class="dash-card">
<img src="assets/icm/web-overview.png" alt="ICM web dashboard — Overview page with stats and top topics" loading="lazy">
<figcaption>
<span class="dash-tag">Web · Overview</span>
Memories, topics, concepts, links, feedback — at a glance.
</figcaption>
</figure>
<figure class="dash-card">
<img src="assets/icm/web-health.png" alt="ICM web dashboard — Health audit per topic" loading="lazy">
<figcaption>
<span class="dash-tag">Web · Health</span>
Consolidation hints, stale detection, decay & prune buttons inline.
</figcaption>
</figure>
<figure class="dash-card">
<img src="assets/icm/tui-overview.png" alt="ICM TUI dashboard — ratatui in the terminal" loading="lazy">
<figcaption>
<span class="dash-tag">TUI · ratatui</span>
Keyboard-driven. <code>1-5</code> tabs, <code>j/k</code> nav, <code>/</code> search, <code>?</code> help.
</figcaption>
</figure>
</div>
<div class="dash-cmd">
<div class="code-block code-block-wide">
<code>icm dashboard</code>
<button class="copy-btn" data-copy="icm dashboard" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
<div class="code-block code-block-wide">
<code>icm serve --expose · http://127.0.0.1:8420</code>
<button class="copy-btn" data-copy="icm serve --expose" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
</div>
</div>
</section>
<!-- Memory Models -->
<section class="icm-models" id="models">
<div class="section-inner">
<h2>Three memory systems</h2>
<p class="section-sub">Three complementary systems for different types of knowledge.</p>
<div class="models-grid">
<div class="model-card">
<div class="model-icon">
<svg width="36" height="36" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" stroke="#22d3ee" stroke-width="1.5"/><path d="M12 6v6l4 2" stroke="#a78bfa" stroke-width="1.5" stroke-linecap="round"/></svg>
</div>
<div class="model-header">
<span class="model-name">Memories</span>
<span class="model-badge">Episodic</span>
</div>
<p class="model-desc">Session context, decisions, resolved errors. Stored with importance levels. Fade naturally over time — critical stays forever, trivial disappears.</p>
<div class="model-terminal">
<div class="demo-card-header">
<span class="demo-dot green"></span>
<span class="demo-label">icm_memory_store</span>
</div>
<pre><code><span class="cmd-comment"># topic:</span> "decisions-auth"
<span class="cmd-comment"># content:</span> "JWT with RS256, 30-day expiry"
<span class="cmd-comment"># importance:</span> <span style="color:#22d3ee">critical</span> <span class="cmd-comment"># never decays</span>
<span class="cmd-comment"># topic:</span> "debug-notes"
<span class="cmd-comment"># content:</span> "Tried port 3000, was busy"
<span class="cmd-comment"># importance:</span> <span style="color:#a1a1aa">low</span> <span class="cmd-comment"># fades in days</span></code></pre>
</div>
<div class="model-tags">
<span class="model-tag">4 importance levels</span>
<span class="model-tag">auto-decay</span>
<span class="model-tag">hybrid search</span>
<span class="model-tag">topic-based</span>
</div>
</div>
<div class="model-card model-card-accent">
<div class="model-icon">
<svg width="36" height="36" viewBox="0 0 24 24" fill="none"><path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" stroke="#a78bfa" stroke-width="1.5"/><polyline points="3.27 6.96 12 12.01 20.73 6.96" stroke="#22d3ee" stroke-width="1.5"/><line x1="12" y1="22.08" x2="12" y2="12" stroke="#22d3ee" stroke-width="1.5"/></svg>
</div>
<div class="model-header">
<span class="model-name">Memoirs</span>
<span class="model-badge model-badge-violet">Knowledge Graph</span>
</div>
<p class="model-desc">Permanent knowledge containers. Concepts linked by typed edges form a graph. Never decay, only refined. Architecture decisions, domain models, project structure.</p>
<div class="model-graph">
<svg viewBox="0 0 480 280" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="arrow-cyan" viewBox="0 0 10 8" refX="10" refY="4" markerWidth="8" markerHeight="6" orient="auto-start-reverse">
<path d="M0 0L10 4L0 8z" fill="#22d3ee"/>
</marker>
<marker id="arrow-violet" viewBox="0 0 10 8" refX="10" refY="4" markerWidth="8" markerHeight="6" orient="auto-start-reverse">
<path d="M0 0L10 4L0 8z" fill="#a78bfa"/>
</marker>
<marker id="arrow-green" viewBox="0 0 10 8" refX="10" refY="4" markerWidth="8" markerHeight="6" orient="auto-start-reverse">
<path d="M0 0L10 4L0 8z" fill="#4ade80"/>
</marker>
<filter id="node-glow">
<feGaussianBlur stdDeviation="4" result="blur"/>
<feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
<!-- Edges -->
<line x1="240" y1="52" x2="130" y2="118" stroke="#22d3ee" stroke-width="1.5" stroke-opacity="0.5" marker-end="url(#arrow-cyan)"/>
<line x1="240" y1="52" x2="350" y2="118" stroke="#22d3ee" stroke-width="1.5" stroke-opacity="0.5" marker-end="url(#arrow-cyan)"/>
<line x1="78" y1="218" x2="118" y2="148" stroke="#a78bfa" stroke-width="1.5" stroke-opacity="0.5" marker-end="url(#arrow-violet)"/>
<line x1="220" y1="228" x2="340" y2="228" stroke="#4ade80" stroke-width="1.5" stroke-opacity="0.5" marker-end="url(#arrow-green)"/>
<line x1="130" y1="148" x2="350" y2="118" stroke="#22d3ee" stroke-width="1" stroke-opacity="0.25" stroke-dasharray="4 4"/>
<!-- Edge labels -->
<text x="168" y="78" fill="#22d3ee" font-size="9" font-family="'JetBrains Mono', monospace" opacity="0.7">depends_on</text>
<text x="298" y="78" fill="#22d3ee" font-size="9" font-family="'JetBrains Mono', monospace" opacity="0.7">depends_on</text>
<text x="62" y="178" fill="#a78bfa" font-size="9" font-family="'JetBrains Mono', monospace" opacity="0.7">part_of</text>
<text x="260" y="220" fill="#4ade80" font-size="9" font-family="'JetBrains Mono', monospace" opacity="0.7">refines</text>
<!-- Nodes -->
<g filter="url(#node-glow)">
<!-- api-gateway -->
<circle cx="240" cy="40" r="14" fill="#111113" stroke="#22d3ee" stroke-width="1.5">
<animate attributeName="stroke-opacity" values="0.6;1;0.6" dur="3s" repeatCount="indefinite"/>
</circle>
<text x="240" y="44" text-anchor="middle" fill="#fafafa" font-size="8" font-weight="600" font-family="'JetBrains Mono', monospace">API</text>
<!-- auth-service -->
<circle cx="120" cy="132" r="16" fill="#111113" stroke="#a78bfa" stroke-width="1.5">
<animate attributeName="stroke-opacity" values="0.6;1;0.6" dur="3.5s" repeatCount="indefinite"/>
</circle>
<text x="120" y="136" text-anchor="middle" fill="#fafafa" font-size="7.5" font-weight="600" font-family="'JetBrains Mono', monospace">Auth</text>
<!-- user-store -->
<circle cx="360" cy="132" r="14" fill="#111113" stroke="#22d3ee" stroke-width="1.5">
<animate attributeName="stroke-opacity" values="0.6;1;0.6" dur="4s" repeatCount="indefinite"/>
</circle>
<text x="360" y="136" text-anchor="middle" fill="#fafafa" font-size="7.5" font-weight="600" font-family="'JetBrains Mono', monospace">Users</text>
<!-- jwt-tokens -->
<circle cx="65" cy="230" r="12" fill="#111113" stroke="#a78bfa" stroke-width="1.5">
<animate attributeName="stroke-opacity" values="0.6;1;0.6" dur="3.2s" repeatCount="indefinite"/>
</circle>
<text x="65" y="234" text-anchor="middle" fill="#fafafa" font-size="7" font-weight="600" font-family="'JetBrains Mono', monospace">JWT</text>
<!-- session-v2 -->
<circle cx="205" cy="240" r="12" fill="#111113" stroke="#4ade80" stroke-width="1.5">
<animate attributeName="stroke-opacity" values="0.6;1;0.6" dur="2.8s" repeatCount="indefinite"/>
</circle>
<text x="205" y="244" text-anchor="middle" fill="#fafafa" font-size="7" font-weight="600" font-family="'JetBrains Mono', monospace">v2</text>
<!-- session-v1 -->
<circle cx="360" cy="240" r="12" fill="#111113" stroke="#a1a1aa" stroke-width="1" stroke-opacity="0.5"/>
<text x="360" y="244" text-anchor="middle" fill="#a1a1aa" font-size="7" font-weight="600" font-family="'JetBrains Mono', monospace">v1</text>
</g>
<!-- Node labels (below) -->
<text x="240" y="62" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">api-gateway</text>
<text x="120" y="157" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">auth-service</text>
<text x="360" y="157" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">user-store</text>
<text x="65" y="252" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">jwt-tokens</text>
<text x="205" y="262" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">session-v2</text>
<text x="360" y="262" text-anchor="middle" fill="#a1a1aa" font-size="8" font-family="'Inter', sans-serif">session-v1</text>
</svg>
</div>
<div class="model-tags">
<span class="model-tag">permanent</span>
<span class="model-tag">typed relations</span>
<span class="model-tag">BFS traversal</span>
<span class="model-tag">revision tracking</span>
</div>
</div>
<div class="model-card">
<div class="model-icon">
<svg width="36" height="36" viewBox="0 0 24 24" fill="none"><path d="M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z" stroke="#22d3ee" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 10h8M8 14h4" stroke="#a78bfa" stroke-width="1.5" stroke-linecap="round"/></svg>
</div>
<div class="model-header">
<span class="model-name">Feedback</span>
<span class="model-badge">Corrections</span>
</div>
<p class="model-desc">Record when AI predictions are wrong. Search past corrections to inform future decisions. Track accuracy improvements over time.</p>
<div class="model-terminal">
<div class="demo-card-header">
<span class="demo-dot green"></span>
<span class="demo-label">icm_feedback_record</span>
</div>
<pre><code><span class="cmd-comment"># predicted:</span> "port 3000 is available"
<span class="cmd-comment"># actual:</span> "port 3000 was in use"
<span class="cmd-comment"># context:</span> <span style="color:#22d3ee">dev-server</span>
<span class="cmd-prompt">$</span> icm_feedback_search \
query="port configuration"
<span style="color:#4ade80">Found 2 corrections</span>
<span class="cmd-prompt">$</span> icm_feedback_stats
<span style="color:#4ade80">12 corrections recorded</span></code></pre>
</div>
<div class="model-tags">
<span class="model-tag">record corrections</span>
<span class="model-tag">search feedback</span>
<span class="model-tag">accuracy stats</span>
</div>
</div>
</div>
</div>
</section>
<!-- Demo -->
<section class="demo icm-demo" id="demo">
<div class="section-inner">
<h2>See it in action</h2>
<p class="section-sub">Simple MCP tools, powerful results.</p>
<div class="vox-demo-grid">
<div class="vox-demo-card">
<div class="demo-card-header">
<span class="demo-dot green"></span>
<span class="demo-label">Store & Recall</span>
</div>
<pre><code><span class="cmd-prompt">$</span> icm_memory_store \
topic="decisions-auth" \
content="JWT with RS256, 30d expiry" \
importance=<span style="color:#22d3ee">critical</span>
<span class="cmd-prompt">$</span> icm_memory_recall \
query="authentication token"
<span style="color:#4ade80">Found 3 memories (best: 0.92)</span>
<span class="cmd-prompt">$</span> icm_memory_consolidate \
topic="decisions-auth"
<span style="color:#4ade80">Consolidated 8 → 1 summary</span></code></pre>
</div>
<div class="vox-demo-card">
<div class="demo-card-header">
<span class="demo-dot green"></span>
<span class="demo-label">Knowledge Graph</span>
</div>
<pre><code><span class="cmd-prompt">$</span> icm_memoir_create \
name="backend-arch"
<span class="cmd-prompt">$</span> icm_memoir_add_concept \
memoir="backend-arch" \
name="auth-service" \
definition="JWT RS256, Axum middleware"
<span class="cmd-prompt">$</span> icm_memoir_link \
from="api-gateway" \
to="auth-service" \
relation=<span style="color:#a78bfa">depends_on</span></code></pre>
</div>
<div class="vox-demo-card">
<div class="demo-card-header">
<span class="demo-dot green"></span>
<span class="demo-label">Explore</span>
</div>
<pre><code><span class="cmd-prompt">$</span> icm_memoir_inspect \
name="auth-service" depth=2
<span style="color:#22d3ee">auth-service</span>
<span style="color:#a78bfa">←depends_on</span> api-gateway
<span style="color:#a78bfa">→depends_on</span> user-store
<span style="color:#a78bfa">←part_of</span> jwt-tokens
<span class="cmd-prompt">$</span> icm_memoir_search_all \
query="database schema"
<span style="color:#4ade80">Found 5 concepts across 2 memoirs</span></code></pre>
</div>
</div>
</div>
</section>
<!-- Interactive Memory Flow -->
<section class="icm-flow" id="tools">
<div class="section-inner">
<h2>Shared memory, multiple agents</h2>
<p class="section-sub">Watch how context flows between agents and sessions.</p>
<div class="flow-container">
<!-- Parameter controls -->
<div class="flow-params">
<div class="flow-param-group">
<span class="flow-param-label">Agents</span>
<div class="flow-param-btns" id="param-agents">
<button class="flow-param-btn active" data-val="3">3</button>
<button class="flow-param-btn" data-val="4">4</button>
<button class="flow-param-btn" data-val="5">5</button>
<button class="flow-param-btn" data-val="6">6</button>
</div>
</div>
<div class="flow-param-group">
<span class="flow-param-label">Memories</span>
<div class="flow-param-btns" id="param-memories">
<button class="flow-param-btn active" data-val="4">4</button>
<button class="flow-param-btn" data-val="8">8</button>
<button class="flow-param-btn" data-val="12">12</button>
</div>
</div>
</div>
<div class="flow-canvas">
<svg id="flow-svg" viewBox="0 0 800 500" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
</div>
<!-- Controls -->
<div class="flow-controls">
<button id="flow-play" class="flow-btn flow-btn-primary" aria-label="Play">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><polygon points="5 3 19 12 5 21 5 3"/></svg>
Auto
</button>
<button id="flow-step" class="flow-btn" aria-label="Next step">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polygon points="5 4 15 12 5 20 5 4" fill="currentColor"/><line x1="19" y1="5" x2="19" y2="19"/></svg>
Step
</button>
<button id="flow-reset" class="flow-btn" aria-label="Reset">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>
Reset
</button>
</div>
<!-- Log -->
<div class="flow-log" id="flow-log">
<div class="flow-log-entry flow-log-info">Click <strong>Auto</strong> to watch the demo or <strong>Step</strong> to go one action at a time.</div>
</div>
</div>
</div>
</section>
<!-- Market Comparison -->
<section class="icm-compare" id="compare">
<div class="section-inner">
<h2>The AI memory landscape</h2>
<p class="section-sub">From flat files to $24M startups. Here's how they compare.</p>
<!-- Competitor cards -->
<div class="rival-grid">
<div class="rival-card">
<div class="rival-header">
<span class="rival-name">Mem0</span>
<span class="rival-tag rival-tag-funded">$24M raised</span>
</div>
<p class="rival-desc">Market leader. Cloud-first memory platform with managed API.</p>
<div class="rival-stack">
<span class="rival-chip">Python</span>
<span class="rival-chip">Docker</span>
<span class="rival-chip">Qdrant</span>
<span class="rival-chip">OpenAI API</span>
</div>
<div class="rival-verdict">
<div class="rival-pro">41K GitHub stars</div>
<div class="rival-con">Requires API key + cloud infra</div>
<div class="rival-con">Not MCP native</div>
</div>
</div>
<div class="rival-card">
<div class="rival-header">
<span class="rival-name">Zep / Graphiti</span>
<span class="rival-tag rival-tag-oss">Open Source</span>
</div>
<p class="rival-desc">Temporal knowledge graph with LLM extraction. Most sophisticated OSS approach.</p>
<div class="rival-stack">
<span class="rival-chip">Python</span>
<span class="rival-chip">Neo4j</span>
<span class="rival-chip">OpenAI API</span>
</div>
<div class="rival-verdict">
<div class="rival-pro">20K stars, deep graph model</div>
<div class="rival-con">Requires Neo4j + API key</div>
<div class="rival-con">Heavy infrastructure</div>
</div>
</div>
<div class="rival-card">
<div class="rival-header">
<span class="rival-name">mcp-memory-service</span>
<span class="rival-tag rival-tag-oss">MCP</span>
</div>
<p class="rival-desc">Community MCP memory server. Simple key-value store with ChromaDB.</p>
<div class="rival-stack">
<span class="rival-chip">Python</span>
<span class="rival-chip">ChromaDB</span>
<span class="rival-chip">pip install</span>
</div>
<div class="rival-verdict">
<div class="rival-pro">1.3K stars, MCP native</div>
<div class="rival-con">No knowledge graphs</div>
<div class="rival-con">No temporal decay</div>
</div>
</div>
<div class="rival-card">
<div class="rival-header">
<span class="rival-name">Built-in Memory</span>
<span class="rival-tag">CLAUDE.md / Cursor / Windsurf</span>
</div>
<p class="rival-desc">File-based instructions or basic cloud memory. Good enough for simple preferences.</p>
<div class="rival-stack">
<span class="rival-chip">Flat file</span>
<span class="rival-chip">Manual</span>
<span class="rival-chip">No search</span>
</div>
<div class="rival-verdict">
<div class="rival-pro">Zero setup, built into tool</div>
<div class="rival-con">No semantic search</div>
<div class="rival-con">No cross-tool sharing</div>
</div>
</div>
</div>
<!-- ICM highlight card -->
<div class="icm-highlight-card">
<div class="icm-highlight-header">
<div>
<span class="icm-highlight-name">ICM</span>
<span class="icm-highlight-tagline">The SQLite of AI memory</span>
</div>
<div class="rival-stack">
<span class="rival-chip rival-chip-accent">Rust</span>
<span class="rival-chip rival-chip-accent">SQLite</span>
<span class="rival-chip rival-chip-accent">Zero deps</span>
</div>
</div>
<div class="icm-highlight-grid">
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>Single binary</strong>
<span>No Docker, no Python, no cloud</span>
</div>
</div>
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>Hybrid search</strong>
<span>BM25 + 384-dim vectors, local embeddings</span>
</div>
</div>
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>Knowledge graphs</strong>
<span>Typed relations, BFS traversal, revision tracking</span>
</div>
</div>
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>26 MCP tools</strong>
<span>Auto-configures 17 editors via <code>icm init</code></span>
</div>
</div>
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>Temporal decay</strong>
<span>4 importance levels, automatic memory aging</span>
</div>
</div>
<div class="icm-highlight-item icm-h-yes">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#22d3ee" stroke-width="2.5" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>
<div>
<strong>100% local & private</strong>
<span>Zero API keys, zero cloud, your data stays yours</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Install -->
<section class="install" id="install">
<div class="section-inner">
<h2>Install in seconds</h2>
<p class="section-sub">Single binary. No Docker, no Python, no external services.</p>
<div class="install-grid">
<div class="install-card install-primary">
<h3>Via Homebrew</h3>
<p>macOS & Linux</p>
<div class="code-block">
<code>brew install rtk-ai/tap/icm</code>
<button class="copy-btn" data-copy="brew install rtk-ai/tap/icm" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
<div class="code-block">
<code>brew upgrade icm</code>
<button class="copy-btn" data-copy="brew upgrade icm" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
</div>
<div class="install-card">
<h3>Install Script</h3>
<p>macOS, Linux</p>
<div class="code-block">
<code>curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh</code>
<button class="copy-btn" data-copy="curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
</div>
<div class="install-card">
<h3>Pre-built Binaries</h3>
<p>macOS, Linux, Windows</p>
<div class="code-block">
<a href="https://github.com/rtk-ai/icm/releases/latest" target="_blank" rel="noopener" class="releases-link">Download from Releases →</a>
</div>
</div>
</div>
<div class="install-setup">
<h3>Then auto-configure your editors</h3>
<div class="code-block code-block-wide">
<code>icm init --mode all</code>
<button class="copy-btn" data-copy="icm init --mode all" aria-label="Copy">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg>
</button>
</div>
<p class="install-note">One command, every layer, every detected editor. <code>icm init</code> alone sets up MCP only; <code>--mode all</code> also wires up hooks, instruction files, and slash commands wherever supported. Covers 17 editors: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, GitHub Copilot, Gemini, Codex, Zed, Amp, Amazon Q, Cline, Roo Code, Kilo Code, OpenCode, Continue.dev, and Aider.</p>
</div>
<div class="init-layers">
<h3 class="init-layers-title">What <code>icm init --mode all</code> sets up, per tool</h3>
<p class="init-layers-sub">Four integration layers. Each tool gets the layers it supports — run a single <code>--mode mcp|hook|cli|skill</code> to install just one.</p>
<div class="init-layers-grid">
<div class="init-layer">
<div class="init-layer-badge">MCP</div>
<h4>MCP Server</h4>
<p>Exposes 26 tools (<code>icm_memory_store</code>, <code>icm_memory_recall</code>, <code>icm_memoir_*</code>, <code>icm_feedback_*</code>, <code>icm_wake_up</code>…) to every editor that speaks MCP.</p>
<p class="init-layer-tools">17 editors · <code>icm init --mode mcp</code></p>
</div>
<div class="init-layer">
<div class="init-layer-badge">Hooks</div>
<h4>Auto-extraction hooks</h4>
<p>SessionStart, PreTool, PostTool, PreCompact, UserPromptSubmit. Injects wake-up packs, extracts facts from tool output, recalls context on each prompt — all at zero LLM cost.</p>
<p class="init-layer-tools">Claude Code, Gemini CLI, Codex CLI, Copilot CLI, OpenCode · <code>icm init --mode hook</code></p>
</div>
<div class="init-layer">
<div class="init-layer-badge">CLI</div>
<h4>Instruction files</h4>
<p>Injects ICM usage guidance into each tool’s native instruction file so the agent knows when to store and recall.</p>
<p class="init-layer-tools"><code>CLAUDE.md</code>, <code>GEMINI.md</code>, <code>AGENTS.md</code>, <code>.windsurfrules</code>, <code>copilot-instructions.md</code>, <code>.aider.conventions.md</code> · <code>icm init --mode cli</code></p>
</div>
<div class="init-layer">
<div class="init-layer-badge">Skills</div>
<h4>Slash commands & rules</h4>
<p>Ready-to-use shortcuts so the user can recall or remember in one keystroke.</p>
<p class="init-layer-tools">Claude Code (<code>/recall</code>, <code>/remember</code>), Amp (<code>/icm-recall</code>, <code>/icm-remember</code>), Cursor <code>.mdc</code>, Roo Code <code>.md</code> · <code>icm init --mode skill</code></p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA + Social -->
<section class="cta">
<div class="section-inner">
<h2>Your AI starts from zero.<br><span class="gradient-text">Every. Single. Time.</span></h2>
<p class="section-sub">Install ICM. Give your AI agent a memory it deserves.</p>
<div class="hero-cta">
<a href="#install" class="btn btn-primary">Install ICM</a>
<a href="https://github.com/rtk-ai/icm" class="btn btn-ghost" target="_blank" rel="noopener">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
Star on GitHub
</a>
</div>
<div class="social-share">
<span class="share-label">Share ICM</span>
<div class="share-links">
<a href="https://x.com/intent/tweet?text=ICM%20%E2%80%94%20The%20SQLite%20of%20AI%20memory.%20Permanent%20memory%20for%20AI%20agents%2C%20single%20binary%2C%20zero%20API%20keys.&url=https%3A%2F%2Fgithub.com%2Frtk-ai%2Ficm" target="_blank" rel="noopener nofollow" class="share-btn" aria-label="Share on X">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>
</a>
<a href="https://bsky.app/intent/compose?text=ICM%20%E2%80%94%20The%20SQLite%20of%20AI%20memory.%20Permanent%20memory%20for%20AI%20agents%2C%20single%20binary%2C%20zero%20API%20keys.%20https%3A%2F%2Fgithub.com%2Frtk-ai%2Ficm" target="_blank" rel="noopener nofollow" class="share-btn" aria-label="Share on Bluesky">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.785 2.627 3.601 3.495 6.186 3.245-3.775.547-7.052 2.48-4.452 7.378 2.294 3.796 5.057 4.755 7.642.38C12 17.764 12 14.568 12 14.568s0 3.196 2 6.682c2.585 4.375 5.348 3.416 7.642-.38 2.6-4.898-.677-6.831-4.452-7.378 2.585.25 5.401-.618 6.186-3.245.246-.828.624-5.788.624-6.479 0-.688-.139-1.86-.902-2.203-.659-.299-1.664-.621-4.3 1.24C16.046 4.747 13.087 8.686 12 10.8z"/></svg>
</a>
<a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Frtk-ai%2Ficm" target="_blank" rel="noopener nofollow" class="share-btn" aria-label="Share on LinkedIn">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>
</a>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer">
<div class="footer-inner">
<div class="footer-left">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" fill="#22d3ee" stroke="#a78bfa" stroke-width="1.5"/></svg>
<strong>rtk</strong> / <strong>icm</strong> · The SQLite of AI memory
</div>
<div class="footer-right">
<a href="index.html">rtk</a>
<a href="vox.html">Vox</a>
<a href="https://github.com/rtk-ai/icm" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/rtk-ai/icm/blob/main/LICENSE" target="_blank" rel="noopener">Apache-2.0 License</a>
</div>
</div>
</footer>
<script>
// Copy buttons
document.querySelectorAll('.copy-btn').forEach(btn => {
btn.addEventListener('click', () => {
navigator.clipboard.writeText(btn.dataset.copy).then(() => {
btn.classList.add('copied');
setTimeout(() => btn.classList.remove('copied'), 1500);
});
});
});
// === Parametric Flow Animation ===
(function() {
var AGENTS = [
{ name: 'Claude Code', color: '#22d3ee' },
{ name: 'Cursor', color: '#a78bfa' },
{ name: 'Windsurf', color: '#4ade80' },
{ name: 'Copilot', color: '#f472b6' },
{ name: 'Cline', color: '#fbbf24' },
{ name: 'Codex', color: '#fb923c' }
];
var MEM_LABELS = [
'JWT auth', 'DB schema', 'API routes', 'deploy cfg',
'env vars', 'tests', 'CI/CD', 'error log',
'models', 'rate limit', 'webhooks', 'monitoring'
];
var CX = 400, CY = 250, ICM_R = 42;
var numAgents = 3, numMemories = 4;
var currentStep = -1, steps = [], autoInterval = null, playing = false;
var svgEl = document.getElementById('flow-svg');
var logEl = document.getElementById('flow-log');
var playBtn = document.getElementById('flow-play');
var stepBtn = document.getElementById('flow-step');
var resetBtn = document.getElementById('flow-reset');
function agentPos(i) {
var a = (i / numAgents) * 2 * Math.PI - Math.PI / 2;
return { x: Math.round(CX + 260 * Math.cos(a)), y: Math.round(CY + 175 * Math.sin(a)) };
}
function memPos(i) {
var r = numMemories <= 4 ? 78 : numMemories <= 8 ? 88 : 98;
var a = (i / numMemories) * 2 * Math.PI - Math.PI / 4;
return { x: Math.round(CX + r * Math.cos(a)), y: Math.round(CY + r * Math.sin(a)), a: a, r: r };
}
function buildSVG() {
var h = '<defs><radialGradient id="icm-glow" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="#22d3ee" stop-opacity="0.15"/><stop offset="100%" stop-color="#22d3ee" stop-opacity="0"/></radialGradient></defs>';
h += '<circle cx="'+CX+'" cy="'+CY+'" r="120" fill="url(#icm-glow)"/>';
// Connection lines
for (var i = 0; i < numAgents; i++) {
var p = agentPos(i), dx = p.x - CX, dy = p.y - CY;
var dist = Math.sqrt(dx*dx + dy*dy);
var ex = Math.round(CX + dx * (ICM_R + 4) / dist);
var ey = Math.round(CY + dy * (ICM_R + 4) / dist);
h += '<line id="line-'+i+'" x1="'+p.x+'" y1="'+p.y+'" x2="'+ex+'" y2="'+ey+'" stroke="'+AGENTS[i].color+'" stroke-width="1.5" stroke-opacity="0.15" stroke-dasharray="6 4"/>';
}
// Particles
for (var i = 0; i < numAgents; i++) {
h += '<circle id="particle-'+i+'" cx="0" cy="0" r="4" fill="'+AGENTS[i].color+'" opacity="0"/>';
}
// ICM center
h += '<circle cx="'+CX+'" cy="'+CY+'" r="'+ICM_R+'" fill="#111113" stroke="#22d3ee" stroke-width="2"/>';
h += '<text x="'+CX+'" y="'+(CY-6)+'" text-anchor="middle" fill="#22d3ee" font-size="16" font-weight="800" font-family="\'JetBrains Mono\', monospace">ICM</text>';
h += '<text x="'+CX+'" y="'+(CY+12)+'" text-anchor="middle" fill="#a1a1aa" font-size="9" font-family="\'Inter\', sans-serif">26 MCP tools</text>';
// Memory nodes
h += '<g id="mem-nodes">';
var fs = numMemories <= 4 ? 7.5 : numMemories <= 8 ? 6.5 : 0;
for (var i = 0; i < numMemories; i++) {
var mp = memPos(i), col = AGENTS[i % numAgents].color;
var nr = numMemories <= 8 ? 8 : 6;
h += '<g id="mem-'+i+'" opacity="0"><circle cx="'+mp.x+'" cy="'+mp.y+'" r="'+nr+'" fill="#111113" stroke="'+col+'" stroke-width="1.2"/>';
if (fs > 0) {
var lr = mp.r + 18;
var lx = Math.round(CX + lr * Math.cos(mp.a));
var ly = Math.round(CY + lr * Math.sin(mp.a));
var anc = Math.abs(Math.cos(mp.a)) < 0.25 ? 'middle' : Math.cos(mp.a) > 0 ? 'start' : 'end';
var ddy = Math.sin(mp.a) > 0.4 ? 10 : Math.sin(mp.a) < -0.4 ? -4 : 4;
h += '<text x="'+lx+'" y="'+(ly+ddy)+'" text-anchor="'+anc+'" fill="#a1a1aa" font-size="'+fs+'" font-family="\'Inter\', sans-serif">'+MEM_LABELS[i]+'</text>';
}
h += '</g>';
}
// Memory edges
for (var i = 0; i < numMemories - 1; i++) {
var m1 = memPos(i), m2 = memPos(i + 1);
h += '<line id="mem-edge-'+i+'" x1="'+m1.x+'" y1="'+m1.y+'" x2="'+m2.x+'" y2="'+m2.y+'" stroke="#22d3ee" stroke-width="0.8" stroke-opacity="0" stroke-dasharray="3 3"/>';
}
h += '</g>';
// Agent boxes
var bw = numAgents <= 4 ? 148 : 128, bh = numAgents <= 4 ? 60 : 50;
var afs = numAgents <= 4 ? 13 : 11;
for (var i = 0; i < numAgents; i++) {
var p = agentPos(i), a = AGENTS[i];
h += '<g id="agent-'+i+'">';
h += '<rect x="'+(p.x - bw/2)+'" y="'+(p.y - bh/2)+'" width="'+bw+'" height="'+bh+'" rx="12" fill="#111113" stroke="'+a.color+'" stroke-width="1.5" stroke-opacity="0.6"/>';
h += '<text x="'+p.x+'" y="'+(p.y - 2)+'" text-anchor="middle" fill="#fafafa" font-size="'+afs+'" font-weight="700" font-family="\'Inter\', sans-serif">'+a.name+'</text>';
h += '<text id="status-'+i+'" x="'+p.x+'" y="'+(p.y + 15)+'" text-anchor="middle" fill="#a1a1aa" font-size="9" font-family="\'JetBrains Mono\', monospace">idle</text>';
h += '<circle cx="'+(p.x - bw/2 + 16)+'" cy="'+(p.y - bh/2 + 12)+'" r="3.5" fill="'+a.color+'" opacity="0.6"/>';
h += '</g>';
}
svgEl.innerHTML = h;
}
function buildSteps() {
steps = [];
var stored = [];
for (var i = 0; i < numMemories; i++) {
var ag = i % numAgents;
steps.push({ t: 'store', a: ag, m: i });
stored.push({ a: ag, m: i });
if (i >= 1 && i % 2 === 1) {
var ra = (ag + 1) % numAgents;
var cands = stored.filter(function(s) { return s.a !== ra; });
if (cands.length > 0) {
var tgt = cands[Math.max(0, cands.length - 2)];
steps.push({ t: 'recall', a: ra, m: tgt.m, from: tgt.a });
}
}
}
if (stored.length >= 2) {
steps.push({ t: 'link', a: 1 % numAgents, m1: 0, m2: 1 });
}
steps.push({ t: 'summary' });
}
// Helpers
function animLine(idx, on) {
var el = document.getElementById('line-' + idx);
if (el) { el.setAttribute('stroke-opacity', on ? '0.6' : '0.15'); el.setAttribute('stroke-width', on ? '2' : '1.5'); }
}
function showMem(idx, show) {
var el = document.getElementById('mem-' + idx);
if (el) el.setAttribute('opacity', show ? '1' : '0');
}
function showEdge(idx, show) {
var el = document.getElementById('mem-edge-' + idx);
if (el) el.setAttribute('stroke-opacity', show ? '0.4' : '0');
}
function setSt(idx, text) {
var el = document.getElementById('status-' + idx);
if (el) el.textContent = text;
}
function setGlow(idx, on) {
var g = document.getElementById('agent-' + idx);
if (!g) return;
var r = g.querySelector('rect');
r.setAttribute('stroke-opacity', on ? '1' : '0.6');
r.setAttribute('stroke-width', on ? '2.5' : '1.5');
}
function particle(ai, tx, ty, rev) {
var el = document.getElementById('particle-' + ai);
if (!el) return;
var p = agentPos(ai);
var fx = rev ? tx : p.x, fy = rev ? ty : p.y;
var ex = rev ? p.x : tx, ey = rev ? p.y : ty;
el.setAttribute('opacity', '1');
var anim = el.animate([
{ transform: 'translate('+fx+'px, '+fy+'px)' },
{ transform: 'translate('+ex+'px, '+ey+'px)' }
], { duration: 800, easing: 'ease-in-out' });