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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
<!doctype html>
<html lang="en">
<head>
<script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title data-i18n="404.meta_title">three.ws — 404</title>
<meta name="robots" content="noindex" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<link rel="stylesheet" href="/nav.css" />
<style>
:root { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: #090909; color: #ccc; font: 15px/1.5 'Inter', -apple-system, system-ui, sans-serif; overflow: hidden; }
#avatar-canvas {
position: fixed; inset: 0;
width: 100vw; height: 100vh;
pointer-events: none; z-index: 999;
}
.stage {
min-height: calc(100vh - 58px);
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 28px; padding: 40px 24px 60px;
text-align: center;
}
.eyebrow {
display: inline-flex; align-items: center; gap: 9px;
font-size: 11px; font-weight: 600;
letter-spacing: 0.17em; text-transform: uppercase;
color: #999;
font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.eyebrow-dot {
width: 7px; height: 7px; border-radius: 50%;
background: #888; box-shadow: 0 0 6px rgba(255,255,255,0.2);
animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }
.bignum {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 800; letter-spacing: -0.06em;
font-size: clamp(140px, 28vw, 320px);
line-height: 0.85;
margin: 0;
color: #fff;
text-shadow: var(--agent-shadow, none);
transition: text-shadow var(--duration-instant) var(--ease-standard);
user-select: none;
}
.bignum em { color: #666; font-style: normal; }
.line {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-size: clamp(20px, 2.4vw, 28px); font-weight: 700;
margin: 0; color: #ddd; letter-spacing: -0.015em;
}
.sub { color: #555; max-width: 44ch; margin: 0; font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.btn {
display: inline-flex; align-items: center; gap: 10px;
padding: 14px 26px; border: none; border-radius: 12px;
font: 700 14.5px/1 'Inter', inherit; cursor: pointer; text-decoration: none;
user-select: none;
transform-origin: bottom center;
will-change: transform;
}
.btn-primary {
background: #fff;
color: #0b0b0b;
box-shadow: 0 7px 0 0 #555, 0 9px 24px rgba(0,0,0,0.4);
}
.btn-primary:hover { background: #e8e8e8; }
.btn-ghost {
background: rgba(255,255,255,0.04); color: #888;
border: 1.5px solid rgba(255,255,255,0.1);
box-shadow: 0 4px 0 0 rgba(255,255,255,0.03);
}
.btn-ghost:hover { color: #ccc; border-color: rgba(255,255,255,0.25); }
</style>
<!-- Resolve the bare @three-ws/agent-ui specifier without a bundler (this
file is served verbatim from public/). esm.sh ships the package's ESM
build and resolves its peer deps (three, etc.) transitively. -->
<script type="importmap">
{ "imports": { "@three-ws/agent-ui": "https://esm.sh/@three-ws/[email protected]" } }
</script>
<!-- An error page describes itself, never another route. No canonical (this is
not a duplicate of a real page — a canonical would tell crawlers the 404
*is* that page) and no JSON-LD (there is no entity here). The `robots:
noindex` above is what keeps it out of the index. -->
<meta name="description" content="That page doesn't exist. Head back home, or explore the agent lab." data-i18n-attr="content:404.meta_description">
<meta property="og:type" content="website">
<meta property="og:site_name" content="three.ws">
<meta property="og:locale" content="en_US">
<meta property="og:title" content="Page not found · three.ws" data-i18n-attr="content:404.meta_og_title">
<meta property="og:description" content="That page doesn't exist. Head back home, or explore the agent lab." data-i18n-attr="content:404.meta_og_description">
<meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Page+not+found&d=That+page+doesn%27t+exist.+Head+back+home%2C+or+explore+the+agent+lab.&p=%2F404">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/png">
<meta property="og:image:alt" content="Page not found — three.ws">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@trythreews">
<meta name="twitter:title" content="Page not found · three.ws" data-i18n-attr="content:404.meta_twitter_title">
<meta name="twitter:description" content="That page doesn't exist. Head back home, or explore the agent lab." data-i18n-attr="content:404.meta_twitter_description">
<meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Page+not+found&d=That+page+doesn%27t+exist.+Head+back+home%2C+or+explore+the+agent+lab.&p=%2F404">
</head>
<body>
<div id="nav-container"></div>
<script src="/nav.js"></script>
<div class="stage">
<div class="eyebrow"><span class="eyebrow-dot"></span><span data-i18n="404.lost_in_3d">Lost in 3D</span></div>
<h1 class="bignum" id="bignum"><span id="four-a">4</span><em id="zero">0</em><span id="four-b">4</span></h1>
<p class="line" id="lost-line" data-i18n="404.your_agent_took_a_wrong_turn">Your agent took a wrong turn.</p>
<p class="sub" data-i18n="404.this_page_does_not_exist_on_three">This page does not exist on three.ws — but she landed here, looked around, and seems pretty confused. Send her home.</p>
<div class="actions">
<a href="/" class="btn btn-primary" id="home-btn" data-i18n-html="404.take_her_home">
<span>Take her home</span>
<span>→</span>
</a>
<a href="/forge" class="btn btn-ghost" id="forge-btn" data-i18n-html="404.forge_something_instead">
<span>Forge something instead</span>
</a>
<a href="/demos/" class="btn btn-ghost" id="lab-btn" data-i18n-html="404.back_to_lab">
<span>Back to lab</span>
</a>
<a href="/sitemap" class="btn btn-ghost" id="all-pages-btn" data-i18n-html="404.browse_all_pages">
<span>Browse all pages</span>
</a>
</div>
<script>
// Carry the broken path's slug into the sitemap filter so the
// directory opens pre-narrowed to the closest matches.
(function () {
var slug = location.pathname.split('/').filter(Boolean).pop() || '';
slug = decodeURIComponent(slug).replace(/\.[a-z0-9]+$/i, '').replace(/[-_]+/g, ' ').trim();
if (slug.length >= 3 && slug !== '404') {
document.getElementById('all-pages-btn').href = '/sitemap?q=' + encodeURIComponent(slug);
}
})();
</script>
</div>
<canvas id="avatar-canvas"></canvas>
<script type="module">
import { createAgentUI } from '@three-ws/agent-ui';
const zero = document.getElementById('zero');
const homeBtn = document.getElementById('home-btn');
const labBtn = document.getElementById('lab-btn');
const agent = await createAgentUI({
canvas: document.getElementById('avatar-canvas'),
clips: ['idle', 'walk', 'falling'],
});
agent.fx.proximityShadow(document.getElementById('bignum'));
await agent.fallOnto(zero, {
duration: 1.4,
landingOffsetPx: 90,
tumble: 0.25,
onLand: () => {
agent.fx.dust(zero);
agent.fx.impactPulse(zero);
},
});
agent.play('idle', { loop: true });
const t0 = performance.now();
(function lookAround() {
if (agent._runningOff) return;
const t = (performance.now() - t0) / 1000;
agent.avatar.rotation.y = Math.sin(t * 1.25) * 0.35;
requestAnimationFrame(lookAround);
})();
agent.interceptNavigation(homeBtn, { direction: 'right', delay: 1100 });
agent.interceptNavigation(labBtn, { direction: 'left', delay: 1100 });
</script>
<script src="/brand.js" defer></script>
<!-- Runtime i18n: detects locale, swaps annotated copy, mounts <lang-switcher>. -->
<script type="module" src="/i18n.js"></script>
</body>
</html>