AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
feat(landing): white-default, prompt-first hero with animated gradient halo
xerj-org2a4dbcde00b4
diff --git a/landing/case-studies/reference-coding.html b/landing/case-studies/reference-coding.htmlindex 785a25a69..66d5d9640 100644--- a/landing/case-studies/reference-coding.html+++ b/landing/case-studies/reference-coding.html@@ -4,7 +4,7 @@<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>XERJ.ai — Reference-coding: the same Claude Code, a fraction of the tokens</title>-<meta name="description" content="Paste one prompt and Claude Code stops re-deriving APIs it could look up. Measured across 13 purpose-built libraries in 5 languages: on code the model has not memorised, XERJ-retrieval makes the SAME model correct where memory fails (15/15 vs 1/15) at 1.5–2.7× fewer output tokens than native Claude Code. Every number verifiable; honest about where it doesn't help.">+<meta name="description" content="Paste one prompt and Claude Code stops re-deriving APIs it could look up. Measured across 13 purpose-built libraries in 5 languages: on code the model has not memorised, XERJ-retrieval makes the SAME model correct where memory fails (21/21 vs 1/21) at 1.5–2.7× fewer output tokens than native Claude Code. Every number verifiable; honest about where it doesn't help."><meta property="og:title" content="XERJ.ai — Reference-coding vs plain Claude Code"><meta property="og:description" content="One copy-paste prompt. 13 libraries, 5 languages, one hidden-test verdict, real tokens. Unfamiliar code: bare 1/21, XERJ-assisted 21/21 at 6.5× lower cost. Memorised code: honest overhead — and we say so."><link rel="preconnect" href="https://fonts.googleapis.com">diff --git a/landing/index.html b/landing/index.htmlindex 9fa4e4358..455080a7a 100644--- a/landing/index.html+++ b/landing/index.html@@ -1,5 +1,5 @@<!DOCTYPE html>-<html lang="en" data-theme="night">+<html lang="en" data-theme="day"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">@@ -13,7 +13,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">-<link rel="stylesheet" href="/style.css?v=if2">+<link rel="stylesheet" href="/style.css?v=if3"></head><body>@@ -33,72 +33,57 @@<a href="/playground.html">DASHBOARDS</a><a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a><span class="theme">- <button type="button" data-theme="day">DAY</button>+ <button type="button" data-theme="day" class="active">DAY</button><span class="dash">·</span>- <button type="button" data-theme="night" class="active">NIGHT</button>+ <button type="button" data-theme="night">NIGHT</button></span></nav>-<!-- HERO ---------------------------------------------------->-<section class="scene-section section-split hero-split">- <div class="split-copy">- <div class="kicker">- <span class="accent">XERJ.AI</span><span class="dash">·</span>- <span>THE AI-NATIVE SEARCH ENGINE</span><span class="dash">·</span>- <span>2026</span>- </div>+<!-- HERO — one job: the prompt ----------------------------->+<section class="hero-center">+ <div class="kicker hero-kicker">+ <span class="accent">XERJ</span><span class="dash">·</span>+ <span>THE AI-NATIVE SEARCH ENGINE</span><span class="dash">·</span>+ <span>APACHE-2.0</span>+ </div>- <h1 class="hero"><span class="accent">XERJ.</span><br>STOP RE-DERIVING.<br>START LOOKING UP.</h1>-- <div class="hero-install">- <div class="hero-install-agent" style="margin-top:0;">- <span class="hero-install-label">PASTE THIS TO YOUR AI AGENT · THE WHOLE SETUP</span>- <div class="hero-install-cmd agent-prompt">- <code>Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.</code>- <button type="button" class="hero-install-copy" data-copy="Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.">COPY</button>- </div>- <p class="hero-install-agent-line">One prompt is enough — llms.txt gives your agent- the ordered steps: install, start the server, <code>xerj autoindex .</code>,- query with any Elasticsearch client, and the reference-coding loop.- Measured: <strong>2.7× fewer output tokens</strong> than grep-driven Claude Code,- <strong>26× fewer</strong> than memory alone —- <a href="/case-studies/reference-coding.html">the case study</a>. Users report- <strong>~5×</strong> across real product development —- <a href="https://github.com/xerj-org/xerj/blob/main/user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md">field reports</a>.</p>- </div>- <div class="hero-install-label" style="margin-top:var(--sp-3);">OR INSTALL BY HAND · ONE COMMAND · SHA-256 CHECKSUMS</div>- <div class="hero-install-cmd">- <code>curl -fsSL https://xerj.org/get | sh</code>- <button type="button" class="hero-install-copy" data-copy="curl -fsSL https://xerj.org/get | sh">COPY</button>- </div>- <div class="hero-install-alt">- <span class="mono">WINDOWS · <code>irm https://xerj.org/get.ps1 | iex</code></span>- <button type="button" class="hero-install-copy" data-copy="irm https://xerj.org/get.ps1 | iex">COPY</button>- </div>- </div>+ <h1 class="hero">STOP RE-DERIVING.<br><span class="accent">START LOOKING UP.</span></h1>++ <p class="hero-sub">Any folder — code, docs, logs, PDFs — becomes a search engine+ your AI agent queries instead of reading files into context. One Rust binary,+ Elasticsearch wire, zero config.</p>- <p class="lead">- The AI-native search engine — connect it, run- <code class="inline">xerj autoindex</code>, and it works: any folder- becomes typed, queryable indices — <strong>zero configuration</strong>.- Give agents <strong>reference coding</strong>, <strong>long-term- memory</strong>, <strong>semantic search & RAG</strong>,- <strong>hybrid</strong> BM25 + vector retrieval,- <strong>auto-embedding</strong> on ingest, and <strong>anomaly- detection</strong> — no bolt-on vector database, no glue code. One binary- that speaks the Elasticsearch wire protocol, released under- <strong>Apache‑2.0</strong>: no lock-in, no SSPL, no per-feature- gates. Yours to run, fork, and build on.- </p>+ <div class="prompt-stage">+ <div class="prompt-card">+ <span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>+ <code>Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.</code>+ <button type="button" class="prompt-copy" data-copy="Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.">COPY THE PROMPT</button>+ </div></div>- <div class="split-viz hero-demo">+ <p class="hero-proof">Measured on code the model hadn't seen:+ <strong>2.7× fewer output tokens</strong> than grep-driven Claude Code on the+ 8-task cross-language benchmark · <strong>21/21 solved vs 1/21 from memory</strong>+ on the seven domains whose contract the model can't recall —+ <a href="/case-studies/reference-coding.html">the case study</a>.+ Users report <strong>~5×</strong> in real development —+ <a href="https://github.com/xerj-org/xerj/blob/main/user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md">field reports</a>.</p>++ <p class="hero-alt-install">No agent handy?+ <code>curl -fsSL https://xerj.org/get | sh</code>+ <button type="button" class="hero-install-copy" data-copy="curl -fsSL https://xerj.org/get | sh">COPY</button>+ <span class="dash">·</span> Windows:+ <code>irm https://xerj.org/get.ps1 | iex</code>+ <button type="button" class="hero-install-copy" data-copy="irm https://xerj.org/get.ps1 | iex">COPY</button>+ </p>++ <div class="hero-demo hero-demo-center"><div class="hero-demo-stage" data-demo><video preload="metadata" playsinline src="/xerj-biz-demo.mp4"></video><button class="hero-demo-play" type="button" aria-label="Play the XERJ demo"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg></button>- <span class="hero-demo-label mono">XERJ · LIVE DEMO</span>+ <span class="hero-demo-label mono">XERJ · LIVE DEMO · NO CUTS</span></div></div></section>@@ -393,8 +378,9 @@ $ curl -sXPOST localhost:9200/_memory/agent-demo/_recall \btn.addEventListener('click', () => {const text = btn.getAttribute('data-copy');const done = () => {+ const orig = btn.textContent;btn.textContent = 'COPIED';- setTimeout(() => { btn.textContent = 'COPY'; }, 1400);+ setTimeout(() => { btn.textContent = orig; }, 1400);};if (navigator.clipboard && navigator.clipboard.writeText) {navigator.clipboard.writeText(text).then(done, done);diff --git a/landing/style.css b/landing/style.cssindex 7a02bdcae..7bd11e112 100644--- a/landing/style.css+++ b/landing/style.css@@ -51,9 +51,11 @@ html[data-theme='day'] {--z-faint: #e3dfd4;--z-line: #cfcbbf;/* Day accent — darker ochre in the same yellow family.- #ffc400 on cream is 1.7:1 (unreadable). #a06800 is 5.7:1 (AA body).+ #ffc400 on cream is 1.7:1 (unreadable). #a06800 measured 4.27:1 on+ cream — the old comment claiming 5.7:1 was miscalculated and failed+ AA once day became the default. #7f5200 is 6.14:1 (AA body, AAA large).Still reads as "XERJ yellow", just at a different luminance. */- --z-accent: #a06800;+ --z-accent: #7f5200;--z-cmp: #6f8aa8;}@@ -2532,3 +2534,132 @@ svg.chart.is-interactive .ser:focus-visible {.chart-chip { font-size: 10px; padding: 3px 7px; gap: 6px; }}++/* ---------- hero-center: the prompt is the page (2026-08-11) ----------+ One job above the fold: copy the agent prompt. Everything else is+ secondary. The animated gradient halo is the only moving thing on the+ page, and it stops under prefers-reduced-motion. */+.hero-center {+ text-align: center;+ /* horizontal gutter is var(--sp-6), NOT --page-x: body already pads+ --page-x, and doubling it starved the h1 at laptop widths. */+ padding: var(--sp-16) var(--sp-6) var(--sp-12);+ max-width: var(--max-w);+ margin: 0 auto;+}+.hero-kicker { justify-content: center; }+.hero-center .hero {+ margin: var(--sp-6) auto var(--sp-4);+ /* The split-hero clamp died with .hero-split; without one the h1 is a+ fixed 160px from 961px up — measured 1071px wide at 1024px viewports,+ wrapping to four ragged lines and pushing the prompt below the fold. */+ font-size: clamp(44px, 8vw, 140px);+}+.hero-sub {+ font-family: var(--font-prose);+ font-size: clamp(var(--fs-16), 1.6vw, var(--fs-20));+ line-height: 1.55;+ color: var(--z-mute);+ max-width: 720px;+ margin: 0 auto;+}+.prompt-stage {+ position: relative;+ max-width: 880px;+ margin: var(--sp-10) auto var(--sp-6);+}+.prompt-stage::before {+ content: '';+ position: absolute;+ inset: -26px;+ border-radius: 28px;+ background: linear-gradient(115deg,+ #ffc400, #ff8a2a, #ff3d81, #8a5cff, #21c6ff, #ffc400);+ background-size: 320% 320%;+ filter: blur(44px);+ opacity: 0.45;+ animation: prompt-glow 9s ease-in-out infinite;+ /* -1: without it the ::before joins the root stacking context and+ washes over .hero-sub/.hero-proof text at its blurred edges. */+ z-index: -1;+ pointer-events: none;+}+html[data-theme='night'] .prompt-stage::before { opacity: 0.32; }+@keyframes prompt-glow {+ 0% { background-position: 0% 50%; }+ 50% { background-position: 100% 50%; }+ 100% { background-position: 0% 50%; }+}+@media (prefers-reduced-motion: reduce) {+ .prompt-stage::before { animation: none; }+}+.prompt-card {+ position: relative;+ z-index: 1;+ display: flex;+ flex-direction: column;+ gap: var(--sp-3);+ text-align: left;+ background: var(--z-bg);+ border: 1px solid var(--z-line);+ border-radius: 14px;+ padding: var(--sp-6) var(--sp-6) var(--sp-4);+ box-shadow: 0 8px 40px rgba(0,0,0,0.10);+}+.prompt-label {+ font-family: var(--font-data);+ font-size: var(--fs-11);+ font-weight: 600;+ letter-spacing: var(--track-ui);+ text-transform: uppercase;+ color: var(--z-accent);+}+.prompt-card code {+ font-family: var(--font-mono);+ font-size: clamp(var(--fs-13), 1.25vw, 17px);+ line-height: 1.6;+ color: var(--z-ink);+ user-select: all;+}+.prompt-copy {+ align-self: flex-end;+ font-family: var(--font-data);+ font-size: var(--fs-13);+ font-weight: 700;+ letter-spacing: var(--track-ui);+ color: var(--z-bg);+ background: var(--z-accent);+ border: 1px solid var(--z-accent);+ border-radius: 8px;+ padding: 10px 22px;+ cursor: pointer;+}+.prompt-copy:hover, .prompt-copy:focus-visible {+ background: var(--z-ink);+ border-color: var(--z-ink);+ color: var(--z-bg);+}+.hero-proof {+ font-family: var(--font-prose);+ font-size: var(--fs-13);+ line-height: 1.7;+ color: var(--z-mute);+ max-width: 760px;+ margin: 0 auto;+}+.hero-alt-install {+ font-family: var(--font-mono);+ font-size: var(--fs-13);+ color: var(--z-mute);+ margin: var(--sp-4) auto 0;+}+.hero-alt-install code { color: var(--z-ink); }+.hero-demo-center {+ max-width: 880px;+ margin: var(--sp-10) auto 0;+}+@media (max-width: 720px) {+ .hero-center { padding-left: var(--sp-4); padding-right: var(--sp-4); }+ .prompt-stage::before { inset: -14px; filter: blur(28px); }+ .prompt-copy { align-self: stretch; text-align: center; }+}