Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/xspace-agent/public/landing.html.bak

oversteppingb1f60d3b82ce
diff --git a/xspace-agent/xspace-agent/public/landing.html.bak b/xspace-agent/xspace-agent/public/landing.html.bak
new file mode 100644
index 000000000..9906c10df
--- /dev/null
+++ b/xspace-agent/xspace-agent/public/landing.html.bak
@@ -0,0 +1,1065 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>xspace-agent — AI Agents That Talk in X Spaces</title>
+ <meta name="description" content="Open-source TypeScript SDK for AI agents that autonomously join, listen, and speak in X (Twitter) Spaces. Multi-LLM, real-time voice, multi-agent coordination.">
+ <meta name="theme-color" content="#0a0a0a">
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml">
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
+ <style>
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
+
+ :root {
+ --bg: #0a0a0a;
+ --bg-elevated: #111111;
+ --bg-card: #141414;
+ --border: rgba(255,255,255,0.08);
+ --border-hover: rgba(255,255,255,0.15);
+ --text: #f5f0e8;
+ --text-muted: #a8a29e;
+ --text-dim: #6b6560;
+ --accent-cream: #f5f0e8;
+ --accent-orange: #e87b35;
+ --accent-indigo: #6366f1;
+ --accent-green: #22c55e;
+ --radius: 12px;
+ --radius-lg: 20px;
+ --radius-xl: 28px;
+ }
+
+ html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
+
+ body {
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ background: var(--bg);
+ color: var(--text);
+ overflow-x: hidden;
+ line-height: 1.6;
+ }
+
+ code, .mono { font-family: 'JetBrains Mono', monospace; }
+
+ /* ── Grid Background ─────────────────── */
+ .grid-bg {
+ position: fixed;
+ inset: 0;
+ background-image:
+ linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
+ background-size: 80px 80px;
+ pointer-events: none;
+ z-index: 0;
+ }
+
+ .particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
+ .particle {
+ position: absolute;
+ width: 3px; height: 3px;
+ background: rgba(232, 220, 200, 0.12);
+ border-radius: 50%;
+ animation: float-p linear infinite;
+ }
+ @keyframes float-p {
+ 0% { transform: translateY(100vh) translateX(0); opacity: 0; }
+ 10% { opacity: 1; }
+ 90% { opacity: 1; }
+ 100% { transform: translateY(-10vh) translateX(20px); opacity: 0; }
+ }
+
+ .glow-top {
+ position: absolute;
+ top: -200px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 900px;
+ height: 500px;
+ background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
+ pointer-events: none;
+ }
+
+ /* ── Layout ─────────────────────────── */
+ .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
+ section { position: relative; z-index: 1; }
+
+ /* ── Navbar ─────────────────────────── */
+ .navbar {
+ position: fixed; top: 0; left: 0; right: 0; z-index: 100;
+ padding: 16px 0;
+ transition: background 0.3s, backdrop-filter 0.3s;
+ }
+ .navbar.scrolled {
+ background: rgba(10,10,10,0.85);
+ backdrop-filter: blur(20px);
+ border-bottom: 1px solid var(--border);
+ }
+ .navbar .container { display: flex; align-items: center; justify-content: space-between; }
+ .nav-logo {
+ display: flex; align-items: center; gap: 10px;
+ text-decoration: none; color: var(--text);
+ font-weight: 700; font-size: 1.15rem;
+ }
+ .nav-logo svg { width: 32px; height: 32px; }
+ .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
+ .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
+ .nav-links a:hover { color: var(--text); }
+ .nav-actions { display: flex; align-items: center; gap: 12px; }
+
+ .btn {
+ display: inline-flex; align-items: center; gap: 8px;
+ padding: 10px 22px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
+ text-decoration: none; cursor: pointer; border: none; transition: all 0.25s; font-family: inherit;
+ }
+ .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
+ .btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--border-hover); }
+ .btn-primary { background: var(--accent-cream); color: #0a0a0a; }
+ .btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,240,232,0.2); }
+ .btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
+ .btn-outline:hover { background: rgba(255,255,255,0.05); }
+
+ /* ── Hero ───────────────────────────── */
+ .hero { padding: 180px 0 80px; text-align: center; position: relative; }
+ .hero-badge {
+ display: inline-flex; align-items: center; gap: 10px;
+ padding: 8px 20px 8px 8px;
+ background: rgba(255,255,255,0.05); border: 1px solid var(--border);
+ border-radius: 999px; margin-bottom: 32px; font-size: 0.85rem; color: var(--text-muted);
+ }
+ .hero-badge-icon {
+ width: 28px; height: 28px; border-radius: 50%;
+ background: linear-gradient(135deg, var(--accent-indigo), #4f46e5);
+ display: flex; align-items: center; justify-content: center;
+ }
+ .hero-badge-icon svg { width: 14px; height: 14px; }
+
+ .hero h1 {
+ font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.05;
+ letter-spacing: -0.03em; color: var(--accent-cream); margin-bottom: 24px;
+ }
+ .hero p {
+ font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 40px; line-height: 1.7;
+ }
+ .hero-cta { display: flex; justify-content: center; gap: 16px; margin-bottom: 80px; }
+
+ /* ── Mockup ─────────────────────────── */
+ .mockup-wrapper { position: relative; max-width: 1000px; margin: 0 auto; }
+ .mockup {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
+ }
+ .mockup-bar {
+ display: flex; align-items: center; gap: 8px; padding: 14px 20px;
+ border-bottom: 1px solid var(--border);
+ }
+ .mockup-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.08); }
+ .mockup-tabs { display: flex; gap: 4px; margin-left: 24px; }
+ .mockup-tab {
+ padding: 6px 16px; border-radius: 8px; font-size: 0.8rem; color: var(--text-muted);
+ display: flex; align-items: center; gap: 6px;
+ }
+ .mockup-tab.active { background: rgba(255,255,255,0.06); color: var(--text); }
+ .mockup-body { padding: 32px; }
+
+ /* ── Hero terminal mockup ───────────── */
+ .terminal-lines { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; line-height: 2; }
+ .terminal-lines .prompt { color: var(--accent-green); }
+ .terminal-lines .cmd { color: var(--text); }
+ .terminal-lines .flag { color: var(--accent-indigo); }
+ .terminal-lines .string { color: var(--accent-orange); }
+ .terminal-lines .comment { color: var(--text-dim); }
+ .terminal-lines .output { color: var(--text-muted); }
+ .terminal-cursor {
+ display: inline-block; width: 8px; height: 16px; background: var(--accent-cream);
+ animation: blink 1s step-end infinite; vertical-align: text-bottom; margin-left: 2px;
+ }
+ @keyframes blink { 50% { opacity: 0; } }
+
+ .float-card {
+ position: absolute; background: var(--bg-card); border: 1px solid var(--border);
+ border-radius: var(--radius); padding: 16px 20px;
+ box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 2;
+ }
+ .float-card h4 { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
+ .float-card .stat { font-size: 1.5rem; font-weight: 700; color: var(--text); }
+ .float-card .stat sup { font-size: 0.8rem; color: var(--accent-orange); }
+
+ .state-flow {
+ display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap;
+ }
+ .state-node {
+ padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; font-weight: 600;
+ background: rgba(99,102,241,0.1); color: #818cf8; border: 1px solid rgba(99,102,241,0.2);
+ }
+ .state-node.active { background: rgba(34,197,94,0.15); color: #4ade80; border-color: rgba(34,197,94,0.3); }
+ .state-arrow { color: var(--text-dim); font-size: 0.7rem; }
+
+ /* ── Logo Bar ──────────────────────── */
+ .logo-bar { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
+ .logo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
+ .logo-bar-item { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; text-transform: uppercase; }
+
+ /* ── Description ───────────────────── */
+ .desc-block { padding: 100px 0; text-align: center; }
+ .desc-block p {
+ font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.5; color: var(--text-muted);
+ max-width: 900px; margin: 0 auto; font-weight: 400;
+ }
+ .desc-block p strong { color: var(--accent-cream); font-weight: 600; }
+
+ /* ── Feature Sections ──────────────── */
+ .feature-section { padding: 120px 0; }
+ .feature-section .section-header { text-align: center; margin-bottom: 64px; }
+ .feature-section h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ letter-spacing: -0.02em; margin-bottom: 20px;
+ }
+ .feature-section .section-desc {
+ font-size: 1.05rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; line-height: 1.7;
+ }
+ .feature-mockup {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
+ overflow: hidden; max-width: 1000px; margin: 0 auto;
+ box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5); position: relative;
+ }
+
+ /* Feature 1: Browser Automation */
+ .automation-layout { padding: 32px; }
+ .automation-steps {
+ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px;
+ }
+ .auto-step {
+ background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px;
+ padding: 20px; text-align: center; transition: border-color 0.3s;
+ }
+ .auto-step:hover { border-color: var(--border-hover); }
+ .auto-step-num {
+ width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 12px;
+ display: flex; align-items: center; justify-content: center;
+ font-size: 0.8rem; font-weight: 700;
+ }
+ .auto-step h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
+ .auto-step p { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; }
+ .auto-step-connector {
+ display: flex; align-items: center; justify-content: center; gap: 4px;
+ padding: 12px; font-size: 0.75rem; color: var(--text-dim);
+ }
+ .fsm-bar {
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ padding: 16px 24px; display: flex; align-items: center; gap: 12px; overflow-x: auto;
+ }
+ .fsm-state {
+ padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 600;
+ white-space: nowrap; border: 1px solid var(--border); color: var(--text-dim);
+ background: rgba(255,255,255,0.02);
+ }
+ .fsm-state.active { background: rgba(34,197,94,0.1); color: #4ade80; border-color: rgba(34,197,94,0.2); }
+ .fsm-state.done { background: rgba(99,102,241,0.1); color: #818cf8; border-color: rgba(99,102,241,0.2); }
+ .fsm-arrow { color: var(--text-dim); font-size: 0.8rem; flex-shrink: 0; }
+
+ /* Feature 2: Audio Pipeline */
+ .pipeline-layout { padding: 32px; }
+ .pipeline-flow {
+ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px;
+ }
+ .pipeline-card {
+ background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 24px;
+ }
+ .pipeline-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
+ .pipeline-card .sub { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 16px; }
+ .pipeline-card .metric {
+ font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 4px;
+ }
+ .pipeline-card .metric-label { font-size: 0.7rem; color: var(--text-dim); }
+ .pipeline-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); margin-top: 12px; overflow: hidden; }
+ .pipeline-bar-fill { height: 100%; border-radius: 2px; }
+ .middleware-row {
+ display: flex; gap: 8px; flex-wrap: wrap;
+ padding: 16px 20px; background: rgba(255,255,255,0.02);
+ border: 1px solid var(--border); border-radius: 10px;
+ }
+ .mw-tag {
+ padding: 6px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 500;
+ color: var(--text-muted); border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace;
+ }
+ .mw-tag .arrow { color: var(--accent-orange); margin: 0 2px; }
+
+ /* Feature 3: Intelligence */
+ .intel-layout { padding: 32px; display: grid; grid-template-columns: 1fr 320px; gap: 0; }
+ .intel-main { padding-right: 32px; border-right: 1px solid var(--border); }
+ .intel-sidebar { padding-left: 24px; }
+ .intel-item {
+ display: flex; gap: 14px; padding: 18px; margin-bottom: 12px;
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ }
+ .intel-icon {
+ width: 40px; height: 40px; border-radius: 10px;
+ display: flex; align-items: center; justify-content: center; flex-shrink: 0;
+ }
+ .intel-icon svg { width: 20px; height: 20px; }
+ .intel-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
+ .intel-item p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
+ .sidebar-block { margin-bottom: 28px; }
+ .sidebar-block h4 {
+ font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
+ text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
+ }
+ .decision-bar {
+ display: flex; align-items: center; justify-content: space-between;
+ padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem;
+ }
+ .decision-bar:last-child { border-bottom: none; }
+ .decision-bar .label { color: var(--text-muted); }
+ .decision-bar .value { font-weight: 600; }
+ .decision-bar .value.high { color: #4ade80; }
+ .decision-bar .value.med { color: var(--accent-orange); }
+ .decision-bar .value.low { color: var(--text-dim); }
+
+ /* Feature 4: Multi-Agent Teams */
+ .team-layout { padding: 32px; }
+ .team-header {
+ display: flex; justify-content: space-between; align-items: center;
+ margin-bottom: 24px;
+ }
+ .team-header h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); }
+ .team-badge {
+ padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
+ background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2);
+ display: flex; align-items: center; gap: 6px;
+ }
+ .team-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
+ .team-agents {
+ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px;
+ }
+ .team-agent {
+ background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 20px;
+ transition: border-color 0.3s;
+ }
+ .team-agent:hover { border-color: var(--border-hover); }
+ .team-agent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
+ .team-agent-av {
+ width: 36px; height: 36px; border-radius: 50%;
+ display: flex; align-items: center; justify-content: center;
+ font-weight: 700; font-size: 0.8rem; color: #fff;
+ }
+ .team-agent-head .name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
+ .team-agent-head .role { font-size: 0.7rem; color: var(--text-dim); }
+ .team-agent p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
+ .turn-bar {
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
+ padding: 16px 24px;
+ }
+ .turn-bar h4 {
+ font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
+ text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
+ }
+ .turn-queue { display: flex; align-items: center; gap: 8px; }
+ .turn-item {
+ display: flex; align-items: center; gap: 6px;
+ padding: 6px 12px; border-radius: 8px;
+ font-size: 0.75rem; font-weight: 600;
+ border: 1px solid var(--border);
+ }
+ .turn-item.speaking { background: rgba(232,123,53,0.1); border-color: rgba(232,123,53,0.2); color: #e87b35; }
+ .turn-item.queued { color: var(--text-dim); }
+ .turn-arrow { color: var(--text-dim); font-size: 0.7rem; }
+
+ /* ── Benefits ──────────────────────── */
+ .benefits { padding: 120px 0; }
+ .benefits h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ text-align: center; letter-spacing: -0.02em; margin-bottom: 64px;
+ }
+ .benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
+ .benefit-card {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 36px; transition: border-color 0.3s, transform 0.3s;
+ }
+ .benefit-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
+ .benefit-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
+ .benefit-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
+ .benefit-visual {
+ background: rgba(255,255,255,0.02); border: 1px solid var(--border);
+ border-radius: var(--radius); padding: 16px 20px; min-height: 60px;
+ }
+
+ /* ── Testimonials ──────────────────── */
+ .testimonials { padding: 120px 0; }
+ .testimonials h2 {
+ font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-cream);
+ text-align: center; letter-spacing: -0.02em; margin-bottom: 64px;
+ }
+ .testimonials-grid { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 20px; }
+ .testimonial-rating {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
+ }
+ .rating-value { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; }
+ .rating-star { color: #fbbf24; font-size: 1.5rem; margin-left: 4px; }
+ .rating-count { font-size: 0.85rem; color: var(--text-dim); margin: 8px 0 20px; }
+ .rating-link {
+ display: inline-flex; align-items: center; gap: 8px;
+ padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px;
+ color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500;
+ transition: all 0.2s;
+ }
+ .rating-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
+ .testimonial-card {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
+ padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
+ }
+ .testimonial-quote { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
+ .testimonial-quote::before {
+ content: '\201C'; font-size: 2rem; color: var(--text-dim); line-height: 0; vertical-align: -8px; margin-right: 2px;
+ }
+ .testimonial-author { display: flex; align-items: center; gap: 12px; }
+ .testimonial-author-avatar {
+ width: 40px; height: 40px; border-radius: 50%;
+ background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
+ display: flex; align-items: center; justify-content: center;
+ font-weight: 700; font-size: 0.8rem; color: var(--text-muted);
+ }
+ .testimonial-author-info .name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
+ .testimonial-author-info .role { font-size: 0.8rem; color: var(--text-dim); }
+ .testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
+ .testimonial-nav button {
+ width: 44px; height: 44px; border-radius: 50%;
+ background: rgba(255,255,255,0.05); border: 1px solid var(--border);
+ color: var(--text-muted); cursor: pointer;
+ display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 1.1rem;
+ }
+ .testimonial-nav button:hover { background: rgba(255,255,255,0.1); color: var(--text); }
+
+ /* ── CTA ────────────────────────────── */
+ .cta-section { padding: 120px 0; }
+ .cta-box {
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
+ padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
+ }
+ .cta-box::before {
+ content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
+ background:
+ linear-gradient(transparent, rgba(10,10,10,0.3)),
+ repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px),
+ repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px);
+ perspective: 500px; transform: rotateX(45deg); transform-origin: bottom; pointer-events: none;
+ }
+ .cta-box .label { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 16px; }
+ .cta-box h2 {
+ font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--accent-cream);
+ letter-spacing: -0.02em; margin-bottom: 32px;
+ }
+
+ /* ── Footer ─────────────────────────── */
+ .footer { border-top: 1px solid var(--border); padding: 60px 0 40px; position: relative; z-index: 1; }
+ .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
+ .footer-brand p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; margin-top: 12px; }
+ .footer-col h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
+ .footer-col a {
+ display: block; font-size: 0.85rem; color: var(--text-dim); text-decoration: none;
+ padding: 4px 0; transition: color 0.2s;
+ }
+ .footer-col a:hover { color: var(--accent-cream); }
+ .footer-bottom {
+ display: flex; justify-content: space-between; align-items: center;
+ padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim);
+ }
+ .footer-bottom-links { display: flex; gap: 24px; }
+ .footer-bottom-links a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
+ .footer-bottom-links a:hover { color: var(--text-muted); }
+
+ /* ── Responsive ─────────────────────── */
+ @media (max-width: 900px) {
+ .nav-links { display: none; }
+ .automation-steps { grid-template-columns: 1fr 1fr; }
+ .pipeline-flow, .team-agents { grid-template-columns: 1fr; }
+ .intel-layout { grid-template-columns: 1fr; }
+ .intel-main { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 24px; }
+ .intel-sidebar { padding-left: 0; padding-top: 24px; }
+ .benefits-grid, .testimonials-grid { grid-template-columns: 1fr; }
+ .footer-top { grid-template-columns: 1fr 1fr; }
+ .float-card { display: none; }
+ }
+ @media (max-width: 600px) {
+ .hero h1 { font-size: 2.5rem; }
+ .hero-cta { flex-direction: column; align-items: center; }
+ .automation-steps { grid-template-columns: 1fr; }
+ .footer-top { grid-template-columns: 1fr; }
+ .mockup-tabs { display: none; }
+ .turn-queue { flex-wrap: wrap; }
+ }
+ </style>
+</head>
+<body>
+
+ <div class="grid-bg"></div>
+ <div class="particles" id="particles"></div>
+
+ <!-- Navbar -->
+ <nav class="navbar" id="navbar">
+ <div class="container">
+ <a href="#" class="nav-logo">
+ <svg viewBox="0 0 32 32" fill="none"><rect x="4" y="4" width="24" height="24" rx="6" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="16" r="3" fill="currentColor" opacity="0.4"/><circle cx="20" cy="16" r="3" fill="currentColor" opacity="0.4"/><path d="M12 16h8" stroke="currentColor" stroke-width="1.5" stroke-dasharray="2 2"/></svg>
+ xspace-agent
+ </a>
+ <ul class="nav-links">
+ <li><a href="#features">Features</a></li>
+ <li><a href="#benefits">Benefits</a></li>
+ <li><a href="/bob">Bob</a></li>
+ <li><a href="/alice">Alice</a></li>
+ <li><a href="/builder">Builder</a></li>
+ </ul>
+ <div class="nav-actions">
+ <a href="/" class="btn btn-ghost">Home</a>
+ <a href="/admin" class="btn btn-primary">Dashboard</a>
+ </div>
+ </div>
+ </nav>
+
+ <!-- Hero -->
+ <section class="hero">
+ <div class="glow-top"></div>
+ <div class="container">
+ <div class="hero-badge">
+ <div class="hero-badge-icon">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/><path d="M19 10v2a7 7 0 0 1-14 0v-2"/></svg>
+ </div>
+ TypeScript SDK &middot; open source &middot; MIT licensed
+ </div>
+
+ <h1>AI agents that talk<br>in X Spaces</h1>
+
+ <p>An open-source TypeScript SDK for AI agents that autonomously join, listen, and speak in X Spaces. Multi-LLM, real-time voice, Puppeteer-powered browser automation.</p>
+
+ <div class="hero-cta">
+ <a href="#" class="btn btn-primary">npm install xspace-agent</a>
+ <a href="#features" class="btn btn-outline">Explore the SDK</a>
+ </div>
+
+ <!-- Terminal Mockup -->
+ <div class="mockup-wrapper">
+ <div class="mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div>
+ <div class="mockup-dot"></div>
+ <div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>
+ Terminal
+ </div>
+ <div class="mockup-tab">agent.ts</div>
+ <div class="mockup-tab">config.ts</div>
+ </div>
+ </div>
+ <div class="mockup-body">
+ <div class="terminal-lines">
+ <div><span class="prompt">$</span> <span class="cmd">npx xspace-agent</span> <span class="flag">init</span></div>
+ <div class="output">&nbsp; Creating xspace-agent project...</div>
+ <div class="output">&nbsp; &check; Generated .env template</div>
+ <div class="output">&nbsp; &check; Created agent config</div>
+ <div>&nbsp;</div>
+ <div><span class="prompt">$</span> <span class="cmd">npx xspace-agent</span> <span class="flag">join</span> <span class="string">"https://x.com/i/spaces/1eaKbrPqYlwKX"</span></div>
+ <div class="output">&nbsp; Launching browser...</div>
+ <div class="output">&nbsp; &check; Authenticated as @your_agent</div>
+ <div class="output">&nbsp; &check; Joined Space: "AI &amp; the Future of Dev"</div>
+ <div class="output">&nbsp; &check; Requested speaker access</div>
+ <div class="output">&nbsp; <span style="color:#4ade80;">&#9679;</span> Listening... (Ctrl+C to leave)</div>
+ <div>&nbsp;</div>
+ <div class="comment"># Agent is now live in the Space, listening and responding</div>
+ <div class="output">&nbsp; <span style="color:#e87b35;">&#9679;</span> Speaking: "That's a great point about TypeScript adoption..."<span class="terminal-cursor"></span></div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Float cards -->
+ <div class="float-card" style="bottom:40px; left:-40px;">
+ <h4>Agent State</h4>
+ <div class="state-flow">
+ <span class="state-node done">auth</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node done">join</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node active">listening</span>
+ </div>
+ </div>
+ <div class="float-card" style="top:60px; right:-50px;">
+ <h4>Active Spaces</h4>
+ <div class="stat">3<sup>&nearr;</sup></div>
+ <div style="font-size:0.75rem; color:var(--text-dim); margin-top:4px;">agents deployed</div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Tech Bar -->
+ <section class="logo-bar">
+ <div class="container">
+ <div class="logo-bar-inner">
+ <div class="logo-bar-item">Puppeteer</div>
+ <div class="logo-bar-item">OpenAI</div>
+ <div class="logo-bar-item">Anthropic</div>
+ <div class="logo-bar-item">Groq</div>
+ <div class="logo-bar-item">ElevenLabs</div>
+ <div class="logo-bar-item">WebRTC</div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Description -->
+ <section class="desc-block">
+ <div class="container">
+ <p><strong>Automate, listen</strong> and <strong>speak</strong> in X Spaces with AI. xspace-agent is built for developers creating <strong>autonomous voice agents</strong> that participate in live audio conversations &mdash; powered by Puppeteer browser automation, pluggable LLM providers, and a robust state machine</p>
+ </div>
+ </section>
+
+ <!-- Feature 1: Browser Automation -->
+ <section class="feature-section" id="features">
+ <div class="container">
+ <div class="section-header">
+ <h2>Browser Automation</h2>
+ <p class="section-desc">Puppeteer-powered lifecycle management. Self-healing CSS selectors automatically adapt when X changes their DOM. From login to speaking &mdash; fully automated.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Lifecycle</div>
+ <div class="mockup-tab">Selectors</div>
+ </div>
+ </div>
+ <div class="automation-layout">
+ <div class="automation-steps">
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(99,102,241,0.15); color:#818cf8;">1</div>
+ <h4>Authenticate</h4>
+ <p>Cookie auth or credential-based login with 2FA support</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(232,123,53,0.15); color:#e87b35;">2</div>
+ <h4>Join Space</h4>
+ <p>Navigate to Space URL and enter as listener automatically</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(34,197,94,0.15); color:#4ade80;">3</div>
+ <h4>Request Mic</h4>
+ <p>Request speaker access and wait for host approval</p>
+ </div>
+ <div class="auto-step">
+ <div class="auto-step-num" style="background:rgba(244,63,94,0.15); color:#f43f5e;">4</div>
+ <h4>Speak</h4>
+ <p>Inject TTS audio through WebRTC peer connection</p>
+ </div>
+ </div>
+ <div class="fsm-bar">
+ <span style="font-size:0.75rem; color:var(--text-dim); font-weight:600; margin-right:8px;">FSM:</span>
+ <span class="fsm-state done">idle</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">launching</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">authenticating</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state done">joining</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state active">listening</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state">speaking</span>
+ <span class="fsm-arrow">&rarr;</span>
+ <span class="fsm-state">leaving</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Feature 2: Audio Pipeline -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Real-time Audio Pipeline</h2>
+ <p class="section-desc">Capture audio from X Spaces via WebRTC hooks. Process through VAD, silence detection, STT, LLM, TTS &mdash; then inject the response back into the Space.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Pipeline</div>
+ <div class="mockup-tab">Middleware</div>
+ </div>
+ </div>
+ <div class="pipeline-layout">
+ <div class="pipeline-flow">
+ <div class="pipeline-card">
+ <h4>Speech-to-Text</h4>
+ <div class="sub">Groq Whisper / OpenAI Whisper</div>
+ <div class="metric">180ms</div>
+ <div class="metric-label">avg transcription latency</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:85%; background: linear-gradient(90deg, var(--accent-indigo), #818cf8);"></div></div>
+ </div>
+ <div class="pipeline-card">
+ <h4>LLM Processing</h4>
+ <div class="sub">OpenAI / Claude / Groq</div>
+ <div class="metric">1.2s</div>
+ <div class="metric-label">avg response generation</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:60%; background: linear-gradient(90deg, var(--accent-orange), #f59e0b);"></div></div>
+ </div>
+ <div class="pipeline-card">
+ <h4>Text-to-Speech</h4>
+ <div class="sub">ElevenLabs / OpenAI / Browser</div>
+ <div class="metric">320ms</div>
+ <div class="metric-label">avg synthesis latency</div>
+ <div class="pipeline-bar"><div class="pipeline-bar-fill" style="width:72%; background: linear-gradient(90deg, #22c55e, #4ade80);"></div></div>
+ </div>
+ </div>
+ <div class="middleware-row">
+ <span style="font-size:0.75rem; color:var(--text-dim); font-weight:600; margin-right:4px;">Middleware:</span>
+ <span class="mw-tag">before:stt</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:stt</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> before:llm</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:llm</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> before:tts</span>
+ <span class="mw-tag"><span class="arrow">&rarr;</span> after:tts</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Feature 3: Intelligence Layer -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Intelligence Layer</h2>
+ <p class="section-desc">Speaker identification, topic tracking, sentiment analysis, and a decision engine that determines when your agent should respond.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Intelligence</div>
+ <div class="mockup-tab">Decision Engine</div>
+ </div>
+ </div>
+ <div class="intel-layout">
+ <div class="intel-main">
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(99,102,241,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#818cf8" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
+ </div>
+ <div>
+ <h4>Speaker Identification</h4>
+ <p>Attribute transcribed speech to individual speakers in the Space using audio fingerprinting and context cues.</p>
+ </div>
+ </div>
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(232,123,53,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#e87b35" stroke-width="2"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>
+ </div>
+ <div>
+ <h4>Topic Tracking</h4>
+ <p>Monitors conversation topics in real-time. Detects topic shifts, maintains relevance scores, and provides context for the LLM.</p>
+ </div>
+ </div>
+ <div class="intel-item">
+ <div class="intel-icon" style="background:rgba(34,197,94,0.15);">
+ <svg viewBox="0 0 24 24" fill="none" stroke="#4ade80" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></svg>
+ </div>
+ <div>
+ <h4>Sentiment Analysis</h4>
+ <p>Detects emotional tone and conversation energy. Adjusts agent response style based on the room's mood.</p>
+ </div>
+ </div>
+ </div>
+ <div class="intel-sidebar">
+ <div class="sidebar-block">
+ <h4>Decision Signals</h4>
+ <div class="decision-bar"><span class="label">Directly addressed</span><span class="value high">Yes</span></div>
+ <div class="decision-bar"><span class="label">Is question</span><span class="value high">Yes</span></div>
+ <div class="decision-bar"><span class="label">Topic relevance</span><span class="value med">0.82</span></div>
+ <div class="decision-bar"><span class="label">Silence duration</span><span class="value low">1.2s</span></div>
+ <div class="decision-bar"><span class="label">Last spoke</span><span class="value low">45s ago</span></div>
+ </div>
+ <div class="sidebar-block">
+ <h4>Verdict</h4>
+ <div style="padding:12px 16px; border-radius:10px; background:rgba(34,197,94,0.1); border:1px solid rgba(34,197,94,0.2); text-align:center;">
+ <div style="font-size:1.1rem; font-weight:700; color:#4ade80;">RESPOND</div>
+ <div style="font-size:0.7rem; color:var(--text-dim); margin-top:4px;">Confidence: 0.91</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Feature 4: Multi-Agent Teams -->
+ <section class="feature-section">
+ <div class="container">
+ <div class="section-header">
+ <h2>Multi-Agent Teams</h2>
+ <p class="section-desc">Deploy multiple AI agents with distinct personalities into the same X Space. Coordinated turn-taking ensures natural, flowing conversations.</p>
+ </div>
+ <div class="feature-mockup">
+ <div class="mockup-bar">
+ <div class="mockup-dot"></div><div class="mockup-dot"></div><div class="mockup-dot"></div>
+ <div class="mockup-tabs">
+ <div class="mockup-tab active">Team: AI Debate</div>
+ <div class="mockup-tab">Coordination</div>
+ </div>
+ </div>
+ <div class="team-layout">
+ <div class="team-header">
+ <h3>Active Team Session</h3>
+ <div class="team-badge">Live in Space</div>
+ </div>
+ <div class="team-agents">
+ <div class="team-agent">
+ <div class="team-agent-head">
+ <div class="team-agent-av" style="background:linear-gradient(135deg,#6366f1,#4f46e5);">O</div>
+ <div>
+ <div class="name">Optimist</div>
+ <div class="role">Claude &middot; ElevenLabs</div>
+ </div>
+ </div>
+ <p>Highlights opportunities and positive outcomes. Cites recent success stories and emerging trends.</p>
+ </div>
+ <div class="team-agent">
+ <div class="team-agent-head">
+ <div class="team-agent-av" style="background:linear-gradient(135deg,#f43f5e,#e11d48);">S</div>
+ <div>
+ <div class="name">Skeptic</div>
+ <div class="role">OpenAI &middot; OpenAI TTS</div>
+ </div>
+ </div>
+ <p>Challenges claims with data. Asks hard questions and identifies risks the group may be overlooking.</p>
+ </div>
+ <div class="team-agent">
+ <div class="team-agent-head">
+ <div class="team-agent-av" style="background:linear-gradient(135deg,#22c55e,#16a34a);">M</div>
+ <div>
+ <div class="name">Moderator</div>
+ <div class="role">Groq &middot; Piper TTS</div>
+ </div>
+ </div>
+ <p>Keeps discussion on track. Summarizes key points and ensures all perspectives get airtime.</p>
+ </div>
+ </div>
+ <div class="turn-bar">
+ <h4>Turn Queue</h4>
+ <div class="turn-queue">
+ <div class="turn-item speaking">
+ <span style="width:6px;height:6px;border-radius:50%;background:#e87b35;"></span>
+ Skeptic (speaking)
+ </div>
+ <span class="turn-arrow">&rarr;</span>
+ <div class="turn-item queued">Optimist</div>
+ <span class="turn-arrow">&rarr;</span>
+ <div class="turn-item queued">Moderator</div>
+ <span class="turn-arrow">&rarr;</span>
+ <div class="turn-item queued" style="opacity:0.5;">waiting...</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Benefits -->
+ <section class="benefits" id="benefits">
+ <div class="container">
+ <h2>Benefits of use</h2>
+ <div class="benefits-grid">
+ <div class="benefit-card">
+ <h3>Full Automation</h3>
+ <p>From browser launch to speaking in a Space &mdash; zero manual steps. Cookie auth, self-healing selectors, and FSM-driven lifecycle.</p>
+ <div class="benefit-visual">
+ <div class="state-flow">
+ <span class="state-node done">idle</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node done">auth</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node done">join</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node active">listen</span>
+ <span class="state-arrow">&rarr;</span>
+ <span class="state-node">speak</span>
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Pluggable Providers</h3>
+ <p>Swap LLM, STT, and TTS providers via config. OpenAI, Claude, Groq for LLM. ElevenLabs, OpenAI, Piper, browser for TTS.</p>
+ <div class="benefit-visual">
+ <div style="display:flex; gap:8px; flex-wrap:wrap;">
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(99,102,241,0.1); color:#818cf8; font-size:0.75rem; font-weight:600;">LLM</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(232,123,53,0.1); color:#e87b35; font-size:0.75rem; font-weight:600;">STT</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(34,197,94,0.1); color:#4ade80; font-size:0.75rem; font-weight:600;">TTS</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(244,63,94,0.1); color:#f43f5e; font-size:0.75rem; font-weight:600;">Router</span>
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Developer Experience</h3>
+ <p>TypeScript-first with full type safety. CLI for quick setup. Admin panel for real-time monitoring. 10 runnable examples included.</p>
+ <div class="benefit-visual">
+ <div style="font-family:'JetBrains Mono',monospace; font-size:0.8rem; color:var(--text-dim);">
+ <span style="color:var(--accent-green);">$</span> npx xspace-agent init<br>
+ <span style="color:var(--accent-green);">$</span> npx xspace-agent start
+ </div>
+ </div>
+ </div>
+ <div class="benefit-card">
+ <h3>Open Source</h3>
+ <p>MIT licensed, published to npm. Three packages: core SDK, server admin panel, and CLI. No vendor lock-in, self-host anywhere.</p>
+ <div class="benefit-visual">
+ <div style="display:flex; gap:8px; flex-wrap:wrap;">
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">xspace-agent</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">@xspace/server</span>
+ <span style="padding:4px 12px; border-radius:6px; background:rgba(255,255,255,0.05); color:var(--text-muted); font-size:0.75rem; font-family:'JetBrains Mono',monospace;">@xspace/cli</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Testimonials -->
+ <section class="testimonials" id="community">
+ <div class="container">
+ <h2>What developers say</h2>
+ <div class="testimonials-grid">
+ <div class="testimonial-rating">
+ <div>
+ <span class="rating-value">4.8</span>
+ <span class="rating-star">&#9733;</span>
+ </div>
+ <div class="rating-count">Based on 62 Reviews</div>
+ <a href="#" class="rating-link">All Reviews &rarr;</a>
+ </div>
+ <div class="testimonial-card">
+ <p class="testimonial-quote">We deployed three agents into a weekly X Space for our community. The self-healing selectors mean we haven't touched the config in months even as X keeps changing their UI."</p>
+ <div class="testimonial-author">
+ <div class="testimonial-author-avatar">SK</div>
+ <div class="testimonial-author-info">
+ <div class="name">Sarah Kim</div>
+ <div class="role">DevRel Lead at AudioStack</div>
+ </div>
+ </div>
+ </div>
+ <div class="testimonial-card">
+ <p class="testimonial-quote">The multi-agent debate format is a killer feature. We run weekly Spaces with an optimist and a skeptic AI discussing our industry &mdash; engagement is through the roof."</p>
+ <div class="testimonial-author">
+ <div class="testimonial-author-avatar">AR</div>
+ <div class="testimonial-author-info">
+ <div class="name">Alex Rivera</div>
+ <div class="role">Founder at SpaceHost</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="testimonial-nav">
+ <button>&larr;</button>
+ <button>&rarr;</button>
+ </div>
+ </div>
+ </section>
+
+ <!-- CTA -->
+ <section class="cta-section">
+ <div class="container">
+ <div class="cta-box">
+ <div class="label">Start building today</div>
+ <h2>What will your agents say?</h2>
+ <a href="#" class="btn btn-primary" style="font-size:1rem; padding:14px 32px;">npm install xspace-agent</a>
+ </div>
+ </div>
+ </section>
+
+ <!-- Footer -->
+ <footer class="footer">
+ <div class="container">
+ <div class="footer-top">
+ <div class="footer-brand">
+ <a href="#" class="nav-logo" style="margin-bottom:4px;">
+ <svg width="28" height="28" viewBox="0 0 32 32" fill="none"><rect x="4" y="4" width="24" height="24" rx="6" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="16" r="3" fill="currentColor" opacity="0.4"/><circle cx="20" cy="16" r="3" fill="currentColor" opacity="0.4"/><path d="M12 16h8" stroke="currentColor" stroke-width="1.5" stroke-dasharray="2 2"/></svg>
+ xspace-agent
+ </a>
+ <p>Open-source AI agent SDK for X Spaces.<br>Build the future of live audio.</p>
+ </div>
+ <div class="footer-col">
+ <h4>Product</h4>
+ <a href="#features">Features</a>
+ <a href="#">Documentation</a>
+ <a href="#">API Reference</a>
+ <a href="#">Examples</a>
+ </div>
+ <div class="footer-col">
+ <h4>Packages</h4>
+ <a href="#">xspace-agent (core)</a>
+ <a href="#">@xspace/server</a>
+ <a href="#">@xspace/cli</a>
+ <a href="#">Widget</a>
+ </div>
+ <div class="footer-col">
+ <h4>Community</h4>
+ <a href="#">GitHub</a>
+ <a href="#">Discord</a>
+ <a href="#">Contributing</a>
+ <a href="#">License (MIT)</a>
+ </div>
+ </div>
+ <div class="footer-bottom">
+ <span>&copy; xspace-agent, 2024. All rights reserved.</span>
+ <div class="footer-bottom-links">
+ <a href="#">Terms of Service</a>
+ <a href="#">Privacy Policy</a>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+ <script>
+ const navbar = document.getElementById('navbar');
+ window.addEventListener('scroll', () => {
+ navbar.classList.toggle('scrolled', window.scrollY > 40);
+ });
+
+ const pc = document.getElementById('particles');
+ for (let i = 0; i < 25; i++) {
+ const p = document.createElement('div');
+ p.className = 'particle';
+ p.style.left = Math.random() * 100 + '%';
+ p.style.animationDuration = (18 + Math.random() * 25) + 's';
+ p.style.animationDelay = (Math.random() * 20) + 's';
+ p.style.width = (2 + Math.random() * 2) + 'px';
+ p.style.height = p.style.width;
+ pc.appendChild(p);
+ }
+
+ const obs = new IntersectionObserver((entries) => {
+ entries.forEach(e => {
+ if (e.isIntersecting) { e.target.style.opacity = '1'; e.target.style.transform = 'translateY(0)'; }
+ });
+ }, { threshold: 0.1 });
+
+ document.querySelectorAll('.feature-mockup, .benefit-card, .testimonial-card, .testimonial-rating').forEach(el => {
+ el.style.opacity = '0';
+ el.style.transform = 'translateY(30px)';
+ el.style.transition = 'opacity 0.7s ease, transform 0.7s ease';
+ obs.observe(el);
+ });
+ </script>
+
+ <!-- XSpace Chat Widget -->
+ <script src="/xspace-widget.umd.js"
+ data-server-url=""
+ data-agent-id="agent-1"
+ data-theme="dark"
+ data-position="bottom-right">
+ </script>
+</body>
+</html>
+
+