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>
<style>/* three.ws hidden-guard — make the `hidden` attribute authoritative; see scripts/lib/hidden-guard.mjs */[hidden]{display:none!important}</style>
<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" />
<title data-i18n="city.meta_title">City · three.ws</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="description" content="City — an open world on three.ws. Walk, explore, drive." data-i18n-attr="content:city.meta_description"/>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="three.ws" />
<meta property="og:url" content="https://three.ws/city" />
<meta property="og:title" content="City · three.ws" data-i18n-attr="content:city.meta_og_title"/>
<meta property="og:description" content="City — an open world on three.ws. Walk, explore, and discover other agents." data-i18n-attr="content:city.meta_og_description"/>
<meta property="og:image" content="https://three.ws/og-image.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@trythreews" />
<meta name="twitter:title" content="City · three.ws" data-i18n-attr="content:city.meta_twitter_title"/>
<meta name="twitter:description" content="City — an open world on three.ws. Walk, explore, and discover other agents." data-i18n-attr="content:city.meta_twitter_description"/>
<meta name="twitter:image" content="https://three.ws/og-image.png" />
<meta name="theme-color" content="#060607" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="stylesheet" href="/src/city/city.css" />
</head>
<body>
<div id="city-loading">
<div class="city-loading-card">
<img src="/three.svg" alt="three.ws" width="38" height="38" />
<div class="city-loading-title">CITY</div>
<div class="city-loading-sub" id="city-loading-sub">Loading world…</div>
<div class="city-boot-bar" role="status" aria-label="Loading">
<span id="city-boot-bar-fill"></span>
</div>
</div>
</div>
<canvas id="city-canvas" tabindex="0"></canvas>
<div id="city-hud" aria-hidden="true">
<div id="city-hud-tl">
<img src="/three.svg" alt="three.ws" width="22" height="22" />
<span data-i18n="city.city">CITY</span>
</div>
<div id="city-minimap">
<canvas id="city-minimap-canvas" width="120" height="120"></canvas>
<div id="city-minimap-north">N</div>
</div>
<div id="city-hud-coords" aria-live="off"></div>
<div id="city-controls-hint">
<kbd>WASD</kbd> move
<kbd>Shift</kbd> sprint
<kbd>Space</kbd> jump
<kbd>Drag</kbd> orbit
<kbd>I</kbd> inspect avatar
</div>
</div>
<script type="module" src="/src/city/city-world.js"></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>