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.

feat(demos): add new demo widgets and update showcase with additional features

udvkdf490e554f8d
diff --git a/api/widgets/_demo-fixtures.js b/api/widgets/_demo-fixtures.js
index cda4387d4..80a0b9e0e 100644
--- a/api/widgets/_demo-fixtures.js
+++ b/api/widgets/_demo-fixtures.js
@@ -12,6 +12,10 @@
const CZ = '/avatars/cz.glb';
const SOLDIER = '/animations/soldier.glb';
const ROBOT = '/animations/robotexpressive.glb';
+const MICHELLE = '/avatars/michelle.glb';
+const XBOT = '/avatars/xbot.glb';
+const REALISTIC_M = '/avatars/realistic-male.glb';
+const REALISTIC_F = '/avatars/realistic-female.glb';
function fixture({ id, type, name, config, modelUrl }) {
return {
@@ -242,6 +246,101 @@ export const DEMO_WIDGETS = {
enableNarration: false,
},
}),
+
+ // ── Outside-the-box demos ────────────────────────────────────────────────────
+
+ wdgt_demo_pitch: fixture({
+ id: 'wdgt_demo_pitch',
+ type: 'talking-agent',
+ name: 'Pitch Bot',
+ modelUrl: REALISTIC_F,
+ config: {
+ background: '#0a0a0a',
+ accent: '#f59e0b',
+ caption: '',
+ showControls: false,
+ autoRotate: false,
+ envPreset: 'neutral',
+ agentTitle: 'AI Rep',
+ greeting: "Hey! I'm your AI rep — ask me anything: the roadmap, the team, the product.",
+ brainProvider: 'none',
+ proxyURL: '',
+ chatPosition: 'overlay',
+ },
+ }),
+
+ wdgt_demo_npc: fixture({
+ id: 'wdgt_demo_npc',
+ type: 'talking-agent',
+ name: 'Quest Guide',
+ modelUrl: XBOT,
+ config: {
+ background: '#0d0d1a',
+ accent: '#8b5cf6',
+ caption: '',
+ showControls: false,
+ autoRotate: false,
+ envPreset: 'neutral',
+ agentTitle: 'Quest Guide',
+ greeting: 'Greetings, traveler. What quest brings you here today?',
+ brainProvider: 'none',
+ proxyURL: '',
+ chatPosition: 'bottom',
+ },
+ }),
+
+ wdgt_demo_nightwlk: fixture({
+ id: 'wdgt_demo_nightwlk',
+ type: 'walking-avatar',
+ name: 'Night Drop',
+ modelUrl: ROBOT,
+ config: {
+ controls: 'joystick',
+ environment: 'night',
+ autoplay: true,
+ walkSpeed: 1.2,
+ bg: '#050510',
+ size: 'L',
+ width: 720,
+ height: 480,
+ position: 'inline',
+ enableNarration: false,
+ },
+ }),
+
+ wdgt_demo_mtnlib: fixture({
+ id: 'wdgt_demo_mtnlib',
+ type: 'animation-gallery',
+ name: 'Motion Archive',
+ modelUrl: MICHELLE,
+ config: {
+ background: '#0a0a0a',
+ accent: '#f97316',
+ caption: '',
+ showControls: false,
+ autoRotate: false,
+ envPreset: 'neutral',
+ defaultClip: '',
+ loopAll: true,
+ showClipPicker: true,
+ },
+ }),
+
+ wdgt_demo_prodstg: fixture({
+ id: 'wdgt_demo_prodstg',
+ type: 'turntable',
+ name: 'Product Stage',
+ modelUrl: REALISTIC_M,
+ config: {
+ background: '#08080f',
+ accent: '#e2e8f0',
+ caption: '',
+ showControls: false,
+ autoRotate: true,
+ rotationSpeed: 1.2,
+ envPreset: 'venice-sunset',
+ },
+ }),
};
export function isDemoWidgetId(id) {
diff --git a/pages/create-agent.html b/pages/create-agent.html
index 9677d93db..38764ed01 100644
--- a/pages/create-agent.html
+++ b/pages/create-agent.html
@@ -41,6 +41,7 @@
/>
<meta name="twitter:image" content="https://three.ws/api/page-og?s=build&amp;t=Create+an+Agent&amp;d=Step-by-step+wizard+to+create+a+3D+AI+agent%3A+name%2C+3D+body%2C+skills%2C+personality%2C+voice%2C+and+on-chain+identity.&amp;p=%2Fcreate-agent" />
+ <link rel="stylesheet" href="/fonts/fonts.css" />
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
<link rel="stylesheet" href="/mobile.css" />
@@ -75,10 +76,8 @@
}
body {
font:
- 15px/1.55 -apple-system,
+ 15px/1.55 'Inter',
system-ui,
- 'Segoe UI',
- Roboto,
sans-serif;
color: var(--text);
background: var(--bg);
diff --git a/pages/start.html b/pages/start.html
index 24f8558af..5d0e23b58 100644
--- a/pages/start.html
+++ b/pages/start.html
@@ -42,7 +42,7 @@
height: 100%;
background: var(--bg);
color: var(--text);
- font-family: -apple-system, 'Inter', 'Segoe UI', Roboto, sans-serif;
+ font-family: 'Inter', system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
diff --git a/public/dashboard/_dash-shell.css b/public/dashboard/_dash-shell.css
index a73e0cf0d..eb2d8fbe4 100644
--- a/public/dashboard/_dash-shell.css
+++ b/public/dashboard/_dash-shell.css
@@ -47,7 +47,7 @@ h1.dash-title { font-size: 22px; margin: 0 0 6px; letter-spacing: -0.01em; }
}
.dash-btn:hover { background: #2a2a2a; }
.dash-btn:disabled { opacity: 0.5; cursor: not-allowed; }
-.dash-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
+.dash-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--btn-primary-fg, #0a0a0a); }
.dash-btn.primary:hover { background: var(--ink); }
.dash-btn.danger { color: #ff8a9c; border-color: #3a2530; }
.dash-btn.danger:hover { background: #2a1820; }
diff --git a/public/marketplace.css b/public/marketplace.css
index 5b6500fe6..71da7c252 100644
--- a/public/marketplace.css
+++ b/public/marketplace.css
@@ -237,7 +237,7 @@ body.market-page > header {
}
.market-cat-chip.active {
background: var(--ink);
- color: #000;
+ color: var(--btn-primary-fg, #0a0a0a);
border-color: var(--ink);
}
.market-cat-chip .cat-chip-count {
@@ -641,7 +641,7 @@ body.market-page > header {
}
.market-avatar-detail-cta {
background: var(--ink);
- color: #000;
+ color: var(--btn-primary-fg, #0a0a0a);
border: 0;
padding: var(--space-md) var(--space-md);
border-radius: var(--radius-md);
@@ -767,7 +767,7 @@ body.market-page > header {
}
.tool-detail-cta {
background: var(--ink);
- color: #000;
+ color: var(--btn-primary-fg, #0a0a0a);
border: 0;
padding: var(--space-sm) var(--space-lg);
border-radius: var(--radius-md);
@@ -3201,7 +3201,7 @@ body.market-page > header {
}
.market-hero-cta {
background: var(--ink);
- color: #000;
+ color: var(--btn-primary-fg, #0a0a0a);
}
.market-hero-cta:hover {
transform: translateY(-1px);
@@ -3522,7 +3522,7 @@ body.market-page > header {
}
.market-mine-cta {
background: var(--ink);
- color: #000;
+ color: var(--btn-primary-fg, #0a0a0a);
border: 0;
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius-md);
diff --git a/public/nav.css b/public/nav.css
index c2122dca0..5effa6045 100644
--- a/public/nav.css
+++ b/public/nav.css
@@ -621,7 +621,7 @@
}
.nav-drawer .btn:hover { border-color: var(--nv-text); background: rgba(255,255,255,0.04); }
.nav-drawer .btn.primary { background: var(--nv-text); color: var(--nv-bg); border-color: var(--nv-text); }
-.nav-drawer .btn.primary:hover { background: #fff; }
+.nav-drawer .btn.primary:hover { background: #fff; color: #0a0a0a; }
@media (max-width: 880px) {
.nav-toggle { display: flex; }
.nav-end { display: none; }
diff --git a/public/playground.css b/public/playground.css
index ad4e4f7d6..190aff26e 100644
--- a/public/playground.css
+++ b/public/playground.css
@@ -70,7 +70,7 @@ button {
border-radius: 4px;
border: 1px solid var(--accent);
background-color: var(--accent);
- color: white;
+ color: var(--btn-primary-fg, #0a0a0a);
cursor: pointer;
font-weight: 600;
transition: background-color 0.2s;
diff --git a/public/style.css b/public/style.css
index 8d245d2bc..3d50575b7 100644
--- a/public/style.css
+++ b/public/style.css
@@ -7009,7 +7009,7 @@ body[data-viewer-mode='main'][data-authed='false'] .auth-gate {
.publish-step--done .publish-step-dot {
background: var(--accent);
border-color: var(--accent);
- color: #fff;
+ color: var(--btn-primary-fg, #0a0a0a);
}
.publish-step--active .publish-step-dot {
@@ -7148,7 +7148,7 @@ body[data-viewer-mode='main'][data-authed='false'] .auth-gate {
.publish-signin-btn,
.publish-retry-btn {
background: var(--accent);
- color: #fff;
+ color: var(--btn-primary-fg, #0a0a0a);
border-color: var(--accent);
}
@@ -7540,7 +7540,7 @@ body[data-viewer-mode='main'][data-authed='false'] .auth-gate {
height: 22px;
border-radius: 50%;
background: var(--accent);
- color: #fff;
+ color: var(--btn-primary-fg, #0a0a0a);
font-size: var(--text-xs);
font-weight: 700;
flex-shrink: 0;
diff --git a/public/widgets-gallery/index.html b/public/widgets-gallery/index.html
index e77586a1e..39548a06a 100644
--- a/public/widgets-gallery/index.html
+++ b/public/widgets-gallery/index.html
@@ -57,7 +57,7 @@
<div class="hero-badges">
<span class="hero-badge">
<span class="hero-badge-dot"></span>
- <span><span id="widget-count">10</span> widget types</span>
+ <span><span id="widget-count">15</span> widget demos</span>
</span>
<span class="hero-badge">One line of HTML</span>
<span class="hero-badge">Free for personal use</span>
diff --git a/public/widgets-gallery/showcase.json b/public/widgets-gallery/showcase.json
index 2ca4d4e25..e0fe900f1 100644
--- a/public/widgets-gallery/showcase.json
+++ b/public/widgets-gallery/showcase.json
@@ -90,6 +90,51 @@
"width": 480,
"height": 420,
"features": ["Joystick or keyboard controls", "Multiple environments", "Drop into any site or Notion doc"]
+ },
+ {
+ "type": "talking-agent",
+ "label": "Pitch Bot",
+ "tagline": "Embed a live AI rep that pitches your product, fields FAQs, and routes to checkout — 24/7.",
+ "id": "wdgt_demo_pitch",
+ "width": 460,
+ "height": 580,
+ "features": ["Speaks first with your custom pitch", "Overlay chat — no side panel", "Wire to any LLM via Studio"]
+ },
+ {
+ "type": "talking-agent",
+ "label": "Quest Guide",
+ "tagline": "A conversational NPC for game wikis, Discord embeds, and streaming pages.",
+ "id": "wdgt_demo_npc",
+ "width": 440,
+ "height": 600,
+ "features": ["Custom persona and voice", "Bottom-panel chat for compact layouts", "No engine — pure iframe"]
+ },
+ {
+ "type": "walking-avatar",
+ "label": "Night Drop",
+ "tagline": "Roaming 3D mascot in a night environment — for NFT drops, clubs, and dark-mode launches.",
+ "id": "wdgt_demo_nightwlk",
+ "width": 720,
+ "height": 480,
+ "features": ["Night sky environment", "Wider landscape frame", "Drop on any launch or event page"]
+ },
+ {
+ "type": "animation-gallery",
+ "label": "Motion Archive",
+ "tagline": "Browse and preview an entire motion-capture library on a different avatar — click to trigger any clip.",
+ "id": "wdgt_demo_mtnlib",
+ "width": 720,
+ "height": 560,
+ "features": ["All clips loop automatically", "Wider landscape frame for widescreen embeds", "Copy any clip ID for the SDK"]
+ },
+ {
+ "type": "turntable",
+ "label": "Product Stage",
+ "tagline": "A cinematic 3D stage for fashion drops, product launches, and brand mascots.",
+ "id": "wdgt_demo_prodstg",
+ "width": 560,
+ "height": 600,
+ "features": ["Venice sunset environment", "Faster dramatic rotation", "No chrome — pure showcase"]
}
]
}
diff --git a/src/swarms.css b/src/swarms.css
index 44ff5b0a1..978625a1a 100644
--- a/src/swarms.css
+++ b/src/swarms.css
@@ -1,5 +1,10 @@
/* Trading Swarms — directory + dashboard. All color/space/type from /tokens.css. */
+body {
+ font-family: var(--font-body, 'Inter', system-ui, sans-serif);
+ -webkit-font-smoothing: antialiased;
+}
+
.sw-shell {
max-width: 1180px;
margin: 0 auto;