#1 Persistent memory for AI coding agents based on real-world benchmarks
TypeScript agentmemoryagentsaiclaudeclaudecodecodexcopilotcursorgenaiharnesshermesmemoryompopenclawopencodepi
feat(website): live GitHub stars, logo-based agent showcase, simpler MCP install
Rohit Ghumare3338f9d0391a
diff --git a/website/app/layout.tsx b/website/app/layout.tsxindex efd0d750..95cb92ff 100644--- a/website/app/layout.tsx+++ b/website/app/layout.tsx@@ -21,6 +21,10 @@ export const metadata: Metadata = {title: "AGENTMEMORY — PERSISTENT MEMORY FOR AI CODING AGENTS",description:"The memory layer your coding agent should have had from day one. 95.2% retrieval R@5. 92% fewer tokens. 0 external databases. Works with every agent.",+ icons: {+ icon: [{ url: "/icon.svg", type: "image/svg+xml" }],+ apple: "/icon.svg",+ },openGraph: {title: "agentmemory",description:diff --git a/website/app/page.tsx b/website/app/page.tsxindex f3cb5ea8..f593d261 100644--- a/website/app/page.tsx+++ b/website/app/page.tsx@@ -3,6 +3,8 @@ import { Nav } from "@/components/Nav";import { Hero } from "@/components/Hero";import { Stats } from "@/components/Stats";import { Primitives } from "@/components/Primitives";+import { Features } from "@/components/Features";+import { CommandCenter } from "@/components/CommandCenter";import { LiveTerminal } from "@/components/LiveTerminal";import { Compare } from "@/components/Compare";import { Agents } from "@/components/Agents";@@ -18,6 +20,8 @@ export default function Page() {<Hero /><Stats /><Primitives />+ <Features />+ <CommandCenter /><LiveTerminal /><Compare /><Agents />diff --git a/website/components/AgentInstall.module.css b/website/components/AgentInstall.module.cssnew file mode 100644index 00000000..412c15ad--- /dev/null+++ b/website/components/AgentInstall.module.css@@ -0,0 +1,211 @@+.wrap {+ display: grid;+ gap: 16px;+}++.stepLabel {+ font-size: 11px;+ letter-spacing: 0.96px;+ color: var(--gold);+ text-transform: uppercase;+ font-weight: 700;+}+.helper {+ margin: 0;+ font-size: 12px;+ letter-spacing: 0.12px;+ color: var(--steel);+ text-transform: uppercase;+ line-height: 1.55;+}++.split {+ display: grid;+ grid-template-columns: minmax(220px, 0.9fr) 1.3fr;+ gap: 16px;+ align-items: start;+}+.chipsCol {+ display: flex;+ flex-direction: column;+ gap: 12px;+}+.colHead {+ font-size: 11px;+ letter-spacing: 0.96px;+ color: var(--gold);+ text-transform: uppercase;+ font-weight: 700;+}+.chips {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 8px;+}+.chip {+ appearance: none;+ display: flex;+ flex-direction: column;+ align-items: flex-start;+ justify-content: center;+ gap: 4px;+ padding: 14px 14px;+ min-height: 62px;+ background: var(--iron);+ border: 1px solid var(--charcoal);+ color: var(--white);+ text-decoration: none;+ text-align: left;+ cursor: pointer;+ transition:+ background 180ms ease,+ border-color 180ms ease,+ color 180ms ease;+}+.chip:hover {+ background: var(--charcoal);+ border-color: var(--gold);+}+.chipOk {+ border-color: #29c864 !important;+}+.chipOk .chipSub {+ color: #29c864;+}+.chipLabel {+ font-size: 13px;+ font-weight: 900;+ letter-spacing: -0.01em;+ text-transform: uppercase;+ color: var(--white);+}+.chipSub {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+}+.chipNote {+ margin: 4px 0 0;+ font-size: 10.5px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+ line-height: 1.55;+}++.snippetCol {+ display: block;+}++.snippet {+ border: 1px solid var(--charcoal);+ background: var(--abyss);+ overflow: hidden;+}+.snippetHead {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 12px;+ padding: 12px 20px;+ background: var(--iron);+ border-bottom: 1px solid var(--charcoal);+}+.snippetTitle {+ font-size: 11px;+ font-weight: 700;+ letter-spacing: 0.96px;+ color: var(--gold);+ text-transform: uppercase;+}+.snippetHint {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+}+.code {+ margin: 0;+ padding: 20px 24px;+ font-family: var(--font-mono);+ font-size: 13px;+ line-height: 1.6;+ color: var(--white);+ white-space: pre;+ overflow-x: auto;+}+.copyRow {+ padding: 12px 16px;+ background: var(--iron);+ border-top: 1px solid var(--charcoal);+ display: flex;+ justify-content: flex-end;+}++.copyBtn {+ padding: 9px 14px;+ font-size: 11px;+ font-weight: 700;+ letter-spacing: 0.96px;+ text-transform: uppercase;+ color: var(--abyss);+ background: var(--gold);+ border: none;+ cursor: pointer;+ transition:+ background 200ms ease,+ color 200ms ease;+}+.copyBtn:hover {+ background: var(--gold-deep);+ color: var(--white);+}+.copyBtnSmall {+ padding: 6px 10px;+ font-size: 10px;+}+.copyBtnOk {+ background: #29c864 !important;+ color: var(--abyss) !important;+}++.moreToggle {+ align-self: start;+ padding: 10px 14px;+ font-size: 11px;+ font-weight: 700;+ letter-spacing: 0.96px;+ color: var(--steel);+ background: transparent;+ border: 1px solid var(--charcoal);+ cursor: pointer;+ transition:+ color 180ms ease,+ border-color 180ms ease;+ text-transform: uppercase;+}+.moreToggle:hover {+ color: var(--white);+ border-color: var(--gold);+}++.moreGrid {+ display: grid;+ gap: 14px;+}++@media (max-width: 900px) {+ .split {+ grid-template-columns: 1fr;+ }+}++@media (max-width: 640px) {+ .chips {+ grid-template-columns: 1fr;+ }+ .code {+ font-size: 12px;+ }+}diff --git a/website/components/AgentInstall.tsx b/website/components/AgentInstall.tsxnew file mode 100644index 00000000..293db2c9--- /dev/null+++ b/website/components/AgentInstall.tsx@@ -0,0 +1,281 @@+"use client";++import { useMemo, useState } from "react";+import styles from "./AgentInstall.module.css";++const UNIVERSAL_JSON = `{+ "mcpServers": {+ "agentmemory": {+ "command": "npx",+ "args": ["-y", "@agentmemory/mcp"],+ "env": {+ "AGENTMEMORY_URL": "http://localhost:3111"+ }+ }+ }+}`;++const CODEX_TOML = `[mcp_servers.agentmemory]+command = "npx"+args = ["-y", "@agentmemory/mcp"]++[mcp_servers.agentmemory.env]+AGENTMEMORY_URL = "http://localhost:3111"`;++const CLAUDE_CODE_CMD = `claude mcp add agentmemory -- npx -y @agentmemory/mcp`;++const HERMES_YAML = `plugins:+ - name: agentmemory+ path: agentmemory/integrations/hermes+ config:+ base_url: http://localhost:3111`;++const OPENCLAW_YAML = `plugins:+ - id: agentmemory+ module: agentmemory/integrations/openclaw/plugin.mjs+ config:+ enabled: true+ base_url: http://localhost:3111`;++function cursorDeeplink(): string {+ const cfg = {+ command: "npx",+ args: ["-y", "@agentmemory/mcp"],+ env: { AGENTMEMORY_URL: "http://localhost:3111" },+ };+ const base64 =+ typeof window !== "undefined"+ ? btoa(JSON.stringify(cfg))+ : Buffer.from(JSON.stringify(cfg)).toString("base64");+ return `cursor://anysphere.cursor-deeplink/mcp/install?name=agentmemory&config=${encodeURIComponent(base64)}`;+}++function vscodeDeeplink(): string {+ const cfg = {+ name: "agentmemory",+ command: "npx",+ args: ["-y", "@agentmemory/mcp"],+ env: { AGENTMEMORY_URL: "http://localhost:3111" },+ };+ const payload =+ typeof window !== "undefined"+ ? encodeURIComponent(JSON.stringify(cfg))+ : encodeURIComponent(JSON.stringify(cfg));+ return `vscode:mcp/install?${payload}`;+}++type ChipKind = "deeplink" | "copy";+interface Chip {+ id: string;+ label: string;+ kind: ChipKind;+ href?: string;+ copyText?: string;+ sub: string;+}++function CopyButton({+ text,+ label = "COPY",+ small,+}: {+ text: string;+ label?: string;+ small?: boolean;+}) {+ const [copied, setCopied] = useState(false);+ const onClick = async () => {+ try {+ await navigator.clipboard.writeText(text);+ setCopied(true);+ setTimeout(() => setCopied(false), 1600);+ } catch {+ /* ignore */+ }+ };+ return (+ <button+ className={`${styles.copyBtn} ${small ? styles.copyBtnSmall : ""} ${+ copied ? styles.copyBtnOk : ""+ }`}+ onClick={onClick}+ >+ {copied ? "COPIED ✓" : label}+ </button>+ );+}++function Chip({ chip }: { chip: Chip }) {+ const [copied, setCopied] = useState(false);+ const inner = (+ <>+ <span className={styles.chipLabel}>{chip.label}</span>+ <span className={styles.chipSub}>+ {chip.kind === "deeplink" ? "OPEN" : copied ? "COPIED ✓" : chip.sub}+ </span>+ </>+ );++ if (chip.kind === "deeplink" && chip.href) {+ return (+ <a className={styles.chip} href={chip.href}>+ {inner}+ </a>+ );+ }++ const onClick = async () => {+ if (!chip.copyText) return;+ try {+ await navigator.clipboard.writeText(chip.copyText);+ setCopied(true);+ setTimeout(() => setCopied(false), 1600);+ } catch {+ /* ignore */+ }+ };+ return (+ <button+ className={`${styles.chip} ${copied ? styles.chipOk : ""}`}+ onClick={onClick}+ >+ {inner}+ </button>+ );+}++function Snippet({+ title,+ body,+ hint,+}: {+ title: string;+ body: string;+ hint: string;+}) {+ return (+ <div className={styles.snippet}>+ <div className={styles.snippetHead}>+ <span className={styles.snippetTitle}>{title}</span>+ <span className={styles.snippetHint}>{hint}</span>+ </div>+ <pre className={styles.code}>+ <code>{body}</code>+ </pre>+ <div className={styles.copyRow}>+ <CopyButton text={body} />+ </div>+ </div>+ );+}++export function AgentInstall() {+ const cursor = useMemo(cursorDeeplink, []);+ const vscode = useMemo(vscodeDeeplink, []);+ const [showMore, setShowMore] = useState(false);++ const chips: Chip[] = [+ {+ id: "cursor",+ label: "CURSOR",+ kind: "deeplink",+ href: cursor,+ sub: "DEEPLINK",+ },+ {+ id: "vscode",+ label: "VS CODE",+ kind: "deeplink",+ href: vscode,+ sub: "DEEPLINK",+ },+ {+ id: "claude-code",+ label: "CLAUDE CODE",+ kind: "copy",+ copyText: CLAUDE_CODE_CMD,+ sub: "COPY CMD",+ },+ {+ id: "claude-desktop",+ label: "CLAUDE DESKTOP",+ kind: "copy",+ copyText: UNIVERSAL_JSON,+ sub: "COPY JSON",+ },+ {+ id: "gemini",+ label: "GEMINI CLI",+ kind: "copy",+ copyText: UNIVERSAL_JSON,+ sub: "COPY JSON",+ },+ {+ id: "codex",+ label: "CODEX CLI",+ kind: "copy",+ copyText: CODEX_TOML,+ sub: "COPY TOML",+ },+ ];++ return (+ <div className={styles.wrap}>+ <div className={styles.stepLabel}>3. WIRE UP ANY AGENT</div>+ <p className={styles.helper}>+ ONE MCP JSON FITS ALMOST EVERYTHING. PICK YOUR AGENT ON THE LEFT, OR+ PASTE THE UNIVERSAL CONFIG ON THE RIGHT.+ </p>++ <div className={styles.split}>+ <div className={styles.chipsCol}>+ <div className={styles.colHead}>AGENTS</div>+ <div className={styles.chips}>+ {chips.map((c) => (+ <Chip key={c.id} chip={c} />+ ))}+ </div>+ <p className={styles.chipNote}>+ CURSOR / VS CODE ARE ONE-CLICK VIA DEEPLINK. OTHERS COPY THE RIGHT+ SNIPPET DIRECTLY TO YOUR CLIPBOARD.+ </p>+ </div>+ <div className={styles.snippetCol}>+ <Snippet+ title="UNIVERSAL MCP JSON"+ hint="WORKS FOR CLAUDE DESKTOP · CURSOR · CLINE · WINDSURF · GEMINI CLI · OPENCODE"+ body={UNIVERSAL_JSON}+ />+ </div>+ </div>++ <button+ className={styles.moreToggle}+ aria-expanded={showMore}+ onClick={() => setShowMore((v) => !v)}+ >+ {showMore ? "— HIDE OTHER SHAPES" : "+ HERMES · OPENCLAW · MORE"}+ </button>++ {showMore && (+ <div className={styles.moreGrid}>+ <Snippet+ title="HERMES"+ hint="integrations/hermes — plugin.yaml"+ body={HERMES_YAML}+ />+ <Snippet+ title="OPENCLAW"+ hint="integrations/openclaw — plugin.yaml"+ body={OPENCLAW_YAML}+ />+ <Snippet+ title="CODEX CLI (TOML)"+ hint="~/.codex/config.toml"+ body={CODEX_TOML}+ />+ </div>+ )}+ </div>+ );+}diff --git a/website/components/Agents.module.css b/website/components/Agents.module.cssindex fe760f02..4a8d228f 100644--- a/website/components/Agents.module.css+++ b/website/components/Agents.module.css@@ -1,48 +1,230 @@.wrap {- padding: 96px 0;+ padding: 112px 0 96px;}-.grid {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));- gap: 1px;++/* Featured row: 4 first-party cards */+.featuredRow {max-width: 1440px;- margin: 0 auto;+ margin: 0 auto 56px;padding: 0 40px;- background: var(--charcoal);+ display: grid;+ grid-template-columns: repeat(4, 1fr);+ gap: 16px;+}++.featured {+ position: relative;+ background: var(--iron);border: 1px solid var(--charcoal);- list-style: none;+ padding: 24px;+ color: var(--white);+ text-decoration: none;+ display: flex;+ flex-direction: column;+ gap: 18px;+ min-height: 200px;+ transition:+ background 200ms ease,+ border-color 200ms ease,+ transform 200ms ease;+ overflow: hidden;}-.tile {+.featured::before {+ content: "";+ position: absolute;+ inset: 0 0 auto 0;+ height: 3px;+ background: var(--agent-accent, var(--gold));+ transform: scaleX(0.2);+ transform-origin: left;+ transition: transform 240ms ease;+}+.featured:hover {+ background: var(--charcoal);+ border-color: var(--agent-accent, var(--gold));+ transform: translateY(-2px);+}+.featured:hover::before {+ transform: scaleX(1);+}++.featuredHead {+ display: flex;+ gap: 14px;+ align-items: center;+}+.featuredLogo {+ width: 56px;+ height: 56px;+ display: flex;+ align-items: center;+ justify-content: center;+ border-radius: 10px;+ overflow: hidden;background: var(--abyss);- padding: 40px 24px;- text-align: center;- font-size: 16px;+ border: 1px solid var(--charcoal);+ flex-shrink: 0;+}+.featuredLogo img {+ width: 100%;+ height: 100%;+ object-fit: cover;+}+.featuredMeta {+ display: flex;+ flex-direction: column;+ gap: 2px;+ min-width: 0;+}+.featuredSub {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--agent-accent, var(--gold));+ text-transform: uppercase;font-weight: 700;+}+.featuredName {+ font-size: 20px;+ font-weight: 900;+ letter-spacing: -0.01em;+ color: var(--white);+}+.featuredFrom {+ font-size: 10.5px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+}+.featuredPitch {+ margin: 0;+ font-size: 12.5px;letter-spacing: 0.12px;+ color: var(--steel);text-transform: uppercase;- transition:- background 200ms ease,- color 200ms ease,- transform 200ms ease;+ line-height: 1.55;+}+.featuredArrow {+ position: absolute;+ top: 16px;+ right: 20px;+ font-size: 18px;+ color: var(--ash);+ transition: color 180ms ease, transform 180ms ease;+}+.featured:hover .featuredArrow {+ color: var(--agent-accent, var(--gold));+ transform: translate(2px, -2px);+}++/* Marquee */+.marqueeWrap {position: relative;+ overflow: hidden;+ padding: 4px 0;+ max-width: 100vw;+ margin: 0 auto;}-.tile::after {- content: "";+.fadeLeft,+.fadeRight {position: absolute;- inset: 12px;- border: 1px solid transparent;- transition: border-color 200ms ease;+ top: 0;+ bottom: 0;+ width: 120px;+ pointer-events: none;+ z-index: 2;}-.tile:hover {+.fadeLeft {+ left: 0;+ background: linear-gradient(90deg, var(--abyss) 0%, rgba(0, 0, 0, 0) 100%);+}+.fadeRight {+ right: 0;+ background: linear-gradient(270deg, var(--abyss) 0%, rgba(0, 0, 0, 0) 100%);+}+.marquee {+ display: flex;+ gap: 16px;+ width: max-content;+ animation: scroll 48s linear infinite;+ padding: 0 20px;+}+.marqueeWrap:hover .marquee {+ animation-play-state: paused;+}+@keyframes scroll {+ 0% {+ transform: translateX(0);+ }+ 100% {+ transform: translateX(-50%);+ }+}++.tile {+ display: inline-flex;+ align-items: center;+ gap: 12px;+ padding: 14px 18px;background: var(--iron);- color: var(--gold);- transform: translateY(-2px);+ border: 1px solid var(--charcoal);+ color: var(--white);+ text-decoration: none;+ flex-shrink: 0;+ transition:+ border-color 180ms ease,+ background 180ms ease;+}+.tile:hover {+ border-color: var(--agent-accent, var(--gold));+ background: var(--charcoal);}-.tile:hover::after {- border-color: rgba(255, 192, 0, 0.3);+.tileLogo {+ width: 40px;+ height: 40px;+ border-radius: 8px;+ overflow: hidden;+ background: var(--abyss);+ flex-shrink: 0;+ object-fit: cover;+}+.tileMeta {+ display: flex;+ flex-direction: column;+ gap: 2px;+}+.tileName {+ font-size: 13.5px;+ font-weight: 900;+ letter-spacing: -0.01em;+ color: var(--white);+ text-transform: uppercase;}+.tileFrom {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+}++@media (max-width: 1024px) {+ .featuredRow {+ grid-template-columns: repeat(2, 1fr);+ }+}+@media (max-width: 640px) {- .grid {+ .featuredRow {padding: 0 20px;+ grid-template-columns: 1fr;+ }+ .fadeLeft,+ .fadeRight {+ width: 60px;+ }+}++@media (prefers-reduced-motion: reduce) {+ .marquee {+ animation: none;}}diff --git a/website/components/Agents.tsx b/website/components/Agents.tsxindex adfd5997..f46990ef 100644--- a/website/components/Agents.tsx+++ b/website/components/Agents.tsx@@ -1,36 +1,232 @@+import Image from "next/image";import styles from "./Agents.module.css";-const AGENTS = [- "CLAUDE CODE",- "CURSOR",- "CODEX CLI",- "GEMINI CLI",- "OPENCODE",- "CLINE",- "GOOSE",- "KILO CODE",- "ROO CODE",- "WINDSURF",- "AIDER",- "ANY MCP CLIENT",+interface Agent {+ id: string;+ name: string;+ from: string;+ logo: string;+ accent: string;+ href: string;+ featured?: boolean;+ pitch?: string;+ sub?: string;+}++const FEATURED: Agent[] = [+ {+ id: "claude-code",+ name: "Claude Code",+ from: "Anthropic",+ logo: "https://github.com/anthropics.png",+ accent: "#CC785C",+ href: "https://claude.com/product/claude-code",+ pitch: "12 hooks + MCP + skills",+ sub: "FIRST-CLASS PLUGIN",+ },+ {+ id: "openclaw",+ name: "OpenClaw",+ from: "openclaw",+ logo: "https://github.com/openclaw.png",+ accent: "#FFA000",+ href: "https://github.com/openclaw/openclaw",+ pitch: "onSessionStart · onPreLlmCall · onPostToolUse · onSessionEnd",+ sub: "GATEWAY PLUGIN",+ },+ {+ id: "hermes",+ name: "Hermes",+ from: "Nous Research",+ logo: "https://github.com/NousResearch.png",+ accent: "#7A5BFF",+ href: "https://github.com/NousResearch",+ pitch: "Python plugin · yaml config",+ sub: "FIRST-PARTY INTEGRATION",+ },+ {+ id: "codex",+ name: "Codex CLI",+ from: "OpenAI",+ logo: "https://github.com/openai.png",+ accent: "#10A37F",+ href: "https://github.com/openai/codex",+ pitch: "TOML mcp_servers · one-liner",+ sub: "MCP NATIVE",+ },+];++const MARQUEE: Agent[] = [+ {+ id: "claude-desktop",+ name: "Claude Desktop",+ from: "Anthropic",+ logo: "https://github.com/anthropics.png",+ accent: "#CC785C",+ href: "https://claude.ai/download",+ },+ {+ id: "cursor",+ name: "Cursor",+ from: "Anysphere",+ logo: "https://www.freelogovectors.net/wp-content/uploads/2025/06/cursor-logo-freelogovectors.net_.png",+ accent: "#000000",+ href: "https://cursor.com",+ },+ {+ id: "gemini-cli",+ name: "Gemini CLI",+ from: "Google",+ logo: "https://github.com/google-gemini.png",+ accent: "#4285F4",+ href: "https://github.com/google-gemini/gemini-cli",+ },+ {+ id: "opencode",+ name: "OpenCode",+ from: "opencode-ai",+ logo: "https://github.com/opencode-ai.png",+ accent: "#22C55E",+ href: "https://github.com/opencode-ai/opencode",+ },+ {+ id: "cline",+ name: "Cline",+ from: "cline",+ logo: "https://github.com/cline.png",+ accent: "#F59E0B",+ href: "https://github.com/cline/cline",+ },+ {+ id: "roo",+ name: "Roo Code",+ from: "RooCode",+ logo: "https://github.com/RooCodeInc.png",+ accent: "#EC4899",+ href: "https://github.com/RooCodeInc/Roo-Code",+ },+ {+ id: "kilo",+ name: "Kilo Code",+ from: "Kilo-Org",+ logo: "https://github.com/Kilo-Org.png",+ accent: "#06B6D4",+ href: "https://github.com/Kilo-Org/kilocode",+ },+ {+ id: "goose",+ name: "Goose",+ from: "Block",+ logo: "https://github.com/block.png",+ accent: "#00D54B",+ href: "https://github.com/block/goose",+ },+ {+ id: "aider",+ name: "Aider",+ from: "Aider-AI",+ logo: "https://github.com/Aider-AI.png",+ accent: "#E11D48",+ href: "https://github.com/Aider-AI/aider",+ },+ {+ id: "windsurf",+ name: "Windsurf",+ from: "Codeium",+ logo: "https://exafunction.github.io/public/brand/windsurf-black-symbol.svg",+ accent: "#00A699",+ href: "https://windsurf.com",+ },];+function FeaturedCard({ a }: { a: Agent }) {+ return (+ <a+ className={styles.featured}+ href={a.href}+ target="_blank"+ rel="noopener"+ style={{ ["--agent-accent" as string]: a.accent }}+ >+ <div className={styles.featuredHead}>+ <div className={styles.featuredLogo}>+ <Image+ src={a.logo}+ width={56}+ height={56}+ alt={`${a.name} logo`}+ unoptimized+ />+ </div>+ <div className={styles.featuredMeta}>+ <span className={styles.featuredSub}>{a.sub}</span>+ <span className={styles.featuredName}>{a.name}</span>+ <span className={styles.featuredFrom}>FROM {a.from}</span>+ </div>+ </div>+ <p className={styles.featuredPitch}>{a.pitch}</p>+ <span className={styles.featuredArrow} aria-hidden>+ ↗+ </span>+ </a>+ );+}++function MarqueeTile({ a }: { a: Agent }) {+ return (+ <a+ className={styles.tile}+ href={a.href}+ target="_blank"+ rel="noopener"+ style={{ ["--agent-accent" as string]: a.accent }}+ >+ <Image+ src={a.logo}+ width={48}+ height={48}+ alt={`${a.name} logo`}+ unoptimized+ className={styles.tileLogo}+ />+ <div className={styles.tileMeta}>+ <span className={styles.tileName}>{a.name}</span>+ <span className={styles.tileFrom}>FROM {a.from}</span>+ </div>+ </a>+ );+}+export function Agents() {+ const loop = [...MARQUEE, ...MARQUEE];return (- <section className={styles.wrap} aria-labelledby="agents-title">+ <section className={styles.wrap} id="agents" aria-labelledby="agents-title"><header className="section-head"><span className="section-eyebrow">WORKS WITH</span><h2 id="agents-title" className="section-title">- EVERY AGENT YOU ALREADY USE.+ FOUR FIRST-PARTY.<br />REST MCP-NATIVE.</h2>+ <p className="section-lede">+ AGENTMEMORY SHIPS PLUGINS FOR CLAUDE CODE, OPENCLAW, HERMES, AND+ CODEX. EVERY OTHER MCP CLIENT GETS IT FOR FREE.+ </p></header>- <ul className={styles.grid}>- {AGENTS.map((a) => (- <li key={a} className={styles.tile}>- {a}- </li>++ <div className={styles.featuredRow}>+ {FEATURED.map((a) => (+ <FeaturedCard key={a.id} a={a} />))}- </ul>+ </div>++ <div className={styles.marqueeWrap} aria-label="Other compatible agents">+ <div className={styles.fadeLeft} aria-hidden />+ <div className={styles.fadeRight} aria-hidden />+ <div className={styles.marquee}>+ {loop.map((a, i) => (+ <MarqueeTile key={`${a.id}-${i}`} a={a} />+ ))}+ </div>+ </div></section>);}diff --git a/website/components/CommandCenter.module.css b/website/components/CommandCenter.module.cssnew file mode 100644index 00000000..89271465--- /dev/null+++ b/website/components/CommandCenter.module.css@@ -0,0 +1,181 @@+.wrap {+ padding: 96px 0;+ background: var(--iron);+ border-top: 1px solid var(--charcoal);+ border-bottom: 1px solid var(--charcoal);+}+.tabs {+ max-width: 1200px;+ margin: 0 auto 32px;+ padding: 0 40px;+ display: grid;+ grid-template-columns: repeat(4, 1fr);+ gap: 0;+ border: 1px solid var(--charcoal);+ background: var(--abyss);+}+.tab {+ padding: 18px 18px;+ text-align: left;+ display: flex;+ flex-direction: column;+ gap: 6px;+ border-right: 1px solid var(--charcoal);+ transition:+ background 200ms ease,+ color 200ms ease;+ cursor: pointer;+ background: transparent;+}+.tab:last-child {+ border-right: none;+}+.tab:hover {+ background: var(--charcoal);+}+.tabActive {+ background: var(--gold) !important;+ color: var(--abyss) !important;+}+.tabActive .tabSub {+ color: rgba(0, 0, 0, 0.7) !important;+}+.tabLabel {+ font-size: 16px;+ font-weight: 900;+ letter-spacing: -0.01em;+ text-transform: uppercase;+}+.tabSub {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--ash);+ text-transform: uppercase;+}+.panel {+ max-width: 1200px;+ margin: 0 auto;+ padding: 0 40px;+ display: grid;+ grid-template-columns: minmax(320px, 1fr) 1.3fr;+ gap: 40px;+ align-items: start;+}+.panelText {+ padding-top: 8px;+}+.panelTitle {+ font-size: clamp(24px, 2.4vw, 32px);+ font-weight: 900;+ letter-spacing: -0.01em;+ text-transform: uppercase;+ margin: 0 0 16px;+ color: var(--white);+}+.panelBlurb {+ font-size: 14px;+ letter-spacing: 0.12px;+ color: var(--mist);+ text-transform: uppercase;+ line-height: 1.6;+ margin: 0 0 24px;+}+.panelBullets {+ list-style: none;+ padding: 0;+ margin: 0 0 28px;+ display: grid;+ gap: 10px;+}+.panelBullets li {+ display: flex;+ gap: 12px;+ align-items: flex-start;+ font-size: 12px;+ letter-spacing: 0.12px;+ color: var(--steel);+ text-transform: uppercase;+ line-height: 1.55;+}+.panelBullets span {+ color: var(--gold);+ font-weight: 700;+ margin-top: 1px;+}+.launch {+ margin: 0;+ padding: 16px 18px;+ background: var(--abyss);+ border: 1px solid var(--charcoal);+ font-family: var(--font-mono);+ font-size: 13px;+ color: var(--white);+ overflow-x: auto;+ white-space: nowrap;+}+.launchPrompt {+ color: var(--gold);+ font-weight: 700;+ margin-right: 8px;+}+.panelFrame {+ background: var(--abyss);+ border: 1px solid var(--charcoal);+ overflow: hidden;+}+.frameChrome {+ display: flex;+ align-items: center;+ gap: 8px;+ padding: 10px 14px;+ background: var(--iron);+ border-bottom: 1px solid var(--charcoal);+}+.dot {+ width: 10px;+ height: 10px;+ border-radius: 50%;+ display: inline-block;+}+.red {+ background: #ff5f57;+}+.yellow {+ background: #febc2e;+}+.green {+ background: #28c840;+}+.frameTitle {+ margin-left: 8px;+ font-family: var(--font-mono);+ font-size: 11px;+ color: var(--ash);+ letter-spacing: 0.12px;+ text-transform: uppercase;+}+.frameShot {+ background: var(--abyss);+ min-height: 300px;+}++@media (max-width: 960px) {+ .panel {+ grid-template-columns: 1fr;+ }+ .tabs {+ grid-template-columns: 1fr 1fr;+ }+ .tab {+ border-bottom: 1px solid var(--charcoal);+ }+ .tab:nth-child(2n) {+ border-right: none;+ }+}+@media (max-width: 640px) {+ .tabs,+ .panel {+ padding: 0 20px;+ }+}diff --git a/website/components/CommandCenter.tsx b/website/components/CommandCenter.tsxnew file mode 100644index 00000000..e738d22b--- /dev/null+++ b/website/components/CommandCenter.tsx@@ -0,0 +1,162 @@+"use client";++import { useState } from "react";+import Image from "next/image";+import styles from "./CommandCenter.module.css";++type Tab = "viewer" | "console" | "state" | "traces";++const TABS: Array<{ id: Tab; label: string; sub: string }> = [+ { id: "viewer", label: "VIEWER", sub: ":3113 · LIVE OBSERVATION STREAM" },+ { id: "console", label: "iii CONSOLE", sub: ":3114 · ENGINE DASHBOARD" },+ { id: "state", label: "STATE", sub: "RAW KV BROWSER + JSON EDITOR" },+ { id: "traces", label: "TRACES", sub: "OTEL WATERFALL + FLAME" },+];++const PANELS: Record<+ Tab,+ {+ title: string;+ blurb: string;+ bullets: string[];+ img: string;+ alt: string;+ launch: string;+ }+> = {+ viewer: {+ title: "SHIP-WITH VIEWER · PORT 3113",+ blurb:+ "The agentmemory server auto-starts a real-time viewer on port 3113. No install, no config. Everything the server sees, the viewer shows.",+ bullets: [+ "LIVE OBSERVATION STREAM · EVERY HOOK AS IT FIRES",+ "SESSION EXPLORER · REPLAY ANY PAST SESSION",+ "MEMORY BROWSER · FILTER BY PROJECT / TYPE / CONFIDENCE",+ "KNOWLEDGE GRAPH VISUALIZATION · FORCE-DIRECTED",+ "HEALTH DASHBOARD · HEAP / RSS / EVENT LOOP LAG",+ ],+ img: "/demo.gif",+ alt: "agentmemory viewer live demo",+ launch: "open http://localhost:3113",+ },+ console: {+ title: "iii CONSOLE · OPTIONAL",+ blurb:+ "agentmemory runs on the iii engine, so the official iii console gives you a deeper cut when you need it. Launch on :3114 so the viewer keeps :3113.",+ bullets: [+ "33 REGISTERED FUNCTIONS · INVOKE ANY DIRECTLY WITH JSON",+ "49 HTTP TRIGGERS · REPLAY REST ENDPOINTS",+ "WEBSOCKET STREAM MONITOR · WATCH FRAMES LIVE",+ "OTEL EXPORTER = MEMORY (DEFAULT) · TRACES STAY LOCAL",+ "NO AUTH · BIND TO 127.0.0.1 ONLY",+ ],+ img: "/dashboard.png",+ alt: "iii console dashboard",+ launch: "iii-console --port 3114 --engine-port 3111",+ },+ state: {+ title: "RAW KV BROWSER",+ blurb:+ "Three-panel view of the key/value store behind every memory, session, retention score, audit row, and access log. Edit JSON in place.",+ bullets: [+ "SCOPED NAMESPACES · mem:memories / mem:sessions / mem:retention",+ "JSON-NATIVE EDIT · NO MIGRATIONS",+ "AUDIT ROW PER CHANGE · FORENSIC TRAIL",+ "BACKED BY iii STATE ADAPTERS · IN-MEMORY OR FILE-BASED",+ ],+ img: "/states.png",+ alt: "iii console state browser",+ launch: "open http://localhost:3114/states",+ },+ traces: {+ title: "OPENTELEMETRY OUT OF THE BOX",+ blurb:+ "iii-observability ships with exporter: memory, sampling_ratio: 1.0. Every memory operation emits a trace span + structured log. Swap to OTLP for Jaeger / Honeycomb / Tempo.",+ bullets: [+ "WATERFALL · FLAME · SERVICE BREAKDOWN · TRACE MAP",+ "FILTER BY TRACE ID · SERVICE · DURATION",+ "MEMORY SEARCH SPAN TREE · BM25 → VECTOR → GRAPH → RERANK",+ "SWAP EXPORTER TO OTLP FOR PROD TELEMETRY",+ ],+ img: "/traces-waterfall.png",+ alt: "iii console traces waterfall",+ launch: "open http://localhost:3114/traces",+ },+};++export function CommandCenter() {+ const [tab, setTab] = useState<Tab>("viewer");+ const panel = PANELS[tab];++ return (+ <section+ className={styles.wrap}+ id="command-center"+ aria-labelledby="cc-title"+ >+ <header className="section-head">+ <span className="section-eyebrow">COMMAND CENTER</span>+ <h2 id="cc-title" className="section-title">+ TWO UIs.<br />ONE MEMORY RUNTIME.+ </h2>+ <p className="section-lede">+ AGENTMEMORY SHIPS A REAL-TIME VIEWER FOR YOUR MEMORIES AND AN+ ENGINE-LEVEL CONSOLE FOR WHEN YOU WANT TO SEE EVERY FUNCTION, TRIGGER,+ AND OTEL SPAN.+ </p>+ </header>+ <div className={styles.tabs} role="tablist" aria-label="Command center">+ {TABS.map((t) => (+ <button+ key={t.id}+ role="tab"+ aria-selected={tab === t.id}+ className={`${styles.tab} ${tab === t.id ? styles.tabActive : ""}`}+ onClick={() => setTab(t.id)}+ >+ <span className={styles.tabLabel}>{t.label}</span>+ <span className={styles.tabSub}>{t.sub}</span>+ </button>+ ))}+ </div>+ <div className={styles.panel}>+ <div className={styles.panelText}>+ <h3 className={styles.panelTitle}>{panel.title}</h3>+ <p className={styles.panelBlurb}>{panel.blurb}</p>+ <ul className={styles.panelBullets}>+ {panel.bullets.map((b) => (+ <li key={b}>+ <span aria-hidden>›</span>+ {b}+ </li>+ ))}+ </ul>+ <pre className={styles.launch}>+ <code>+ <span className={styles.launchPrompt}>$</span> {panel.launch}+ </code>+ </pre>+ </div>+ <div className={styles.panelFrame}>+ <div className={styles.frameChrome}>+ <span className={`${styles.dot} ${styles.red}`} />+ <span className={`${styles.dot} ${styles.yellow}`} />+ <span className={`${styles.dot} ${styles.green}`} />+ <span className={styles.frameTitle}>{panel.title}</span>+ </div>+ <div className={styles.frameShot}>+ <Image+ src={panel.img}+ alt={panel.alt}+ width={1600}+ height={1000}+ unoptimized={panel.img.endsWith(".gif")}+ priority={false}+ style={{ width: "100%", height: "auto", display: "block" }}+ />+ </div>+ </div>+ </div>+ </section>+ );+}diff --git a/website/components/Compare.tsx b/website/components/Compare.tsxindex ec19ce74..2a4dc0ab 100644--- a/website/components/Compare.tsx+++ b/website/components/Compare.tsx@@ -10,7 +10,7 @@ const ROWS = [export function Compare() {return (- <section className={styles.compare} aria-labelledby="cmp-title">+ <section className={styles.compare} id="compare" aria-labelledby="cmp-title"><header className="section-head"><span className="section-eyebrow">VS.</span><h2 id="cmp-title" className="section-title">diff --git a/website/components/Features.module.css b/website/components/Features.module.cssnew file mode 100644index 00000000..d1306f6e--- /dev/null+++ b/website/components/Features.module.css@@ -0,0 +1,67 @@+.wrap {+ padding: 96px 0;+}+.grid {+ max-width: 1440px;+ margin: 0 auto;+ padding: 0 40px;+ list-style: none;+ display: grid;+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));+ gap: 1px;+ background: var(--charcoal);+ border: 1px solid var(--charcoal);+}+.tile {+ background: var(--abyss);+ padding: 32px 28px;+ transition:+ background 200ms ease,+ transform 200ms ease;+ min-height: 260px;+}+.tile:hover {+ background: var(--iron);+ transform: translateY(-2px);+}+.kPill {+ display: inline-flex;+ align-items: baseline;+ gap: 8px;+ padding: 6px 10px;+ border: 1px solid var(--gold);+ margin-bottom: 20px;+}+.k {+ font-size: 16px;+ font-weight: 900;+ color: var(--gold);+ letter-spacing: -0.01em;+}+.unit {+ font-size: 10px;+ letter-spacing: 0.96px;+ color: var(--gold-soft);+ text-transform: uppercase;+}+.tileTitle {+ margin: 0 0 12px;+ font-size: 20px;+ font-weight: 900;+ letter-spacing: -0.01em;+ text-transform: uppercase;+ color: var(--white);+}+.tileText {+ margin: 0;+ font-size: 13px;+ color: var(--steel);+ letter-spacing: 0.12px;+ line-height: 1.6;+ text-transform: none;+}+@media (max-width: 640px) {+ .grid {+ padding: 0 20px;+ }+}diff --git a/website/components/Features.tsx b/website/components/Features.tsxnew file mode 100644index 00000000..4bec72dd--- /dev/null+++ b/website/components/Features.tsx@@ -0,0 +1,117 @@+import styles from "./Features.module.css";++const FEATURES = [+ {+ k: "12",+ unit: "AUTO-HOOKS",+ title: "CAPTURE EVERYTHING",+ text:+ "Every PreToolUse, PostToolUse, SessionStart, Stop, and ten more fire into the memory pipeline without a line of glue code. Install the plugin, done.",+ },+ {+ k: "44",+ unit: "MCP TOOLS",+ title: "NATIVE MCP SURFACE",+ text:+ "memory_save, memory_recall, memory_smart_search, memory_sessions, governance, audit, export — full surface behind a single MCP server.",+ },+ {+ k: "49",+ unit: "REST ENDPOINTS",+ title: "HTTP FIRST",+ text:+ "Every MCP tool has a REST twin under /agentmemory/*. Curl it. Fetch it from the browser. Proxy it from your own agent.",+ },+ {+ k: "BM25",+ unit: "+ VECTOR + GRAPH",+ title: "TRIPLE-STREAM RECALL",+ text:+ "Hybrid retrieval pipes lexical, semantic, and relational scores through an on-device reranker. 95.2% R@5 on LongMemEval-S.",+ },+ {+ k: "AUTO",+ unit: "CONSOLIDATION",+ title: "RAW → SEMANTIC",+ text:+ "Hourly sweep compresses observations into semantic memories, merges duplicates, decays stale rows with retention scoring, and emits a batched audit row.",+ },+ {+ k: "∞",+ unit: "REPLAY",+ title: "JSONL SESSION IMPORT",+ text:+ "Point agentmemory at a Claude Code JSONL transcript and it rehydrates the full session — observations, tool uses, timeline — into the store.",+ },+ {+ k: "GRAPH",+ unit: "EXTRACTION",+ title: "KNOWLEDGE GRAPH",+ text:+ "Entities and relations extracted on compress. Query with /agentmemory/graph. Visualize in the viewer. Temporal edges supported.",+ },+ {+ k: "MESH",+ unit: "FEDERATION",+ title: "PEER-TO-PEER SYNC",+ text:+ "Register another agentmemory node, push / pull memories over authenticated HTTPS. Bearer-token required; no silent syncs.",+ },+ {+ k: "MD",+ unit: "OBSIDIAN EXPORT",+ title: "YOUR NOTES, HYDRATED",+ text:+ "Mirror memories to a sandboxed vault directory. Frontmatter-tagged markdown, ready for Obsidian's graph view.",+ },+ {+ k: "5",+ unit: "LLM PROVIDERS",+ title: "BYO MODEL",+ text:+ "Claude subscription (default, zero config), Anthropic API, Gemini, MiniMax, OpenRouter. Detected from env.",+ },+ {+ k: "OTEL",+ unit: "OBSERVABILITY",+ title: "TRACES + LOGS",+ text:+ "iii-observability worker on by default. Exporter: memory for local, OTLP for Jaeger / Honeycomb / Tempo. Every operation produces a span.",+ },+ {+ k: "0",+ unit: "EXTERNAL DBs",+ title: "ONE PROCESS",+ text:+ "Runs as a single Node process. No Redis, Kafka, Postgres, Qdrant, Neo4j. State lives on disk as JSON. That's the whole stack.",+ },+];++export function Features() {+ return (+ <section className={styles.wrap} id="features" aria-labelledby="feat-title">+ <header className="section-head">+ <span className="section-eyebrow">WHAT'S INSIDE</span>+ <h2 id="feat-title" className="section-title">+ TWELVE THINGS YOU DID NOT WANT TO BUILD.+ </h2>+ <p className="section-lede">+ AGENTMEMORY IS NOT A LIBRARY OR A VECTOR STORE. IT'S A COMPLETE MEMORY+ RUNTIME — CAPTURE, RECALL, CONSOLIDATE, OBSERVE, FEDERATE.+ </p>+ </header>+ <ul className={styles.grid}>+ {FEATURES.map((f) => (+ <li key={f.title} className={styles.tile}>+ <div className={styles.kPill}>+ <span className={styles.k}>{f.k}</span>+ <span className={styles.unit}>{f.unit}</span>+ </div>+ <h3 className={styles.tileTitle}>{f.title}</h3>+ <p className={styles.tileText}>{f.text}</p>+ </li>+ ))}+ </ul>+ </section>+ );+}diff --git a/website/components/Install.module.css b/website/components/Install.module.cssindex e8482a1e..bd314f95 100644--- a/website/components/Install.module.css+++ b/website/components/Install.module.css@@ -4,11 +4,22 @@border-top: 1px solid var(--charcoal);}.cards {- max-width: 900px;+ max-width: 1000px;margin: 0 auto 56px;padding: 0 40px;display: grid;- gap: 16px;+ gap: 28px;+}+.step {+ display: grid;+ gap: 10px;+}+.stepLabel {+ font-size: 11px;+ letter-spacing: 0.96px;+ color: var(--gold);+ text-transform: uppercase;+ font-weight: 700;}.box {display: grid;diff --git a/website/components/Install.tsx b/website/components/Install.tsxindex 590e27d5..2aec7520 100644--- a/website/components/Install.tsx+++ b/website/components/Install.tsx@@ -2,45 +2,57 @@import { useState } from "react";import styles from "./Install.module.css";+import { AgentInstall } from "./AgentInstall";-const CMDS = [+interface Cmd {+ label: string;+ cmd: string;+ hint: string;+}++const SIMPLE: Cmd[] = [{+ label: "1. START THE MEMORY SERVER",cmd: "npx @agentmemory/agentmemory",- hint: "CLICK TO COPY",+ hint: "RUNS ON :3111 · VIEWER ON :3113",},{- cmd: "curl -fsSL https://install.iii.dev/console/main/install.sh | sh",- hint: "CLICK TO COPY · OPTIONAL DEV CONSOLE",+ label: "2. OPEN THE LIVE VIEWER",+ cmd: "open http://localhost:3113",+ hint: "SESSIONS · MEMORIES · GRAPH · HEALTH",},];-function CopyBox({ cmd, hint }: { cmd: string; hint: string }) {+function CopyBox({ label, cmd, hint }: Cmd) {const [copied, setCopied] = useState(false);- const [label, setLabel] = useState(hint);+ const [text, setText] = useState(hint);const onClick = async () => {try {await navigator.clipboard.writeText(cmd);setCopied(true);- setLabel("COPIED");+ setText("COPIED");setTimeout(() => {setCopied(false);- setLabel(hint);+ setText(hint);}, 1600);} catch {- setLabel("CLIPBOARD BLOCKED");+ setText("CLIPBOARD BLOCKED");}};return (- <button- className={`${styles.box} ${copied ? styles.boxCopied : ""}`}- onClick={onClick}- >- <span className={styles.prompt}>$</span>- <span className={styles.cmd}>{cmd}</span>- <span className={styles.hint}>{label}</span>- </button>+ <div className={styles.step}>+ <div className={styles.stepLabel}>{label}</div>+ <button+ className={`${styles.box} ${copied ? styles.boxCopied : ""}`}+ onClick={onClick}+ >+ <span className={styles.prompt}>$</span>+ <span className={styles.cmd}>{cmd}</span>+ <span className={styles.hint}>{text}</span>+ </button>+ </div>);}@@ -50,17 +62,18 @@ export function Install() {<header className="section-head"><span className="section-eyebrow">SHIP IT</span><h2 id="install-title" className="section-title">- ONE COMMAND. ZERO CONFIG.+ THREE STEPS.<br />ANY AGENT.</h2><p className="section-lede">- RUNS ON YOUR MACHINE. YOUR DATA STAYS LOCAL. BRING YOUR OWN CLAUDE- SUBSCRIPTION OR API KEY.+ RUNS ON YOUR MACHINE. DATA STAYS LOCAL. BRING YOUR CLAUDE SUBSCRIPTION+ — OR POINT IT AT ANTHROPIC, GEMINI, MINIMAX, OR OPENROUTER.</p></header><div className={styles.cards}>- {CMDS.map((c) => (- <CopyBox key={c.cmd} cmd={c.cmd} hint={c.hint} />+ {SIMPLE.map((c) => (+ <CopyBox key={c.cmd} {...c} />))}+ <AgentInstall /></div><div className={styles.cta}><a@@ -79,6 +92,14 @@ export function Install() {>NPM PACKAGE</a>+ <a+ className="btn btn--ghost"+ href="https://github.com/rohitg00/agentmemory/tree/main/integrations"+ target="_blank"+ rel="noopener"+ >+ INTEGRATIONS+ </a></div></section>);diff --git a/website/components/MobileNavToggle.module.css b/website/components/MobileNavToggle.module.cssnew file mode 100644index 00000000..b165d262--- /dev/null+++ b/website/components/MobileNavToggle.module.css@@ -0,0 +1,97 @@+.hamburger {+ display: none;+ width: 40px;+ height: 40px;+ border: 1px solid var(--charcoal);+ align-items: center;+ justify-content: center;+ flex-direction: column;+ gap: 4px;+}+.bar {+ display: block;+ width: 18px;+ height: 2px;+ background: var(--white);+ transition:+ transform 220ms ease,+ opacity 220ms ease;+ transform-origin: center;+}+.bar1 {+ transform: translateY(6px) rotate(45deg) !important;+}+.bar2 {+ opacity: 0;+}+.bar3 {+ transform: translateY(-6px) rotate(-45deg) !important;+}++.sheet {+ position: fixed;+ inset: 0;+ background: rgba(0, 0, 0, 0.94);+ backdrop-filter: blur(8px);+ z-index: 95;+ opacity: 0;+ pointer-events: none;+ transition: opacity 200ms ease;+ display: flex;+ align-items: flex-start;+ justify-content: center;+ padding: 88px 20px 40px;+}+.sheetOpen {+ opacity: 1;+ pointer-events: auto;+}+.panel {+ width: 100%;+ max-width: 520px;+ padding-top: 24px;+}+.list {+ list-style: none;+ padding: 0;+ margin: 0;+}+.list li {+ border-bottom: 1px solid var(--charcoal);+}+.list a {+ display: block;+ padding: 18px 0;+ font-size: 26px;+ font-weight: 900;+ letter-spacing: -0.01em;+ text-transform: uppercase;+ transition: color 180ms ease, padding-left 180ms ease;+}+.list a:hover {+ color: var(--gold);+ padding-left: 8px;+}+.foot {+ margin-top: 24px;+ display: flex;+ flex-wrap: wrap;+ gap: 14px 20px;+ padding-top: 20px;+ border-top: 1px solid var(--charcoal);+}+.foot a {+ font-size: 12px;+ letter-spacing: 0.96px;+ color: var(--steel);+ text-transform: uppercase;+}+.foot a:hover {+ color: var(--gold);+}++@media (max-width: 720px) {+ .hamburger {+ display: inline-flex;+ }+}diff --git a/website/components/MobileNavToggle.tsx b/website/components/MobileNavToggle.tsxnew file mode 100644index 00000000..e7b54e6a--- /dev/null+++ b/website/components/MobileNavToggle.tsx@@ -0,0 +1,94 @@+"use client";++import { useEffect, useState } from "react";+import { formatCompact } from "@/lib/format";+import styles from "./MobileNavToggle.module.css";++interface Section {+ href: string;+ label: string;+}++export function MobileNavToggle({+ sections,+ stars,+}: {+ sections: Section[];+ stars: number;+}) {+ const [open, setOpen] = useState(false);++ useEffect(() => {+ if (!open) return;+ const onKey = (e: KeyboardEvent) => {+ if (e.key === "Escape") setOpen(false);+ };+ document.addEventListener("keydown", onKey);+ document.body.style.overflow = "hidden";+ return () => {+ document.removeEventListener("keydown", onKey);+ document.body.style.overflow = "";+ };+ }, [open]);++ return (+ <>+ <button+ className={styles.hamburger}+ aria-label={open ? "Close menu" : "Open menu"}+ aria-expanded={open}+ onClick={() => setOpen((v) => !v)}+ >+ <span className={`${styles.bar} ${open ? styles.bar1 : ""}`} />+ <span className={`${styles.bar} ${open ? styles.bar2 : ""}`} />+ <span className={`${styles.bar} ${open ? styles.bar3 : ""}`} />+ </button>++ <div+ className={`${styles.sheet} ${open ? styles.sheetOpen : ""}`}+ aria-hidden={!open}+ onClick={(e) => {+ if (e.target === e.currentTarget) setOpen(false);+ }}+ >+ <nav className={styles.panel} aria-label="Site navigation">+ <ul className={styles.list}>+ {sections.map((s) => (+ <li key={s.href}>+ <a href={s.href} onClick={() => setOpen(false)}>+ {s.label}+ </a>+ </li>+ ))}+ </ul>+ <div className={styles.foot}>+ <a+ href="https://github.com/rohitg00/agentmemory"+ target="_blank"+ rel="noopener"+ onClick={() => setOpen(false)}+ >+ GITHUB · {formatCompact(stars)}★+ </a>+ <a+ href="https://www.npmjs.com/package/@agentmemory/agentmemory"+ target="_blank"+ rel="noopener"+ onClick={() => setOpen(false)}+ >+ NPM+ </a>+ <a+ href="https://github.com/rohitg00/agentmemory/blob/main/CHANGELOG.md"+ target="_blank"+ rel="noopener"+ onClick={() => setOpen(false)}+ >+ CHANGELOG+ </a>+ </div>+ </nav>+ </div>+ </>+ );+}diff --git a/website/components/Nav.module.css b/website/components/Nav.module.cssindex 21293743..93c44e95 100644--- a/website/components/Nav.module.css+++ b/website/components/Nav.module.css@@ -2,74 +2,132 @@position: fixed;inset: 0 0 auto 0;display: grid;- grid-template-columns: 1fr auto 1fr;+ grid-template-columns: auto 1fr auto;align-items: center;- padding: 16px 40px;+ gap: 32px;+ padding: 14px 32px;z-index: 100;- background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));- pointer-events: none;-}-.nav > * {- pointer-events: auto;+ background: rgba(0, 0, 0, 0.85);+ backdrop-filter: blur(10px);+ border-bottom: 1px solid var(--charcoal);}-.menu {+.brand {display: inline-flex;align-items: center;- gap: 12px;- padding: 12px 0;+ gap: 10px;color: var(--white);}-.label {- font-size: 14px;- letter-spacing: 0.14px;+.brandIcon {+ width: 36px;+ height: 36px;+ display: block;+}+.brandWord {+ font-size: 17px;+ font-weight: 900;+ letter-spacing: -0.01em;text-transform: uppercase;}-.bar {- display: block;- width: 22px;- height: 2px;- background: var(--white);- transition: transform 200ms ease;++.links {+ display: flex;+ justify-content: center;+ gap: 28px;}-.bar + .bar {- margin-top: 5px;+.link {+ font-size: 12.5px;+ font-weight: 700;+ letter-spacing: 0.14px;+ text-transform: uppercase;+ color: var(--steel);+ padding: 6px 2px;+ border-bottom: 1px solid transparent;+ transition: color 180ms ease, border-color 180ms ease;}-.menu:hover .bar:first-child {- transform: translateX(-2px);+.link:hover {+ color: var(--white);+ border-bottom-color: var(--gold);}-.menu:hover .bar:last-child {- transform: translateX(2px);++.right {+ display: flex;+ align-items: center;+ gap: 10px;+ justify-self: end;}-.mark {- justify-self: center;+.gh {display: inline-flex;align-items: center;- transform-origin: center;- transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);+ gap: 8px;+ padding: 9px 14px;+ border: 1px solid var(--charcoal);+ background: var(--iron);+ color: var(--white);+ font-size: 12.5px;+ letter-spacing: 0.12px;+ transition:+ border-color 180ms ease,+ background 180ms ease,+ color 180ms ease;+}+.gh:hover {+ border-color: var(--gold);+ background: var(--charcoal);+ color: var(--white);+}+.ghLabel {+ font-weight: 700;+ letter-spacing: 0.96px;+ text-transform: uppercase;+ font-size: 11px;}-.mark:hover {- transform: rotate(60deg);+.ghDivider {+ width: 1px;+ height: 14px;+ background: var(--charcoal);+}+.ghCount {+ font-family: var(--font-mono);+ font-weight: 900;+ color: var(--white);}-.right {- justify-self: end;- display: flex;- align-items: center;- gap: 32px;+.cta {+ padding: 10px 18px !important;+ font-size: 12px !important;}-.link {- font-size: 14px;- letter-spacing: 0.14px;- text-transform: uppercase;++@media (max-width: 1024px) {+ .links {+ gap: 20px;+ }+ .link {+ font-size: 12px;+ }+ .ghLabel {+ display: none;+ }}-@media (max-width: 640px) {+@media (max-width: 860px) {+ .links {+ display: none;+ }.nav {- padding: 12px 20px;+ grid-template-columns: 1fr auto;}- .right {+}++@media (max-width: 720px) {+ .nav {+ padding: 12px 20px;gap: 16px;+ grid-template-columns: 1fr auto;+ }+ .cta,+ .gh {+ display: none;}}diff --git a/website/components/Nav.tsx b/website/components/Nav.tsxindex 43c18f4b..821935f2 100644--- a/website/components/Nav.tsx+++ b/website/components/Nav.tsx@@ -1,43 +1,70 @@+import Image from "next/image";+import { fetchRepoStats } from "@/lib/github";+import { formatCompact } from "@/lib/format";+import { MobileNavToggle } from "./MobileNavToggle";import styles from "./Nav.module.css";-export function Nav() {+const SECTIONS = [+ { href: "#primitives", label: "STACK" },+ { href: "#features", label: "FEATURES" },+ { href: "#command-center", label: "CONTROL" },+ { href: "#live", label: "DEMO" },+ { href: "#compare", label: "VS" },+ { href: "#install", label: "INSTALL" },+];++export async function Nav() {+ const stats = await fetchRepoStats();return (<header className={styles.nav}>- <button className={styles.menu} aria-label="Menu">- <span className={styles.bar} />- <span className={styles.bar} />- <span className={styles.bar} />- <span className={styles.label}>MENU</span>- </button>- <a href="#top" className={styles.mark} aria-label="agentmemory home">- <svg viewBox="0 0 120 120" width="44" height="44" aria-hidden>- <polygon- points="60,6 111,34 111,86 60,114 9,86 9,34"- fill="none"- stroke="#fff"- strokeWidth="2.5"- />- <polygon- points="60,28 90,44 90,76 60,92 30,76 30,44"- fill="none"- stroke="#FFC000"- strokeWidth="2.5"- />- <circle cx="60" cy="60" r="6" fill="#FFC000" />- </svg>+ <a href="#top" className={styles.brand} aria-label="agentmemory home">+ <Image+ src="/icon.svg"+ width={36}+ height={36}+ alt=""+ aria-hidden+ className={styles.brandIcon}+ />+ <span className={styles.brandWord}>AGENTMEMORY</span></a>++ <nav className={styles.links} aria-label="Sections">+ {SECTIONS.map((s) => (+ <a key={s.href} href={s.href} className={styles.link}>+ {s.label}+ </a>+ ))}+ </nav>+<div className={styles.right}>- <a href="#install" className={styles.link}>- INSTALL- </a><a+ className={styles.gh}href="https://github.com/rohitg00/agentmemory"target="_blank"rel="noopener"- className={styles.link}+ aria-label={`agentmemory on GitHub — ${stats.stars} stars`}>- GITHUB+ <svg viewBox="0 0 24 24" width="18" height="18" aria-hidden>+ <path+ fill="currentColor"+ d="M12 .5C5.648.5.5 5.648.5 12c0 5.087 3.292 9.397 7.862 10.921.575.108.782-.25.782-.555v-1.96c-3.197.695-3.873-1.544-3.873-1.544-.523-1.327-1.277-1.68-1.277-1.68-1.044-.713.08-.699.08-.699 1.154.08 1.76 1.184 1.76 1.184 1.025 1.757 2.688 1.25 3.344.956.104-.742.4-1.25.728-1.537-2.552-.29-5.235-1.276-5.235-5.675 0-1.254.448-2.279 1.182-3.083-.118-.291-.513-1.461.112-3.046 0 0 .965-.31 3.162 1.178a10.964 10.964 0 0 1 2.878-.387c.977.004 1.96.131 2.878.387 2.195-1.487 3.16-1.178 3.16-1.178.626 1.585.231 2.755.113 3.046.736.804 1.18 1.829 1.18 3.083 0 4.41-2.686 5.381-5.246 5.665.411.354.778 1.053.778 2.122v3.146c0 .307.205.668.787.555C20.213 21.394 23.5 17.086 23.5 12 23.5 5.648 18.352.5 12 .5Z"+ />+ </svg>+ <span className={styles.ghLabel}>GITHUB</span>+ <span className={styles.ghDivider} aria-hidden />+ <svg viewBox="0 0 24 24" width="14" height="14" aria-hidden>+ <path+ d="M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279L12 19.245l-7.416 4.168 1.48-8.279L0 9.306l8.332-1.151z"+ fill="#FFC000"+ />+ </svg>+ <span className={styles.ghCount}>{formatCompact(stats.stars)}</span>+ </a>+ <a href="#install" className={`${styles.cta} btn btn--accent`}>+ INSTALL</a>+ <MobileNavToggle sections={SECTIONS} stars={stats.stars} /></div></header>);diff --git a/website/components/Primitives.tsx b/website/components/Primitives.tsxindex 78c6e79c..d537cc13 100644--- a/website/components/Primitives.tsx+++ b/website/components/Primitives.tsx@@ -60,7 +60,7 @@ export function Primitives() {}, []);return (- <section className={styles.wrap} aria-labelledby="prim-title">+ <section className={styles.wrap} id="primitives" aria-labelledby="prim-title"><header className="section-head"><span className="section-eyebrow">THE STACK</span><h2 id="prim-title" className="section-title">diff --git a/website/lib/format.ts b/website/lib/format.tsnew file mode 100644index 00000000..5b149c0a--- /dev/null+++ b/website/lib/format.ts@@ -0,0 +1,5 @@+export function formatCompact(n: number): string {+ if (n >= 10_000) return `${(n / 1000).toFixed(1).replace(/\.0$/, "")}K`;+ if (n >= 1_000) return `${(n / 1000).toFixed(1)}K`;+ return n.toString();+}diff --git a/website/lib/github.ts b/website/lib/github.tsnew file mode 100644index 00000000..02def56e--- /dev/null+++ b/website/lib/github.ts@@ -0,0 +1,39 @@+import "server-only";++export interface RepoStats {+ stars: number;+ forks: number;+ issues: number;+}++const REPO = "rohitg00/agentmemory";++export async function fetchRepoStats(): Promise<RepoStats> {+ const fallback: RepoStats = { stars: 0, forks: 0, issues: 0 };+ try {+ const headers: Record<string, string> = {+ accept: "application/vnd.github+json",+ "user-agent": "agentmemory-website",+ };+ if (process.env.GITHUB_TOKEN) {+ headers.authorization = `Bearer ${process.env.GITHUB_TOKEN}`;+ }+ const res = await fetch(`https://api.github.com/repos/${REPO}`, {+ headers,+ next: { revalidate: 3600 },+ });+ if (!res.ok) return fallback;+ const data = (await res.json()) as {+ stargazers_count?: number;+ forks_count?: number;+ open_issues_count?: number;+ };+ return {+ stars: data.stargazers_count ?? 0,+ forks: data.forks_count ?? 0,+ issues: data.open_issues_count ?? 0,+ };+ } catch {+ return fallback;+ }+}diff --git a/website/next.config.ts b/website/next.config.tsindex cd967ebe..6c0ab391 100644--- a/website/next.config.ts+++ b/website/next.config.ts@@ -1,8 +1,27 @@import type { NextConfig } from "next";+import { fileURLToPath } from "node:url";+import { dirname } from "node:path";++const here = dirname(fileURLToPath(import.meta.url));const config: NextConfig = {reactStrictMode: true,poweredByHeader: false,+ turbopack: {+ root: here,+ },+ images: {+ dangerouslyAllowSVG: true,+ contentDispositionType: "attachment",+ contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",+ remotePatterns: [+ { protocol: "https", hostname: "github.com" },+ { protocol: "https", hostname: "avatars.githubusercontent.com" },+ { protocol: "https", hostname: "matthiasroder.com" },+ { protocol: "https", hostname: "exafunction.github.io" },+ { protocol: "https", hostname: "www.freelogovectors.net" },+ ],+ },};export default config;diff --git a/website/public/dashboard.png b/website/public/dashboard.pngnew file mode 100644index 00000000..dcdf047bBinary files /dev/null and b/website/public/dashboard.png differdiff --git a/website/public/demo.gif b/website/public/demo.gifnew file mode 100644index 00000000..272e367aBinary files /dev/null and b/website/public/demo.gif differdiff --git a/website/public/icon.svg b/website/public/icon.svgnew file mode 100644index 00000000..68b00c10--- /dev/null+++ b/website/public/icon.svg@@ -0,0 +1,35 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">+ <defs>+ <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">+ <stop offset="0%" stop-color="#FF6B35"/>+ <stop offset="100%" stop-color="#FF8F5E"/>+ </linearGradient>+ </defs>++ <rect width="64" height="64" rx="14" fill="#1A1A1A"/>++ <!-- 4 memory tiers -->+ <rect x="14" y="40" width="36" height="5" rx="2.5" fill="#333" opacity="0.5"/>+ <rect x="14" y="33" width="36" height="5" rx="2.5" fill="#444" opacity="0.6"/>+ <rect x="14" y="26" width="36" height="5" rx="2.5" fill="#555" opacity="0.7"/>+ <rect x="14" y="19" width="36" height="5" rx="2.5" fill="url(#g)"/>++ <!-- Active nodes on hot layer -->+ <circle cx="22" cy="21.5" r="1.8" fill="#fff"/>+ <circle cx="32" cy="21.5" r="1.8" fill="#fff"/>+ <circle cx="42" cy="21.5" r="1.8" fill="#fff"/>++ <!-- Retrieval lines converging up -->+ <line x1="22" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.7"/>+ <line x1="32" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.5"/>+ <line x1="42" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.7"/>++ <!-- Retrieval point -->+ <circle cx="32" cy="11" r="3" fill="url(#g)"/>+ <circle cx="32" cy="11" r="5" fill="none" stroke="#FF6B35" stroke-width="0.8" opacity="0.3"/>++ <!-- Fading dots on lower tiers -->+ <circle cx="25" cy="28.5" r="1" fill="#888" opacity="0.4"/>+ <circle cx="39" cy="28.5" r="1" fill="#888" opacity="0.4"/>+ <circle cx="32" cy="35.5" r="0.8" fill="#666" opacity="0.3"/>+</svg>diff --git a/website/public/logo.svg b/website/public/logo.svgnew file mode 100644index 00000000..237aafe9--- /dev/null+++ b/website/public/logo.svg@@ -0,0 +1,59 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" fill="none">+ <defs>+ <linearGradient id="glow" x1="0" y1="0" x2="1" y2="1">+ <stop offset="0%" stop-color="#FF6B35"/>+ <stop offset="100%" stop-color="#FF8F5E"/>+ </linearGradient>+ <linearGradient id="fade" x1="0" y1="0" x2="0" y2="1">+ <stop offset="0%" stop-color="#2A2A2A"/>+ <stop offset="100%" stop-color="#1A1A1A"/>+ </linearGradient>+ </defs>++ <!-- Background circle -->+ <circle cx="60" cy="60" r="56" fill="url(#fade)" stroke="#333" stroke-width="1.5"/>++ <!-- Memory layers (stacked rounded rects suggesting tiers) -->+ <rect x="30" y="68" width="60" height="8" rx="4" fill="#333" opacity="0.6"/>+ <rect x="30" y="56" width="60" height="8" rx="4" fill="#444" opacity="0.7"/>+ <rect x="30" y="44" width="60" height="8" rx="4" fill="#555" opacity="0.8"/>++ <!-- Active/hot memory layer -->+ <rect x="30" y="32" width="60" height="8" rx="4" fill="url(#glow)"/>++ <!-- Neural connection dots -->+ <circle cx="38" cy="36" r="2.5" fill="#fff" opacity="0.9"/>+ <circle cx="52" cy="36" r="2.5" fill="#fff" opacity="0.9"/>+ <circle cx="68" cy="36" r="2.5" fill="#fff" opacity="0.9"/>+ <circle cx="82" cy="36" r="2.5" fill="#fff" opacity="0.9"/>++ <!-- Connection lines from hot layer upward (recall/retrieval) -->+ <line x1="38" y1="33" x2="48" y2="22" stroke="#FF6B35" stroke-width="1.2" opacity="0.7"/>+ <line x1="52" y1="33" x2="55" y2="20" stroke="#FF6B35" stroke-width="1.2" opacity="0.5"/>+ <line x1="68" y1="33" x2="65" y2="20" stroke="#FF6B35" stroke-width="1.2" opacity="0.5"/>+ <line x1="82" y1="33" x2="72" y2="22" stroke="#FF6B35" stroke-width="1.2" opacity="0.7"/>++ <!-- Retrieval spark/node at top -->+ <circle cx="60" cy="18" r="4" fill="url(#glow)"/>+ <circle cx="60" cy="18" r="6" fill="none" stroke="#FF6B35" stroke-width="1" opacity="0.4"/>+ <circle cx="60" cy="18" r="9" fill="none" stroke="#FF6B35" stroke-width="0.5" opacity="0.2"/>++ <!-- Connecting arcs to spark -->+ <line x1="48" y1="22" x2="60" y2="18" stroke="#FF6B35" stroke-width="1" opacity="0.6"/>+ <line x1="72" y1="22" x2="60" y2="18" stroke="#FF6B35" stroke-width="1" opacity="0.6"/>+ <line x1="55" y1="20" x2="60" y2="18" stroke="#FF6B35" stroke-width="0.8" opacity="0.4"/>+ <line x1="65" y1="20" x2="60" y2="18" stroke="#FF6B35" stroke-width="0.8" opacity="0.4"/>++ <!-- Decay dots on lower layers (fading memories) -->+ <circle cx="42" cy="48" r="1.5" fill="#888" opacity="0.5"/>+ <circle cx="58" cy="48" r="1.5" fill="#888" opacity="0.5"/>+ <circle cx="74" cy="48" r="1.5" fill="#888" opacity="0.4"/>+ <circle cx="45" cy="60" r="1.2" fill="#666" opacity="0.3"/>+ <circle cx="65" cy="60" r="1.2" fill="#666" opacity="0.3"/>+ <circle cx="50" cy="72" r="1" fill="#555" opacity="0.2"/>+ <circle cx="70" cy="72" r="1" fill="#555" opacity="0.2"/>++ <!-- Bottom text area indicator -->+ <text x="60" y="92" text-anchor="middle" font-family="Inter, system-ui, sans-serif" font-size="7.5" font-weight="800" fill="#FF6B35" letter-spacing="0.15em">AGENT</text>+ <text x="60" y="101" text-anchor="middle" font-family="Inter, system-ui, sans-serif" font-size="7.5" font-weight="400" fill="#999" letter-spacing="0.15em">MEMORY</text>+</svg>diff --git a/website/public/states.png b/website/public/states.pngnew file mode 100644index 00000000..7a6f503dBinary files /dev/null and b/website/public/states.png differdiff --git a/website/public/traces-waterfall.png b/website/public/traces-waterfall.pngnew file mode 100644index 00000000..976c10ccBinary files /dev/null and b/website/public/traces-waterfall.png differ