Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

feat(website): research citations, live stats and a scrolling featured strip (#1595)

Rohit Ghumare14dfd6e133c0
diff --git a/website/app/globals.css b/website/app/globals.css
index e36c1202..b83134d1 100644
--- a/website/app/globals.css
+++ b/website/app/globals.css
@@ -277,12 +277,15 @@ video {
}
.reveal {
- opacity: 0;
- transform: translateY(12px);
transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
transition-delay: var(--d, 0ms);
}
+.js .reveal {
+ opacity: 0;
+ transform: translateY(12px);
+}
+
.reveal.is-in {
opacity: 1;
transform: none;
@@ -301,6 +304,54 @@ video {
border-color: var(--accent);
}
+.copy-swap {
+ display: inline-block;
+ animation: copy-swap 160ms var(--ease-out);
+}
+
+@keyframes copy-swap {
+ from {
+ opacity: 0;
+ filter: blur(2px);
+ }
+}
+
+@keyframes copy-fade {
+ from {
+ opacity: 0;
+ }
+}
+
+.flow-arrow {
+ --head: 7px;
+ position: relative;
+ display: block;
+ flex: none;
+ height: 9px;
+ color: var(--ink-2);
+}
+
+.flow-arrow::before {
+ content: "";
+ position: absolute;
+ top: 4px;
+ left: 0;
+ right: calc(var(--head) - 1px);
+ height: 1px;
+ background: repeating-linear-gradient(to left, currentColor 0 4px, transparent 4px 7px);
+}
+
+.flow-arrow::after {
+ content: "";
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: var(--head);
+ height: 9px;
+ background: currentColor;
+ clip-path: polygon(0 0, 100% 50%, 0 100%);
+}
+
.theme-dark-only {
display: none !important;
}
@@ -347,11 +398,15 @@ video {
}
@media (prefers-reduced-motion: reduce) {
- .reveal {
+ .reveal,
+ .js .reveal {
opacity: 1;
transform: none;
transition: none;
}
+ .copy-swap {
+ animation-name: copy-fade;
+ }
html {
scroll-behavior: auto;
}
diff --git a/website/app/layout.tsx b/website/app/layout.tsx
index 68fb88cd..92a7688b 100644
--- a/website/app/layout.tsx
+++ b/website/app/layout.tsx
@@ -53,7 +53,7 @@ export const viewport: Viewport = {
initialScale: 1,
};
-const themeScript = `try{var t=localStorage.getItem("am-theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}`;
+const themeScript = `document.documentElement.classList.add("js");try{var t=localStorage.getItem("am-theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}`;
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
diff --git a/website/app/page.tsx b/website/app/page.tsx
index dbbf5756..1d69aafe 100644
--- a/website/app/page.tsx
+++ b/website/app/page.tsx
@@ -2,6 +2,7 @@ import { Nav } from "@/components/site/Nav";
import { Hero } from "@/components/site/Hero";
import { Proof } from "@/components/site/Proof";
import { Featured, InTheWild } from "@/components/site/InTheWild";
+import { Research } from "@/components/site/Research";
import { UseCases } from "@/components/site/UseCases";
import { ContextFunnel } from "@/components/site/ContextFunnel";
import { InfraTiles } from "@/components/site/InfraTiles";
@@ -14,6 +15,8 @@ import { Faq } from "@/components/site/Faq";
import { Install } from "@/components/site/Install";
import { Footer } from "@/components/site/Footer";
+export const revalidate = 3600;
+
export default function Page() {
return (
<>
@@ -27,6 +30,7 @@ export default function Page() {
<InfraTiles />
<MemoryScroll />
<InTheWild />
+ <Research />
<Benchmarks />
<Agents />
<LocalFirst />
diff --git a/website/components/site/BenchFigures.tsx b/website/components/site/BenchFigures.tsx
index f1c0930a..80a1a71e 100644
--- a/website/components/site/BenchFigures.tsx
+++ b/website/components/site/BenchFigures.tsx
@@ -93,7 +93,7 @@ export function QuestionDots() {
const lit = inView && i < on;
const delay = dotDelay(i, lit, before, prevK === null);
return (
- <span key={i} className={s.dot} data-on={lit || undefined}>
+ <span key={i} className={s.dot} data-on={lit || undefined} data-hit={i < on || undefined}>
<span className={s.fill} style={{ "--d": `${delay}ms` } as CSSProperties} />
</span>
);
diff --git a/website/components/site/Benchmarks.module.css b/website/components/site/Benchmarks.module.css
index c600627a..fa43b59e 100644
--- a/website/components/site/Benchmarks.module.css
+++ b/website/components/site/Benchmarks.module.css
@@ -116,6 +116,11 @@
transition-delay: var(--d, 0ms);
}
+:global(html:not(.js)) .dot[data-hit] .fill {
+ opacity: 1;
+ transform: none;
+}
+
.legend {
display: flex;
flex-wrap: wrap;
diff --git a/website/components/site/ContextFunnel.module.css b/website/components/site/ContextFunnel.module.css
index 376d3d95..691ac135 100644
--- a/website/components/site/ContextFunnel.module.css
+++ b/website/components/site/ContextFunnel.module.css
@@ -85,23 +85,11 @@
.flow {
display: grid;
place-items: center;
+ padding: 0 8px;
}
-.arrow {
- position: relative;
+.flow :global(.flow-arrow) {
width: 100%;
- height: 1px;
- background: repeating-linear-gradient(90deg, var(--ink-2) 0 4px, transparent 4px 8px);
-}
-
-.arrow::after {
- content: "";
- position: absolute;
- right: 0;
- top: -4px;
- border: 4px solid transparent;
- border-left: 6px solid var(--ink-2);
- border-right: 0;
}
.engine {
@@ -249,7 +237,7 @@
justify-self: start;
}
-.figure:not(.play) .sq {
+:global(.js) .figure:not(.play) .sq {
opacity: 0;
transform: translateY(4px);
}
@@ -291,20 +279,12 @@
gap: 0;
}
.flow {
- height: 40px;
- }
- .arrow {
- width: 1px;
- height: 100%;
- background: repeating-linear-gradient(180deg, var(--ink-2) 0 4px, transparent 4px 8px);
+ height: 48px;
+ padding: 0;
}
- .arrow::after {
- right: -4px;
- top: auto;
- bottom: 0;
- border: 4px solid transparent;
- border-top: 6px solid var(--ink-2);
- border-bottom: 0;
+ .flow :global(.flow-arrow) {
+ width: 32px;
+ transform: rotate(90deg);
}
.engineCard {
grid-template-columns: 1fr;
@@ -347,6 +327,7 @@
@media (prefers-reduced-motion: reduce) {
.figure:not(.play) .sq,
+ :global(.js) .figure:not(.play) .sq,
.play .sq,
.focus .sel {
opacity: 1;
@@ -374,3 +355,22 @@
transition: none;
}
}
+
+:global(html:not(.js)) .figure .sq:not(.sel) {
+ opacity: 0.22;
+}
+
+:global(html:not(.js)) .figure .sel,
+:global(html:not(.js)) .figure .slot {
+ background: var(--accent);
+ border-color: var(--accent);
+}
+
+:global(html:not(.js)) .figure .steps li {
+ color: var(--bg);
+}
+
+:global(html:not(.js)) .figure .tick {
+ background: var(--accent);
+ border-color: var(--accent);
+}
diff --git a/website/components/site/ContextFunnel.tsx b/website/components/site/ContextFunnel.tsx
index f6da1c94..7485d57f 100644
--- a/website/components/site/ContextFunnel.tsx
+++ b/website/components/site/ContextFunnel.tsx
@@ -95,7 +95,7 @@ export function ContextFunnel() {
</div>
<div className={s.flow} aria-hidden="true">
- <span className={s.arrow} />
+ <span className="flow-arrow" />
</div>
<div className={`${s.col} ${s.engine}`}>
@@ -114,7 +114,7 @@ export function ContextFunnel() {
</div>
<div className={s.flow} aria-hidden="true">
- <span className={s.arrow} />
+ <span className="flow-arrow" />
</div>
<div className={`${s.col} ${s.window}`}>
diff --git a/website/components/site/Durability.module.css b/website/components/site/Durability.module.css
index f6a24251..f04b1e99 100644
--- a/website/components/site/Durability.module.css
+++ b/website/components/site/Durability.module.css
@@ -99,9 +99,21 @@
border-top: 1px solid var(--line);
font-size: var(--t-12);
color: var(--ink);
+ transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
+}
+
+:global(.js) .verdict {
opacity: 0;
transform: translateY(4px);
- transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
+}
+
+:global(html:not(.js)) .row {
+ opacity: 1;
+}
+
+:global(html:not(.js)) .status,
+:global(html:not(.js)) .head > span:last-child {
+ visibility: hidden;
}
.verdict[data-on] {
diff --git a/website/components/site/Faq.module.css b/website/components/site/Faq.module.css
index 0abfd8dd..de5d8c0b 100644
--- a/website/components/site/Faq.module.css
+++ b/website/components/site/Faq.module.css
@@ -7,6 +7,7 @@
.list {
border-top: 1px solid var(--line);
+ interpolate-size: allow-keywords;
}
.item {
@@ -64,7 +65,17 @@
font-size: var(--t-16);
line-height: 1.65;
max-width: 62ch;
- animation: open var(--dur-3) var(--ease-out);
+ animation: open var(--dur-2) var(--ease-out);
+}
+
+.item::details-content {
+ block-size: 0;
+ overflow-y: clip;
+ transition: block-size var(--dur-2) var(--ease-out), content-visibility var(--dur-2) allow-discrete;
+}
+
+.item[open]::details-content {
+ block-size: auto;
}
.item summary:focus-visible {
@@ -83,6 +94,12 @@
}
}
+@keyframes fade {
+ from {
+ opacity: 0;
+ }
+}
+
@media (max-width: 900px) {
.grid {
grid-template-columns: minmax(0, 1fr);
@@ -98,7 +115,10 @@
@media (prefers-reduced-motion: reduce) {
.item p {
- animation: none;
+ animation: fade 150ms var(--ease-out);
+ }
+ .item::details-content {
+ transition: none;
}
.mark::before,
.mark::after {
diff --git a/website/components/site/Hero.module.css b/website/components/site/Hero.module.css
index 492f1d4b..19ab6e8a 100644
--- a/website/components/site/Hero.module.css
+++ b/website/components/site/Hero.module.css
@@ -185,17 +185,34 @@
min-height: 44px;
font-size: var(--t-14);
color: var(--ink-2);
+ transition: color var(--dur-1) ease;
+}
+
+.docsText {
text-decoration: underline;
text-decoration-color: var(--line-2);
text-underline-offset: 4px;
- transition: color var(--dur-1) ease, text-decoration-color var(--dur-1) ease;
+ transition: text-decoration-color var(--dur-1) ease;
+}
+
+.docsArrow {
+ transition: transform var(--dur-1) var(--ease-out);
}
.docs:hover {
color: var(--ink);
+}
+
+.docs:hover .docsText {
text-decoration-color: var(--accent);
}
+@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
+ .docs:hover .docsArrow {
+ transform: translateX(2px);
+ }
+}
+
.star svg {
flex: none;
}
diff --git a/website/components/site/Hero.tsx b/website/components/site/Hero.tsx
index 206b7a6e..de261762 100644
--- a/website/components/site/Hero.tsx
+++ b/website/components/site/Hero.tsx
@@ -1,5 +1,5 @@
import { AGENT_INSTALL_PROMPT, INSTALL_CMD, LONGMEMEVAL, REPO_URL, src } from "@/lib/site";
-import { compact, getProjectMeta } from "@/lib/meta";
+import { compact, getLiveProjectMeta } from "@/lib/meta";
import { CopyButton } from "./client";
import { MemoryField } from "./MemoryField";
import { HeroTitle } from "./HeroTitle";
@@ -11,8 +11,8 @@ const AGENT_GLYPHS = [
{ name: "Cursor", d: "M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23" },
];
-export function Hero() {
- const meta = getProjectMeta();
+export async function Hero() {
+ const meta = await getLiveProjectMeta();
return (
<section className={s.hero}>
<div className={`wrap ${s.grid}`}>
@@ -62,7 +62,10 @@ export function Hero() {
</a>
</div>
<a className={s.docs} href="/docs">
- Read the docs <span aria-hidden="true">→</span>
+ <span className={s.docsText}>Read the docs</span>
+ <span className={s.docsArrow} aria-hidden="true">
+ →
+ </span>
</a>
</div>
diff --git a/website/components/site/HeroTitle.tsx b/website/components/site/HeroTitle.tsx
index ae873563..2c11b003 100644
--- a/website/components/site/HeroTitle.tsx
+++ b/website/components/site/HeroTitle.tsx
@@ -1,6 +1,6 @@
"use client";
-import { useEffect, useState } from "react";
+import { useEffect, useRef, useState } from "react";
import s from "./HeroTitle.module.css";
const MODES = ["persistent", "cross-agent", "infinite", "shared", "local", "long-term"];
@@ -19,29 +19,31 @@ const STEP = 2400;
export function HeroTitle({ rankHref }: { rankHref: string }) {
const [mode, setMode] = useState(0);
const [agent, setAgent] = useState(0);
+ const ref = useRef<HTMLHeadingElement | null>(null);
useEffect(() => {
- if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
+ const el = ref.current;
+ if (!el || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
let tick = 0;
- let visible = !document.hidden;
- const onVis = () => {
- visible = !document.hidden;
- };
- document.addEventListener("visibilitychange", onVis);
+ let onScreen = true;
+ const io = new IntersectionObserver(([e]) => {
+ onScreen = e.isIntersecting;
+ });
+ io.observe(el);
const id = setInterval(() => {
- if (!visible) return;
+ if (document.hidden || !onScreen) return;
tick += 1;
if (tick % 2 === 1) setAgent((a) => (a + 1) % AGENTS.length);
else setMode((m) => (m + 1) % MODES.length);
}, STEP / 2);
return () => {
clearInterval(id);
- document.removeEventListener("visibilitychange", onVis);
+ io.disconnect();
};
}, []);
return (
- <h1 className={s.title}>
+ <h1 ref={ref} className={s.title}>
<span className="sr-only">The number one persistent memory for coding agents.</span>
<span aria-hidden="true" className={s.line}>
<a className={s.rank} href={rankHref} target="_blank" rel="noreferrer" tabIndex={-1}>
diff --git a/website/components/site/InTheWild.module.css b/website/components/site/InTheWild.module.css
index 0707b9f8..652325f7 100644
--- a/website/components/site/InTheWild.module.css
+++ b/website/components/site/InTheWild.module.css
@@ -64,19 +64,6 @@
color: var(--muted);
}
-.badgeOutlet {
- justify-content: flex-start;
- padding-top: 8px;
- padding-bottom: 8px;
-}
-
-.badgeOutlet img {
- width: 100%;
- max-width: 250px;
- height: auto;
- filter: grayscale(1);
-}
-
.featuredStrip {
padding: var(--s-6) 0;
border-bottom: 1px solid var(--line);
@@ -95,35 +82,69 @@
color: var(--muted);
}
-.outlets {
+.marquee {
+ --fade: 56px;
+ overflow: hidden;
+ -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
+ mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
+}
+
+.track {
+ display: flex;
+ width: max-content;
+ animation: marquee 56s linear infinite;
+}
+
+.set {
list-style: none;
margin: 0;
- padding: 0;
- display: grid;
- grid-template-columns: repeat(4, minmax(0, 1fr));
+ padding: 0 var(--s-2) 0 0;
+ display: flex;
gap: var(--s-2);
}
+.item {
+ flex: none;
+}
+
+@keyframes marquee {
+ to {
+ transform: translateX(-50%);
+ }
+}
+
+.marquee:focus-within .track {
+ animation-play-state: paused;
+}
+
.outlet {
display: flex;
align-items: center;
gap: var(--s-3);
- height: 100%;
- padding: 12px 14px;
+ height: 64px;
+ padding: 0 var(--s-4);
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
+ white-space: nowrap;
transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out);
}
-.outlet:hover {
- border-color: var(--ink);
-}
-
.outlet:active {
transform: scale(0.98);
}
+.badgeOutlet {
+ padding: 0 var(--s-3);
+}
+
+.badgeOutlet img {
+ width: auto;
+ height: 46px;
+ max-width: none;
+ filter: grayscale(1);
+}
+
.mark,
.markWide {
flex: none;
@@ -169,16 +190,12 @@
color: var(--muted);
}
-@media (max-width: 1000px) {
- .outlets {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
- .featured {
- grid-template-columns: minmax(0, 1fr);
- gap: var(--s-3);
+@media (hover: hover) and (pointer: fine) {
+ .marquee:hover .track {
+ animation-play-state: paused;
}
- .featuredHead {
- padding-top: 0;
+ .outlet:hover {
+ border-color: var(--ink);
}
}
@@ -194,10 +211,35 @@
.quote blockquote p {
font-size: var(--t-16);
}
+ .marquee {
+ --fade: 24px;
+ }
}
-@media (max-width: 480px) {
- .outlets {
- grid-template-columns: minmax(0, 1fr);
+@media (prefers-reduced-motion: reduce) {
+ .marquee {
+ -webkit-mask-image: none;
+ mask-image: none;
+ }
+ .track {
+ width: auto;
+ animation: none;
+ }
+ .set {
+ flex-wrap: wrap;
+ padding-right: 0;
+ }
+ .set[aria-hidden] {
+ display: none;
+ }
+ .item {
+ flex: 0 1 auto;
+ max-width: 100%;
+ }
+ .outlet {
+ height: auto;
+ min-height: 64px;
+ padding-block: 10px;
+ white-space: normal;
}
}
diff --git a/website/components/site/InTheWild.tsx b/website/components/site/InTheWild.tsx
index 0c8826bf..d66bc6e0 100644
--- a/website/components/site/InTheWild.tsx
+++ b/website/components/site/InTheWild.tsx
@@ -36,48 +36,79 @@ export function InTheWild() {
);
}
+type Outlet = (typeof FEATURED)[number];
+
+const shuffle = <T,>(items: readonly T[]) =>
+ items
+ .map((item) => ({ item, rank: Math.random() }))
+ .sort((a, b) => a.rank - b.rank)
+ .map(({ item }) => item);
+
+function mixed(): Outlet[] {
+ const badges = shuffle(FEATURED.filter((f) => "badge" in f));
+ const outlets = shuffle(FEATURED.filter((f) => !("badge" in f)));
+ const [more, fewer] = badges.length >= outlets.length ? [badges, outlets] : [outlets, badges];
+ return more.flatMap((f, i) => (fewer[i] ? [f, fewer[i]] : [f]));
+}
+
+function OutletCard({ f, copy }: { f: Outlet; copy: boolean }) {
+ const badge = "badge" in f ? f.badge : undefined;
+ const tabIndex = copy ? -1 : undefined;
+ if (badge) {
+ return (
+ <a
+ className={`${s.outlet} ${s.badgeOutlet}`}
+ href={f.href}
+ target="_blank"
+ rel="noopener noreferrer"
+ aria-label={badge.alt}
+ tabIndex={tabIndex}
+ >
+ <img src={badge.light} alt="" width={250} height={54} className="theme-light-only" decoding="async" />
+ <img src={badge.dark} alt="" width={250} height={54} className="theme-dark-only" decoding="async" />
+ </a>
+ );
+ }
+ const logo = FEATURED_LOGOS[f.name];
+ return (
+ <a className={s.outlet} href={f.href} target="_blank" rel="noreferrer" tabIndex={tabIndex}>
+ {logo && (
+ <img
+ src={logo.src}
+ alt=""
+ width={logo.wide ? 84 : 24}
+ height={logo.wide ? 20 : 24}
+ className={logo.wide ? s.markWide : s.mark}
+ decoding="async"
+ />
+ )}
+ <span className={s.outletText}>
+ <span className={logo?.wide ? "sr-only" : s.outletName}>{f.name}</span>
+ <span className="mono">{f.sub}</span>
+ </span>
+ </a>
+ );
+}
+
export function Featured() {
+ const items = mixed();
return (
<section className={s.featuredStrip} aria-label="Featured in">
<div className={`wrap ${s.featured}`}>
<span className={`mono ${s.featuredHead}`}>Featured in</span>
- <ul className={s.outlets}>
- {FEATURED.map((f, i) => {
- const logo = FEATURED_LOGOS[f.name];
- const badge = "badge" in f ? f.badge : undefined;
- if (badge) {
- return (
- <Reveal as="li" key={f.name} delay={i * 60}>
- <a className={`${s.outlet} ${s.badgeOutlet}`} href={f.href} target="_blank" rel="noopener noreferrer">
- <img src={badge.light} alt={badge.alt} width={250} height={54} className="theme-light-only" loading="lazy" decoding="async" />
- <img src={badge.dark} alt="" aria-hidden="true" width={250} height={54} className="theme-dark-only" loading="lazy" decoding="async" />
- </a>
- </Reveal>
- );
- }
- return (
- <Reveal as="li" key={f.name} delay={i * 60}>
- <a className={s.outlet} href={f.href} target="_blank" rel="noreferrer">
- {logo && (
- <img
- src={logo.src}
- alt=""
- width={logo.wide ? 84 : 24}
- height={logo.wide ? 20 : 24}
- className={logo.wide ? s.markWide : s.mark}
- loading="lazy"
- decoding="async"
- />
- )}
- <span className={s.outletText}>
- <span className={logo?.wide ? "sr-only" : s.outletName}>{f.name}</span>
- <span className="mono">{f.sub}</span>
- </span>
- </a>
- </Reveal>
- );
- })}
- </ul>
+ <div className={s.marquee}>
+ <div className={s.track}>
+ {[false, true].map((copy) => (
+ <ul key={String(copy)} className={s.set} aria-hidden={copy || undefined}>
+ {items.map((f) => (
+ <li key={f.name} className={s.item}>
+ <OutletCard f={f} copy={copy} />
+ </li>
+ ))}
+ </ul>
+ ))}
+ </div>
+ </div>
</div>
</section>
);
diff --git a/website/components/site/InfraTiles.module.css b/website/components/site/InfraTiles.module.css
index 4bbe5a43..252665d3 100644
--- a/website/components/site/InfraTiles.module.css
+++ b/website/components/site/InfraTiles.module.css
@@ -72,6 +72,9 @@
stroke-width: 4;
stroke-linecap: round;
stroke-dasharray: 1;
+}
+
+:global(.js) .fill {
stroke-dashoffset: 1;
}
@@ -193,10 +196,13 @@
}
.ctxTag {
- opacity: 0;
color: var(--accent);
}
+:global(.js) .ctxTag {
+ opacity: 0;
+}
+
.ctxRows {
position: relative;
display: grid;
@@ -222,6 +228,9 @@
border-radius: 4px;
font-size: var(--t-12);
color: var(--ink);
+}
+
+:global(.js) .ctxSummary {
opacity: 0;
}
@@ -336,14 +345,17 @@
}
@media (prefers-reduced-motion: reduce) {
- .fill {
+ .fill,
+ :global(.js) .fill {
stroke-dashoffset: 0;
}
.ctxRow {
opacity: 0;
}
.ctxSummary,
- .ctxTag {
+ .ctxTag,
+ :global(.js) .ctxSummary,
+ :global(.js) .ctxTag {
opacity: 1;
}
:global(.is-in) .fill,
diff --git a/website/components/site/LocalFirst.module.css b/website/components/site/LocalFirst.module.css
index 0a92749c..bb4bb6f9 100644
--- a/website/components/site/LocalFirst.module.css
+++ b/website/components/site/LocalFirst.module.css
@@ -51,6 +51,9 @@
height: 1px;
background: var(--ink);
transform-origin: left;
+}
+
+:global(.js) .railLine {
transform: scaleX(0);
}
@@ -65,6 +68,9 @@
left: 0;
width: 100%;
height: 9px;
+}
+
+:global(.js) .carrier {
transform: translateX(-100%);
opacity: 0;
}
@@ -112,6 +118,9 @@
align-content: start;
text-align: center;
gap: 6px;
+}
+
+:global(.js) .node {
opacity: 0;
transform: translateY(8px);
}
@@ -176,6 +185,9 @@
align-self: center;
font-size: var(--t-12);
color: var(--ink);
+}
+
+:global(.js) .stored {
opacity: 0;
}
@@ -288,6 +300,8 @@
width: 1px;
height: 100%;
transform-origin: top;
+ }
+ :global(.js) .railLine {
transform: scaleY(0);
}
:global(.is-in) .railLine {
@@ -298,12 +312,14 @@
left: -4px;
width: 9px;
height: 100%;
+ }
+ :global(.js) .carrier {
transform: translateY(-100%);
}
.packet {
right: auto;
top: auto;
- bottom: calc(var(--i) * 12px + 14px);
+ bottom: calc(var(--i) * 12px + 8px);
left: 0;
}
@keyframes travel {
@@ -347,22 +363,24 @@
@media (prefers-reduced-motion: reduce) {
.railLine,
+ :global(.js) .railLine,
:global(.is-in) .railLine {
transform: none;
transition: none;
}
.carrier,
+ :global(.js) .carrier,
:global(.is-in) .carrier {
animation: none;
transform: none;
opacity: 1;
}
.node,
+ :global(.js) .node,
:global(.is-in) .node,
.stored,
- :global(.is-in) .stored,
- .write,
- :global(.is-in) .write {
+ :global(.js) .stored,
+ :global(.is-in) .stored {
opacity: 1;
transform: none;
transition: none;
@@ -391,6 +409,9 @@
grid-template-columns: 56px minmax(0, 1fr) auto;
gap: var(--s-3);
color: var(--ink-2);
+}
+
+:global(.js) .write {
opacity: 0;
transform: translateY(4px);
}
@@ -402,6 +423,15 @@
transition-delay: calc(2500ms + var(--i) * 520ms);
}
+@media (prefers-reduced-motion: reduce) {
+ :global(.js) .write,
+ :global(.is-in) .write {
+ opacity: 1;
+ transform: none;
+ transition: none;
+ }
+}
+
.writeId {
color: var(--muted);
}
diff --git a/website/components/site/MemoryScroll.module.css b/website/components/site/MemoryScroll.module.css
index 01747f6c..a2013688 100644
--- a/website/components/site/MemoryScroll.module.css
+++ b/website/components/site/MemoryScroll.module.css
@@ -25,10 +25,13 @@
}
.k {
- opacity: 0;
will-change: opacity, transform;
}
+:global(.js) .k {
+ opacity: 0;
+}
+
.side {
display: grid;
gap: var(--s-5);
@@ -498,3 +501,65 @@
transform: none;
}
}
+
+:global(html:not(.js)) .track {
+ height: auto;
+}
+
+:global(html:not(.js)) .sticky {
+ position: relative;
+ top: 0;
+ height: auto;
+ padding: var(--s-6) 0 var(--s-9);
+}
+
+:global(html:not(.js)) .steps {
+ display: none;
+}
+
+:global(html:not(.js)) .details {
+ gap: var(--s-3);
+ padding-left: 0;
+}
+
+:global(html:not(.js)) .detail {
+ grid-area: auto;
+ opacity: 1;
+ visibility: visible;
+}
+
+:global(html:not(.js)) .detailTitle {
+ display: inline;
+}
+
+:global(html:not(.js)) .figure > .pane {
+ grid-area: auto;
+ opacity: 1;
+ visibility: visible;
+ transform: none;
+}
+
+:global(html:not(.js)) .sessionBody {
+ row-gap: 14px;
+}
+
+:global(html:not(.js)) .mon,
+:global(html:not(.js)) .tue,
+:global(html:not(.js)) .day > span {
+ grid-area: auto;
+}
+
+:global(html:not(.js)) .tue {
+ padding-top: 14px;
+ border-top: 1px dashed var(--line);
+}
+
+:global(html:not(.js)) .day {
+ grid-auto-flow: column;
+ column-gap: 6px;
+}
+
+:global(html:not(.js)) .day > span + span::before {
+ content: "\2192\00a0";
+ color: var(--muted);
+}
diff --git a/website/components/site/Nav.tsx b/website/components/site/Nav.tsx
index 8edd1569..4861d498 100644
--- a/website/components/site/Nav.tsx
+++ b/website/components/site/Nav.tsx
@@ -1,12 +1,12 @@
import Link from "next/link";
import { NAV, REPO_URL } from "@/lib/site";
-import { compact, getProjectMeta } from "@/lib/meta";
+import { compact, getLiveProjectMeta } from "@/lib/meta";
import { ThemeToggle } from "./client";
import { Logo } from "./Logo";
import s from "./Nav.module.css";
-export function Nav() {
- const meta = getProjectMeta();
+export async function Nav() {
+ const meta = await getLiveProjectMeta();
return (
<header className={s.bar}>
<div className={`wrap ${s.inner}`}>
diff --git a/website/components/site/Proof.tsx b/website/components/site/Proof.tsx
index a4cdedd1..69ecdb4f 100644
--- a/website/components/site/Proof.tsx
+++ b/website/components/site/Proof.tsx
@@ -1,10 +1,10 @@
import { AGENTS, src } from "@/lib/site";
-import { compact, getProjectMeta } from "@/lib/meta";
+import { compact, getLiveProjectMeta } from "@/lib/meta";
import { Reveal } from "./client";
import s from "./Proof.module.css";
-export function Proof() {
- const m = getProjectMeta();
+export async function Proof() {
+ const m = await getLiveProjectMeta();
const items = [
{ value: compact(m.stars), label: "GitHub stars", href: src.stars },
{ value: compact(m.npmAllTime), label: "npm installs, all time", href: src.npm },
diff --git a/website/components/site/Research.module.css b/website/components/site/Research.module.css
new file mode 100644
index 00000000..e9ac226a
--- /dev/null
+++ b/website/components/site/Research.module.css
@@ -0,0 +1,151 @@
+.inline {
+ color: var(--ink);
+ border-bottom: 1px solid var(--line-2);
+ transition: border-color var(--dur-1) ease;
+}
+
+.head,
+.paper {
+ display: grid;
+ grid-template-columns: 8.5rem minmax(0, 1.15fr) minmax(0, 1fr);
+ column-gap: var(--s-7);
+}
+
+.head {
+ padding-bottom: var(--s-3);
+ font-family: var(--font-mono), ui-monospace, monospace;
+ font-size: var(--t-12);
+ letter-spacing: var(--track-mono);
+ text-transform: uppercase;
+ color: var(--faint);
+}
+
+.papers {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ border-top: 1px solid var(--line-2);
+}
+
+.paper {
+ align-items: start;
+ padding: var(--s-6) 0;
+ border-bottom: 1px solid var(--line);
+}
+
+.meta {
+ display: grid;
+ gap: 2px;
+ padding-top: 5px;
+ font-size: var(--t-12);
+ color: var(--muted);
+}
+
+.meta span:first-child {
+ color: var(--ink-2);
+}
+
+.work {
+ display: grid;
+ gap: var(--s-2);
+}
+
+.work h3 {
+ font-size: var(--t-20);
+ font-weight: 540;
+ line-height: 1.32;
+ letter-spacing: -0.012em;
+}
+
+.work h3 a {
+ text-decoration: underline;
+ text-decoration-thickness: 1px;
+ text-underline-offset: 5px;
+ text-decoration-color: transparent;
+ transition: text-decoration-color var(--dur-1) ease;
+}
+
+.work h3 a::after {
+ content: "\2009\2197";
+ color: var(--faint);
+ transition: color var(--dur-1) ease;
+}
+
+.authors {
+ font-size: var(--t-14);
+ color: var(--muted);
+}
+
+.said {
+ margin: 0;
+ display: grid;
+ gap: var(--s-3);
+ padding-left: var(--s-4);
+ border-left: 2px solid var(--accent);
+}
+
+.said blockquote {
+ margin: 0;
+}
+
+.said blockquote p,
+.note {
+ font-size: var(--t-16);
+ line-height: 1.55;
+}
+
+.said blockquote p {
+ color: var(--ink);
+ text-indent: -0.42em;
+}
+
+.said blockquote p::before {
+ content: "\201C";
+}
+
+.said blockquote p::after {
+ content: "\201D";
+}
+
+.note {
+ color: var(--ink-2);
+}
+
+.said figcaption {
+ font-size: var(--t-12);
+ color: var(--accent-ink);
+}
+
+@media (hover: hover) and (pointer: fine) {
+ .inline:hover {
+ border-color: var(--accent);
+ }
+ .work h3 a:hover {
+ text-decoration-color: var(--accent);
+ }
+ .work h3 a:hover::after {
+ color: var(--accent-ink);
+ }
+}
+
+@media (max-width: 900px) {
+ .head {
+ display: none;
+ }
+ .paper {
+ grid-template-columns: minmax(0, 1fr);
+ row-gap: var(--s-3);
+ }
+ .meta {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px var(--s-3);
+ padding-top: 0;
+ }
+ .said {
+ margin-top: var(--s-2);
+ }
+ .work h3 {
+ font-size: var(--t-16);
+ }
+}
diff --git a/website/components/site/Research.tsx b/website/components/site/Research.tsx
new file mode 100644
index 00000000..0c5be4a2
--- /dev/null
+++ b/website/components/site/Research.tsx
@@ -0,0 +1,57 @@
+import { RESEARCH, src } from "@/lib/site";
+import { Reveal } from "./client";
+import s from "./Research.module.css";
+
+export function Research() {
+ return (
+ <section id="research" className="section" aria-labelledby="research-title">
+ <div className="wrap">
+ <div className="section-head">
+ <span className="eyebrow">Research</span>
+ <h2 id="research-title">Cited in agent memory research.</h2>
+ <p>
+ Researchers designing memory for AI agents cite{" "}
+ <a className={s.inline} href={src.wiki} target="_blank" rel="noreferrer">
+ LLM Wiki v2
+ </a>
+ , the design agentmemory implements, and agentmemory itself. Every entry links to the paper.
+ </p>
+ </div>
+
+ <div className={s.head} aria-hidden="true">
+ <span>Published</span>
+ <span>Paper</span>
+ <span>What it says</span>
+ </div>
+ <ol className={s.papers}>
+ {RESEARCH.map((p, i) => (
+ <Reveal as="li" key={p.href} delay={i * 60} className={s.paper}>
+ <p className={`mono ${s.meta}`}>
+ <span>{p.date}</span>
+ <span>{p.venue}</span>
+ </p>
+ <div className={s.work}>
+ <h3>
+ <a href={p.href} target="_blank" rel="noreferrer">
+ {p.title}
+ </a>
+ </h3>
+ <p className={s.authors}>{p.authors}</p>
+ </div>
+ <figure className={s.said}>
+ {p.quote ? (
+ <blockquote>
+ <p>{p.quote}</p>
+ </blockquote>
+ ) : (
+ <p className={s.note}>{p.note}</p>
+ )}
+ <figcaption className="mono">on {p.cites}</figcaption>
+ </figure>
+ </Reveal>
+ ))}
+ </ol>
+ </div>
+ </section>
+ );
+}
diff --git a/website/components/site/UseCases.module.css b/website/components/site/UseCases.module.css
index 2572ab44..36f681cb 100644
--- a/website/components/site/UseCases.module.css
+++ b/website/components/site/UseCases.module.css
@@ -481,10 +481,8 @@
color: var(--muted);
}
-.night::before {
- content: "";
+.night :global(.flow-arrow) {
width: 56px;
- border-top: 1px dashed var(--line-2);
}
.lesson {
@@ -668,19 +666,18 @@
.hub::before {
left: 50%;
right: auto;
- top: 0;
- bottom: 0;
+ top: -16px;
+ bottom: -16px;
border-top: 0;
border-left: 1px dashed var(--line-2);
}
.packet {
display: none;
}
- .night::before {
- width: 0;
- height: 28px;
- border-top: 0;
- border-left: 1px dashed var(--line-2);
+ .night :global(.flow-arrow) {
+ width: 28px;
+ margin: 10px 0;
+ transform: rotate(90deg);
}
}
diff --git a/website/components/site/UseCases.tsx b/website/components/site/UseCases.tsx
index 80d3644a..70dec485 100644
--- a/website/components/site/UseCases.tsx
+++ b/website/components/site/UseCases.tsx
@@ -182,6 +182,7 @@ function HandoffScene() {
</L>
</Win>
<div className={`${s.step} ${s.night}`} style={st(3)}>
+ <span className="flow-arrow" aria-hidden="true" />
<span className="mono">overnight</span>
</div>
<Win title="tuesday 09:12" logo={LOGO.claude}>
diff --git a/website/components/site/client.tsx b/website/components/site/client.tsx
index f08d8f59..72e138fa 100644
--- a/website/components/site/client.tsx
+++ b/website/components/site/client.tsx
@@ -17,6 +17,7 @@ export function CopyButton({
}) {
const [copied, setCopied] = useState(false);
const timer = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const { idle, done } = labels ?? { idle: "copy", done: "copied" };
useEffect(() => () => {
if (timer.current) clearTimeout(timer.current);
}, []);
@@ -38,15 +39,11 @@ export function CopyButton({
}}
>
{children}
- {labels ? (
- <span className="copy-label" aria-live="polite">
- {copied ? labels.done : labels.idle}
+ <span className={labels ? "copy-label" : "copy-state mono"} aria-live="polite">
+ <span key={copied ? "done" : "idle"} className="copy-swap">
+ {copied ? done : idle}
</span>
- ) : (
- <span className="copy-state mono" aria-live="polite">
- {copied ? "copied" : "copy"}
- </span>
- )}
+ </span>
</button>
);
}
diff --git a/website/lib/meta.ts b/website/lib/meta.ts
index b7c6e4e9..a362ae7f 100644
--- a/website/lib/meta.ts
+++ b/website/lib/meta.ts
@@ -1,5 +1,6 @@
import "server-only";
import generated from "./generated-meta.json" with { type: "json" };
+import { REPO } from "./site";
export interface ProjectMeta {
version: string;
@@ -21,6 +22,64 @@ export function getProjectMeta(): ProjectMeta {
return generated as ProjectMeta;
}
+const LIVE_STATS_REVALIDATE_SECONDS = 3600;
+const NPM_PACKAGES = ["@agentmemory/agentmemory", "@agentmemory/mcp"];
+const NPM_FIRST_DAY = "2026-04-01";
+const NPM_RANGE_DAYS = 540;
+const DAY_MS = 86_400_000;
+
+async function liveFetch(url: string, headers: Record<string, string> = {}): Promise<Response> {
+ const res = await fetch(url, {
+ headers: { "user-agent": "agentmemory-website", ...headers },
+ next: { revalidate: LIVE_STATS_REVALIDATE_SECONDS },
+ signal: AbortSignal.timeout(5000),
+ });
+ if (!res.ok) throw new Error(`${url} ${res.status}`);
+ return res;
+}
+
+function lastPage(link: string | null): number | undefined {
+ const m = link?.match(/[?&]page=(\d+)>;\s*rel="last"/);
+ return m ? Number(m[1]) : undefined;
+}
+
+async function npmAllTime(): Promise<number> {
+ const end = Date.now();
+ const ranges: string[] = [];
+ for (let from = Date.parse(`${NPM_FIRST_DAY}T00:00:00Z`); from <= end; from += NPM_RANGE_DAYS * DAY_MS) {
+ const to = Math.min(end, from + (NPM_RANGE_DAYS - 1) * DAY_MS);
+ ranges.push(`${new Date(from).toISOString().slice(0, 10)}:${new Date(to).toISOString().slice(0, 10)}`);
+ }
+ const counts = await Promise.all(
+ NPM_PACKAGES.flatMap((pkg) =>
+ ranges.map(async (range) => {
+ const data = (await (await liveFetch(`https://api.npmjs.org/downloads/point/${range}/${pkg}`)).json()) as { downloads?: number };
+ return data.downloads ?? 0;
+ }),
+ ),
+ );
+ return counts.reduce((sum, n) => sum + n, 0);
+}
+
+export async function getLiveProjectMeta(): Promise<ProjectMeta> {
+ const base = getProjectMeta();
+ const gh: Record<string, string> = { accept: "application/vnd.github+json" };
+ if (process.env.GITHUB_TOKEN) gh.authorization = `Bearer ${process.env.GITHUB_TOKEN}`;
+ const [stars, contributors, npm] = await Promise.allSettled([
+ liveFetch(`https://api.github.com/repos/${REPO}`, gh).then(async (res) => ((await res.json()) as { stargazers_count?: number }).stargazers_count),
+ liveFetch(`https://api.github.com/repos/${REPO}/contributors?per_page=1&anon=false`, gh).then((res) => lastPage(res.headers.get("link"))),
+ npmAllTime(),
+ ]);
+ const pick = (result: PromiseSettledResult<number | undefined>, fallback: number) =>
+ result.status === "fulfilled" && Number.isFinite(result.value) && (result.value ?? 0) > 0 ? (result.value as number) : fallback;
+ return {
+ ...base,
+ stars: pick(stars, base.stars),
+ contributors: pick(contributors, base.contributors),
+ npmAllTime: Math.max(pick(npm, base.npmAllTime), base.npmAllTime),
+ };
+}
+
export function compact(n: number): string {
if (n >= 1000) {
const k = n / 1000;
diff --git a/website/lib/rest.ts b/website/lib/rest.ts
index ada69683..8bbdd736 100644
--- a/website/lib/rest.ts
+++ b/website/lib/rest.ts
@@ -20,6 +20,7 @@ export const LOGO_OVERRIDES: Record<string, string> = {
};
export const FEATURED_LOGOS: Record<string, { src: string; wide?: boolean }> = {
+ OpenUK: { src: "/featured/openuk-logo.png", wide: true },
AlphaSignal: { src: "https://avatars.githubusercontent.com/u/64016073?s=96&v=4" },
"Agentic AI Foundation": { src: "/featured/aaif-logo.png", wide: true },
Trendshift: { src: "https://trendshift.io/favicon.ico" },
diff --git a/website/lib/site.ts b/website/lib/site.ts
index eb933c9e..a1f5ad72 100644
--- a/website/lib/site.ts
+++ b/website/lib/site.ts
@@ -21,6 +21,7 @@ export const src = {
changelog: `${REPO_URL}/blob/main/CHANGELOG.md`,
paper: "https://arxiv.org/abs/2410.10813",
dataset: "https://huggingface.co/datasets/xiaowu0162/longmemeval-cleaned",
+ wiki: "https://gist.github.com/rohitg00/2067ab416f7bbe447c1977edaaa681e2",
};
export const NAV = [
@@ -101,6 +102,7 @@ export const GATE_SCENARIOS = [
];
export const FEATURED = [
+ { name: "OpenUK", sub: "AI Openness 2026 case study", href: "https://openuk.uk/report/aiopenness2026/" },
{ name: "AlphaSignal", sub: "Technical deep-dive, 180K subscribers", href: "https://alphasignalai.substack.com/p/how-agentmemory-works-and-how-to" },
{ name: "Agentic AI Foundation", sub: "Linux Foundation backed", href: "https://aaif.io/" },
{
@@ -113,6 +115,26 @@ export const FEATURED = [
alt: "rohitg00/agentmemory on Trendshift",
},
},
+ {
+ name: "Trendshift weekly",
+ sub: "#1 Repository of the Week, TypeScript",
+ href: "https://trendshift.io/repositories/25123",
+ badge: {
+ light: "https://trendshift.io/api/badge/trendshift/repositories/25123/weekly?language=TypeScript",
+ dark: "https://trendshift.io/api/badge/trendshift/repositories/25123/weekly?language=TypeScript",
+ alt: "agentmemory, #1 TypeScript Repository of the Week on Trendshift",
+ },
+ },
+ {
+ name: "Trendshift monthly",
+ sub: "#5 Repository of the Month, TypeScript",
+ href: "https://trendshift.io/repositories/25123",
+ badge: {
+ light: "https://trendshift.io/api/badge/trendshift/repositories/25123/monthly?language=TypeScript",
+ dark: "https://trendshift.io/api/badge/trendshift/repositories/25123/monthly?language=TypeScript",
+ alt: "agentmemory, #5 TypeScript Repository of the Month on Trendshift",
+ },
+ },
{
name: "Product Hunt",
sub: "#2 Product of the Day",
@@ -134,6 +156,65 @@ export const QUOTES = [
{ name: "Pranav Prakash", context: "Two weeks of daily use", quote: "Been using it for 2 weeks, and I definitely see improvements.", href: PH },
];
+export interface Paper {
+ title: string;
+ authors: string;
+ venue: string;
+ date: string;
+ href: string;
+ cites: "LLM Wiki v2" | "agentmemory";
+ quote?: string;
+ note?: string;
+}
+
+export const RESEARCH: Paper[] = [
+ {
+ title: "Memory as Metabolism: A Design for Companion Knowledge Systems",
+ authors: "Stefan Miteski",
+ venue: "arXiv 2604.12034",
+ date: "Apr 2026",
+ href: "https://arxiv.org/abs/2604.12034",
+ cites: "LLM Wiki v2",
+ quote: "This is the closest practitioner-level prior art to the governance profile this paper proposes.",
+ },
+ {
+ title: "The Missing Knowledge Layer in Cognitive Architectures for AI Agents",
+ authors: "Michaël Roynard",
+ venue: "arXiv 2604.11364",
+ date: "Apr 2026",
+ href: "https://arxiv.org/abs/2604.11364",
+ cites: "LLM Wiki v2",
+ quote: "Closest informal statement of the four-layer thesis.",
+ },
+ {
+ title: "Managed Memory Is Still Not Governed State: Production Lessons from LLM Wiki v2",
+ authors: "Peter Bell",
+ venue: "Zenodo 19545947",
+ date: "Apr 2026",
+ href: "https://doi.org/10.5281/zenodo.19545947",
+ cites: "LLM Wiki v2",
+ quote: "Karpathy’s original pattern gives compiled memory. LLM Wiki v2 gives managed memory.",
+ },
+ {
+ title: "Beyond Memory: A Templated Substrate for Heterogeneous Collaborative Knowledge Work with LLM Agents",
+ authors: "Priscila Saboia Moreira, Christopher R. Sweet",
+ venue: "arXiv 2607.24759",
+ date: "May 2026",
+ href: "https://arxiv.org/abs/2607.24759",
+ cites: "LLM Wiki v2",
+ quote: "LLM Wiki v2 (rohitg00, 2026) adds confidence scoring and explicit supersession of stale claims by higher-confidence successor pages.",
+ },
+ {
+ title: "TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memory",
+ authors: "Ziming Wang",
+ venue: "arXiv 2606.06240",
+ date: "Jun 2026",
+ href: "https://arxiv.org/abs/2606.06240",
+ cites: "agentmemory",
+ note: "Cites agentmemory v0.9.17 and names it as a future integration for testing the paper’s contradiction predicates.",
+ },
+];
+
export const FAQ = [
{
q: "What does agentmemory actually store?",
diff --git a/website/public/featured/openuk-logo.png b/website/public/featured/openuk-logo.png
new file mode 100644
index 00000000..9ca447c0
Binary files /dev/null and b/website/public/featured/openuk-logo.png differ