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
Developer plugin docs, MCP payments, README, IBM demo, and changelog updates
nirholas6e9f1ad67176
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b77a973bc..a5dabd6a2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -96,6 +96,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Tag mini-game in /play worlds** — Server-authoritative tag comes to every /play world. When two or more players are in the same room, a random player becomes 'it'. Walk close to another player and tag transfers — the server validates proximity on authoritative positions so no client can cheat. The tagged player gets a red glow ring under their avatar and a 🏃 IT label above their head, visible to everyone. A 'YOU'RE IT!' alert flashes on your screen the moment you're tagged, and a 2-second immunity window prevents instant re-tagging. The tag HUD (bottom-right) shows who's currently 'it' and a live leaderboard of cumulative time-as-it for the session. (`/play`) `[feature]`- **Tapping an IRL agent is now reliable — hit the body, not just the tiny label** — On three.ws/irl you can now open an agent by tapping its 3D body, not only its small floating name tag. Tapping near a name also works, with a finger-sized target that meets Apple's 44-pixel minimum, so you no longer have to pixel-hunt on a phone. When two agents stand on top of each other, the one in front wins instead of a random pick. As you move, the nearest agent you can reach lights up with a soft focus ring so you can see what you'll tap before you tap it — and if you've turned on Reduce Motion, the ring stays still. Looking and panning around no longer misfires as a tap. (`/irl`) `[improvement]`- **Text → 3D in chat, now with live progress and a real viewer** — Ask the chat to make any 3D object — "a brass steampunk owl, full body" — and watch it build right in the conversation. The concept image appears first, a staged progress readout (reconstructing geometry → texturing → finalizing) replaces the old blank spinner, and the finished model drops into an interactive viewer with studio lighting, a soft contact shadow, and smooth auto-orbit. Download the GLB with one click, go fullscreen, recenter, or hit Rig & Animate to turn the mesh into a posed, moving character. Every failure now has a designed state with a Try again and an Open in Forge path, so a slow or busy run never dead-ends. Free, no key required. `[feature, improvement]`+- **The IBM demo's 3D agent is now a clean, bare avatar** — The 3D agent on the IBM × three.ws x402 demo page is now simply an avatar on a transparent background — the chat box, on-canvas controls, and name plate are gone. It still comes alive and reacts the moment your on-chain payment settles; it just no longer carries the extra interface around it. (`/ibm/x402-demo`) `[improvement]`- **The IBM page became a live showcase — five three.ws demos in one place** — The IBM page at three.ws/ibm/x402-demo is now a live showcase: five real, unmocked three.ws demos you can try in sequence. Pay a tenth of a cent over x402 and watch it settle on-chain; meet a 3D AI agent that pays for its own data and celebrates the moment your payment clears; then Forge (turn text into a 3D model), Play (a shared 3D world), and IRL (an agent in augmented reality) each run full-size right on the page, with a one-tap full-screen. Everything still loads from three.ws with no build step. (`/ibm/x402-demo`) `[feature]`- **The Oracle's proof pages — wins, backtest, and live activity — load again** — The conviction Oracle's evidence views had stopped responding: the Wins gallery, the accuracy Backtest, and the global Activity feed were all erroring instead of returning data, and the live activity feed failed on every request. The cause was in how those queries were assembled — optional filters (time window, tier, agent) weren't being stitched into the database query correctly, so the database rejected them. All three views now build their filters cleanly and return the Oracle's track record, hit-rate, and real-time agent actions as intended. (`/oracle`) `[fix]`- **The Pole Club now has a real soundtrack** — Walk into the Pole Club and music starts playing the moment you interact — a full-length club anthem that rolls straight into a second track and then loops back to the top, so the room is never silent. The soundtrack streams (no heavy decode) and runs through the same room acoustics as everything else: muffled like it's heard through the door while you're outside, then opening up to full clarity the instant you're admitted. A tipped dancer's track and the walk-in anthem duck the music underneath them, and the Audio toggle in the top bar silences it all. (`/club`) `[feature, improvement]`diff --git a/README.md b/README.mdindex 89b603181..50f90299c 100644--- a/README.md+++ b/README.md@@ -1699,7 +1699,7 @@ Fifteen packages ship from this repo, all published to npm under the **`@three-w| Package | Run | What it does || --- | --- | --- |-| [`@three-ws/mcp-server`](mcp-server/) | `npx -y @three-ws/mcp-server` | 15 paid x402 tools: text/image→3D, rigging, pose, pump.fun, ERC-8004, vanity, AgenC, aixbt |+| [`@three-ws/mcp-server`](mcp-server/) | `npx -y @three-ws/mcp-server` | 16 tools: free text→3D (`forge_free`) + 15 paid x402 — text/image→3D, rigging, pose, pump.fun, ERC-8004, vanity, AgenC, aixbt || [`@three-ws/avatar-agent`](packages/avatar-agent-mcp/) | `npx -y @three-ws/avatar-agent` | Spawn a textured GLB avatar with a Solana wallet, a voice, and pump.fun launch powers || [`@three-ws/avatar-mcp`](packages/threews-avatar-mcp/) | `npx -y @three-ws/avatar-mcp` | Render a live, rotatable on-chain avatar inline + a paste-anywhere embed (free) || [`@three-ws/pumpfun-mcp`](packages/pumpfun-mcp/) | `npx -y @three-ws/pumpfun-mcp` | 23 free, read-only pump.fun + Solana tools — no API key |diff --git a/data/changelog.json b/data/changelog.jsonindex edb2c577b..36dc0995c 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-17",+ "title": "The IBM demo's 3D agent is now a clean, bare avatar",+ "summary": "The 3D agent on the IBM × three.ws x402 demo page is now simply an avatar on a transparent background — the chat box, on-canvas controls, and name plate are gone. It still comes alive and reacts the moment your on-chain payment settles; it just no longer carries the extra interface around it.",+ "tags": [+ "improvement"+ ],+ "link": "/ibm/x402-demo"+ },{"date": "2026-06-17","title": "The Pole Club now has a real soundtrack",diff --git a/marketplace/plugins/three-ws-developer/README.md b/marketplace/plugins/three-ws-developer/README.mdindex 3fe318b93..e6e3ae3fc 100644--- a/marketplace/plugins/three-ws-developer/README.md+++ b/marketplace/plugins/three-ws-developer/README.md@@ -19,14 +19,15 @@ Run `/reload-plugins` (or restart Claude Code) afterward.| :------ | :----------- || `/three-ws-developer:scaffold-agent <Name>` | Scaffold a runnable three.ws agent wired to the SDK, MCP tools, and x402 payments. || `/three-ws-developer:setup-mcp` | Configure `@three-ws/mcp-server` in Claude Desktop, Claude Code, or Cursor. Merges into your existing config. |-| `/three-ws-developer:use-tools <tool>` | Print ready-to-run code for any of the paid MCP tools. |+| `/three-ws-developer:use-tools <tool>` | Print ready-to-run code for any MCP tool (free or paid). |## Bundled MCP server-Installing this plugin registers the `3d-agent` MCP server (`npx -y @three-ws/mcp-server`), exposing 15 paid tools settled per-call in USDC via x402:+Installing this plugin registers the `3d-agent` MCP server (`npx -y @three-ws/mcp-server`), exposing 16 tools — one free, and 15 paid tools settled per-call in USDC via x402:| Tool | Price | What it does || :--- | :---- | :----------- |+| `forge_free` | **Free** | Text → textured 3D GLB on the free NVIDIA NIM (TRELLIS) lane — no payment, no wallet, no API key || `mesh_forge` | $0.25 | Text or image → textured 3D GLB (Granite-directed model chain) || `rig_mesh` | $0.20 | Auto-rig a static GLB into an animation-ready model || `text_to_avatar` | $0.15 | Text or image → textured 3D avatar GLB |diff --git a/marketplace/plugins/three-ws-developer/commands/setup-mcp.md b/marketplace/plugins/three-ws-developer/commands/setup-mcp.mdindex 576c57487..4211abb90 100644--- a/marketplace/plugins/three-ws-developer/commands/setup-mcp.md+++ b/marketplace/plugins/three-ws-developer/commands/setup-mcp.md@@ -71,10 +71,11 @@ Then tell the user to restart Claude Desktop / Claude Code / Cursor for the tool## Tools available-Once configured, these 15 paid tools will be available (settled per-call in USDC via x402):+Once configured, these 16 tools will be available — one free, and 15 paid (settled per-call in USDC via x402):| Tool | Price | What it does ||------|-------|--------------|+| `forge_free` | **Free** | Text → textured 3D GLB on the free NVIDIA NIM (TRELLIS) lane — no payment, no wallet, no key || `mesh_forge` | $0.25 | Text or image → textured 3D GLB || `rig_mesh` | $0.20 | Auto-rig a static GLB into an animation-ready model || `text_to_avatar` | $0.15 | Text or image → textured 3D avatar GLB |diff --git a/marketplace/plugins/three-ws-developer/commands/use-tools.md b/marketplace/plugins/three-ws-developer/commands/use-tools.mdindex 1bec94cab..acb29e07a 100644--- a/marketplace/plugins/three-ws-developer/commands/use-tools.md+++ b/marketplace/plugins/three-ws-developer/commands/use-tools.md@@ -1,5 +1,5 @@----description: "Show ready-to-run code for calling any of the @three-ws/mcp-server paid tools. Pass a tool name: /use-tools pump_snapshot"+description: "Show ready-to-run code for calling any @three-ws/mcp-server tool (free or paid). Pass a tool name: /use-tools forge_free"---You are producing a working code example for a specific three.ws MCP tool. `$ARGUMENTS` is the tool name the user wants to use. If blank, show a menu of all tools.@@ -8,6 +8,7 @@ You are producing a working code example for a specific three.ws MCP tool. `$ARG| Tool | Price | Input | Output ||------|-------|-------|--------|+| `forge_free` | **Free** | `{ prompt: string, tier?: 'draft'\|'standard'\|'high' }` | Textured GLB `glbUrl` + viewer `preview` — free NVIDIA NIM (TRELLIS) text→3D, no payment || `mesh_forge` | $0.25 | `{ prompt?: string, image_url?: string }` | Textured GLB `glbUrl`, viewer `preview`, `directedPrompt`, timing || `rig_mesh` | $0.20 | `{ glb_url: string }` | `riggedGlbUrl` + pose-studio link || `text_to_avatar` | $0.15 | `{ prompt?: string, image_urls?: string[] }` | Avatar GLB URL, model version, prediction id |@@ -70,6 +71,33 @@ console.log(JSON.parse(result.content[0].text));await transport.close();```+### Special case: `forge_free` (no payment)++`forge_free` is **free** — it never emits a 402, so it needs NO payment wrapper, NO wallet, and NO `AGENT_EVM_PRIVATE_KEY`. Generate the example on the **bare** MCP client instead of `wrapMCPClientWithPayment`:++```js+import { Client } from '@modelcontextprotocol/sdk/client/index.js';+import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';++const transport = new StdioClientTransport({+ command: 'npx',+ args: ['-y', '@three-ws/mcp-server'],+});++const mcp = new Client({ name: 'demo', version: '1.0.0' });+await mcp.connect(transport);++// Free text → 3D — no payment, no wallet, no API key.+const res = await mcp.callTool('forge_free', { prompt: 'a friendly round robot mascot, glossy white plastic', tier: 'draft' });+const out = res.structuredContent ?? JSON.parse(res.content[0].text);+console.log(out.glbUrl); // durable GLB you can download+console.log(out.preview); // three.ws viewer link that renders it in the browser++await transport.close();+```++Note for `forge_free`: it runs the free NVIDIA NIM (Microsoft TRELLIS) text→3D lane — the same engine `/forge` uses for drafts. Tiers `draft` (default), `standard`, and `high` are all free; higher tiers only take longer. It is text-only; for image/multi-view input or the Granite-directed chain, use `mesh_forge` (paid).+Adapt the tool name, input, and any tool-specific notes (e.g., for `vanity_grinder` note that the returned secret key must be treated as a secret and stored securely; for `agent_reputation` note that `agentId` can be an EVM address and `chainId` defaults to Base).After the code block, add a one-paragraph note on:diff --git a/mcp-server/src/payments.js b/mcp-server/src/payments.jsindex 4b1236f69..4bb2d0761 100644--- a/mcp-server/src/payments.js+++ b/mcp-server/src/payments.js@@ -297,8 +297,9 @@ export function free(cfg, handler) {/*** Build the MCP `CallToolResult` envelope from a handler's return value.*- * This is the single place every paid tool's output is shaped, so all 15 tools- * get the same modern MCP contract for free:+ * This is the single place every tool's output is shaped — paid (via `paid()`)+ * and free (via `free()`) alike — so every tool gets the same modern MCP+ * contract:** - `content[0].text` — the JSON (or raw string) blob. Always present, so* pre-2025-06-18 clients that only read text keep working unchanged.diff --git a/pages/ibm/x402-demo.html b/pages/ibm/x402-demo.htmlindex 8ec88a3b1..8cffae64c 100644--- a/pages/ibm/x402-demo.html+++ b/pages/ibm/x402-demo.html@@ -338,14 +338,6 @@ a:focus-visible{outline-offset:3px}agent-3d:defined ~ .agent-skel{display:none}.agent-copy h3{font-size:18px;font-weight:600;margin-bottom:8px}.agent-copy p{font-size:14px;color:var(--ibm-muted);font-weight:300;line-height:1.65;margin-bottom:14px;max-width:48ch}-.agent-copy .agent-state{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--ibm-subtle);border:1px solid var(--ibm-border);padding:5px 12px;border-radius:2px;margin-bottom:14px}-.agent-copy .agent-state .dot{width:7px;height:7px;border-radius:50%;background:var(--ibm-subtle);flex:0 0 auto;transition:background .2s}-.agent-copy .agent-state.ready .dot{background:var(--ibm-green)}-.agent-copy .agent-state.acting .dot{background:var(--ibm-blue);animation:dotpulse 1.2s var(--ease) infinite}-.agent-copy .agent-state.err .dot{background:var(--ibm-red)}-.agent-prompts{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}-.agent-prompt{font-size:12px;font-weight:500;color:var(--ibm-blue);background:none;border:1px solid var(--ibm-border);padding:7px 12px;cursor:pointer;border-radius:2px;font-family:inherit;transition:border-color .12s,background .12s}-.agent-prompt:hover{border-color:var(--ibm-blue);background:var(--ibm-field)}/* ── Demo nav strip (hero) ── */.demo-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}@@ -379,7 +371,7 @@ agent-3d:defined ~ .agent-skel{display:none}.live-embed.failed .embed-load{display:none}.live-embed.failed .embed-err{display:flex}.embed-err a{font-weight:600}-@media(pointer:coarse){.agent-prompt,.demo-nav a,.live-embed .bar-actions button,.live-embed .bar-actions a{min-height:44px}}+@media(pointer:coarse){.demo-nav a,.live-embed .bar-actions button,.live-embed .bar-actions a{min-height:44px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}@@ -803,11 +795,6 @@ agent-3d:defined ~ .agent-skel{display:none}// no faked timing, no canned animation loop.var agentReady = false;function agentEl() { return document.getElementById('guideAgent'); }- function setAgentState(cls, text) {- var s = $('agentState'); if (!s) return;- s.className = 'agent-state' + (cls ? ' ' + cls : '');- $('agentStateText').textContent = text;- }// Fire a reaction only once the component has booted; calls before that no-op// safely inside the element, but gating avoids wasted work.function agentReact(fn) {@@ -815,42 +802,23 @@ agent-3d:defined ~ .agent-skel{display:none}if (!el || !agentReady) return;try { fn(el); } catch (_) {}}+ // The avatar is bare (no chat) — we only track when it has booted so its+ // scripted reactions to the payment lifecycle can fire.function wireAgent() {var el = agentEl();if (!el) return;- el.addEventListener('agent:ready', function () {- agentReady = true;- setAgentState('ready', 'Agent ready — ask it anything');- });- el.addEventListener('agent:error', function () {- setAgentState('err', 'Agent had trouble loading');- });- // Suggestion buttons hand the question to the agent's own brain.- var prompts = $('agentPrompts');- if (prompts) prompts.addEventListener('click', function (e) {- var btn = e.target.closest('[data-ask]'); if (!btn) return;- var el2 = agentEl();- if (el2 && typeof el2.say === 'function') {- el2.say(btn.getAttribute('data-ask'));- setAgentState('acting', 'Agent is answering…');- document.getElementById('agent').scrollIntoView({ behavior: prefersReducedMotion() ? 'auto' : 'smooth', block: 'center' });- }- });+ el.addEventListener('agent:ready', function () { agentReady = true; });}function agentOnWaiting() {- setAgentState('acting', 'Watching your wallet…');agentReact(function (el) { if (el.expressEmotion) el.expressEmotion('patience', 0.6); });}function agentOnSettled() {- setAgentState('acting', 'Settled — the agent saw it');agentReact(function (el) {if (el.expressEmotion) el.expressEmotion('celebration', 0.95);if (el.playEmote) el.playEmote('cheer');});- setTimeout(function () { if (agentReady) setAgentState('ready', 'Agent ready'); }, 7200);}function agentOnError() {- setAgentState(agentReady ? 'ready' : '', agentReady ? 'Agent ready — ask it anything' : 'Waking the agent…');agentReact(function (el) { if (el.expressEmotion) el.expressEmotion('concern', 0.8); });}@@ -971,7 +939,6 @@ agent-3d:defined ~ .agent-skel{display:none}var el = $('result'); el.className = 'result is-empty';el.innerHTML = 'Run the call to see live, on-chain-paid data appear here.';announce('');- setAgentState(agentReady ? 'ready' : '', agentReady ? 'Agent ready — ask it anything' : 'Waking the agent…');}function setResultLoading(msg) {var el = $('result'); el.className = 'result is-loading';diff --git a/public/changelog.json b/public/changelog.jsonindex 10e94efc4..dc3c940ae 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-17T23:20:15.613Z",+ "generated_at": "2026-06-17T23:26:29.150Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -936,6 +936,16 @@"improvement"]},+ {+ "date": "2026-06-17",+ "type": "update",+ "title": "The IBM demo's 3D agent is now a clean, bare avatar",+ "summary": "The 3D agent on the IBM × three.ws x402 demo page is now simply an avatar on a transparent background — the chat box, on-canvas controls, and name plate are gone. It still comes alive and reacts the moment your on-chain payment settles; it just no longer carries the extra interface around it.",+ "link": "/ibm/x402-demo",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-17","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 2acbc3fd4..5cf37830f 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -726,6 +726,14 @@<category>feature</category><description>Ask the chat to make any 3D object — "a brass steampunk owl, full body" — and watch it build right in the conversation. The concept image appears first, a staged progress readout (reconstructing geometry → texturing → finalizing) replaces the old blank spinner, and the finished model drops into an interactive viewer with studio lighting, a soft contact shadow, and smooth auto-orbit. Download the GLB with one click, go fullscreen, recenter, or hit Rig & Animate to turn the mesh into a posed, moving character. Every failure now has a designed state with a Try again and an Open in Forge path, so a slow or busy run never dead-ends. Free, no key required.</description></item>+ <item>+ <title>The IBM demo's 3D agent is now a clean, bare avatar</title>+ <link>https://three.ws/ibm/x402-demo</link>+ <guid isPermaLink="false">2026-06-17:The IBM demo's 3D agent is now a clean, bare avatar</guid>+ <pubDate>Wed, 17 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>The 3D agent on the IBM × three.ws x402 demo page is now simply an avatar on a transparent background — the chat box, on-canvas controls, and name plate are gone. It still comes alive and reacts the moment your on-chain payment settles; it just no longer carries the extra interface around it.</description>+ </item><item><title>The IBM page became a live showcase — five three.ws demos in one place</title><link>https://three.ws/ibm/x402-demo</link>diff --git a/public/features.json b/public/features.jsonindex 759daa9f5..1b6b81eee 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-17T23:20:15.598Z",+ "generated_at": "2026-06-17T23:26:29.134Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",