-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
1149 lines (1045 loc) · 45 KB
/
Copy pathindex.html
File metadata and controls
1149 lines (1045 loc) · 45 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">
<title>Vault Agent Memory | Agent Memory Governance</title>
<meta name="description" content="Vault Agent Memory helps AI agents share one governed memory vault: propose, review, promote, cite, roll back, and audit.">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%23101714'/%3E%3Cpath d='M8 9h16l-2 14H10L8 9Z' fill='%23f8f2df'/%3E%3Cpath d='M11 13h10M12 17h8M13 21h6' stroke='%232f8a5f' stroke-width='2'/%3E%3C/svg%3E">
<style>
:root {
color-scheme: light;
--ink: #17201b;
--muted: #5f6b64;
--paper: #fbfaf7;
--surface: #ffffff;
--line: #d9ded8;
--night: #101714;
--night-2: #18231f;
--green: #2f8a5f;
--cyan: #2c7f91;
--amber: #9b6b1f;
--red: #b54b42;
--blue: #365f9d;
--shadow: 0 18px 50px rgba(16, 23, 20, 0.15);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--ink);
background: var(--paper);
font-size: 16px;
line-height: 1.55;
}
a {
color: inherit;
}
.hero {
position: relative;
min-height: 86vh;
overflow: hidden;
color: #f4f1e8;
background: var(--night);
}
.hero::before {
content: "";
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(244, 241, 232, 0.055) 1px, transparent 1px),
linear-gradient(90deg, rgba(244, 241, 232, 0.045) 1px, transparent 1px);
background-size: 46px 46px;
opacity: 0.52;
}
.hero-scene {
position: absolute;
inset: 0;
pointer-events: none;
}
.connector-map {
position: absolute;
left: 5vw;
right: 5vw;
bottom: calc(8vh + 24px);
width: 90vw;
height: 260px;
opacity: 0.72;
}
.flow-line {
fill: none;
stroke: rgba(185, 220, 203, 0.72);
stroke-width: 3;
stroke-linecap: round;
stroke-dasharray: 12 16;
animation: flowDash 2.4s linear infinite;
}
.flow-line.secondary {
stroke: rgba(248, 242, 223, 0.34);
stroke-width: 2;
animation-duration: 3.4s;
}
@keyframes flowDash {
to {
stroke-dashoffset: -56;
}
}
.memory-lane {
position: absolute;
left: 6vw;
right: 6vw;
bottom: 8vh;
display: grid;
grid-template-columns: repeat(6, minmax(120px, 1fr));
gap: 14px;
opacity: 0.95;
}
.lane-card {
min-height: 116px;
padding: 14px;
border: 1px solid rgba(244, 241, 232, 0.22);
border-radius: 8px;
background: rgba(251, 250, 247, 0.08);
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
backdrop-filter: blur(6px);
}
.lane-card strong {
display: block;
margin-bottom: 8px;
font-size: 0.85rem;
color: #fff9e8;
}
.lane-card span {
display: block;
color: rgba(244, 241, 232, 0.76);
font-size: 0.76rem;
line-height: 1.35;
}
.lane-card:nth-child(1) { border-top: 4px solid var(--cyan); }
.lane-card:nth-child(2) { border-top: 4px solid var(--amber); transform: translateY(24px); }
.lane-card:nth-child(3) { border-top: 4px solid var(--green); }
.lane-card:nth-child(4) { border-top: 4px solid var(--blue); transform: translateY(24px); }
.lane-card:nth-child(5) { border-top: 4px solid var(--red); }
.lane-card:nth-child(6) { border-top: 4px solid #80715b; transform: translateY(24px); }
.hero-copy {
position: relative;
z-index: 1;
width: min(1040px, calc(100% - 40px));
margin: 0 auto;
padding: 74px 0 300px;
}
.language-switcher {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 24px;
}
.language-switcher button {
min-height: 34px;
padding: 0 12px;
border: 1px solid rgba(244, 241, 232, 0.28);
border-radius: 999px;
background: rgba(244, 241, 232, 0.08);
color: #f4f1e8;
cursor: pointer;
font-weight: 700;
}
.language-switcher button[aria-pressed="true"] {
background: #f8f2df;
color: #17201b;
}
.eyebrow {
margin: 0 0 18px;
color: #b9dccb;
font-weight: 700;
font-size: 0.92rem;
}
h1, h2, h3 {
margin: 0;
line-height: 1.08;
letter-spacing: 0;
}
h1 {
max-width: 880px;
font-size: clamp(2.7rem, 7vw, 6.6rem);
}
html[lang^="zh"] h1 {
max-width: 1020px;
font-size: clamp(2.45rem, 5.6vw, 5.15rem);
}
.hero-copy > p {
max-width: 720px;
margin: 22px 0 0;
color: rgba(244, 241, 232, 0.86);
font-size: clamp(1.04rem, 2vw, 1.28rem);
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 30px;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 18px;
border-radius: 8px;
border: 1px solid rgba(244, 241, 232, 0.24);
background: #f8f2df;
color: #17201b;
font-weight: 700;
text-decoration: none;
cursor: pointer;
}
.button.secondary {
background: transparent;
color: #f4f1e8;
}
.band .button.secondary {
border-color: var(--line);
color: var(--ink);
}
main {
background: var(--paper);
}
.band {
padding: 72px 0;
border-bottom: 1px solid var(--line);
}
.band.alt {
background: #f3f5f1;
}
.wrap {
width: min(1080px, calc(100% - 40px));
margin: 0 auto;
}
.section-head {
max-width: 760px;
margin-bottom: 34px;
}
.section-head p {
margin: 14px 0 0;
color: var(--muted);
font-size: 1.06rem;
}
h2 {
font-size: clamp(2rem, 4vw, 3.4rem);
}
h3 {
font-size: 1.18rem;
}
.prompt-box {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 16px;
align-items: start;
padding: 18px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow);
}
pre {
margin: 0;
white-space: pre-wrap;
color: #25302a;
font-size: 0.92rem;
line-height: 1.5;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.copy-state {
margin-top: 8px;
color: var(--green);
font-size: 0.86rem;
min-height: 1.2em;
}
.story-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.story-card,
.report-card,
.proof-card {
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
padding: 18px;
box-shadow: 0 10px 30px rgba(16, 23, 20, 0.08);
}
.story-card .tag,
.report-card .tag {
display: inline-block;
margin-bottom: 12px;
padding: 4px 8px;
border-radius: 8px;
color: #fff;
font-size: 0.76rem;
font-weight: 700;
}
.tag.blue { background: var(--blue); }
.tag.green { background: var(--green); }
.tag.amber { background: var(--amber); }
.tag.red { background: var(--red); }
.tag.cyan { background: var(--cyan); }
.story-card p,
.report-card p,
.proof-card p {
margin: 10px 0 0;
color: var(--muted);
}
.compare {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
margin-top: 18px;
}
.compare h3 {
margin-bottom: 12px;
}
ul {
margin: 0;
padding-left: 20px;
color: var(--muted);
}
li + li {
margin-top: 8px;
}
.report-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 18px;
align-items: start;
}
.report-list {
display: grid;
gap: 12px;
}
.decision-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 18px;
}
.decision {
border: 1px solid var(--line);
border-radius: 8px;
background: #f8f7f2;
padding: 10px 12px;
font-weight: 700;
}
.architecture {
position: relative;
display: grid;
grid-template-columns: 1fr;
gap: 14px;
}
.arch-flow {
height: 52px;
}
.arch-flow svg {
width: 100%;
height: 52px;
display: block;
}
.arch-flow path {
fill: none;
stroke: #7da992;
stroke-width: 2.6;
stroke-linecap: round;
stroke-dasharray: 10 12;
animation: flowDash 2.8s linear infinite;
}
.arch-row {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 10px;
}
.arch-box {
min-height: 72px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
padding: 10px;
font-weight: 700;
}
.arch-core {
min-height: 96px;
border-color: #90b9a5;
background: #eef6f1;
font-size: 1.12rem;
}
.proof-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
}
.terminal {
border-radius: 8px;
border: 1px solid #26322d;
background: #111815;
color: #dce8df;
padding: 18px;
overflow-x: auto;
}
.terminal code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 0.92rem;
}
footer {
padding: 34px 0;
background: var(--night);
color: rgba(244, 241, 232, 0.82);
}
footer .wrap {
display: flex;
justify-content: space-between;
gap: 18px;
flex-wrap: wrap;
}
@media (max-width: 900px) {
.hero-copy {
padding-bottom: 430px;
}
.connector-map {
display: none;
}
.memory-lane {
grid-template-columns: repeat(2, minmax(0, 1fr));
left: 20px;
right: 20px;
bottom: 34px;
}
.lane-card {
min-height: 96px;
}
.lane-card:nth-child(n) {
transform: none;
}
.story-grid,
.compare,
.report-grid,
.proof-grid {
grid-template-columns: 1fr;
}
.arch-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.arch-flow {
height: 38px;
}
.arch-flow svg {
height: 38px;
}
.prompt-box {
grid-template-columns: 1fr;
}
}
@media (max-width: 560px) {
.hero {
min-height: auto;
display: flex;
flex-direction: column;
}
.hero-scene {
position: relative;
inset: auto;
order: 2;
padding-bottom: 28px;
}
.hero-copy {
padding-top: 44px;
padding-bottom: 28px;
order: 1;
}
.memory-lane {
position: relative;
left: auto;
right: auto;
bottom: auto;
width: calc(100% - 40px);
margin: 0 auto;
grid-template-columns: 1fr;
}
.arch-row {
grid-template-columns: 1fr;
}
.language-switcher {
margin-bottom: 18px;
}
}
@media (prefers-reduced-motion: reduce) {
.flow-line,
.arch-flow path {
animation: none;
}
}
</style>
</head>
<body>
<header class="hero">
<div class="hero-scene" aria-hidden="true">
<svg class="connector-map" viewBox="0 0 1200 260" role="img">
<defs>
<marker id="arrow" viewBox="0 0 12 12" refX="10" refY="6" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M2 2 L10 6 L2 10 Z" fill="rgba(185, 220, 203, 0.78)"></path>
</marker>
</defs>
<path class="flow-line secondary" d="M80 170 C210 50 320 50 430 150 S660 240 780 132 S1010 35 1120 136"></path>
<path class="flow-line" marker-end="url(#arrow)" d="M78 132 C210 132 245 170 332 170 S475 86 560 86 S705 172 790 172 S940 86 1122 86"></path>
</svg>
<div class="memory-lane">
<div class="lane-card"><strong data-i18n="lane1Title">Claude Code</strong><span data-i18n="lane1Body">Finds a reusable testing lesson from a bug fix.</span></div>
<div class="lane-card"><strong data-i18n="lane2Title">Candidate</strong><span data-i18n="lane2Body">Vault checks privacy, duplicates, quality, and source evidence.</span></div>
<div class="lane-card"><strong data-i18n="lane3Title">Review</strong><span data-i18n="lane3Body">Low-risk memory can pass; uncertain memory waits for the daily report.</span></div>
<div class="lane-card"><strong data-i18n="lane4Title">Promoted</strong><span data-i18n="lane4Body">Codex searches reviewed memory and reads the exact source range.</span></div>
<div class="lane-card"><strong data-i18n="lane5Title">Rollback</strong><span data-i18n="lane5Body">Outdated memory is deprecated instead of silently poisoning context.</span></div>
<div class="lane-card"><strong data-i18n="lane6Title">Audit</strong><span data-i18n="lane6Body">Teams can see who wrote it, who reviewed it, and why it changed.</span></div>
</div>
</div>
<div class="hero-copy">
<div class="language-switcher" aria-label="Language">
<button type="button" data-lang="en" aria-pressed="true">English</button>
<button type="button" data-lang="zh-Hant" aria-pressed="false">繁體中文</button>
<button type="button" data-lang="zh-CN" aria-pressed="false">简体中文</button>
</div>
<p class="eyebrow">Vault Agent Memory</p>
<h1 data-i18n="heroTitle">Agents need memory governance, not just RAG.</h1>
<p data-i18n="heroBody">Give Codex, Claude Code, Hermes, OpenClaw, n8n, and Coze one governed memory vault: propose, review, promote, search, cite, roll back, and audit.</p>
<div class="hero-actions">
<a class="button" href="#install" data-i18n="heroPrimary">Copy the agent install prompt</a>
<a class="button secondary" href="demo.html" data-i18n="heroSecondary">See the rendered demo</a>
</div>
</div>
</header>
<main>
<section class="band" id="install">
<div class="wrap">
<div class="section-head">
<h2 data-i18n="installTitle">Start by giving this to your Agent.</h2>
<p data-i18n="installBody">If you already work with agents, you should not have to learn forty Vault commands first. The first path is agent-led: answer four questions, then read a short daily report.</p>
</div>
<div class="prompt-box" data-i18n-prompt="installPrompt">
<pre id="installPrompt">Install Vault Agent Memory for this project. Use vault-for-llm[mcp]==0.9.0.
Use the agent-assisted governed-auto memory mode.
Do not show advanced CLI flags first. Ask me only four questions:
1. Which language should Vault use: Traditional Chinese, Simplified Chinese, or English?
2. Should this be an independent vault or a shared vault for multiple agents?
3. Should Vault connect to Obsidian, Supabase, both, or neither?
4. What time should the daily memory report run?
After setup, run a smoke check and tell me:
- where the vault lives
- how I read the daily memory report
- where the local GUI or next action is
Daily rule:
safe, low-risk, sourced memories can be kept automatically;
uncertain, sensitive, conflicting, or strategic memories should go into the daily report for my review.</pre>
<div>
<button class="button" type="button" data-copy-target="installPrompt" data-i18n="copyPrompt">Copy prompt</button>
<div class="copy-state" role="status" aria-live="polite"></div>
</div>
</div>
</div>
</section>
<section class="band alt" id="demo">
<div class="wrap">
<div class="section-head">
<h2 data-i18n="demoTitle">One repo. Three Agents. One governed memory.</h2>
<p data-i18n="demoBody">This is the demo that separates Vault from a plain RAG database: agents can share lessons without silently polluting long-term memory.</p>
</div>
<div class="story-grid">
<article class="story-card">
<span class="tag blue" data-i18n="story1Tag">1. Propose</span>
<h3 data-i18n="story1Title">Claude Code fixes a testing bug.</h3>
<p data-i18n="story1Body">It proposes a reusable lesson with the command output and source file that proved the fix.</p>
</article>
<article class="story-card">
<span class="tag amber" data-i18n="story2Tag">2. Review</span>
<h3 data-i18n="story2Title">Vault does not trust it blindly.</h3>
<p data-i18n="story2Body">The candidate passes privacy, duplicate, metadata, and quality checks before it can become active memory.</p>
</article>
<article class="story-card">
<span class="tag green" data-i18n="story3Tag">3. Reuse</span>
<h3 data-i18n="story3Title">Codex finds it next time.</h3>
<p data-i18n="story3Body">Search returns a reviewed memory, then bounded read gives the exact source range for citation.</p>
</article>
</div>
<div class="compare">
<div class="story-card">
<h3 data-i18n="withoutTitle">Without Vault</h3>
<ul>
<li data-i18n="without1">Every agent starts cold.</li>
<li data-i18n="without2">Fixes stay trapped in chat logs.</li>
<li data-i18n="without3">Bad memories can silently enter context.</li>
</ul>
</div>
<div class="story-card">
<h3 data-i18n="withTitle">With Vault</h3>
<ul>
<li data-i18n="with1">Agents share reviewed project memory.</li>
<li data-i18n="with2">Each answer can return to a source.</li>
<li data-i18n="with3">Outdated memory can be deprecated or rolled back.</li>
</ul>
</div>
</div>
<div class="hero-actions" style="margin-top: 24px">
<a class="button" href="demo.html" data-i18n="demoCta">Open the visual demo</a>
<a class="button secondary" href="../demo/three-agent-shared-memory-runbook.md" data-i18n="demoRunbook">Read the technical runbook</a>
</div>
</div>
</section>
<section class="band">
<div class="wrap">
<div class="section-head">
<h2 data-i18n="reportTitle">The Daily Memory Report keeps humans in control.</h2>
<p data-i18n="reportBody">Vault can become more automatic over time, but the review surface stays small. Safe memory can enter the vault; uncertain memory waits for a person.</p>
</div>
<div class="report-grid">
<div class="report-list">
<article class="report-card">
<span class="tag green" data-i18n="autoKept">Auto-kept</span>
<h3 data-i18n="autoKeptTitle">Testing requires APP_ENV=test before pytest.</h3>
<p data-i18n="autoKeptBody">Reason: verified by command output. Source: CI log and test run.</p>
</article>
<article class="report-card">
<span class="tag amber" data-i18n="needsReview">Needs review</span>
<h3 data-i18n="needsReviewTitle">Vault should focus on memory governance.</h3>
<p data-i18n="needsReviewBody">Reason: strategic product direction. Action: approve, edit, or defer.</p>
</article>
<article class="report-card">
<span class="tag red" data-i18n="rejected">Rejected</span>
<h3 data-i18n="rejectedTitle">Today's market snapshot.</h3>
<p data-i18n="rejectedBody">Reason: short-lived data, not durable project memory.</p>
</article>
</div>
<div class="report-card">
<span class="tag cyan" data-i18n="conflictTag">Obsidian conflict inbox</span>
<h3 data-i18n="conflictTitle">Your notes stay readable. Agent memory stays governed.</h3>
<p data-i18n="conflictBody">When Obsidian and Vault both changed a note, the resolver gives clear choices instead of overwriting silently.</p>
<div class="decision-row">
<span class="decision" data-i18n="acceptObsidian">Accept Obsidian</span>
<span class="decision" data-i18n="acceptVault">Accept Vault</span>
<span class="decision" data-i18n="keepBoth">Keep both</span>
</div>
</div>
</div>
</div>
</section>
<section class="band alt">
<div class="wrap">
<div class="section-head">
<h2 data-i18n="archTitle">Adapters can change. The governed memory layer stays yours.</h2>
<p data-i18n="archBody">Vault starts local-first, then connects to the systems you choose. CLI, MCP, Gateway, Supabase, Obsidian, and future remote servers are adapters around the same memory lifecycle.</p>
</div>
<div class="architecture" aria-label="Vault architecture">
<div class="arch-row">
<div class="arch-box">Codex</div>
<div class="arch-box">Claude Code</div>
<div class="arch-box">Hermes</div>
<div class="arch-box">OpenClaw</div>
<div class="arch-box">n8n</div>
<div class="arch-box">Coze</div>
</div>
<div class="arch-flow" aria-hidden="true">
<svg viewBox="0 0 1080 52">
<path d="M60 8 C210 42 330 42 540 14 C750 42 870 42 1020 8"></path>
</svg>
</div>
<div class="arch-box arch-core" data-i18n="archGateway">Vault Gateway / MCP / CLI</div>
<div class="arch-flow" aria-hidden="true">
<svg viewBox="0 0 1080 52">
<path d="M90 8 C260 42 400 42 540 14 C680 42 820 42 990 8"></path>
</svg>
</div>
<div class="arch-box arch-core" data-i18n="archCore">Local SQLite Vault + governed memory lifecycle</div>
<div class="arch-flow" aria-hidden="true">
<svg viewBox="0 0 1080 52">
<path d="M80 12 C230 42 360 42 540 16 C720 42 850 42 1000 12"></path>
</svg>
</div>
<div class="arch-row">
<div class="arch-box">Obsidian</div>
<div class="arch-box">Supabase</div>
<div class="arch-box">Remote Server</div>
<div class="arch-box" data-i18n="archSearchQa">Search QA</div>
<div class="arch-box" data-i18n="archDaily">Daily Report</div>
<div class="arch-box" data-i18n="archAudit">Audit Trail</div>
</div>
</div>
</div>
</section>
<section class="band">
<div class="wrap">
<div class="section-head">
<h2 data-i18n="proofTitle">Developer proof without making the first page heavy.</h2>
<p data-i18n="proofBody">The landing page tells the story. The repo keeps the proof: local SQLite, MCP profiles, candidate-first writes, Obsidian import/export, Supabase and Gateway adapters, Search QA, and Apache-2.0.</p>
</div>
<div class="proof-grid">
<article class="proof-card">
<h3 data-i18n="proof1Title">Local-first</h3>
<p data-i18n="proof1Body">Core use stays on Markdown and SQLite. Remote sharing is optional.</p>
</article>
<article class="proof-card">
<h3 data-i18n="proof2Title">MCP-ready</h3>
<p data-i18n="proof2Body">Start agents with small tool profiles instead of exposing every maintenance tool.</p>
</article>
<article class="proof-card">
<h3 data-i18n="proof3Title">Measurable</h3>
<p data-i18n="proof3Body">Search QA checks whether agents find the right source, not whether they sound confident.</p>
</article>
<article class="proof-card">
<h3 data-i18n="proof4Title">Reviewable</h3>
<p data-i18n="proof4Body">Candidates, daily reports, conflict inboxes, and audit trails keep memory accountable.</p>
</article>
</div>
<div class="terminal" style="margin-top:18px">
<code>pip install "vault-for-llm[mcp]"<br>vault quickstart<br>vault demo agent-governance --json</code>
</div>
</div>
</section>
</main>
<footer>
<div class="wrap">
<span data-i18n="footerLicense">Vault Agent Memory is Apache-2.0.</span>
<span><a href="../../README.md">README</a> · <a href="demo.html">Rendered demo</a> · <a href="../demo/three-agent-shared-memory-runbook.md">Technical runbook</a> · <a href="../agent_install.md">Agent install</a></span>
</div>
</footer>
<script>
const translations = {
en: {
lang: "en",
lane1Title: "Claude Code",
lane1Body: "Finds a reusable testing lesson from a bug fix.",
lane2Title: "Candidate",
lane2Body: "Vault checks privacy, duplicates, quality, and source evidence.",
lane3Title: "Review",
lane3Body: "Low-risk memory can pass; uncertain memory waits for the daily report.",
lane4Title: "Promoted",
lane4Body: "Codex searches reviewed memory and reads the exact source range.",
lane5Title: "Rollback",
lane5Body: "Outdated memory is deprecated instead of silently poisoning context.",
lane6Title: "Audit",
lane6Body: "Teams can see who wrote it, who reviewed it, and why it changed.",
heroTitle: "Agents need memory governance, not just RAG.",
heroBody: "Give Codex, Claude Code, Hermes, OpenClaw, n8n, and Coze one governed memory vault: propose, review, promote, search, cite, roll back, and audit.",
heroPrimary: "Copy the agent install prompt",
heroSecondary: "See the rendered demo",
installTitle: "Start by giving this to your Agent.",
installBody: "If you already work with agents, you should not have to learn forty Vault commands first. The first path is agent-led: answer four questions, then read a short daily report.",
copyPrompt: "Copy prompt",
copied: "Copied.",
copyFallback: "Select the prompt text and copy it manually.",
installPrompt: `Install Vault Agent Memory for this project. Use vault-for-llm[mcp]==0.9.0.
Use the agent-assisted governed-auto memory mode.
Do not show advanced CLI flags first. Ask me only four questions:
1. Which language should Vault use: Traditional Chinese, Simplified Chinese, or English?
2. Should this be an independent vault or a shared vault for multiple agents?
3. Should Vault connect to Obsidian, Supabase, both, or neither?
4. What time should the daily memory report run?
After setup, run a smoke check and tell me:
- where the vault lives
- how I read the daily memory report
- where the local GUI or next action is
Daily rule:
safe, low-risk, sourced memories can be kept automatically;
uncertain, sensitive, conflicting, or strategic memories should go into the daily report for my review.`,
demoTitle: "One repo. Three Agents. One governed memory.",
demoBody: "This is the demo that separates Vault from a plain RAG database: agents can share lessons without silently polluting long-term memory.",
story1Tag: "1. Propose",
story1Title: "Claude Code fixes a testing bug.",
story1Body: "It proposes a reusable lesson with the command output and source file that proved the fix.",
story2Tag: "2. Review",
story2Title: "Vault does not trust it blindly.",
story2Body: "The candidate passes privacy, duplicate, metadata, and quality checks before it can become active memory.",
story3Tag: "3. Reuse",
story3Title: "Codex finds it next time.",
story3Body: "Search returns a reviewed memory, then bounded read gives the exact source range for citation.",
withoutTitle: "Without Vault",
without1: "Every agent starts cold.",
without2: "Fixes stay trapped in chat logs.",
without3: "Bad memories can silently enter context.",
withTitle: "With Vault",
with1: "Agents share reviewed project memory.",
with2: "Each answer can return to a source.",
with3: "Outdated memory can be deprecated or rolled back.",
demoCta: "Open the visual demo",
demoRunbook: "Read the technical runbook",
reportTitle: "The Daily Memory Report keeps humans in control.",
reportBody: "Vault can become more automatic over time, but the review surface stays small. Safe memory can enter the vault; uncertain memory waits for a person.",
autoKept: "Auto-kept",
autoKeptTitle: "Testing requires APP_ENV=test before pytest.",
autoKeptBody: "Reason: verified by command output. Source: CI log and test run.",
needsReview: "Needs review",
needsReviewTitle: "Vault should focus on memory governance.",
needsReviewBody: "Reason: strategic product direction. Action: approve, edit, or defer.",
rejected: "Rejected",
rejectedTitle: "Today's market snapshot.",
rejectedBody: "Reason: short-lived data, not durable project memory.",
conflictTag: "Obsidian conflict inbox",
conflictTitle: "Your notes stay readable. Agent memory stays governed.",
conflictBody: "When Obsidian and Vault both changed a note, the resolver gives clear choices instead of overwriting silently.",
acceptObsidian: "Accept Obsidian",
acceptVault: "Accept Vault",
keepBoth: "Keep both",
archTitle: "Adapters can change. The governed memory layer stays yours.",
archBody: "Vault starts local-first, then connects to the systems you choose. CLI, MCP, Gateway, Supabase, Obsidian, and future remote servers are adapters around the same memory lifecycle.",
archGateway: "Vault Gateway / MCP / CLI",
archCore: "Local SQLite Vault + governed memory lifecycle",
archSearchQa: "Search QA",
archDaily: "Daily Report",
archAudit: "Audit Trail",
proofTitle: "Developer proof without making the first page heavy.",
proofBody: "The landing page tells the story. The repo keeps the proof: local SQLite, MCP profiles, candidate-first writes, Obsidian import/export, Supabase and Gateway adapters, Search QA, and Apache-2.0.",
proof1Title: "Local-first",
proof1Body: "Core use stays on Markdown and SQLite. Remote sharing is optional.",
proof2Title: "MCP-ready",
proof2Body: "Start agents with small tool profiles instead of exposing every maintenance tool.",
proof3Title: "Measurable",
proof3Body: "Search QA checks whether agents find the right source, not whether they sound confident.",
proof4Title: "Reviewable",
proof4Body: "Candidates, daily reports, conflict inboxes, and audit trails keep memory accountable.",
footerLicense: "Vault Agent Memory is Apache-2.0."
},
"zh-Hant": {
lang: "zh-Hant",
lane1Title: "Claude Code",
lane1Body: "從修 bug 的過程中,找出下次還會用到的測試經驗。",
lane2Title: "候選記憶",
lane2Body: "Vault 先檢查隱私、重複、品質與來源證據。",
lane3Title: "審核",
lane3Body: "低風險記憶可以通過;不確定的先留到每日報告。",
lane4Title: "正式記憶",
lane4Body: "Codex 搜到已審核記憶,再讀取精準來源範圍。",
lane5Title: "回滾",
lane5Body: "過期記憶會被標記淘汰,不會默默污染上下文。",
lane6Title: "稽核",
lane6Body: "團隊能知道誰寫入、誰審核,以及為什麼改變。",
heroTitle: "Agent 不只需要 RAG,更需要記憶治理。",
heroBody: "讓 Codex、Claude Code、Hermes、OpenClaw、n8n、Coze 共用同一套受治理的記憶庫:提出、審核、升級、搜尋、引用、回滾、稽核。",
heroPrimary: "複製 Agent 安裝提示",
heroSecondary: "看視覺 demo",
installTitle: "第一步,把這段交給你的 Agent。",
installBody: "如果你已經在用 Agent,就不應該先學一大串 Vault 指令。最短路徑是讓 Agent 帶你安裝:回答四個問題,之後每天看一份簡短記憶報告。",
copyPrompt: "複製提示",
copied: "已複製。",
copyFallback: "請選取提示文字後手動複製。",
installPrompt: `請為這個專案安裝 Vault Agent Memory,使用 vault-for-llm[mcp]==0.9.0。
請使用 agent-assisted 的 governed-auto 記憶流程。
不要先顯示進階 CLI 參數。只問我四個問題:
1. Vault 要使用繁體中文、簡體中文,還是英文?
2. 這要做成獨立記憶庫,還是多 Agent 共用記憶庫?
3. 要不要連接 Obsidian、Supabase、兩者都要,或都不要?
4. 每日記憶報告要幾點產生?
安裝後,請做一次基本檢查,並告訴我:
- 記憶庫放在哪裡
- 我要去哪裡看每日記憶報告
- 本地 GUI 或下一步操作在哪裡
每日規則:
安全、低風險、有來源的記憶可以自動保留;
不確定、敏感、衝突或策略性的記憶,請放進每日報告讓我審核。`,
demoTitle: "一個 repo。三個 Agent。一套受治理的記憶。",
demoBody: "這個示範用來說清楚 Vault 跟一般 RAG 的差異:Agent 可以共享經驗,但不會把未審核內容偷偷寫進長期記憶。",
story1Tag: "1. 提出",
story1Title: "Claude Code 修好一個測試 bug。",
story1Body: "它提出一條可重複使用的經驗,並附上證明修復有效的命令輸出與來源檔案。",
story2Tag: "2. 審核",
story2Title: "Vault 不會盲目信任。",
story2Body: "候選記憶必須通過隱私、重複、後設資料與品質檢查,才可能成為正式記憶。",
story3Tag: "3. 再使用",
story3Title: "Codex 下次就能找到。",
story3Body: "搜尋先回傳已審核記憶,再用 bounded read 讀取精準來源範圍,方便引用。",
withoutTitle: "沒有 Vault",
without1: "每個 Agent 都像第一天上班。",
without2: "修過的坑留在聊天紀錄裡。",
without3: "壞記憶可能偷偷進入上下文。",
withTitle: "有 Vault",
with1: "Agent 共用已審核的專案記憶。",
with2: "每個回答都能回到來源。",
with3: "過期記憶可以淘汰或回滾。",
demoCta: "開啟視覺 demo",
demoRunbook: "閱讀技術 runbook",
reportTitle: "每日記憶報告,讓人保留控制權。",
reportBody: "Vault 可以越來越自動,但需要人看的範圍要很小。安全記憶可以進庫,不確定的留給人決定。",
autoKept: "已自動保留",
autoKeptTitle: "跑 pytest 前需要 APP_ENV=test。",
autoKeptBody: "原因:命令輸出已驗證。來源:CI log 與測試結果。",
needsReview: "需要審核",
needsReviewTitle: "Vault 應該聚焦在記憶治理。",
needsReviewBody: "原因:這是產品策略方向。動作:核准、編輯或延後。",
rejected: "已拒絕",
rejectedTitle: "今日市場快照。",
rejectedBody: "原因:短期資料,不適合變成長期專案記憶。",
conflictTag: "Obsidian 衝突收件匣",
conflictTitle: "筆記保持可讀,Agent 記憶保持受治理。",
conflictBody: "當 Obsidian 和 Vault 同時改了同一篇筆記,resolver 會給清楚選項,不會默默覆蓋。",
acceptObsidian: "接受 Obsidian",
acceptVault: "接受 Vault",
keepBoth: "保留兩份",
archTitle: "Adapter 可以更換;受治理的記憶層留在你手上。",
archBody: "Vault 從 local-first 開始,再接到你選擇的系統。CLI、MCP、Gateway、Supabase、Obsidian 與未來 remote server,都只是圍繞同一套記憶生命週期的 adapter。",
archGateway: "Vault Gateway / MCP / CLI",
archCore: "本地 SQLite Vault + 受治理的記憶生命週期",
archSearchQa: "Search QA",
archDaily: "每日報告",
archAudit: "稽核紀錄",
proofTitle: "開發者證據留在 repo,首頁不必變重。",
proofBody: "Landing page 負責說故事;repo 保留證據:本地 SQLite、MCP profiles、candidate-first 寫入、Obsidian 匯入匯出、Supabase/Gateway adapter、Search QA 與 Apache-2.0。",
proof1Title: "Local-first",
proof1Body: "核心使用 Markdown 和 SQLite。遠端共享是可選功能。",
proof2Title: "MCP-ready",
proof2Body: "用小型工具 profile 啟動 Agent,而不是一次暴露所有維護工具。",
proof3Title: "可量測",
proof3Body: "Search QA 檢查 Agent 是否找到正確來源,而不是只看它回答得有沒有自信。",
proof4Title: "可審核",
proof4Body: "候選記憶、每日報告、衝突收件匣與稽核紀錄,讓記憶可以被追責。",
footerLicense: "Vault Agent Memory 採用 Apache-2.0。"