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
fix(chat): give anonymous chat a funded anchor when free lanes are exhausted
nirholasd5f4795c962e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ce777cb1a..19e983fda 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Image to 3D — Turn a Photo into a 3D Model** (`/image-to-3d`) — Upload a photo (or up to 4 angles) and get a downloadable textured 3D model (GLB). The Forge's photo lane, opened directly — for objects and props; for faces, use Selfie to Avatar.- **A little nod when your forge collection grows** — When you forge a few models from the homepage, three.ws now gives a quiet, occasional note as your on-device collection reaches a milestone (your 3rd, 10th, and so on). It is understated by design and never interrupts, just a small acknowledgement that you are building something. (`/`) `[improvement]`- **A new way to generate avatars: modular, and no two look alike** — The studio avatar generator used to recolor one of five fixed body meshes, so a whole gallery of them read as the same handful of people in different colors. It now composes each avatar from modular parts: a hairstyle, top, bottom, footwear, and glasses mixed across the base bodies onto one shared skeleton, then recolored per part and scaled for height. This is the same one-skeleton-many-parts approach the best avatar platforms use, built in-house with no external service. Every generated avatar is fully rigged and carries facial expression blendshapes, and two of them almost never look the same. All platform-generated avatars continue to appear across the galleries. (`/gallery`) `[feature, improvement]`+- **AI chat stays up when the free lanes are busy** — The AI chat could return a capacity error when its free model lanes were all rate-limited at once, because signed-out chats had no funded backstop to fall to. Anonymous chat now finishes on our credits-funded Vertex Gemini anchor once the free tiers are exhausted, so a busy moment no longer turns into a dead end. We also removed a chat model route that had been failing every request, which was adding latency to every reply and could surface as an occasional error. `[fix, infra]`- **AR Studio goes multiplayer: build a scene together in real time** — The AR Studio can now be a shared space. Tap Share live to open a room with a short code, send it to a friend, and you both see the same scene update live: every model one of you adds, moves, resizes, rotates, or removes appears for everyone in the room instantly, with a running count of who's building alongside you. Forge a new model from a prompt and it drops into the shared room for everyone. Open the same room on two phones pointed at the same QR marker and the models pin to the same spot on your real table. It runs on the same realtime servers as our live worlds, with each person only able to edit their own models. (`/ar/studio`) `[feature]`- **AR Studio: fill your room with 3D models, and forge new ones without leaving the camera** — Until now AR on three.ws was one model at a time: generate, view, exit. The new AR Studio at three.ws/ar/studio is a live scene through your camera where you can place as many models and avatars as you like together in your real space. Pull in your own forge creations, the community feed, or any GLB link; type a prompt and a brand-new model is generated behind the live view and drops into the room when ready. Drag to move, pinch to resize, twist to rotate, duplicate or remove any model, with keyboard shortcuts on desktop. The models look like they belong: on supported Android phones they are lit by your actual room light and reflect it on metal and glass, and they hide correctly behind your real furniture; on every phone the lighting matches your room's brightness and colour. On Android each model also gets its own world anchor; on iPhone the camera view with gyro look works out of the box; on desktop you arrange the scene and send it to your phone with a QR code that carries the exact arrangement, not just the model list. Your scene survives a refresh, humanoid avatars idle naturally instead of standing frozen, and a photo button captures the whole composition. (`/ar/studio`) `[feature]`- **Avatar gallery previews now read clearly at a glance** — Gallery previews used to be shot dead-on against a near-black background, so dark models vanished and every card looked the same. Previews are now framed from a natural three-quarter angle, fill the card, and stand on a subtly tinted stage unique to each avatar. Prompt-created avatars also got more distinctive: sparse prompts like 'a knight' now commit to a specific look (age, build, hairstyle, palette, one signature detail) instead of converging on the same generic person. Every platform-generated avatar still appears in the galleries. (`/gallery`) `[improvement, fix]`@@ -48,6 +49,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Sharing a model now shows a preview card and a real link** — When you share a forged model, the share panel now shows the exact preview card the link will unfurl as on X, Farcaster, and in chats, so you can see what people will see before you post. Every share is now a real permalink to your model with that card, instead of sometimes falling back to a generic link. Models forged right on the homepage are shareable the same way. (`/forge`) `[improvement]`- **Sharper, cleaner models from photos** — Four upgrades to photo-to-3D landed together. Uploaded photos now have their background cleanly removed before reconstruction, so a busy backdrop no longer bleeds into the model. You can supply up to 6 reference angles instead of 4 for fuller coverage. Every uploaded angle is now quality-checked, and a blurry or off-subject one is dropped instead of corrupting the result. And every finished model runs through an automatic geometry cleanup pass that welds and de-duplicates the mesh and trims redundant triangles, so models load faster and render cleaner with no loss of detail. (`/image-to-3d`) `[improvement, feature]`- **The agent-to-agent payment economy runs far cheaper and now cycles hundreds of distinct payers** — Two improvements to the closed-loop x402 agent economy that dogfoods every paid endpoint on the platform. First, a fix: a background wallet-consolidation job was quietly closing the ring's payment account after every settlement, forcing the next one to recreate it and pay account rent each time. That single bug had pushed the real fee cost to roughly a hundred times where it should be. With it fixed and single-signature settlement turned on, each settlement is back to the network floor of a few thousandths of a cent, and the ring's working balance stays in the loop instead of leaking away. Second, a new capability: the ring can now cycle payments through a reusable pool of hundreds to a thousand distinct wallets instead of one, so the economy reads as many participants rather than a single account, with no extra cost per payment. The pool is off until funded and activated, and every wallet in it stays clearly labeled internal dogfooding, not organic demand. (`/admin/ring`) `[fix, improvement, infra]`+- **The homepage AR showcase leads with the best models, and its QR places the exact one you see** — The "Your 3D agent, in your room" section on the homepage now pulls from the top-voted community Forge gallery instead of a random newest-first bucket, so the model you land on is one of the best the community made, not a half-formed generation. And the desktop QR code finally keeps its promise: scanning it opens the exact model on screen in the AR studio and drops it into your space, instead of dumping you on a generic page. (`/`) `[fix]`- **The homepage community feed is now a live, browsable loop** — The strip of community models on the homepage used to be a fixed set of six. It is now a live feed you can actually browse: switch between Fresh and Trending, and press Show more to see more. New models made by anyone appear at the top on their own while you watch, with a live indicator so Right now stays honest. Each card still spins the real 3D model and opens it when clicked. (`/`) `[feature, improvement]`- **The homepage no longer greets you with an empty stage** — The live 3D agent on the homepage is the first thing you see, but on a cold visit it could sit as a blank near-black panel for several seconds while the model and 3D engine loaded. That gap is now filled with a gently breathing agent silhouette and a "summoning your agent" cue, so the stage feels alive from the very first paint instead of looking broken. It fades out the instant the real avatar is ready, respects reduced-motion settings, and if the preview ever stalls it now surfaces a retry instead of hanging on the placeholder. `[improvement]`- **The live money feed now refuels itself** — The Money Pulse at three.ws/pulse streams real on-chain agent activity, so it only moves when the autonomous agents have SOL to spend. When that fuel ran out, the feed went quiet until someone topped it up by hand. It now keeps itself running: when the funding root can't cover the agents' costs, it converts a small, capped slice of the platform's own USDC revenue into SOL automatically, and agents whose wallets can no longer be signed for are retired from the pool instead of stalling it. The feed stays live without manual intervention. (`/pulse`) `[infra, fix]`diff --git a/api/_lib/chat-models.js b/api/_lib/chat-models.jsindex 6aa9c354b..76cdb013b 100644--- a/api/_lib/chat-models.js+++ b/api/_lib/chat-models.js@@ -213,8 +213,16 @@ export const OPENROUTER_SIBLINGS = ['nousresearch/hermes-3-llama-3.1-405b:free',];-/** Providers an anonymous (unauthenticated) caller may use — free tiers only. */-export const ANON_PROVIDER_LIST = ['groq', 'openrouter', 'nvidia'];+/**+ * Providers an anonymous (unauthenticated) caller may use. The first three are+ * third-party free tiers; when all of them are rate-limited an anon request+ * would otherwise 503, so `vertex-gemini` (the credits-funded Vertex anchor,+ * effectively free to the user and the only rung with no third-party quota to+ * exhaust) is included as the last-resort anchor. Its rung carries its own+ * fixed model, so it is never auto-selected as an initial route — it is only+ * reached via failover once the free tiers are exhausted.+ */+export const ANON_PROVIDER_LIST = ['groq', 'openrouter', 'nvidia', 'vertex-gemini'];/*** Bounds on the fallback chain so a single request can't churn through everydiff --git a/data/changelog.json b/data/changelog.jsonindex 0c46437c1..29595b9c3 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -3,13 +3,40 @@"entries": [{"date": "2026-07-17",- "title": "AI features shrug off provider hiccups more gracefully",- "summary": "The chain that powers every AI feature (chat, agent brains, prompt-enhanced 3D generation) tries a series of providers and moves to the next when one fails. Two edge cases used to slip through: a provider that returned a broken response with a success code could abort the whole request instead of failing over, and a provider that returned nothing at all was treated as a real (blank) answer. Both now fall through to a healthy provider, so a single flaky upstream no longer surfaces as an error or an empty reply. Separately, per-user daily AI budgets no longer count our own Google Cloud credit usage, so heavy use of the free lanes can never lock you out.",+ "title": "AI chat stays up when the free lanes are busy",+ "summary": "The AI chat could return a capacity error when its free model lanes were all rate-limited at once, because signed-out chats had no funded backstop to fall to. Anonymous chat now finishes on our credits-funded Vertex Gemini anchor once the free tiers are exhausted, so a busy moment no longer turns into a dead end. We also removed a chat model route that had been failing every request, which was adding latency to every reply and could surface as an occasional error.","tags": ["fix","infra"]},+ {+ "date": "2026-07-17",+ "title": "The homepage AR showcase leads with the best models, and its QR places the exact one you see",+ "summary": "The \"Your 3D agent, in your room\" section on the homepage now pulls from the top-voted community Forge gallery instead of a random newest-first bucket, so the model you land on is one of the best the community made, not a half-formed generation. And the desktop QR code finally keeps its promise: scanning it opens the exact model on screen in the AR studio and drops it into your space, instead of dumping you on a generic page.",+ "tags": [+ "fix"+ ],+ "link": "/"+ },+ {+ "date": "2026-07-17",+ "title": "Describe your agent and we build it, no sign-in needed",+ "summary": "The create-agent wizard's one-line generator (describe it, we build it) used to require an account before it would do anything, even though the rest of the wizard now lets you build first and only sign in to ship. That gap is closed: signed-out visitors can generate a complete, ready-to-tweak agent (name, body, skills, personality, greeting, category) from a single sentence or the surprise-me button, then sign in only at the final step to mint it. Guests get a fair hourly generation budget, and the whole draft is saved and restored across sign-in so nothing is lost.",+ "tags": [+ "improvement"+ ],+ "link": "/create-agent"+ },+ {+ "date": "2026-07-17",+ "title": "The Money Pulse now tells you which token each trade was",+ "summary": "Trade and snipe beats in the live Money Pulse at three.ws/pulse used to read only \"traded ◎0.012\" with no hint of what was bought or sold, while launches already named the coin. Every trade now leads with the token: its $SYMBOL when we can name it (resolved from our token cache and platform launches), or a short mint address when we can't, with the full mint on hover. Across the last 200 real trades, 198 resolve to a symbol. The same identity shows up in the compact pulse ticker embedded around the site.",+ "tags": [+ "improvement"+ ],+ "link": "/pulse"+ },{"date": "2026-07-17","title": "You can now see exactly which build is live",diff --git a/public/changelog.json b/public/changelog.jsonindex ecadb119c..f85a94553 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-17T22:55:10.490Z",+ "generated_at": "2026-07-17T23:01:07.025Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -57,6 +57,17 @@"improvement"]},+ {+ "date": "2026-07-17",+ "type": "update",+ "title": "AI chat stays up when the free lanes are busy",+ "summary": "The AI chat could return a capacity error when its free model lanes were all rate-limited at once, because signed-out chats had no funded backstop to fall to. Anonymous chat now finishes on our credits-funded Vertex Gemini anchor once the free tiers are exhausted, so a busy moment no longer turns into a dead end. We also removed a chat model route that had been failing every request, which was adding latency to every reply and could surface as an occasional error.",+ "link": null,+ "tags": [+ "fix",+ "infra"+ ]+ },{"date": "2026-07-17","type": "update",@@ -446,6 +457,16 @@"infra"]},+ {+ "date": "2026-07-17",+ "type": "update",+ "title": "The homepage AR showcase leads with the best models, and its QR places the exact one you see",+ "summary": "The \"Your 3D agent, in your room\" section on the homepage now pulls from the top-voted community Forge gallery instead of a random newest-first bucket, so the model you land on is one of the best the community made, not a half-formed generation. And the desktop QR code finally keeps its promise: scanning it opens the exact model on screen in the AR studio and drops it into your space, instead of dumping you on a generic page.",+ "link": "/",+ "tags": [+ "fix"+ ]+ },{"date": "2026-07-17","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex a4b8a71cb..d38222c27 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -46,6 +46,14 @@<category>feature</category><description>The studio avatar generator used to recolor one of five fixed body meshes, so a whole gallery of them read as the same handful of people in different colors. It now composes each avatar from modular parts: a hairstyle, top, bottom, footwear, and glasses mixed across the base bodies onto one shared skeleton, then recolored per part and scaled for height. This is the same one-skeleton-many-parts approach the best avatar platforms use, built in-house with no external service. Every generated avatar is fully rigged and carries facial expression blendshapes, and two of them almost never look the same. All platform-generated avatars continue to appear across the galleries.</description></item>+ <item>+ <title>AI chat stays up when the free lanes are busy</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-07-17:AI chat stays up when the free lanes are busy</guid>+ <pubDate>Fri, 17 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The AI chat could return a capacity error when its free model lanes were all rate-limited at once, because signed-out chats had no funded backstop to fall to. Anonymous chat now finishes on our credits-funded Vertex Gemini anchor once the free tiers are exhausted, so a busy moment no longer turns into a dead end. We also removed a chat model route that had been failing every request, which was adding latency to every reply and could surface as an occasional error.</description>+ </item><item><title>AR Studio goes multiplayer: build a scene together in real time</title><link>https://three.ws/ar/studio</link>@@ -342,6 +350,14 @@<category>fix</category><description>Two improvements to the closed-loop x402 agent economy that dogfoods every paid endpoint on the platform. First, a fix: a background wallet-consolidation job was quietly closing the ring's payment account after every settlement, forcing the next one to recreate it and pay account rent each time. That single bug had pushed the real fee cost to roughly a hundred times where it should be. With it fixed and single-signature settlement turned on, each settlement is back to the network floor of a few thousandths of a cent, and the ring's working balance stays in the loop instead of leaking away. Second, a new capability: the ring can now cycle payments through a reusable pool of hundreds to a thousand distinct wallets instead of one, so the economy reads as many participants rather than a single account, with no extra cost per payment. The pool is off until funded and activated, and every wallet in it stays clearly labeled internal dogfooding, not organic demand.</description></item>+ <item>+ <title>The homepage AR showcase leads with the best models, and its QR places the exact one you see</title>+ <link>https://three.ws/</link>+ <guid isPermaLink="false">2026-07-17:The homepage AR showcase leads with the best models, and its QR places the exact one you see</guid>+ <pubDate>Fri, 17 Jul 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The "Your 3D agent, in your room" section on the homepage now pulls from the top-voted community Forge gallery instead of a random newest-first bucket, so the model you land on is one of the best the community made, not a half-formed generation. And the desktop QR code finally keeps its promise: scanning it opens the exact model on screen in the AR studio and drops it into your space, instead of dumping you on a generic page.</description>+ </item><item><title>The homepage community feed is now a live, browsable loop</title><link>https://three.ws/</link>diff --git a/public/features.json b/public/features.jsonindex 78d10a2c9..d9136b5a9 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-17T22:49:54.630Z",+ "generated_at": "2026-07-17T23:01:07.009Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/tests/chat-models.test.js b/tests/chat-models.test.jsindex dec066d2c..9af3bceac 100644--- a/tests/chat-models.test.js+++ b/tests/chat-models.test.js@@ -111,10 +111,16 @@ describe('free-first ordering', () => {}});- it('anonymous callers are clamped to free providers only', () => {- expect(ANON_PROVIDER_LIST).toEqual(['groq', 'openrouter', 'nvidia']);+ it('anonymous callers are clamped to free tiers plus the credits-funded Vertex Gemini anchor', () => {+ expect(ANON_PROVIDER_LIST).toEqual(['groq', 'openrouter', 'nvidia', 'vertex-gemini']);+ // The free third-party lanes lead; the funded Vertex anchor is the+ // last-resort rung so an anon caller never 503s just because every free+ // tier is rate-limited at once.+ expect(ANON_PROVIDER_LIST[ANON_PROVIDER_LIST.length - 1]).toBe('vertex-gemini');+ // No paid third-party provider is ever exposed to anon callers.expect(ANON_PROVIDER_LIST).not.toContain('openai');expect(ANON_PROVIDER_LIST).not.toContain('anthropic');+ expect(ANON_PROVIDER_LIST).not.toContain('vertex-anthropic');});});