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
chore: update env access, vercel config, and showcase/changelog
nirholas8b0433fbd809
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e1c743ec4..1d313885d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -30,6 +30,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Browse and contribute to the Loom 3D gallery over MCP** — A new Model Context Protocol server, @three-ws/loom-mcp, opens the Loom community gallery — the public feed of 3D models forged on three.ws — to any AI agent. Agents can browse the gallery newest-first, open any creation with a ready-made viewer and embed code, and submit their own forged GLB to share with everyone. Each creation comes back with a one-click /forge/embed viewer URL and a paste-ready iframe so a model can be previewed inline. It rounds out the 3D toolkit: generate or compose a model with the avatar and scene servers, then publish it to Loom for the whole platform to see. Submissions are public and lightly rate-limited; no account or key is needed. (`/forge`) `[sdk, feature]`- **Buy live $THREE market intel over x402 — right on the IBM partnership page** — The IBM and three.ws partnership page now has a live $THREE Town Oracle: pay $0.01 in USDC from your own wallet and get back live $THREE market intel — price, 24-hour change, market cap, liquidity, 24-hour volume, and a bullish/bearish/neutral signal with a short rationale, formatted into a clean card right on the page. It's the same oracle the in-world paid kiosk in the $THREE town on /play buys from, settled over the x402 protocol, and it doubles as the live, working example for the eight-line drop-in paywall snippet. Data is live from DexScreener; nothing is mocked. (`/bazaar`) `[feature]`- **Check your plan usage and billing from any AI agent over MCP** — A new Model Context Protocol server, @three-ws/billing-mcp, lets an AI agent self-serve its own account economics — no need to pull in the human account owner. Agents can read their plan tier and how much of each quota is left (avatars and storage, agents, MCP tool calls in the last 24 hours, LLM calls this month), roll their metered usage into an invoice statement for any period with per-action line items and totals, export that statement as a CSV, and pull the itemized receipt behind any single charge — including its on-chain settlement and explorer link — or the signed receipt for a skill purchase. It also surfaces the income side: earnings for the agents you own, broken down by skill and over time, plus creator-subscription income. Every account read is private and scoped to your three.ws session; only the public platform fee rate needs no credential. The server is read-only — it never signs or moves funds. `[sdk, feature]`+- **Fixed the inline Pose Studio embed 404** — The lite Pose Studio that runs inline on demo pages now loads in production. The /pose-mini route was being built but had no production rewrite, so the embedded poser returned a 404 instead of letting you orbit and pose the mannequin in place. The route is now wired and the embed loads live. `[fix]`- **Play Coin Clash from any AI agent over MCP** — A new Model Context Protocol server, @three-ws/clash-mcp, opens Coin Clash — the three.ws community faction war — to any AI agent. Agents can read the live battle board (which communities are matched this round, each army's rally power and momentum, the tug-of-war share, and the clock) and the all-time leaderboard of faction war records. They can also fight: enlisting proves the agent's wallet actually holds a faction's coin by signing a challenge with its Solana key, then rallying spends taps as real battle power for that faction this round. Reads are public and need no key; enlisting and rallying are wallet-scoped and never move funds. Factions and momentum come straight from CoinCommunities and pump.fun — the same live data the /clash arena runs on. (`/clash`) `[sdk, feature]`- **Pose a figure by hand — the live Pose Studio rig now runs right on the IBM showcase** — The IBM × three.ws showcase page has a new demo: pose a 3D figure by hand. Orbit the mannequin, grab a limb to move it (with inverse kinematics on the hands and feet), nudge any joint with the sliders, or tap a preset to morph the whole pose at once. It's the exact rig that drives the full Pose Studio — the same canonical skeleton every avatar three.ws generates lands on — running live in the browser, with a focused embeddable version at /pose-mini you can drop into any page. (`/pose`) `[feature]`diff --git a/api/_lib/env.js b/api/_lib/env.jsindex 711982248..6b5f26fcd 100644--- a/api/_lib/env.js+++ b/api/_lib/env.js@@ -573,19 +573,26 @@ export const env = {},// $THREE as a second Solana settlement asset, offered alongside USDC so// holders can pay any three.ws paid endpoint in the platform token — the- // modal renders a token chooser whenever both are advertised. OFF by default:- // the advertised accept is co-signed and settled by X402_FACILITATOR_URL_SOLANA,- // so only enable once that facilitator actually settles the $THREE mint, else- // every THREE payment would verify-sign and then fail at /settle. Reuses the- // platform $THREE mint + decimals (THREE_TOKEN_MINT / THREE_TOKEN_DECIMALS).+ // modal renders a token chooser whenever both are advertised. ON by default+ // now that $THREE is the platform's only coin and every paid surface should+ // take it. Reuses the platform $THREE mint + decimals (THREE_TOKEN_MINT /+ // THREE_TOKEN_DECIMALS).+ // ⚠️ OPERATIONAL PREREQUISITE: the advertised accept is co-signed and+ // settled by X402_FACILITATOR_URL_SOLANA. That facilitator MUST settle the+ // $THREE mint — three.ws's own checkout (api/x402-checkout.js) transfers any+ // SPL mint, so it does; a vanilla USDC-only facilitator does NOT, and every+ // $THREE payment would verify-sign then fail at /settle. If your Solana+ // facilitator is USDC-only, set this to 'false' until it supports $THREE.get X402_ACCEPT_THREE_SOLANA() {- return opt('X402_ACCEPT_THREE_SOLANA', 'false') === 'true';+ return opt('X402_ACCEPT_THREE_SOLANA', 'true') === 'true';},- // Optional THREE price per call, in atomic THREE units (6 decimals). Unset →- // the USDC atomic price is reused. Set explicitly to price THREE by its own- // value rather than 1:1 with the dollar amount (e.g. while $THREE ≠ $1).+ // Flat THREE price per paid call, in atomic THREE units (6 decimals).+ // 10_000_000 = 10 $THREE. A single flat amount for every endpoint regardless+ // of its USDC price (a $0.01 oracle call and a $0.50 Forge both cost 10 THREE)+ // — adjust to taste, or set X402_THREE_AMOUNT_SOLANA in the environment to+ // override. Unset → falls back to reusing the USDC atomic amount.get X402_THREE_AMOUNT_SOLANA() {- return opt('X402_THREE_AMOUNT_SOLANA');+ return opt('X402_THREE_AMOUNT_SOLANA', '10000000');},// ERC-8021 builder-code app identifier. When set, every 402 challengediff --git a/data/changelog.json b/data/changelog.jsonindex 0967a609b..d52ff9cb0 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,23 @@{"$comment": "Curated changelog entries for three.ws — 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-24",+ "title": "Pay for any three.ws service in $THREE — not just USDC",+ "summary": "$THREE is now a first-class payment token across every paid three.ws endpoint over x402, alongside USDC. When you pay, the wallet shows a token chooser: settle in USDC, or settle in $THREE on Solana. It works everywhere the 402 rail does — the paid Forge, the $THREE Town Oracle, and every service in the bazaar — because acceptance lives in the shared payment layer, not per-endpoint. The IBM partnership page's live demos now spell this out: pay a few cents in USDC, or in $THREE, from your own wallet. $THREE is priced at a flat per-call amount on Solana.",+ "tags": [+ "feature"+ ],+ "link": "/bazaar"+ },+ {+ "date": "2026-06-24",+ "title": "Fixed the inline Pose Studio embed 404",+ "summary": "The lite Pose Studio that runs inline on demo pages now loads in production. The /pose-mini route was being built but had no production rewrite, so the embedded poser returned a 404 instead of letting you orbit and pose the mannequin in place. The route is now wired and the embed loads live.",+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-24","title": "AI agents can now read and manage their own notification inbox over MCP",diff --git a/pages/ibm/hello.html b/pages/ibm/hello.htmlindex 1572a5b00..0fbdde09d 100644--- a/pages/ibm/hello.html+++ b/pages/ibm/hello.html@@ -527,7 +527,7 @@ a:focus-visible{outline-offset:3px}<a class="btn" href="#forge">Explore the live demos <span class="arrow" aria-hidden="true">→</span></a><a class="btn-tertiary" href="https://three.ws/docs/ibm" target="_blank" rel="noopener">Explore IBM and three.ws technology collaborations <span aria-hidden="true">→</span></a></div>- <p class="hero-note">Every demo below runs against real, production three.ws systems: pay a few cents to turn text into a 3D model, forge a rigged avatar from a sentence, pose it by hand, fly a 3D galaxy of agents mapped by <span class="mono">IBM Granite</span>, enter a shared world, or place an agent in augmented reality. The paid Forge settles real USDC from your own wallet; the rest are free, no wallet needed. Nothing is mocked.</p>+ <p class="hero-note">Every demo below runs against real, production three.ws systems: pay a few cents to turn text into a 3D model, forge a rigged avatar from a sentence, pose it by hand, fly a 3D galaxy of agents mapped by <span class="mono">IBM Granite</span>, enter a shared world, or place an agent in augmented reality. The paid Forge settles real USDC — or <span class="mono">$THREE</span> — from your own wallet; the rest are free, no wallet needed. Nothing is mocked.</p><nav class="demo-nav" aria-label="The demos on this page"><a href="#webinar" class="nav-live"><span class="live-dot" aria-hidden="true"></span>Watch live</a><a href="#forge"><span class="n">01</span>Forge</a>@@ -1035,7 +1035,7 @@ a:focus-visible{outline-offset:3px}<div class="inner"><div class="section-tag">Demo 01 · Creation</div><h2 id="forge-h">Forge a <strong>3D model</strong> from a sentence</h2>- <p class="section-lead">This pays the same x402 rail as the demo below — one USDC micropayment runs a real text→3D pipeline (Microsoft TRELLIS on NVIDIA NIM) and hands back a textured GLB you can orbit and download. The price below is read live from the server's own 402 response.</p>+ <p class="section-lead">This pays the same x402 rail as the demo below — one micropayment, in USDC or <span class="mono">$THREE</span> on Solana, runs a real text→3D pipeline (Microsoft TRELLIS on NVIDIA NIM) and hands back a textured GLB you can orbit and download. The price below is read live from the server's own 402 response; pick your token in the wallet.</p><div class="demo"><div class="demo-head">@@ -1045,8 +1045,8 @@ a:focus-visible{outline-offset:3px}</div><div class="price-tag"><div class="amt" id="fgPriceAmt" aria-hidden="true">$<strong>0.05</strong></div>- <div class="net" aria-hidden="true">USDC · per model</div>- <span class="sr-only" id="fgPriceSr">Price: five cents in USDC per generation.</span>+ <div class="net" aria-hidden="true">USDC or $THREE · per model</div>+ <span class="sr-only" id="fgPriceSr">Price: five cents per generation, payable in USDC or $THREE on Solana.</span></div></div>@@ -1101,7 +1101,7 @@ a:focus-visible{outline-offset:3px}<!-- requirements --><div class="note"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>- <p>You'll need the <b>Phantom</b> wallet on <b>Solana</b> — holding the model's price in <b>USDC</b> on Solana mainnet. This spends <b>real USDC</b> — the price shown above — from your own wallet. The payment itself is a gasless signature: the network fee is sponsored by the x402 facilitator, so it isn't added to your cost. Generation runs once the payment verifies and takes roughly a minute. No wallet? Forge one <b>free</b> below — no wallet, no key, no payment.</p>+ <p>You'll need the <b>Phantom</b> wallet on <b>Solana</b> — holding the model's price in <b>USDC</b>, or the equivalent in <b>$THREE</b>, on Solana mainnet. This spends <b>real funds</b> — the price shown above — from your own wallet; the wallet lets you pick USDC or <b>$THREE</b>. The payment itself is a gasless signature: the network fee is sponsored by the x402 facilitator, so it isn't added to your cost. Generation runs once the payment verifies and takes roughly a minute. No wallet? Forge one <b>free</b> below — no wallet, no key, no payment.</p></div></div></div>@@ -1387,7 +1387,7 @@ a:focus-visible{outline-offset:3px}<!-- The snippet above, wired live. x402.js (loaded near </body>) binds any[data-x402-endpoint]; this is the same $THREE Town Oracle the in-world- kiosk on /play buys from, settled in real USDC over x402. -->+ kiosk on /play buys from, settled in real USDC or $THREE over x402. --><div class="x402-live" id="threeOracle"><div class="xl-head"><div class="xl-kicker">Live · runs right here</div>@@ -1405,9 +1405,9 @@ a:focus-visible{outline-offset:3px}<a class="btn-tertiary" href="https://pump.fun/FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump" target="_blank" rel="noopener">View <span class="mono">$THREE</span> on pump.fun <span aria-hidden="true">→</span></a></div><div class="ti-result" id="threeOracleResult" aria-live="polite">- <p class="ti-empty">You'll get back price, 24-hour change, market cap, liquidity, 24-hour volume, and a signal with a short rationale — live from DexScreener. Settles in USDC on Solana or Base; the network fee is sponsored by the facilitator.</p>+ <p class="ti-empty">You'll get back price, 24-hour change, market cap, liquidity, 24-hour volume, and a signal with a short rationale — live from DexScreener. Settles in USDC or <span class="mono">$THREE</span> on Solana (USDC on Base); the network fee is sponsored by the facilitator.</p></div>- <p class="xl-note">Spends $0.01 of real USDC from your wallet. The only coin three.ws issues is <span class="mono">$THREE</span> · <span class="mono">FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</span>.</p>+ <p class="xl-note">Spends $0.01 of real funds from your wallet — pay in USDC, or in <span class="mono">$THREE</span> on Solana. The only coin three.ws issues is <span class="mono">$THREE</span> · <span class="mono">FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</span>.</p></div></div></div>@@ -1429,7 +1429,7 @@ a:focus-visible{outline-offset:3px}<a href="https://three.ws/changelog" target="_blank" rel="noopener">Changelog</a></nav><div class="footer-legal">- Live x402 demo · three.ws, an IBM Business Partner. Payments settle in USDC on Base or Solana mainnet via the x402 protocol. The only coin this platform issues is $THREE (FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump).+ Live x402 demo · three.ws, an IBM Business Partner. Payments settle in USDC on Base or Solana mainnet — or in $THREE on Solana — via the x402 protocol. The only coin this platform issues is $THREE (FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump).</div></div></footer>diff --git a/public/changelog.json b/public/changelog.jsonindex 3236a8363..3856964ff 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-24T07:26:26.842Z",+ "generated_at": "2026-06-24T07:36:37.840Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -233,6 +233,16 @@"feature"]},+ {+ "date": "2026-06-24",+ "type": "update",+ "title": "Fixed the inline Pose Studio embed 404",+ "summary": "The lite Pose Studio that runs inline on demo pages now loads in production. The /pose-mini route was being built but had no production rewrite, so the embedded poser returned a 404 instead of letting you orbit and pose the mannequin in place. The route is now wired and the embed loads live.",+ "link": null,+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-24","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex ec837479b..ec520338d 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -174,6 +174,14 @@<category>sdk</category><description>A new Model Context Protocol server, @three-ws/billing-mcp, lets an AI agent self-serve its own account economics — no need to pull in the human account owner. Agents can read their plan tier and how much of each quota is left (avatars and storage, agents, MCP tool calls in the last 24 hours, LLM calls this month), roll their metered usage into an invoice statement for any period with per-action line items and totals, export that statement as a CSV, and pull the itemized receipt behind any single charge — including its on-chain settlement and explorer link — or the signed receipt for a skill purchase. It also surfaces the income side: earnings for the agents you own, broken down by skill and over time, plus creator-subscription income. Every account read is private and scoped to your three.ws session; only the public platform fee rate needs no credential. The server is read-only — it never signs or moves funds.</description></item>+ <item>+ <title>Fixed the inline Pose Studio embed 404</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-24:Fixed the inline Pose Studio embed 404</guid>+ <pubDate>Wed, 24 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The lite Pose Studio that runs inline on demo pages now loads in production. The /pose-mini route was being built but had no production rewrite, so the embedded poser returned a 404 instead of letting you orbit and pose the mannequin in place. The route is now wired and the embed loads live.</description>+ </item><item><title>Play Coin Clash from any AI agent over MCP</title><link>https://three.ws/clash</link>diff --git a/public/features.json b/public/features.jsonindex 115cdf29e..02ce6656a 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-24T07:26:26.829Z",+ "generated_at": "2026-06-24T07:36:37.824Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/vercel.json b/vercel.jsonindex 97ea2ea5f..6889ef615 100644--- a/vercel.json+++ b/vercel.json@@ -975,6 +975,10 @@"src": "/pose/?","dest": "/pose.html"},+ {+ "src": "/pose-mini/?",+ "dest": "/pose-mini.html"+ },{"src": "/club/?","dest": "/club.html"