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: update references to three.ws in documentation and scripts, enhance agent control features in dashboard

nirholas912693a299dd
diff --git a/README.md b/README.md
index 928b37104..e7c381635 100644
--- a/README.md
+++ b/README.md
@@ -1568,4 +1568,4 @@ The three.js library (`node_modules/three`) is MIT licensed. The gltf-validator
---
-*Built with [three.js](https://threejs.org), [Claude](https://claude.ai), and a belief that AI deserves a body.*
+*Built with [three.js](https://three.ws), [Claude](https://claude.ai), and a belief that AI deserves a body.*
diff --git a/docs/introduction.md b/docs/introduction.md
index 9b20ecead..0f60fe3a6 100644
--- a/docs/introduction.md
+++ b/docs/introduction.md
@@ -2,7 +2,7 @@
## What is three.ws?
-three.ws is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://threejs.org) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.
+three.ws is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://three.ws) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.
The result is an agent that doesn't just respond in a chat box. It occupies a three-dimensional body, plays animations, responds to voice, and can be embedded into any web page with a single script tag and a custom HTML element.
diff --git a/public/docs/introduction.md b/public/docs/introduction.md
index 9b20ecead..0f60fe3a6 100644
--- a/public/docs/introduction.md
+++ b/public/docs/introduction.md
@@ -2,7 +2,7 @@
## What is three.ws?
-three.ws is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://threejs.org) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.
+three.ws is an open-source, browser-native platform for creating, hosting, and embedding interactive AI agents that live inside 3D avatars. It combines a WebGL 3D viewer — built on [three.js](https://three.ws) with full glTF 2.0 / GLB support — with an AI agent runtime that gives each avatar personality, memory, skills, and optionally an on-chain identity.
The result is an agent that doesn't just respond in a chat box. It occupies a three-dimensional body, plays animations, responds to voice, and can be embedded into any web page with a single script tag and a custom HTML element.
diff --git a/public/features/features.css b/public/features/features.css
index eae4d4832..7769795a5 100644
--- a/public/features/features.css
+++ b/public/features/features.css
@@ -511,30 +511,64 @@
opacity: 0.4;
}
-/* ── Act content (sticky-positioned text overlay) ───────────────────────── */
+/* ── Act content panels ─────────────────────────────────────────────────── */
+
+/*
+ * On desktop, JS moves all .act-content panels into a .act-content-overlay
+ * div appended to <body>. This sidesteps the transform-style:preserve-3d
+ * ancestor that breaks position:sticky inside each .parallax-act.
+ *
+ * On mobile (≤768px) or when JS is unavailable, panels stay inside their
+ * .parallax-act and the mobile media query below keeps them in normal flow.
+ */
.act-content {
- position: sticky;
- top: 0;
- height: 100vh;
- margin-bottom: -100vh;
- z-index: 20;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 0 var(--features-content-pad) clamp(2rem, 5vh, 4rem);
pointer-events: none;
max-width: 720px;
+ /* Fallback (no-JS / mobile): in-flow block */
+ position: relative;
+ z-index: 20;
}
-/* Last act has no following parallax-act to overlap into — zero the negative
- * margin so it doesn't collapse out to the parent and pull the flat outro
- * section up over the on-chain content. */
-.parallax-act--onchain .act-content {
- margin-bottom: 0;
+.act-content > * {
+ pointer-events: auto;
}
-.act-content > * {
+/* ── Fixed overlay (created and populated by JS on desktop) ─────────────── */
+
+.act-content-overlay {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ pointer-events: none;
+ z-index: 20;
+}
+
+.act-content-overlay[hidden] {
+ display: none;
+}
+
+.act-content-overlay .act-content {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ /* Visibility managed by data-active; start hidden */
+ opacity: 0;
+ visibility: hidden;
+ transform: translateY(14px);
+ transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
+ pointer-events: none;
+}
+
+.act-content-overlay .act-content[data-active='true'] {
+ opacity: 1;
+ visibility: visible;
+ transform: translateY(0);
pointer-events: auto;
}
@@ -955,9 +989,6 @@
}
.act-content {
- position: relative;
- height: auto;
- margin-bottom: 0;
padding: 1.5rem var(--features-content-pad) 2rem;
}
@@ -995,7 +1026,6 @@
.act-content {
position: relative;
height: auto;
- margin-bottom: 0;
}
.act-eyebrow-dot {
diff --git a/public/features/features.js b/public/features/features.js
index e7d406427..bccafa528 100644
--- a/public/features/features.js
+++ b/public/features/features.js
@@ -174,28 +174,79 @@ function initStarFields() {
}
}
-// ── Progress dots ────────────────────────────────────────────────────────
+// ── Act navigation: progress dots + content overlay ──────────────────────
+//
+// On desktop, act-content panels are moved out of their transform-style:
+// preserve-3d ancestors (which break position:sticky) into a fixed overlay
+// on <body>. IntersectionObserver swaps which panel is visible.
+// On mobile the panels stay in-flow; only the dots are wired up.
-function setupProgressDots() {
- const dots = ROOT.querySelectorAll('.act-dot[data-act]');
- const acts = ROOT.querySelectorAll('.parallax-act[data-act]');
+function setupActNavigation() {
const scroll = ROOT.querySelector('.parallax');
- if (!dots.length || !acts.length || !scroll) return;
+ const acts = [...ROOT.querySelectorAll('.parallax-act[data-act]')];
+ const dots = [...ROOT.querySelectorAll('.act-dot[data-act]')];
+ if (!acts.length || !scroll) return;
+
+ const isDesktop = !window.matchMedia('(max-width: 768px)').matches;
+
+ let overlay = null;
+ let panels = [];
+
+ if (isDesktop) {
+ panels = [...ROOT.querySelectorAll('.act-content')];
+
+ overlay = document.createElement('div');
+ overlay.className = 'act-content-overlay';
+ document.body.appendChild(overlay);
+
+ panels.forEach((panel, i) => {
+ const act = acts[i];
+ if (act) panel.dataset.actPanel = act.dataset.act;
+ overlay.appendChild(panel);
+ });
+
+ // Show Act 1 immediately so there's no blank flash on load
+ if (panels[0]) panels[0].dataset.active = 'true';
+ }
const io = new IntersectionObserver(
(entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
const actNum = entry.target.dataset.act;
+
dots.forEach((d) => {
d.dataset.active = d.dataset.act === actNum ? 'true' : 'false';
});
+
+ if (isDesktop) {
+ panels.forEach((p) => {
+ p.dataset.active = p.dataset.actPanel === actNum ? 'true' : 'false';
+ });
+ }
}
},
{ root: scroll, threshold: 0.5 },
);
acts.forEach((act) => io.observe(act));
+
+ // Hide the overlay entirely once the flat outro slides into view
+ if (overlay) {
+ const outro = ROOT.querySelector('.features-outro');
+ if (outro) {
+ const outroObs = new IntersectionObserver(
+ ([entry]) => {
+ overlay.hidden = entry.isIntersecting;
+ if (entry.isIntersecting) {
+ dots.forEach((d) => delete d.dataset.active);
+ }
+ },
+ { root: scroll, threshold: 0.08 },
+ );
+ outroObs.observe(outro);
+ }
+ }
}
// ── Boot ─────────────────────────────────────────────────────────────────
@@ -228,7 +279,7 @@ function init() {
initStarFields();
setupEmotionChips();
setupCopyEmbed();
- setupProgressDots();
+ setupActNavigation();
loadOnChainAgent();
setupScrollHint();
setupAuthNav();
diff --git a/public/reputation/reputation.js b/public/reputation/reputation.js
index 108d69c90..47c33c367 100644
--- a/public/reputation/reputation.js
+++ b/public/reputation/reputation.js
@@ -230,18 +230,30 @@ async function main() {
const recentReviews = reviews.reverse().slice(0, 20);
// Render page
+ const avgClass = repData.average > 0 ? 'positive' : repData.average < 0 ? 'negative' : '';
let html = `
+ <div class="rep-breadcrumb">
+ <a href="/marketplace.html">Marketplace</a>
+ <span class="rep-breadcrumb-sep">/</span>
+ <span>Reputation</span>
+ </div>
+
<div class="rep-header">
- <h1>${agentInfo?.name || `Agent #${agentId}`}</h1>
- <div class="rep-header-meta">
- ${getChainName(chainId)} • ID: ${agentId}
+ <div class="rep-header-left">
+ <h1>${agentInfo?.name || `Agent #${agentId}`}</h1>
+ <div class="rep-header-meta">${getChainName(chainId)} · ID ${agentId}</div>
</div>
+ <button class="rep-share-btn" id="share-btn" title="Copy link">
+ <svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="3" r="1.5"/><circle cx="12" cy="13" r="1.5"/><circle cx="3" cy="8" r="1.5"/><line x1="10.6" y1="3.9" x2="4.4" y2="7.1"/><line x1="10.6" y1="12.1" x2="4.4" y2="8.9"/></svg>
+ Share
+ </button>
</div>
<div class="rep-stats">
<div class="rep-stat">
<div class="rep-stat-label">Average Rating</div>
- <div class="rep-stat-value">${formatScore(repData.average)}</div>
+ <div class="rep-stat-value ${avgClass}">${formatScore(repData.average)}</div>
+ ${scoreBarHtml(repData.average)}
</div>
<div class="rep-stat">
<div class="rep-stat-label">Reviews</div>
@@ -249,7 +261,7 @@ async function main() {
</div>
<div class="rep-stat">
<div class="rep-stat-label">Total Score</div>
- <div class="rep-stat-value">${repData.total}</div>
+ <div class="rep-stat-value ${avgClass}">${repData.total}</div>
</div>
</div>
`;
@@ -263,7 +275,7 @@ async function main() {
} else {
html += `
<div class="rep-reviews">
- <h3>Recent Reviews</h3>
+ <h3>Recent Reviews <span class="rep-review-count">${recentReviews.length} shown</span></h3>
<div class="rep-review-list">
`;
@@ -278,13 +290,12 @@ async function main() {
reviewsWithENS.forEach(({ review, name }) => {
const displayName = name || truncateAddress(review.from);
const explorerUrl = getExplorerUrl(chainId, review.txHash);
- const scoreClass = getRatingClass(review.score);
html += `
<div class="rep-review-item">
<div class="rep-review-header">
<span class="rep-reviewer">${displayName}</span>
- <span class="rep-stars">${review.score > 0 ? '+' : ''}${review.score}</span>
+ ${scoreBadge(review.score)}
</div>
`;
@@ -294,11 +305,11 @@ async function main() {
html += `
<div class="rep-review-footer">
- <span>${formatDate(review.blockNumber)}</span>
+ <span>${formatDate()}</span>
`;
if (explorerUrl) {
- html += `<a href="${explorerUrl}" target="_blank" rel="noopener" class="rep-tx-hash">tx</a>`;
+ html += `<a href="${explorerUrl}" target="_blank" rel="noopener">view tx</a>`;
}
html += `
@@ -323,9 +334,8 @@ async function main() {
<div id="form-container" style="display:none">
<div class="rep-form-group">
<label>Your Rating</label>
- <div class="rep-stars-input" id="rating-input">
- <!-- Stars filled by JS -->
- </div>
+ <p class="rep-rating-hint">−100 (very bad) → 0 (neutral) → +100 (excellent)</p>
+ <div class="rep-stars-input" id="rating-input"></div>
<input type="hidden" id="rep-rating" value="0" />
</div>
<div class="rep-form-group">
@@ -341,6 +351,32 @@ async function main() {
appEl.innerHTML = html;
+ // Share button
+ const shareBtn = document.getElementById('share-btn');
+ if (shareBtn) {
+ shareBtn.addEventListener('click', async () => {
+ const url = window.location.href;
+ try {
+ await navigator.clipboard.writeText(url);
+ } catch {
+ const ta = document.createElement('textarea');
+ ta.value = url;
+ ta.style.position = 'fixed';
+ ta.style.opacity = '0';
+ document.body.appendChild(ta);
+ ta.select();
+ document.execCommand('copy');
+ document.body.removeChild(ta);
+ }
+ shareBtn.classList.add('copied');
+ shareBtn.textContent = 'Copied!';
+ setTimeout(() => {
+ shareBtn.classList.remove('copied');
+ shareBtn.innerHTML = `<svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="3" r="1.5"/><circle cx="12" cy="13" r="1.5"/><circle cx="3" cy="8" r="1.5"/><line x1="10.6" y1="3.9" x2="4.4" y2="7.1"/><line x1="10.6" y1="12.1" x2="4.4" y2="8.9"/></svg> Share`;
+ }, 2000);
+ });
+ }
+
// Wire up wallet connection
const connectBtn = document.getElementById('connect-wallet');
const walletStatus = document.getElementById('wallet-status');
diff --git a/publish/README.md b/publish/README.md
index 147347a18..39609a724 100644
--- a/publish/README.md
+++ b/publish/README.md
@@ -1439,5 +1439,3 @@ Apache 2.0 — see [LICENSE](LICENSE).
The three.js library (`node_modules/three`) is MIT licensed. The gltf-validator (`node_modules/gltf-validator`) is Apache 2.0. See each dependency's license for details.
---
-
-*Built with [three.js](https://threejs.org), [Claude](https://claude.ai), and a belief that AI deserves a body.*
diff --git a/pump-dashboard.html b/pump-dashboard.html
index bf736f159..6d3c5f244 100644
--- a/pump-dashboard.html
+++ b/pump-dashboard.html
@@ -815,10 +815,22 @@
</div>
<div class="panel-body">
<div class="config-grid">
- <div style="background:#000; border:1px solid var(--border); min-height: 300px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius)">
- 3D Agent View
+ <div id="agent-view-container" style="background:#000; border:1px solid var(--border); min-height: 300px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius); overflow: hidden;">
+ <iframe id="agent-iframe" style="width: 100%; height: 100%; border: none;"></iframe>
</div>
<div>
+ <div class="form-group">
+ <label>Speech</label>
+ <input type="text" id="speech-input" placeholder="Enter text to speak...">
+ <button class="btn btn-primary" onclick="agentAction('speak')">Speak</button>
+ </div>
+ <div class="form-group">
+ <label>Actions</label>
+ <button class="btn" onclick="agentAction('emote')">Emote</button>
+ <button class="btn" onclick="agentAction('wave')">Wave</button>
+ <button class="btn" onclick="agentAction('verify')">Verify</button>
+ </div>
+
<div class="form-group">
<label>Animation</label>
<select id="anim-select">
@@ -973,6 +985,75 @@ function navigateTo(page) {
document.querySelectorAll('.sidebar nav a').forEach(a => {
a.classList.toggle('active', a.dataset.page === page);
});
+ if (page === 'animations') loadAgent();
+}
+
+// ── Agent Control ─────────────────────────────────────────────────────
+let agentId = null;
+
+async function loadAgent() {
+ try {
+ const resp = await apiFetch('/api/agents/me');
+ if (resp.ok) {
+ const { agent } = await resp.json();
+ if (agent && agent.id) {
+ agentId = agent.id;
+ const iframe = document.getElementById('agent-iframe');
+ iframe.src = `/agent-embed.html?id=${agentId}`;
+ } else {
+ document.getElementById('agent-view-container').innerHTML = '<div class="empty">Could not load agent.</div>';
+ }
+ }
+ } catch (e) {
+ document.getElementById('agent-view-container').innerHTML = '<div class="empty">Error loading agent.</div>';
+ }
+}
+
+function agentAction(type) {
+ const iframe = document.getElementById('agent-iframe');
+ if (!iframe || !iframe.contentWindow || !agentId) return;
+
+ let action;
+ switch (type) {
+ case 'speak':
+ const text = document.getElementById('speech-input').value;
+ if (!text) return;
+ action = { type: 'speak', text: text };
+ break;
+ case 'emote':
+ action = { type: 'emote', name: 'dance' };
+ break;
+ case 'wave':
+ action = { type: 'gesture', name: 'wave' };
+ break;
+ case 'verify':
+ action = { type: 'validate-model' };
+ break;
+ default:
+ return;
+ }
+
+ iframe.contentWindow.postMessage({
+ agentId: agentId,
+ type: 'agent:action',
+ action: action
+ }, '*');
+}
+
+function playAnimation() {
+ const animSelect = document.getElementById('anim-select');
+ const animationName = animSelect.value.toLowerCase();
+ const iframe = document.getElementById('agent-iframe');
+ if (!iframe || !iframe.contentWindow || !agentId) return;
+
+ const action = { type: 'gesture', name: animationName };
+
+ iframe.contentWindow.postMessage({
+ agentId: agentId,
+ type: 'agent:action',
+ action: action
+ }, '*');
+}
const titles = {
dashboard: 'Dashboard', feed: 'Live Feed', watches: 'Watch List',
diff --git a/pump-live.html b/pump-live.html
index 50d0315b2..ed83d442c 100644
--- a/pump-live.html
+++ b/pump-live.html
@@ -139,6 +139,37 @@
#header { flex-direction: column; align-items: flex-start; }
#header .controls { margin-left: 0; width: 100%; flex-wrap: wrap; }
}
+
+ /* ── Embed section ───────────────────────────────────── */
+ #embed-section {
+ background: #111;
+ border-top: 1px solid #222;
+ padding: 20px;
+ margin-top: 20px;
+ }
+ #embed-section h2 {
+ font-size: 14px;
+ color: #00ff41;
+ margin-bottom: 12px;
+ }
+ #embed-section .embed-preview {
+ border: 1px solid #333;
+ border-radius: 4px;
+ width: 100%;
+ max-width: 400px;
+ height: 300px;
+ margin-bottom: 12px;
+ }
+ #embed-section .code-snippet {
+ background: #0a0a0a;
+ border: 1px solid #333;
+ padding: 12px;
+ font-size: 12px;
+ white-space: pre-wrap;
+ word-break: break-all;
+ border-radius: 4px;
+ cursor: text;
+ }
</style>
</head>
<body>
@@ -167,6 +198,14 @@
<div id="log"></div>
+<div id="embed-section">
+ <h2>Embed Widget</h2>
+ <p style="font-size:12px; color:#888; margin-bottom:12px;">Embed the live feed on your own site with this code snippet.</p>
+ <iframe src="/pumpfun-widget.html" class="embed-preview" title="Pump.fun Live Feed Preview"></iframe>
+ <pre class="code-snippet" id="embed-code"></pre>
+</div>
+
+
<script>
// ════════════════════════════════════════════════════════════════════
// PumpFun Live Token Launch WebSocket Monitor
@@ -228,6 +267,21 @@ $btnConnect.onclick = () => {
};
$btnClear.onclick = () => { $log.innerHTML = ''; };
+// ── Embed code snippet ──────────────────────────────────────────
+function setEmbedCode() {
+ const code = `<iframe
+ src="${window.location.origin}/pumpfun-widget.html"
+ width="400"
+ height="300"
+ frameborder="0"
+ style="border:1px solid #333; border-radius:4px;"
+ title="Pump.fun Live Feed">
+</iframe>`;
+ document.getElementById('embed-code').textContent = code.trim();
+}
+setEmbedCode();
+
+
// ── Connect to WebSocket (PumpPortal or Solana RPC) ───────────────
function getNextEndpoint() {
const custom = $rpc.value.trim();
diff --git a/scripts/download-animations.mjs b/scripts/download-animations.mjs
index 19aece21e..968397716 100644
--- a/scripts/download-animations.mjs
+++ b/scripts/download-animations.mjs
@@ -15,12 +15,12 @@ mkdirSync(ANIM_DIR, { recursive: true });
const MODELS_WITH_ANIMATIONS = [
{
name: 'Soldier',
- url: 'https://threejs.org/examples/models/gltf/Soldier.glb',
+ url: 'https://three.ws/examples/models/gltf/Soldier.glb',
desc: 'Soldier with Idle/Walk/Run (Mixamo skeleton)',
},
{
name: 'RobotExpressive',
- url: 'https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb',
+ url: 'https://three.ws/examples/models/gltf/RobotExpressive/RobotExpressive.glb',
desc: 'Robot with Dance/Death/Idle/Jump/No/Punch/Running/Sitting/Standing/ThumbsUp/Walking/Wave/Yes',
},
];
diff --git a/scripts/quick-fetch-anims.sh b/scripts/quick-fetch-anims.sh
index 1ec9a81c8..9b1dad587 100644
--- a/scripts/quick-fetch-anims.sh
+++ b/scripts/quick-fetch-anims.sh
@@ -52,7 +52,7 @@ echo "🌐 Trying direct downloads..."
# Mixamo default character with animations from three.js examples
DIRECT_URLS=(
- "https://threejs.org/examples/models/gltf/Xbot.glb xbot"
+ "https://three.ws/examples/models/gltf/Xbot.glb xbot"
)
for entry in "${DIRECT_URLS[@]}"; do
diff --git a/tutorials.html b/tutorials.html
index 3272266b4..8ffbce83d 100644
--- a/tutorials.html
+++ b/tutorials.html
@@ -19,7 +19,7 @@
property="og:description"
content="Tutorials for creating and using 3D agents."
/>
- <meta property="og:url" content="https://threejs.org/docs/" />
+ <meta property="og:url" content="/tutorials.html" />
<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" />
@@ -32,7 +32,7 @@
/>
<meta name="twitter:image" content="https://three.ws/og-image.png" />
- <link rel="canonical" href="https://threejs.org/docs/" />
+ <link rel="canonical" href="/tutorials.html" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/pwa-192x192.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -201,7 +201,33 @@
<section>
<h1>Tutorials</h1>
<p>Here you will find tutorials on how to create and use 3D agents.</p>
- <!-- Add tutorials here -->
+
+ <h2>1. Basic Embedding</h2>
+ <p>Embed your 3D agent into any web page with a simple script tag.</p>
+ <pre><code>&lt;script src="https://three.ws/cdn/agent-3d.js" data-agent-id="YOUR_AGENT_ID"&gt;&lt;/script&gt;</code></pre>
+
+ <h2>2. Customization</h2>
+ <p>Customize your agent's appearance and behavior using data attributes.</p>
+ <pre><code>&lt;script src="https://three.ws/cdn/agent-3d.js"
+ data-agent-id="YOUR_AGENT_ID"
+ data-size="300"
+ data-background-color="#000000"&gt;&lt;/script&gt;</code></pre>
+
+ <h2>3. Interactive Examples</h2>
+ <p>Use JavaScript to interact with your agent.</p>
+ <pre><code>
+&lt;script src="https://three.ws/cdn/agent-3d.js" data-agent-id="YOUR_AGENT_ID"&gt;&lt;/script&gt;
+&lt;script&gt;
+ const agent = document.querySelector('agent-3d');
+ agent.addEventListener('ready', () => {
+ agent.playAnimation('wave');
+ });
+&lt;/script&gt;
+ </code></pre>
+
+ <h2>4. "Claude, integrate this"</h2>
+ <p>To simplify integration, you can use the following command to have Claude help you embed an agent. Just say "Claude, integrate agent with ID YOUR_AGENT_ID".</p>
+
</section>
</main>
</body>
diff --git a/vite.config.js b/vite.config.js
index b3dc7b2d0..a8d9075ec 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -48,6 +48,7 @@ const appConfig = {
main: resolve(__dirname, 'index.html'),
app: resolve(__dirname, 'app.html'),
home: resolve(__dirname, 'home.html'),
+ tutorials: resolve(__dirname, 'tutorials.html'),
embed: resolve(__dirname, 'embed.html'),
create: resolve(__dirname, 'create.html'),
'agent-home': resolve(__dirname, 'agent-home.html'),