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
docs(sweep): true up crews, memory, forge and studio docs and regenerate the combined aggregate
nirholas84b627f38252
diff --git a/docs/ALL.md b/docs/ALL.mdindex 133e53283..da0a50d0b 100644--- a/docs/ALL.md+++ b/docs/ALL.md@@ -1,7 +1,7 @@<!-- GENERATED by scripts/combine-docs.mjs — do not edit by hand. Edit the source files under docs/ and re-run. --># three.ws — Combined Documentation-> Single-file snapshot of every document under [`docs/`](.). Generated 2026-08-13 from **511 files** (~7117 KB).+> Single-file snapshot of every document under [`docs/`](.). Generated 2026-08-13 from **512 files** (~7148 KB).> The individual source files remain the canonical, editable copies — this file is a read-only aggregate.## Table of contents@@ -197,113 +197,114 @@- [native-launchpad.md](#sec-286)- [news-rights.md](#sec-287)- [notifications.md](#sec-288)-- [nvidia-inception.md](#sec-289)-- [nvidia-models.md](#sec-290)-- [nvidia-nemotron-spotlight.md](#sec-291)-- [object-library.md](#sec-292)-- [okx-marketplace.md](#sec-293)-- [onboarding-tier.md](#sec-294)-- [onchain-agents.md](#sec-295)-- [oracle.md](#sec-304)-- [overlay-audit.md](#sec-305)-- [package-extraction.md](#sec-306)-- [partners.md](#sec-307)-- [pay-skills-listing.md](#sec-309)-- [payment-sessions.md](#sec-310)-- [permissions.md](#sec-311)-- [persona-hub.md](#sec-312)-- [plan-checkout.md](#sec-313)-- [play-boot-performance.md](#sec-314)-- [play-forge-in-world.md](#sec-315)-- [play-hardening.md](#sec-316)-- [play-live-events.md](#sec-317)-- [popular-3d-github-repos.md](#sec-318)-- [portfolio.md](#sec-319)-- [premium.md](#sec-320)-- [press-kit.md](#sec-321)-- [procedural-animation.md](#sec-322)-- [provenance.md](#sec-323)-- [pump-fun-mcp-edge.md](#sec-324)-- [pump-launch-repos.md](#sec-325)-- [pump-launcher.md](#sec-326)-- [pump-platform-fee.md](#sec-327)-- [quick-start.md](#sec-348)-- [radar.md](#sec-349)-- [reasoning-ledger.md](#sec-350)-- [remix.md](#sec-351)-- [reputation-staking-market.md](#sec-352)-- [reputation.md](#sec-353)-- [restyle.md](#sec-354)-- [rig-doctor.md](#sec-355)-- [risk-acknowledgment.md](#sec-356)-- [robinhood-chain-markets.md](#sec-357)-- [sas-attestations.md](#sec-358)-- [scene-studio.md](#sec-359)-- [sdk.md](#sec-360)-- [security.md](#sec-361)-- [seed-quality.md](#sec-362)-- [selfie-to-avatar.md](#sec-363)-- [share-and-embed.md](#sec-364)-- [shared-utilities.md](#sec-365)-- [showcase.md](#sec-366)-- [sign-language.md](#sec-367)-- [signals.md](#sec-368)-- [sketchfab.md](#sec-369)-- [skills.md](#sec-370)-- [smart-contracts.md](#sec-371)-- [smart-money.md](#sec-372)-- [sniper-autonomy.md](#sec-373)-- [social-layer.md](#sec-374)-- [solana-pumpfun.md](#sec-375)-- [solana-reputation.md](#sec-376)-- [solana.md](#sec-377)-- [spatial-mcp.md](#sec-378)-- [splat.md](#sec-380)-- [stage.md](#sec-381)-- [start-here.md](#sec-382)-- [strategy-objects.md](#sec-383)-- [swarms.md](#sec-384)-- [syndication.md](#sec-385)-- [talking-avatar-video.md](#sec-386)-- [terminal.md](#sec-387)-- [three-microbuy.md](#sec-388)-- [timeline.md](#sec-389)-- [token-gated-3d-embeds.md](#sec-390)-- [tokens-xyz.md](#sec-391)-- [trader-card.md](#sec-392)-- [trader-passport.md](#sec-393)-- [trading-arenas.md](#sec-394)-- [trading-copilot.md](#sec-395)-- [trading-experiment.md](#sec-396)-- [trading-hub.md](#sec-397)-- [trading-surfaces.md](#sec-398)-- [troubleshooting.md](#sec-399)-- [trust-primitives.md](#sec-400)-- [ui-juice.md](#sec-470)-- [user-wallet.md](#sec-471)-- [validation.md](#sec-484)-- [vanity.md](#sec-485)-- [vaults.md](#sec-486)-- [viability.md](#sec-487)-- [viewer.md](#sec-488)-- [voice-lab.md](#sec-489)-- [walk-leaderboard.md](#sec-490)-- [web-component.md](#sec-491)-- [widget-api.md](#sec-492)-- [widget-studio.md](#sec-493)-- [widgets.md](#sec-494)-- [world-lines.md](#sec-495)-- [x-meetup-posts.md](#sec-496)-- [x-memory-seeding.md](#sec-497)-- [x402-buyer.md](#sec-498)-- [x402-dev-tools.md](#sec-499)-- [x402-distribution.md](#sec-500)-- [x402-endpoints.md](#sec-501)-- [x402-revenue.md](#sec-502)-- [x402-ring-economy.md](#sec-503)-- [x402-solana-july-roundup-response.md](#sec-504)-- [x402-studio.md](#sec-505)-- [x402.md](#sec-506)+- [nvidia-apps-catalog-listing.md](#sec-289)+- [nvidia-inception.md](#sec-290)+- [nvidia-models.md](#sec-291)+- [nvidia-nemotron-spotlight.md](#sec-292)+- [object-library.md](#sec-293)+- [okx-marketplace.md](#sec-294)+- [onboarding-tier.md](#sec-295)+- [onchain-agents.md](#sec-296)+- [oracle.md](#sec-305)+- [overlay-audit.md](#sec-306)+- [package-extraction.md](#sec-307)+- [partners.md](#sec-308)+- [pay-skills-listing.md](#sec-310)+- [payment-sessions.md](#sec-311)+- [permissions.md](#sec-312)+- [persona-hub.md](#sec-313)+- [plan-checkout.md](#sec-314)+- [play-boot-performance.md](#sec-315)+- [play-forge-in-world.md](#sec-316)+- [play-hardening.md](#sec-317)+- [play-live-events.md](#sec-318)+- [popular-3d-github-repos.md](#sec-319)+- [portfolio.md](#sec-320)+- [premium.md](#sec-321)+- [press-kit.md](#sec-322)+- [procedural-animation.md](#sec-323)+- [provenance.md](#sec-324)+- [pump-fun-mcp-edge.md](#sec-325)+- [pump-launch-repos.md](#sec-326)+- [pump-launcher.md](#sec-327)+- [pump-platform-fee.md](#sec-328)+- [quick-start.md](#sec-349)+- [radar.md](#sec-350)+- [reasoning-ledger.md](#sec-351)+- [remix.md](#sec-352)+- [reputation-staking-market.md](#sec-353)+- [reputation.md](#sec-354)+- [restyle.md](#sec-355)+- [rig-doctor.md](#sec-356)+- [risk-acknowledgment.md](#sec-357)+- [robinhood-chain-markets.md](#sec-358)+- [sas-attestations.md](#sec-359)+- [scene-studio.md](#sec-360)+- [sdk.md](#sec-361)+- [security.md](#sec-362)+- [seed-quality.md](#sec-363)+- [selfie-to-avatar.md](#sec-364)+- [share-and-embed.md](#sec-365)+- [shared-utilities.md](#sec-366)+- [showcase.md](#sec-367)+- [sign-language.md](#sec-368)+- [signals.md](#sec-369)+- [sketchfab.md](#sec-370)+- [skills.md](#sec-371)+- [smart-contracts.md](#sec-372)+- [smart-money.md](#sec-373)+- [sniper-autonomy.md](#sec-374)+- [social-layer.md](#sec-375)+- [solana-pumpfun.md](#sec-376)+- [solana-reputation.md](#sec-377)+- [solana.md](#sec-378)+- [spatial-mcp.md](#sec-379)+- [splat.md](#sec-381)+- [stage.md](#sec-382)+- [start-here.md](#sec-383)+- [strategy-objects.md](#sec-384)+- [swarms.md](#sec-385)+- [syndication.md](#sec-386)+- [talking-avatar-video.md](#sec-387)+- [terminal.md](#sec-388)+- [three-microbuy.md](#sec-389)+- [timeline.md](#sec-390)+- [token-gated-3d-embeds.md](#sec-391)+- [tokens-xyz.md](#sec-392)+- [trader-card.md](#sec-393)+- [trader-passport.md](#sec-394)+- [trading-arenas.md](#sec-395)+- [trading-copilot.md](#sec-396)+- [trading-experiment.md](#sec-397)+- [trading-hub.md](#sec-398)+- [trading-surfaces.md](#sec-399)+- [troubleshooting.md](#sec-400)+- [trust-primitives.md](#sec-401)+- [ui-juice.md](#sec-471)+- [user-wallet.md](#sec-472)+- [validation.md](#sec-485)+- [vanity.md](#sec-486)+- [vaults.md](#sec-487)+- [viability.md](#sec-488)+- [viewer.md](#sec-489)+- [voice-lab.md](#sec-490)+- [walk-leaderboard.md](#sec-491)+- [web-component.md](#sec-492)+- [widget-api.md](#sec-493)+- [widget-studio.md](#sec-494)+- [widgets.md](#sec-495)+- [world-lines.md](#sec-496)+- [x-meetup-posts.md](#sec-497)+- [x-memory-seeding.md](#sec-498)+- [x402-buyer.md](#sec-499)+- [x402-dev-tools.md](#sec-500)+- [x402-distribution.md](#sec-501)+- [x402-endpoints.md](#sec-502)+- [x402-revenue.md](#sec-503)+- [x402-ring-economy.md](#sec-504)+- [x402-solana-july-roundup-response.md](#sec-505)+- [x402-studio.md](#sec-506)+- [x402.md](#sec-507)### agent-abilities@@ -433,140 +434,140 @@### openai-pr-- [openai-pr/00-START-HERE.md](#sec-296)-- [openai-pr/01-orphan-widget-resolution.md](#sec-297)-- [openai-pr/02-wellknown-manifest-conflict.md](#sec-298)-- [openai-pr/03-forge-free-tier-truth.md](#sec-299)-- [openai-pr/04-openai-surface-test-coverage.md](#sec-300)-- [openai-pr/05-custom-gpt-openapi-serving.md](#sec-301)-- [openai-pr/06-docs-accuracy-reconciliation.md](#sec-302)-- [openai-pr/07-final-verification-and-submit.md](#sec-303)+- [openai-pr/00-START-HERE.md](#sec-297)+- [openai-pr/01-orphan-widget-resolution.md](#sec-298)+- [openai-pr/02-wellknown-manifest-conflict.md](#sec-299)+- [openai-pr/03-forge-free-tier-truth.md](#sec-300)+- [openai-pr/04-openai-surface-test-coverage.md](#sec-301)+- [openai-pr/05-custom-gpt-openapi-serving.md](#sec-302)+- [openai-pr/06-docs-accuracy-reconciliation.md](#sec-303)+- [openai-pr/07-final-verification-and-submit.md](#sec-304)### partners-- [partners/sperax-proposal.md](#sec-308)+- [partners/sperax-proposal.md](#sec-309)### pumpfun-program-- [pumpfun-program/README.md](#sec-328)-- [pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md](#sec-329)-- [pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md](#sec-330)-- [pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md](#sec-331)-- [pumpfun-program/docs/CPI_README.md](#sec-332)-- [pumpfun-program/docs/FAQ.md](#sec-333)-- [pumpfun-program/docs/FEE_PROGRAM_README.md](#sec-334)-- [pumpfun-program/docs/FEE_RECIPIENTS.md](#sec-335)-- [pumpfun-program/docs/PUMP_CASHBACK_README.md](#sec-336)-- [pumpfun-program/docs/PUMP_CREATOR_FEE_README.md](#sec-337)-- [pumpfun-program/docs/PUMP_PROGRAM_README.md](#sec-338)-- [pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md](#sec-339)-- [pumpfun-program/docs/PUMP_SWAP_README.md](#sec-340)-- [pumpfun-program/docs/PUMP_SWAP_SDK_README.md](#sec-341)-- [pumpfun-program/docs/instructions/BUY.md](#sec-342)-- [pumpfun-program/docs/instructions/CLAIM_CASHBACK.md](#sec-343)-- [pumpfun-program/docs/instructions/COIN_CREATION.md](#sec-344)-- [pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md](#sec-345)-- [pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md](#sec-346)-- [pumpfun-program/docs/instructions/SELL.md](#sec-347)+- [pumpfun-program/README.md](#sec-329)+- [pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md](#sec-330)+- [pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md](#sec-331)+- [pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md](#sec-332)+- [pumpfun-program/docs/CPI_README.md](#sec-333)+- [pumpfun-program/docs/FAQ.md](#sec-334)+- [pumpfun-program/docs/FEE_PROGRAM_README.md](#sec-335)+- [pumpfun-program/docs/FEE_RECIPIENTS.md](#sec-336)+- [pumpfun-program/docs/PUMP_CASHBACK_README.md](#sec-337)+- [pumpfun-program/docs/PUMP_CREATOR_FEE_README.md](#sec-338)+- [pumpfun-program/docs/PUMP_PROGRAM_README.md](#sec-339)+- [pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md](#sec-340)+- [pumpfun-program/docs/PUMP_SWAP_README.md](#sec-341)+- [pumpfun-program/docs/PUMP_SWAP_SDK_README.md](#sec-342)+- [pumpfun-program/docs/instructions/BUY.md](#sec-343)+- [pumpfun-program/docs/instructions/CLAIM_CASHBACK.md](#sec-344)+- [pumpfun-program/docs/instructions/COIN_CREATION.md](#sec-345)+- [pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md](#sec-346)+- [pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md](#sec-347)+- [pumpfun-program/docs/instructions/SELL.md](#sec-348)### specs-- [specs/agent-trading.md](#sec-379)+- [specs/agent-trading.md](#sec-380)### tutorials-- [tutorials/add-a-3d-assistant.md](#sec-401)-- [tutorials/agent-personality.md](#sec-402)-- [tutorials/agent-reputation.md](#sec-403)-- [tutorials/agent-spending-envelope.md](#sec-404)-- [tutorials/animate-your-agent.md](#sec-405)-- [tutorials/animate-your-avatar.md](#sec-406)-- [tutorials/arm-an-agent-sniper.md](#sec-407)-- [tutorials/build-a-3d-asset-pipeline.md](#sec-408)-- [tutorials/build-a-scene.md](#sec-409)-- [tutorials/build-a-site-concierge.md](#sec-410)-- [tutorials/character-library-to-embed.md](#sec-411)-- [tutorials/claim-threews-name.md](#sec-412)-- [tutorials/connect-ai-brain.md](#sec-413)-- [tutorials/create-and-edit-memory.md](#sec-414)-- [tutorials/custom-skill.md](#sec-415)-- [tutorials/customize-appearance.md](#sec-416)-- [tutorials/deploy-to-vercel-custom-domain.md](#sec-417)-- [tutorials/earn-and-spend-in-play.md](#sec-418)-- [tutorials/embed-in-30-seconds.md](#sec-419)-- [tutorials/embed-on-website.md](#sec-420)-- [tutorials/emotion-from-data.md](#sec-421)-- [tutorials/explore-docs-world.md](#sec-422)-- [tutorials/find-a-better-exit-policy.md](#sec-423)-- [tutorials/first-agent.md](#sec-424)-- [tutorials/first-prompt-to-3d.md](#sec-425)-- [tutorials/generate-3d-api.md](#sec-426)-- [tutorials/getting-started.md](#sec-427)-- [tutorials/greeting-and-first-speech.md](#sec-428)-- [tutorials/image-to-3d.md](#sec-429)-- [tutorials/import-avatar-url.md](#sec-430)-- [tutorials/js-api-events.md](#sec-431)-- [tutorials/mcp-server-for-your-agent.md](#sec-432)-- [tutorials/mine-vanity-address.md](#sec-433)-- [tutorials/mint-pumpfun-token.md](#sec-434)-- [tutorials/monetize-mcp-server.md](#sec-435)-- [tutorials/multi-agent-coordination.md](#sec-436)-- [tutorials/nvidia-3d-free.md](#sec-437)-- [tutorials/nvidia-nim-self-host.md](#sec-438)-- [tutorials/paid-x402-endpoint.md](#sec-439)-- [tutorials/pay-for-x402-service.md](#sec-440)-- [tutorials/personal-ai-site.md](#sec-441)-- [tutorials/place-agent-irl.md](#sec-442)-- [tutorials/prompts-for-3d.md](#sec-443)-- [tutorials/read-the-trading-fleet.md](#sec-444)-- [tutorials/register-onchain.md](#sec-445)-- [tutorials/render-avatar-images.md](#sec-446)-- [tutorials/self-host-agent-backend.md](#sec-447)-- [tutorials/selfie-to-avatar.md](#sec-448)-- [tutorials/sell-a-skill-with-a-trial.md](#sec-449)-- [tutorials/share-your-agent.md](#sec-450)-- [tutorials/ship-an-avatar-manifest.md](#sec-451)-- [tutorials/shopify-shopping-assistant.md](#sec-452)-- [tutorials/shopify-store-guide-advanced.md](#sec-453)-- [tutorials/shopify-store-guide.md](#sec-454)-- [tutorials/sign-with-your-avatar.md](#sec-455)-- [tutorials/skill-with-database-auth.md](#sec-456)-- [tutorials/solana-agent-reputation.md](#sec-457)-- [tutorials/sperax-tour.md](#sec-458)-- [tutorials/swap-avatar-in-studio.md](#sec-459)-- [tutorials/text-to-3d.md](#sec-460)-- [tutorials/trigger-from-page-events.md](#sec-461)-- [tutorials/upload-custom-glb.md](#sec-462)-- [tutorials/view-in-ar.md](#sec-463)-- [tutorials/voice-and-lipsync.md](#sec-464)-- [tutorials/walk-companion.md](#sec-465)-- [tutorials/wallet-sign-in.md](#sec-466)-- [tutorials/web-component-end-to-end.md](#sec-467)-- [tutorials/write-a-guard.md](#sec-468)-- [tutorials/x402-server-sdk.md](#sec-469)+- [tutorials/add-a-3d-assistant.md](#sec-402)+- [tutorials/agent-personality.md](#sec-403)+- [tutorials/agent-reputation.md](#sec-404)+- [tutorials/agent-spending-envelope.md](#sec-405)+- [tutorials/animate-your-agent.md](#sec-406)+- [tutorials/animate-your-avatar.md](#sec-407)+- [tutorials/arm-an-agent-sniper.md](#sec-408)+- [tutorials/build-a-3d-asset-pipeline.md](#sec-409)+- [tutorials/build-a-scene.md](#sec-410)+- [tutorials/build-a-site-concierge.md](#sec-411)+- [tutorials/character-library-to-embed.md](#sec-412)+- [tutorials/claim-threews-name.md](#sec-413)+- [tutorials/connect-ai-brain.md](#sec-414)+- [tutorials/create-and-edit-memory.md](#sec-415)+- [tutorials/custom-skill.md](#sec-416)+- [tutorials/customize-appearance.md](#sec-417)+- [tutorials/deploy-to-vercel-custom-domain.md](#sec-418)+- [tutorials/earn-and-spend-in-play.md](#sec-419)+- [tutorials/embed-in-30-seconds.md](#sec-420)+- [tutorials/embed-on-website.md](#sec-421)+- [tutorials/emotion-from-data.md](#sec-422)+- [tutorials/explore-docs-world.md](#sec-423)+- [tutorials/find-a-better-exit-policy.md](#sec-424)+- [tutorials/first-agent.md](#sec-425)+- [tutorials/first-prompt-to-3d.md](#sec-426)+- [tutorials/generate-3d-api.md](#sec-427)+- [tutorials/getting-started.md](#sec-428)+- [tutorials/greeting-and-first-speech.md](#sec-429)+- [tutorials/image-to-3d.md](#sec-430)+- [tutorials/import-avatar-url.md](#sec-431)+- [tutorials/js-api-events.md](#sec-432)+- [tutorials/mcp-server-for-your-agent.md](#sec-433)+- [tutorials/mine-vanity-address.md](#sec-434)+- [tutorials/mint-pumpfun-token.md](#sec-435)+- [tutorials/monetize-mcp-server.md](#sec-436)+- [tutorials/multi-agent-coordination.md](#sec-437)+- [tutorials/nvidia-3d-free.md](#sec-438)+- [tutorials/nvidia-nim-self-host.md](#sec-439)+- [tutorials/paid-x402-endpoint.md](#sec-440)+- [tutorials/pay-for-x402-service.md](#sec-441)+- [tutorials/personal-ai-site.md](#sec-442)+- [tutorials/place-agent-irl.md](#sec-443)+- [tutorials/prompts-for-3d.md](#sec-444)+- [tutorials/read-the-trading-fleet.md](#sec-445)+- [tutorials/register-onchain.md](#sec-446)+- [tutorials/render-avatar-images.md](#sec-447)+- [tutorials/self-host-agent-backend.md](#sec-448)+- [tutorials/selfie-to-avatar.md](#sec-449)+- [tutorials/sell-a-skill-with-a-trial.md](#sec-450)+- [tutorials/share-your-agent.md](#sec-451)+- [tutorials/ship-an-avatar-manifest.md](#sec-452)+- [tutorials/shopify-shopping-assistant.md](#sec-453)+- [tutorials/shopify-store-guide-advanced.md](#sec-454)+- [tutorials/shopify-store-guide.md](#sec-455)+- [tutorials/sign-with-your-avatar.md](#sec-456)+- [tutorials/skill-with-database-auth.md](#sec-457)+- [tutorials/solana-agent-reputation.md](#sec-458)+- [tutorials/sperax-tour.md](#sec-459)+- [tutorials/swap-avatar-in-studio.md](#sec-460)+- [tutorials/text-to-3d.md](#sec-461)+- [tutorials/trigger-from-page-events.md](#sec-462)+- [tutorials/upload-custom-glb.md](#sec-463)+- [tutorials/view-in-ar.md](#sec-464)+- [tutorials/voice-and-lipsync.md](#sec-465)+- [tutorials/walk-companion.md](#sec-466)+- [tutorials/wallet-sign-in.md](#sec-467)+- [tutorials/web-component-end-to-end.md](#sec-468)+- [tutorials/write-a-guard.md](#sec-469)+- [tutorials/x402-server-sdk.md](#sec-470)### ux-flows-- [ux-flows/01-onboarding-creation.md](#sec-472)-- [ux-flows/02-forge-text-to-3d.md](#sec-473)-- [ux-flows/03-3d-editing-viewer.md](#sec-474)-- [ux-flows/04-embed-widget-studio.md](#sec-475)-- [ux-flows/05-discovery-social.md](#sec-476)-- [ux-flows/06-marketplace-skills.md](#sec-477)-- [ux-flows/07-crypto-trading-analytics.md](#sec-478)-- [ux-flows/08-coin-launch-wallets.md](#sec-479)-- [ux-flows/09-x402-agent-commerce.md](#sec-480)-- [ux-flows/10-chat-brain-labs.md](#sec-481)-- [ux-flows/11-account-dashboard.md](#sec-482)-- [ux-flows/12-home-and-content.md](#sec-483)+- [ux-flows/01-onboarding-creation.md](#sec-473)+- [ux-flows/02-forge-text-to-3d.md](#sec-474)+- [ux-flows/03-3d-editing-viewer.md](#sec-475)+- [ux-flows/04-embed-widget-studio.md](#sec-476)+- [ux-flows/05-discovery-social.md](#sec-477)+- [ux-flows/06-marketplace-skills.md](#sec-478)+- [ux-flows/07-crypto-trading-analytics.md](#sec-479)+- [ux-flows/08-coin-launch-wallets.md](#sec-480)+- [ux-flows/09-x402-agent-commerce.md](#sec-481)+- [ux-flows/10-chat-brain-labs.md](#sec-482)+- [ux-flows/11-account-dashboard.md](#sec-483)+- [ux-flows/12-home-and-content.md](#sec-484)### zauth-- [zauth/database.md](#sec-507)-- [zauth/index.md](#sec-508)-- [zauth/provider-hub.md](#sec-509)-- [zauth/reposcan.md](#sec-510)-- [zauth/vector.md](#sec-511)+- [zauth/database.md](#sec-508)+- [zauth/index.md](#sec-509)+- [zauth/provider-hub.md](#sec-510)+- [zauth/reposcan.md](#sec-511)+- [zauth/vector.md](#sec-512)---@@ -1085,7 +1086,7 @@ If you just want to add one animation or upload one avatar, the task guides are- [docs/animations.md](#sec-091) — the animation registry, runtime loading, and agent slots.- [docs/avatar-creation.md](#sec-106) — the three ways to create an avatar (photo, builder, upload).-- [docs/tutorials/upload-custom-glb.md](#sec-462) — Mixamo → GLB, validation, and the common failure modes.+- [docs/tutorials/upload-custom-glb.md](#sec-463) — Mixamo → GLB, validation, and the common failure modes.This document is the *why and how* underneath all of those.@@ -1403,11 +1404,11 @@ text/image ──► mesh_forge ──► static GLB ──► rig_mesh ──three.ws runs a full 3D asset pipeline — the same lanes the platform uses to turna prompt into a rigged, game-ready character. Every working stage is sold as its-own [x402](#sec-506) resource: an AI agent pays a few cents in USDC, hands in a URL,+own [x402](#sec-507) resource: an AI agent pays a few cents in USDC, hands in a URL,and gets back a finished asset URL. No API key, no account, no signup.Nobody else in the x402 ecosystem offers this. The generation stage (text/image →-3D) is [`/api/x402/forge`](#sec-501); the stages below are what you do to+3D) is [`/api/x402/forge`](#sec-502); the stages below are what you do toa mesh *after* it exists.```@@ -1420,7 +1421,7 @@ a mesh *after* it exists.1. **One stage at a time** — `POST /api/x402/pipeline-<stage>`. One payment buysone finished asset, returned inline as a durable first-party URL. This is thereference below.-2. **The whole chain in one call** — [`POST /api/x402/pipeline`](#sec-501).+2. **The whole chain in one call** — [`POST /api/x402/pipeline`](#sec-502).Submit an ordered chain (`generate → rig → remesh → gameready → stylize`); the402 quote is the exact sum of the requested stages, and you poll the job freeat `GET /api/forge?job=<id>` while it advances. Use this when you want the full@@ -1568,8 +1569,8 @@ returned as-is. Poll budget is tunable via `X402_PIPELINE_POLL_BUDGET_MS`## Related-- [x402 paid endpoints](#sec-501) — the full catalog + pricing model-- [x402 buyer client](#sec-498) — how to settle payments as an agent+- [x402 paid endpoints](#sec-502) — the full catalog + pricing model+- [x402 buyer client](#sec-499) — how to settle payments as an agent- [Avatar pipeline](#sec-110) — the generation + rig lanes in depth---@@ -2011,8 +2012,8 @@ Product and developer documentation for three.ws. Individual docs are served onStart points:-- [start-here.md](#sec-382): the front door for both creators and developers, with the reference shelf at the bottom.-- [introduction.md](#sec-251) and [quick-start.md](#sec-348): the developer track.+- [start-here.md](#sec-383): the front door for both creators and developers, with the reference shelf at the bottom.+- [introduction.md](#sec-251) and [quick-start.md](#sec-349): the developer track.- [ALL.md](ALL.md): generated single-file aggregate of the public docs (regenerate with `node scripts/combine-docs.mjs`; edit source files, never ALL.md).- [api-reference.md](#sec-094): the REST API surface, with dedicated docs for the larger API families (crypto, 3D, market data, MCP).@@ -2153,7 +2154,7 @@ or task to the AgenC program. The write paths that do exist live elsewhere:Treat this page's REST surface as **discovery + identity correlation**. For theother writable on-chain identity, minting agents as Metaplex Core NFTs, see-[Deploy agents on-chain (bulk)](#sec-295).+[Deploy agents on-chain (bulk)](#sec-296).## Relationship to Agora@@ -2167,7 +2168,7 @@ AgenC endpoints here are the read/identity side.- [Agora](#sec-073) — the economy and write lifecycle on top of AgenC.- [Agent reputation](#sec-054), [ERC-8004](#sec-182).-- [Deploy agents on-chain (bulk)](#sec-295).+- [Deploy agents on-chain (bulk)](#sec-296).---@@ -13191,7 +13192,7 @@ would hide it.## Related-- [x402 revenue and receipts](#sec-502): the other side of the ledger. This+- [x402 revenue and receipts](#sec-503): the other side of the ledger. Thispage counts agent-to-agent payments recorded in `agent_hires`; endpoint revenuepaid **to** the platform's own paid endpoints is recorded separately in`x402_audit_log`. Do not add the two together.@@ -13228,7 +13229,7 @@ One completed job produces:| `full_body[]` | Three 1024x1280 (4:5 portrait) renders, one per pose, same backdrop and lighting || `rigged_glb_url` | The avatar with a humanoid skeleton and skin weights || `mesh_glb_url` | The unrigged generated mesh, kept so a rig hiccup never loses the generation |-| `viewer_url` | Deep link into the three.ws [viewer](#sec-488) for the rigged GLB |+| `viewer_url` | Deep link into the three.ws [viewer](#sec-489) for the rigged GLB || `pose_studio_url` | Deep link into the [Animation Studio](#sec-090) for the rigged GLB |Every render is persisted to object storage under `okx-identity/renders/<job>/` and served from a public URL, so the URLs in the response are permanent and hotlinkable.@@ -13406,10 +13407,10 @@ Two environment overrides help a batch run outlast the rig lane's rate-limit bac## Related-- [OKX.AI Marketplace Services](#sec-293): the price, the payment challenge, the replay flow, the payment guarantees, and the decomposed single-capability 3D services that share these engines.+- [OKX.AI Marketplace Services](#sec-294): the price, the payment challenge, the replay flow, the payment guarantees, and the decomposed single-capability 3D services that share these engines.- [Forge](#sec-221): the text and image to GLB generation pipeline this studio calls for the mesh and the auto-rig.- [Animation Studio](#sec-090): the `/pose` surface the `pose_studio_url` deep link opens.-- [Viewer](#sec-488): the `/viewer` surface the `viewer_url` deep link opens.+- [Viewer](#sec-489): the `/viewer` surface the `viewer_url` deep link opens.- [MCP servers](#sec-272): the wider set of three.ws MCP endpoints this one follows the transport conventions of.- [Avatar Engines Atlas](#sec-107): what engine families exist for building human avatars, and which of them are wired into the commercial pipeline.@@ -14054,7 +14055,7 @@ Load from on-chain:A manifest served from an API is a claim. A manifest that is **signed and pinned to IPFS** is evidence: anyone can fetch the CID, check the signature, and read the exact system prompt the agent was configured with, without an account and without trusting three.ws.-three.ws signs and pins an agent's manifest automatically on every persona save. The envelope is ed25519-signed by the platform attester identity (the same Solana key behind [3D provenance credentials](#sec-323)) and pinned through the configured IPFS provider.+three.ws signs and pins an agent's manifest automatically on every persona save. The envelope is ed25519-signed by the platform attester identity (the same Solana key behind [3D provenance credentials](#sec-324)) and pinned through the configured IPFS provider.### What a signed envelope looks like@@ -14208,7 +14209,7 @@ The `spec` field identifies the manifest format version. Current stable: `agent-- [Memory Spec](../specs/MEMORY_SPEC.md) — memory file format and MEMORY.md index- [Embed Spec](../specs/EMBED_SPEC.md) — `<agent-3d>` element attributes and events- [Permissions Spec](../specs/PERMISSIONS_SPEC.md) — ERC-7710 delegation format and redemption-- [Provenance](#sec-323) — signed content credentials for generated 3D assets, using the same attester identity as signed manifests+- [Provenance](#sec-324) — signed content credentials for generated 3D assets, using the same attester identity as signed manifests---@@ -14220,7 +14221,7 @@ The `spec` field identifies the manifest format version. Current stable: `agent-**Why autonomous agents need verifiable trust — and how three.ws delivers it on-chain.**-This page is the *why*. For the practical how-to, see [Reputation System](#sec-353) (leaving and reading reviews) and [ERC-8004](#sec-182) (the identity standard underneath). To read a real agent's score five different ways, follow the [Read an agent's reputation](/tutorials/agent-reputation) tutorial. For the Solana side of the same idea — memo attestations, the AgenC coordination program, and the identity bridge — see [Agent Reputation on Solana](#sec-376).+This page is the *why*. For the practical how-to, see [Reputation System](#sec-354) (leaving and reading reviews) and [ERC-8004](#sec-182) (the identity standard underneath). To read a real agent's score five different ways, follow the [Read an agent's reputation](/tutorials/agent-reputation) tutorial. For the Solana side of the same idea — memo attestations, the AgenC coordination program, and the identity bridge — see [Agent Reputation on Solana](#sec-377).---@@ -14313,7 +14314,7 @@ Reputation only matters because money moves on the other side of it. The two hal1. **Discover** a service via the Identity Registry.2. **Check** its reputation — proceed only if it clears your threshold.-3. **Pay** — the service answers an HTTP `402` and the agent signs a stablecoin micropayment ([x402](#sec-506)).+3. **Pay** — the service answers an HTTP `402` and the agent signs a stablecoin micropayment ([x402](#sec-507)).4. **Vouch** — after the work, write feedback back to the Reputation Registry, closing the loop for the next agent.The one-liner worth remembering:@@ -14334,7 +14335,7 @@ The same on-chain data is exposed through every layer a reader might come from:| Reputation panel | agent profiles | The embedded vouch/score widget on `https://three.ws/a/<chainId>/<agentId>` || `GET /api/agents/<id>/reputation` | apps | The agent's unified wallet trust score: a 0-100 credibility number derived from real ledger and on-chain activity, with a per-pillar breakdown and evidence links || `agent_reputation` MCP tool | AI agents | Paid ($0.01 USDC) read of identity + score + stake + recent events; resolves a wallet to its agent automatically |-| `GET /api/x402/agent-reputation` | AI agents | Paid ($0.01) cross-chain 0–100 trust score for **any** counterparty — Solana/EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id (auto-detected). See [Trust primitives](#sec-400) |+| `GET /api/x402/agent-reputation` | AI agents | Paid ($0.01) cross-chain 0–100 trust score for **any** counterparty — Solana/EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id (auto-detected). See [Trust primitives](#sec-401) || [Agent Passport](/agent-passport.html) | trust decisions | An A–D trust grade weighted toward credentialed and verified feedback || ERC-8004 helpers (`src/erc8004/reputation.js`; ABIs re-exported by `@three-ws/sdk`) | developers | `getReputation`, `getRecentReviews`, `getTotalStake`, `submitFeedback`, `stakeReputation` |@@ -14373,7 +14374,7 @@ The only difference is **reach**. The Club's reputation dies the moment a walletThat portability is what lets a three.ws agent be trusted by an agent that has never heard of three.ws. It's the foundation the agent economy is built on — and the reason reputation, not payments, is the harder and more important half of the stack.-**Next:** [Read an agent's reputation](/tutorials/agent-reputation) · [Reputation on Solana](#sec-376) · [Leave a vouch](#sec-353) · [ERC-8004 identity](#sec-182) · [x402 payments](#sec-506)+**Next:** [Read an agent's reputation](/tutorials/agent-reputation) · [Reputation on Solana](#sec-377) · [Leave a vouch](#sec-354) · [ERC-8004 identity](#sec-182) · [x402 payments](#sec-507)---@@ -14804,7 +14805,7 @@ relationship into an account with a real agent. Ambient discovery routesthrough the agent too — the old "have you tried…" toast stays out of the cornerwhile the companion is live.-Related: [web-component.md](#sec-491) (the embeddable `agent-3d`+Related: [web-component.md](#sec-492) (the embeddable `agent-3d`avatar), [coin-pages.md](#sec-141) (the market surfaces the shellnavigates), [STRUCTURE.md](../STRUCTURE.md) (surface map).@@ -14821,7 +14822,7 @@ Claude surface — Claude Code, the Claude apps, the Agent SDK — how to use ththree.ws platform: create and rig 3D models, run a wallet, and buy/sell services inthe x402 agent economy.-> Not to be confused with the [in-app skills system](#sec-370), which extends+> Not to be confused with the [in-app skills system](#sec-371), which extends> avatars and agents **inside** three.ws with `manifest.json` + `tools.json` +> `handlers.js` bundles. Agent Skills are the inverse: they extend **external**> AI agents with three.ws capabilities.@@ -14939,7 +14940,7 @@ Every three.ws agent has its own custodial Solana wallet. The Agent Sniper is thThis doc explains the whole system, walks through the first live trade an agent closed on the platform (a real +42.38% exit, receipts included), and lays out where the system goes next.-Related surfaces: [the trading surfaces](#sec-398) (Radar, Coin Intelligence, Mission Control), [trading experiment](#sec-396) (the laddered-exit research policy), [agent wallets](#sec-070) (how custody works), and the worker itself at `workers/agent-sniper/` (its README is the operator reference).+Related surfaces: [the trading surfaces](#sec-399) (Radar, Coin Intelligence, Mission Control), [trading experiment](#sec-397) (the laddered-exit research policy), [agent wallets](#sec-070) (how custody works), and the worker itself at `workers/agent-sniper/` (its README is the operator reference).---@@ -15087,8 +15088,8 @@ The direction of every bridge is the same: real, realized money is the ground tr## Try it- Arm your first strategy: [the sniper tutorial](/tutorials/arm-an-agent-sniper)-- Watch the engine think: [Coin Intelligence and the trading surfaces](#sec-398)-- The research policy behind laddered exits: [trading experiment](#sec-396)+- Watch the engine think: [Coin Intelligence and the trading surfaces](#sec-399)+- The research policy behind laddered exits: [trading experiment](#sec-397)- The story of the first trade, for non-operators: [the blog post](/blog/first-autonomous-trade)---@@ -16286,7 +16287,7 @@ POST /api/pump/launch-agent { "agent_id": "…", "name": "…", "symbol": "…"```This is the path that supports USDC-paired curves and binds the on-chain pump-agent for buybacks. See [the pump.fun launcher](#sec-326).+agent for buybacks. See [the pump.fun launcher](#sec-327).Both paths write a `pump_agent_mints` row and call back into the plan to mark itlaunched, so a coin appears on [/launches](https://three.ws/launches), in the@@ -16317,10 +16318,10 @@ surface with an agent id.## Related-- [The pump.fun launcher](#sec-326): the launch transaction itself+- [The pump.fun launcher](#sec-327): the launch transaction itself- [Coin launches](#sec-140): the platform launch directory-- [Platform fee](#sec-327): what three.ws takes on a launch-- [Solana on pump.fun](#sec-375): the on-chain program surface+- [Platform fee](#sec-328): what three.ws takes on a launch+- [Solana on pump.fun](#sec-376): the on-chain program surfaceNote on promotion: `$THREE` is the coin three.ws promotes. Agent tokens are coinsusers launch through the platform, rendered from the platform's own launch@@ -16341,7 +16342,7 @@ This document is the API reference the surrounding docs deliberately leave out.- [Agent wallets](#sec-070) for how the wallet is created, how its key is held, and which paths may spend.- [Custody you can verify](#sec-165) for the limits, the freeze switch, the Merkle proof of custody, and the social-recovery model.- [Financial controls](#sec-216) for the plain-English spend-rule layer and the anomaly guard behind `/solana/guard`.-- [The Trading Copilot](#sec-395) for the conversational surface that proposes trades a human confirms.+- [The Trading Copilot](#sec-396) for the conversational surface that proposes trades a human confirms.- [Coin Autopilot](#sec-104) for the *coin* cockpit at `/api/pump/autopilot`. That is a different feature from the **Treasury Autopilot** documented here, which runs the agent's own wallet rather than a launched coin.## Orientation@@ -17515,7 +17516,7 @@ curl -s -X POST "https://three.ws/api/agents/$AGENT_ID/solana/guard" \- [Agent wallets](#sec-070) for the wallet itself: creation, key custody, and the five spend paths.- [Custody you can verify](#sec-165) for limits, freeze, proof of custody, and the recovery model in prose.- [Financial controls](#sec-216) for the plain-English spend rules and the wallet-defense behaviors.-- [The Trading Copilot](#sec-395) for the conversational read-and-propose surface over the same wallet.+- [The Trading Copilot](#sec-396) for the conversational read-and-propose surface over the same wallet.- [Coin Autopilot](#sec-104) for the separate coin cockpit at `/api/pump/autopilot`.- [What agents can do](#sec-008) for a page per wallet ability, including [Access](#sec-048), [Orders](#sec-039), [Intents](#sec-041), [Autopilot](#sec-040), [Portfolio](#sec-030), and [Recovery](#sec-049).- [Guardian console](#sec-232) for the other side of a recovery request.@@ -17559,7 +17560,7 @@ Five paths move funds out of an agent wallet, and **all five pass through one po| Path | Trigger ||------|---------|| Withdraw | The owner sweeps funds out |-| x402 pay | The agent pays for a paid API call. Also reachable from any paid checkout on the site: the [x402 payment modal](#sec-440) lists a signed-in user's agents next to Phantom, and picking one settles from that agent's wallet with no popup |+| x402 pay | The agent pays for a paid API call. Also reachable from any paid checkout on the site: the [x402 payment modal](#sec-441) lists a signed-in user's agents next to Phantom, and picking one settles from that agent's wallet with no popup || Trade | A discretionary buy/sell from the wallet hub, or from the in-world coin widget's **Pay with** selector (SOL-denominated coins) || Purchase | The agent buys a marketplace skill or asset for itself (see [Marketplace](#sec-265)), under its own daily purchase cap || Snipe | The autonomous sniper worker executes a strategy |@@ -17612,7 +17613,7 @@ An agent can pay a human-readable name instead of a base58 address. `/api/x402/p- [Custody you can verify](#sec-165) — limits, freeze, Merkle proof-of-custody, social recovery and inheritance- [Financial controls](#sec-216) — plain-English spend rules, compiled and enforced deterministically- [What agents can do](#sec-008) — the complete dossier, including a page per wallet ability-- [x402 protocol](#sec-506) — how agents pay for services+- [x402 protocol](#sec-507) — how agents pay for services- [Coin launches](#sec-140) — how the wallet signs a pump.fun launch---@@ -17759,10 +17760,10 @@ An "awakening" envelope (no eligible trading agent yet) is still valid and fully## Related-- [Oracle](#sec-304) - the conviction engine this class of agent trades on+- [Oracle](#sec-305) - the conviction engine this class of agent trades on- [Agent reputation](#sec-054) - the Reasoning Ledger score behind the reputation ring-- [Reputation](#sec-353) - how proven on-chain track records are computed-- [The trading experiment](#sec-396) - an autonomous agent operating inside these limits, journaled+- [Reputation](#sec-354) - how proven on-chain track records are computed+- [The trading experiment](#sec-397) - an autonomous agent operating inside these limits, journaled- [Custody you can verify](#sec-165) - the spend caps and kill switch the autonomy runs under- [/activity](https://three.ws/activity) - every agent's live trades in real time@@ -19712,7 +19713,7 @@ of rendering a fake zero.## Related surfaces-- [`/portfolio`](#sec-319): the live wallet portfolio; the two pages+- [`/portfolio`](#sec-320): the live wallet portfolio; the two pagescross-link and share the recent-wallet list.- [`/api/crypto/wallet`](#sec-164): the raw balance endpoint the tokendiversity measurement rides on.@@ -19796,8 +19797,8 @@ When `read.hallucination_guard.line_replaced` is true, the co-pilot caught a fig- [Custody you can verify](#sec-165) - the spend limits, firewall, and audit the "Act" path runs under- [Financial controls](#sec-216) - the plain-English rules and real-time defense on the same rails-- [Oracle](#sec-304) - the platform conviction engine over the same launch universe-- [Trading surfaces](#sec-398) - Mission Control executes through this same guarded path+- [Oracle](#sec-305) - the platform conviction engine over the same launch universe+- [Trading surfaces](#sec-399) - Mission Control executes through this same guarded path- [/agi](https://three.ws/agi) - a fully autonomous agent reading and trading the same feed---@@ -19969,7 +19970,7 @@ If you extend the metric, keep two properties: the retention window must stay an# Animation Studio: pose, keyframe, and sell motion-Animation Studio is where a three.ws avatar (or a built-in mannequin) becomes animated. Click any body part and rotate it with a gizmo, or drag a hand or foot and let inverse kinematics solve the limb. Drop the pose as a keyframe, advance the playhead, re-pose, and drop another; the studio interpolates between them and plays the result. Export the finished motion as an animated GLB or as clip JSON, save it to your account, deep-link it to play on any avatar, hand it to [Scene Studio](#sec-359) to record as video, or list it for sale in the animation marketplace for USDC.+Animation Studio is where a three.ws avatar (or a built-in mannequin) becomes animated. Click any body part and rotate it with a gizmo, or drag a hand or foot and let inverse kinematics solve the limb. Drop the pose as a keyframe, advance the playhead, re-pose, and drop another; the studio interpolates between them and plays the result. Export the finished motion as an animated GLB or as clip JSON, save it to your account, deep-link it to play on any avatar, hand it to [Scene Studio](#sec-360) to record as video, or list it for sale in the animation marketplace for USDC.Page: [/pose](https://three.ws/pose) · API: `/api/animations/clips`@@ -20003,7 +20004,7 @@ Under the motion generator sits a Spell box: type a word and the avatar spells iA spelled word is shareable as a link: `https://three.ws/pose?spell=HELLO` opens the studio, auto-loads a rigged avatar (same roster as animation deep links), and spells the word on arrival.-Fingerspelling is the deterministic, spelling-based subset of sign language, it spells English words rather than translating into grammatical ASL. The Studio's Spell box is spelling only. The platform also has a lexical vocabulary (words that are signed rather than spelled, on one or both hands), which drives [/sign-language](https://three.ws/sign-language), signed chat replies, and the `sign-language` embed attribute. See [docs/sign-language.md](#sec-367) for the whole system, or the tutorial [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar) for a guided tour.+Fingerspelling is the deterministic, spelling-based subset of sign language, it spells English words rather than translating into grammatical ASL. The Studio's Spell box is spelling only. The platform also has a lexical vocabulary (words that are signed rather than spelled, on one or both hands), which drives [/sign-language](https://three.ws/sign-language), signed chat replies, and the `sign-language` embed attribute. See [docs/sign-language.md](#sec-368) for the whole system, or the tutorial [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar) for a guided tour.### Export, save, and sell@@ -20038,12 +20039,18 @@ The account clip API the studio drives:curl 'https://three.ws/api/animations/clips?include_public=true&limit=60' \-H 'cookie: <session>'-# Create a clip from a serialized keyframe document.+# Create a clip. `clip` is a baked THREE.AnimationClip.toJSON(): at least one+# track, each with its times and flattened values.curl -X POST 'https://three.ws/api/animations/clips' \-H 'content-type: application/json' -H 'cookie: <session>' \- -d '{"name":"wave-loop","visibility":"public","clip":{ "name":"wave-loop","duration":2,"tracks":[] }}'+ -d '{"name":"wave-loop","visibility":"public","clip":{"name":"wave-loop","duration":2,"tracks":[+ {"name":"mixamorigRightArm.quaternion","type":"quaternion",+ "times":[0,1,2],+ "values":[0,0,0,1, 0,0,0.38,0.92, 0,0,0,1]}]}}'```+An empty `tracks` array is rejected: a clip with no motion is not a clip. Track names are the standard three.js `<node>.<property>` form, so a document exported from Animation Studio posts as-is.+## States & limits- **IK requires limb chains.** On rigs without recognizable arm/leg chains the IK mode disables itself; FK posing always works.@@ -20059,7 +20066,7 @@ curl -X POST 'https://three.ws/api/animations/clips' \- [Animations reference](#sec-091): the runtime clip registry, formats, and agent slots.- [3D asset pipeline](#sec-002): how GLB, FBX, and clip JSON convert across the platform.-- [Scene Studio](#sec-359): record your animation to video.+- [Scene Studio](#sec-360): record your animation to video.- [Avatar Studio](#sec-112): build the avatar you animate here.- [/marketplace](https://three.ws/marketplace): where listed animation clips are bought and sold.@@ -20846,7 +20853,7 @@ This is the reference for the three.ws HTTP API: every documented endpoint, itsBase URL: `https://three.ws/api`-> For the in-browser JavaScript API (the `<agent-3d>` element, `Viewer`, `Runtime`, `SceneController`, skills, memory), see [js-api.md](#sec-254) and [web-component.md](#sec-491). For the high-level npm SDK, see [sdk.md](#sec-360).+> For the in-browser JavaScript API (the `<agent-3d>` element, `Viewer`, `Runtime`, `SceneController`, skills, memory), see [js-api.md](#sec-254) and [web-component.md](#sec-492). For the high-level npm SDK, see [sdk.md](#sec-361).The full machine-readable schema lives at [`https://three.ws/.well-known/openapi.yaml`](https://three.ws/.well-known/openapi.yaml). x402 paid endpoints are listed at [`/.well-known/x402.json`](https://three.ws/.well-known/x402.json) and the MCP endpoint is at [`/api/mcp`](https://three.ws/api/mcp).@@ -22488,7 +22495,7 @@ sample rate, whether the lane is configured).Read American Sign Language fingerspelling from a webcam. No API key, no account,no payment: rate-limited per IP. This is the input half of the platform's signing-loop (the output half, avatars that sign, is [docs/sign-language.md](#sec-367)).+loop (the output half, avatars that sign, is [docs/sign-language.md](#sec-368)).**Video never reaches the platform.** The caller extracts MediaPipe Holisticlandmarks in the browser and posts coordinates only. `src/sign-input.js` ships a@@ -23565,7 +23572,7 @@ curl -s 'https://three.ws/api/v1/pump/whales?mint=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfzA trader's daily on-chain score attestation (`threews.tradescore.v1`), served as aportable credential and a database-free verifier. Full guide:-[docs/trader-passport.md](#sec-393).+[docs/trader-passport.md](#sec-394).### Read a passport@@ -23782,7 +23789,7 @@ Public directory of ERC-8004 agents with 3D avatars, for homepage and gallery us## Social & Community API-The endpoints behind the platform's social layer: the activity feed, the follow graph, notifications, the unified leaderboard, creator portfolios, and cross-entity search. Overview and how the pieces interconnect: [The social layer](#sec-374).+The endpoints behind the platform's social layer: the activity feed, the follow graph, notifications, the unified leaderboard, creator portfolios, and cross-entity search. Overview and how the pieces interconnect: [The social layer](#sec-375).### Activity feed@@ -24298,7 +24305,7 @@ Both header names are read case-insensitively and both receipt names are emitted| `POST /api/mcp-3d` | MCP (Streamable HTTP) | Base + X Layer (+ Solana when configured) || `POST /api/okx/3d/<service>` | A2MCP (decomposed 3D studio) | X Layer first, then Solana/Base |-The full seller-side wire contract — challenge fields, verify→work→settle order, the `PAYMENT-SIGNATURE` payload shape, and the settlement receipt — is pinned in [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md). The per-service catalog and runnable curls are in [`docs/okx-marketplace.md`](#sec-293).+The full seller-side wire contract — challenge fields, verify→work→settle order, the `PAYMENT-SIGNATURE` payload shape, and the settlement receipt — is pinned in [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md). The per-service catalog and runnable curls are in [`docs/okx-marketplace.md`](#sec-294).---@@ -24320,7 +24327,7 @@ The buyer-side counterpart to the x402 endpoints above. Everything so far assumeYou fund a budget from your [credits](payment-sessions.md#prepaid-credits), set the policy, and receive a bearer token. The agent presents that token to `/api/pay/execute`; the platform's own wallet signs the on-chain transfer. A stolen token buys at most the remaining budget, only at hosts you approved, only until the session expires.-Conceptual guide: [Payment sessions](#sec-310). Step-by-step walkthrough: [Give an agent a spending envelope](#sec-404). Enforcement source: [`api/_lib/pay/spend-governor.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/pay/spend-governor.js).+Conceptual guide: [Payment sessions](#sec-311). Step-by-step walkthrough: [Give an agent a spending envelope](#sec-405). Enforcement source: [`api/_lib/pay/spend-governor.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/pay/spend-governor.js).### Authentication@@ -25314,7 +25321,7 @@ wire format); pay in USDC and the identical upstream call runs.GET /api/web-search?q=<query>&sources=<n>```-Open-web search with cited sources. This is distinct from [`/api/search`](#search-api),+Open-web search with cited sources. This is distinct from [`/api/search`](#cross-entity-search),which federates three.ws's own entities (avatars, agents, models, worlds, coins)and never leaves the platform. This endpoint answers questions about the liveweb and returns the sources the answer is grounded in.@@ -26061,7 +26068,7 @@ Endpoint-specific codes (e.g. `quota_exceeded`, `invalid_avatar`, `no_client_id`## SDK-For building on the platform from JavaScript, the official npm package is [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk). It is not a thin wrapper over every REST route above; it ships the higher-level building blocks: `AgentKit` (chat panel + ERC-8004 registration + `.well-known` manifest generation), `AgentClient` (x402 agent-to-agent paid skill calls), `PermissionsClient` (ERC-7710 delegations), and the Solana identity/attestation helpers. Full docs: [SDK & Library](#sec-360).+For building on the platform from JavaScript, the official npm package is [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk). It is not a thin wrapper over every REST route above; it ships the higher-level building blocks: `AgentKit` (chat panel + ERC-8004 registration + `.well-known` manifest generation), `AgentClient` (x402 agent-to-agent paid skill calls), `PermissionsClient` (ERC-7710 delegations), and the Solana identity/attestation helpers. Full docs: [SDK & Library](#sec-361).For the endpoints on this page, call them directly with `fetch`/`curl` and a Bearer API key:@@ -26417,7 +26424,7 @@ Solscan-linked "x402" provenance badge. Inline-done lanes publish immediately;async lanes are completed server-side by `api/cron/forge-finalize`, so theartifact lands even if you never poll. Recording happens after your response issent and never affects your result. See-[x402 endpoints](#sec-501) and+[x402 endpoints](#sec-502) and[the autonomous economy](#sec-103).Treat prompts as public. If you need a private lane, use the account-scoped@@ -26469,7 +26476,7 @@ const glb = Buffer.from(await (await fetch(glbUrl)).arrayBuffer());`text_to_3d` / `image_to_3d` tools for in-conversation use, priced from thesame tier table. This REST endpoint is the pay-per-call surface for autonomousagents.-- [x402 endpoints](#sec-501): every paid endpoint on the platform.+- [x402 endpoints](#sec-502): every paid endpoint on the platform.---@@ -26572,7 +26579,7 @@ You can also hand-build a share link: append `?src=<https glb url>&title=<name>`## Related- [AR and WebXR](#sec-097): the single-model "View in AR" system, `/ar` AR Forge, the `POST /api/forge` free lane in depth, the USDZ/Quick Look pipeline, and model-optimization limits.-- [Selfie to Avatar](#sec-363) and [Avatar pipeline](#sec-110): where the models you place come from.+- [Selfie to Avatar](#sec-364) and [Avatar pipeline](#sec-110): where the models you place come from.- Pages: [/ar/studio](https://three.ws/ar/studio), [/ar](https://three.ws/ar), [/viewer](https://three.ws/viewer).---@@ -27326,7 +27333,7 @@ Configure everything and copy your snippet at [three.ws/assistant](https://threeLooking for a support-chat panel grounded in your page's content instead of a full-body avatar? That is the sibling [Concierge widget](#sec-147). Use Concierge for "answer questions about this page"; use the assistant widget when you want a character who stands on your site, speaks, and can run on a visitor's own model key.-There are three ways to add it: a one-tag script, the [`@three-ws/assistant`](https://www.npmjs.com/package/@three-ws/assistant) npm package, or let an AI agent generate the embed for you through the [assistant-widget MCP server](#generate-a-widget-from-an-ai-agent-mcp). New to it? The [step-by-step tutorial](#sec-401) builds one from scratch.+There are three ways to add it: a one-tag script, the [`@three-ws/assistant`](https://www.npmjs.com/package/@three-ws/assistant) npm package, or let an AI agent generate the embed for you through the [assistant-widget MCP server](#generate-a-widget-from-an-ai-agent-mcp). New to it? The [step-by-step tutorial](#sec-402) builds one from scratch.## Install@@ -27447,10 +27454,10 @@ Ask your agent something like "build a 3D assistant widget named Aria with an oc## Related surfaces-- [Build a 3D assistant, step by step](#sec-401), the tutorial+- [Build a 3D assistant, step by step](#sec-402), the tutorial- [Concierge](#sec-147), the page-grounded support-chat widget with a lipsyncing face- [three.ws MCP servers](#sec-272), the full free and paid tool catalog-- [Share and embed](#sec-364), the `<three-d>` model embeds+- [Share and embed](#sec-365), the `<three-d>` model embeds- [/walk-embed](https://three.ws/walk-embed), the walking-avatar iframe embed- [/forge](https://three.ws/forge), generate an avatar to use in the widget@@ -28288,7 +28295,7 @@ three.ws runs a small on-chain treasury that funds itself. A single **funding-rowallet tops up a handful of **engine** wallets; those engines do real work — launchcoins, run buybacks, pay holders, settle agent-to-agent invoices — and any surplussweeps back up to the root. Every wallet is on Solana mainnet, every move is public,-and the platform **scans its own wallets for leaks every minute**.+and the platform **scans its own wallets for leaks every few minutes**.This page explains the whole loop in plain language: which wallet does what, how moneycan and cannot move, and how you can verify there's no leak yourself.@@ -28379,13 +28386,16 @@ Together these mean money can only move **inside the set of wallets the platform----## 4. The platform audits itself for leaks — every minute+## 4. The platform audits itself for leaks, around the clock-You don't have to take rule #3 on faith. Two on-chain scanners run continuously:+You don't have to take rule #3 on faith. Two on-chain scanners run on their own+schedules (the cadences below are the ones in `vercel.json`, which is what Cloud+Scheduler is synced from):-- **`wallets-leak-scan`** watches *every* resolvable signer wallet (funding root, coin- launcher, treasuries, x402 sponsor/payer, SNS parent, fee-payer, …).-- **`x402-ring-leak-scan`** watches the x402 ring role wallets specifically.+- **`wallets-leak-scan`**, every 15 minutes, watches *every* resolvable signer wallet+ (funding root, coin launcher, treasuries, x402 sponsor/payer, SNS parent, fee-payer, …).+- **`x402-ring-leak-scan`**, every 10 minutes, watches the x402 ring role wallets+ specifically.Each reads new transactions for every wallet and classifies every debit as one of:*internal* (to another controlled wallet), *network fee*, *delegation*, or **leak** — a@@ -28394,8 +28404,12 @@ alert** with the signature, counterparty, amount, and a rotate-the-key recommendand records a verdict in `payment_reconciliation`. The scanners are **read-only** — theynever move funds.-**As of this writing, the scanners have examined 44,122 transactions across all wallets-and found zero leaks and zero leak verdicts, ever.**+**As of 2026-07-12, the scanners had examined 44,122 transactions across all wallets+and found zero leaks and zero leak verdicts, ever.** That count is not a frozen+marketing number: each scanner keeps its own running totals per wallet+(`wallet_scan_cursor.scanned_total` and `.leaks_total`), so the current figure is+always re-derivable from the database, and a non-zero `leaks_total` would already+have paged the operator before anyone read it here.### Verify it yourself@@ -28430,7 +28444,7 @@ zero.platform's cut.- [Economy master](#sec-176) — the funding-root subsystem, its ledger, and thetopup/sweepback crons in depth.-- [x402 ring economy](#sec-503) — how the autonomous payment ring settles+- [x402 ring economy](#sec-504) — how the autonomous payment ring settlesUSDC between agents.---@@ -28505,7 +28519,7 @@ master holds funds.| `X402_AUTONOMOUS_MAX_PER_TICK` | `12` | Max calls per cron tick. Raised from the original demo curve (8) to serve more of the ready backlog each tick; per-endpoint cooldowns still gate how often any one endpoint is hit. || `X402_AUTONOMOUS_DAILY_CAP_ATOMIC` | `15000000` ($15) | Daily USDC cap across the whole loop, in 6-decimal atomics. Raised from $5 so the higher per-tick throughput isn't money-starved mid-day; still a hard, env-tunable ceiling enforced per tick. || `X402_VOLUME_BATCH_PER_RUN` | `6` | Volume Bootstrap Loop: endpoints swept per run (cursor advances by this). Default sized so a default-cadence hour covers the full autobuy rotation — trailing-30-day settle activity is what keeps endpoints ranked on the x402 discovery surfaces. |-| `X402_VOLUME_PER_RUN_CAP_ATOMIC` | `50000` ($0.05) | Volume Bootstrap Loop: self-imposed per-run cap, on top of the daily cap, so one tick can't drain the day. |+| `X402_VOLUME_PER_RUN_CAP_ATOMIC` | `1100000` ($1.10) | Volume Bootstrap Loop: self-imposed per-run cap, on top of the daily cap, so one tick can't drain the day. Floor set by `RING_SETTLE_DEFAULT_PRICE_ATOMICS` ($1.00): drop below it and the config validator raises `ring_price_exceeds_run_cap` and the ring skips `ring-settle` every tick. Source of truth: [`api/_lib/x402/ring-constants.js`](../api/_lib/x402/ring-constants.js). || `X402_DATAPOINT_SWEEP_BATCH` | `6` | Datapoint Fabric Volume Sweep: distinct datapoint URLs settled per run (cursor advances by this over the ~5k-URL live pool). || `X402_DATAPOINT_SWEEP_CAP_ATOMIC` | `50000` ($0.05) | Datapoint Fabric Volume Sweep: self-imposed per-run cap, on top of the shared daily cap. || `CRON_SECRET` | _(required)_ | Shared secret authorizing cron invocations (Cloud Scheduler). |@@ -28578,7 +28592,9 @@ Redis-backed round-robin cursor, reserves the next `X402_VOLUME_BATCH_PER_RUN`endpoints from the autobuy rotation in[`api/_lib/x402/ring-catalog.js`](../api/_lib/x402/ring-catalog.js) (mapped intothe shared driver by [`pipelines/volume-shared.js`](../api/_lib/x402/pipelines/volume-shared.js)),-and pays each one a real on-chain USDC payment ($0.001–$0.01). It respects both+and pays each one a real on-chain USDC payment at that endpoint's own price+(from $0.001 for the cheap probes up to $1.00 for `ring-settle`, the rotation's+largest single call). It respects boththe loop's daily cap and its own `X402_VOLUME_PER_RUN_CAP_ATOMIC` per-run cap. Itrecords every call in `x402_autonomous_log` and upserts the per-endpoint ledger`x402_volume_metrics` (call / success / fail counts, total + last USDC spent, last@@ -28602,7 +28618,8 @@ automatically (and `tests/x402-ring-catalog.test.js` fails until it is cataloged## The Datapoint Fabric Volume SweepOne registry entry — `datapoint-volume-sweep`, pipeline `datapoint`, cooldown-300s — settles real on-chain USDC against the [datapoint fabric](market-data-api.md#the-datapoint-fabric)+300s, settles real on-chain USDC against the+[datapoint fabric](market-data-api.md#the-datapoint-fabric--1000000-standalone-endpoints)(the 1,000,000+ endpoints served by the single `api/x402/d/[...path].js` route),which the Volume Bootstrap Loop above never touches (its rotation is the ~45*named* catalog endpoints flagged `autobuy: true`). On each run it advances its own Redis-backed cursor@@ -28655,9 +28672,9 @@ corroborate — the ops financial-integrity surface alerts on those. Detail:## Related-- [x402 endpoints](#sec-501) — the paid endpoints this loop calls.-- [x402 revenue & receipts](#sec-502) — where settlements land, the proof-of-volume ledger, and the reconciliation job.-- [x402 buyer client](#sec-498) — the client wrappers it pays with.+- [x402 endpoints](#sec-502) — the paid endpoints this loop calls.+- [x402 revenue & receipts](#sec-503) — where settlements land, the proof-of-volume ledger, and the reconciliation job.+- [x402 buyer client](#sec-499) — the client wrappers it pays with.- [Circulation engine](#sec-137) — the separate SOL/$THREE activity loop.---@@ -28759,7 +28776,7 @@ A confirmed buyback narrates as: "Bought back and burned $120 of $YOURCOIN. Supp- [Custody you can verify](#sec-165) - the spend limits, freeze switch, and audit trail every agent wallet runs under- [Financial controls](#sec-216) - plain-English spend rules layered on the same enforcement point-- [Oracle](#sec-304) - the conviction engine and the agent action loop that arms an agent to trade autonomously+- [Oracle](#sec-305) - the conviction engine and the agent action loop that arms an agent to trade autonomously- [/dashboard](https://three.ws/dashboard) - launch a coin for an agent, the prerequisite for Autopilot- [/launches](https://three.ws/launches) - the public feed of coins launched through three.ws@@ -28777,7 +28794,7 @@ It is the piece that lets avatars live in a build pipeline instead of a browser**On this page:** [Install](#install) · [Quick start](#quick-start) · [Commands](#commands) · [The manifest](#the-manifest) · [Exit codes](#exit-codes-and-scripting) · [Release gate](#gate-a-release-on-the-manifest)-Related: [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the wire format this validates against. The [web component reference](#sec-491) covers the `<agent-3d>` element the CLI emits.+Related: [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the wire format this validates against. The [web component reference](#sec-492) covers the `<agent-3d>` element the CLI emits.---@@ -28971,7 +28988,7 @@ https://three.ws/a/eip155%3A1%3A0x742d35Cc6634C0532925a3b844Bc454e4438f44e<iframe src="https://three.ws/a/eip155%3A1%3A0x742d35Cc6634C0532925a3b844Bc454e4438f44e" width="480" height="640" frameborder="0" allow="camera; microphone; xr-spatial-tracking"></iframe>```-The web-component block is emitted with its loader on purpose. `<agent-3d>` is an ordinary unknown element until that script registers it, so the snippet is only complete with both lines. See the [web component reference](#sec-491) for the full attribute surface.+The web-component block is emitted with its loader on purpose. `<agent-3d>` is an ordinary unknown element until that script registers it, so the snippet is only complete with both lines. See the [web component reference](#sec-492) for the full attribute surface.When `mesh.uri` is still a local path, `preview` says so rather than handing you a snippet that renders nothing:@@ -29068,8 +29085,8 @@ three-ws-avatar validate manifest.json --json | jq -e '.valid'## Where to go next-- **[Ship an avatar manifest](#sec-451)** walks the whole path end to end, from a raw GLB to a live embed, and explains the decision at each step.-- **[Web component reference](#sec-491)** documents every attribute on the `<agent-3d>` element `preview` emits.+- **[Ship an avatar manifest](#sec-452)** walks the whole path end to end, from a raw GLB to a live embed, and explains the decision at each step.+- **[Web component reference](#sec-492)** documents every attribute on the `<agent-3d>` element `preview` emits.- **[`@three-ws/avatar-schema`](../packages/avatar-schema/README.md)** is the normative format if you are writing your own tooling.- The package source lives in [`packages/avatar-cli`](https://github.com/nirholas/three.ws/tree/main/packages/avatar-cli).@@ -29473,7 +29490,7 @@ Mesh and glTF output can be animated by the skinned-mesh pipeline. Gaussian and| --- | --- | --- || `live` | Live on three.ws | Already wired into a three.ws product surface you can use right now. || `forge` | Generate in Forge | Commercially licensed and reachable through the live text and image to GLB pipeline at [/forge](https://three.ws/forge). |-| `splat` | View in Splat Viewer | Produces Gaussian-splat or radiance-field output you can drop into the three.ws [splat viewer](#sec-380). |+| `splat` | View in Splat Viewer | Produces Gaussian-splat or radiance-field output you can drop into the three.ws [splat viewer](#sec-381). || `interop` | Interop | Emits a standard rigged format (glTF, VRM, FBX) that the three.ws viewer and animation pipeline already understand. || `reference` | Reference / self-host | Run it yourself. Its license or its compute profile keeps it out of the commercial pipeline. It is listed here for builders. |@@ -29580,7 +29597,7 @@ To add an engine, append an entry to `ENGINES` in [`src/avatar-engines-data.js`]## Related-- [Splat Viewer](#sec-380): where the Gaussian-splat output of the `splat` engines actually renders in the browser.+- [Splat Viewer](#sec-381): where the Gaussian-splat output of the `splat` engines actually renders in the browser.- [Scene Capture](#sec-130): the three.ws side of reconstruction, turning real video into 3D, adjacent to the photoreal-head family here.- [Forge](#sec-221): the live commercial generation pipeline, which the one `live` text-to-avatar engine powers.- [Agent Identity Studio](#sec-052): that pipeline applied end to end, brand brief to rigged avatar plus studio renders.@@ -30189,7 +30206,7 @@ prompt / imageGeneration quality is a **tier** ([api/_lib/forge-tiers.js](../api/_lib/forge-tiers.js)): `draft`, `standard`(default), or `high` — more geometric budget at higher tiers. The tier sets theprice identically across REST and MCP transports (see-[MCP tools](#sec-270), [x402 endpoints](#sec-501)).+[MCP tools](#sec-270), [x402 endpoints](#sec-502)).### ② Auto-rig@@ -30276,7 +30293,7 @@ pose operations.- [Selfie → Avatar reconstruction](#sec-111) — the separate lane that fits a *person's photo* onto a rigged template (face texture + geometry morph), rather than generating a mesh from a prompt.- [Animations](#sec-091) — the clip library and retargeting in depth.- [3D asset pipeline](#sec-002) — formats, optimization, validation.-- [NVIDIA free models](#sec-290) — the free generation backend.+- [NVIDIA free models](#sec-291) — the free generation backend.- [MCP tools](#sec-270) — every generation/editing tool and its price.---@@ -30537,7 +30554,7 @@ Every edit updates the live scene graph, and a working "appearance" object track- **Proportions.** Above the morph sliders sits a bone-level build panel: Height, Leg Length, Torso Length, Neck Length, Arm Length, Shoulder Width, Hip Width, Head Size, Hand Size, Foot Size. Morphs reshape a limb; these re-proportion the skeleton, which is the only way to actually lengthen one (a morph is a fixed set of vertex deltas, so pulling the hand further from the elbow would drag the skin off the bone driving it). Each slider is a ratio around the base body, shown as a signed percentage, and double-clicking resets it. Lengthen the legs and the hips ride up so the feet stay on the floor, and the animation library re-measures itself against the new hip height so the walk does not foot-slide. Only parameters the loaded rig has bones for are offered.- **Accessories.** Hats, glasses, and earrings load from a preset catalog (`/accessories/presets.json`). Hovering a tile previews it live on the avatar; clicking commits it. Hats and glasses are single-slot; earrings stack. A chip row shows everything applied, each removable.- **Garment layers.** Outfit, glasses, and hair can be toggled visible/hidden, with bulk "Start minimal" and "Dress fully" actions, so you can strip to the base body and rebuild the look deliberately.-- **Animate.** Load the shared canonical clip library and drive the rig live with 16 emotes (idle, wave, cheer, flex, jump, pray, dance, shuffle, rumba, thriller, capoeira, and more). A looping emote becomes the avatar's resting idle and is baked in on save; one-shots play once and settle back to the current idle. This doubles as proof the avatar is fully rigged.+- **Animate.** Load the shared canonical clip library and drive the rig live with 17 emotes (idle, waiting, chill, wave, cheer, celebrate, flex, jump, pray, blow kiss, taunt, dance, shuffle, rumba, thriller, capoeira). A looping emote becomes the avatar's resting idle and is baked in on save; one-shots play once and settle back to the current idle. This doubles as proof the avatar is fully rigged.- **Randomize.** One button rolls a random swatch per color slot, a gentle draw on every proportion parameter, and a random hat and glasses, as a starting point. The proportion draw stays near neutral on purpose: two random avatars should read as different people, not different species.The studio has 50-deep undo/redo, a dirty-state indicator in the title bar, and a draft autosave to local storage that is offered back if you leave and return (in create mode).@@ -30585,7 +30602,7 @@ curl 'https://three.ws/api/avatars/<avatarId>' -H 'cookie: <session>'- [Animation Studio](#sec-090): pose and keyframe the avatar you build here.- [Scene Composer](#sec-146): forge props and attach them to the avatar's bones as a saved outfit.- [Mocap Studio](#sec-279): drive the avatar's face live from your webcam.-- [Restyle Studio](#sec-354): shares the same GLB optimize-and-validate path.+- [Restyle Studio](#sec-355): shares the same GLB optimize-and-validate path.- [Trait-based avatar builder](#sec-133): the separate VRM studio embedded in the agent editor; a deep dive into its internals.- [/create](https://three.ws/create): the hub for every avatar-creation path, including selfie-to-avatar.@@ -31850,7 +31867,7 @@ Published 27 June 2026. Tags: `ai`, `agent-toolkit`, `blockchain`, `aws-partnersThe platform-level piece: browser-native 3D AI agents with memory, on-chain wallets, and autonomous payments, available on AWS Marketplace, embeddable in one line of HTML, and governed before they act. Written for AWS builders evaluating three.ws as an agent runtime rather than as a 3D asset tool.-- **Surfaces it covers:** [the `<agent-3d>` web component](#sec-491), [agent wallets](#sec-070), [the agent system](#sec-062), [AWS Marketplace procurement](#sec-120)+- **Surfaces it covers:** [the `<agent-3d>` web component](#sec-492), [agent wallets](#sec-070), [the agent system](#sec-062), [AWS Marketplace procurement](#sec-120)## Published by AWS about three.ws@@ -31864,7 +31881,7 @@ Published 26 June 2026 by Kelly Wu (AWS). Part of the AWS-run series "AWS PartneA builder's guide to the agentic economy that uses the three.ws stack as its worked example throughout: the x402 handshake and its three layers, MCP as the distribution layer for agent capabilities, agent-to-agent payments, on-chain agent identity (ERC-8004 and the SPL skill licenses), agent tokens on the bonding curve, and 3D embodiment. It walks the hosted MCP servers, the `@three-ws/*` payment SDKs, and the FSI use cases for per-call data access, and closes on the open problems: payment streaming, automatic cross-chain routing, agent reputation as a credit primitive, and org-scale spend governance.-- **Surfaces it covers:** [the MCP servers](#sec-272), [x402](#sec-103), [agent wallets](#sec-070), [the `<agent-3d>` web component](#sec-491)+- **Surfaces it covers:** [the MCP servers](#sec-272), [x402](#sec-103), [agent wallets](#sec-070), [the `<agent-3d>` web component](#sec-492)- **Canonical URL note:** the Builder Center strips digits from slugs, so `x402` becomes `x` and `3d` becomes `d` in the path. The URL above is the one AWS publishes in its own [sitemap](https://builder.aws.com/sitemaps/articles/2026-6.xml); a slug containing the digits also resolves, because the content ID is what routes.## In draft@@ -33329,7 +33346,7 @@ done; wait- [Agent Studio](#sec-060): the Brain tab uses this same backend- [Agent System](#sec-062): how a chosen brain fits the agent model-- [Persona Hub](#sec-312): synthesizing the system prompt a brain runs+- [Persona Hub](#sec-313): synthesizing the system prompt a brain runs- [API reference](#sec-094) and [Authentication](#sec-101)- Pages: [/brain](https://three.ws/brain), [/agent-studio](https://three.ws/agent-studio)@@ -33630,7 +33647,7 @@ grep -l 'vite-plugin-pwa:register-sw' dist/widget.html dist/embed.html # expec# CA to x402-Paste a token contract address, get back a live, agent-payable [x402](#sec-506)+Paste a token contract address, get back a live, agent-payable [x402](#sec-507)market-intel endpoint for that exact token. The generated endpoint costs a smallUSDC payment per call, is discoverable in the x402 bazaar, and needs no keys, nobackend, and no deploy from the person who generated it.@@ -33780,7 +33797,7 @@ actually settles against.Operators can retune the price at deploy time with`X402_PRICE_TOKEN_INTEL=<atomics>`; a non-integer value logs a warning and falls-back to the default. See [x402 paid endpoints](#sec-501) for the full+back to the default. See [x402 paid endpoints](#sec-502) for the fullprice-override scheme.---@@ -33796,7 +33813,7 @@ A standard three.ws paid endpoint built on the shared handler`X-PAYMENT` header gets a `402` challenge carrying the accepted networks, asset,price, and pay-to address; the buyer retries with a signed payment and receivesthe intel. Settlement is recorded like any other endpoint payment (see-[x402 revenue and receipts](#sec-502)).+[x402 revenue and receipts](#sec-503)).The paid response body is the token block computed fresh at call time:@@ -33933,11 +33950,11 @@ right now. If the endpoint is unreachable the page says so and offers a retry.## Related-- [x402 on three.ws](#sec-506): the protocol, the wire format, and how the+- [x402 on three.ws](#sec-507): the protocol, the wire format, and how theplatform settles.-- [x402 paid endpoints](#sec-501): the full catalog of our paid+- [x402 paid endpoints](#sec-502): the full catalog of our paidendpoints, their prices, and the `X402_PRICE_*` override scheme.-- [x402 revenue and receipts](#sec-502): where a settled payment for this+- [x402 revenue and receipts](#sec-503): where a settled payment for thisendpoint is recorded and how the buyer's receipt is issued.---@@ -34038,7 +34055,7 @@ console.log(job.result_url, job.num_points); // coloured .ply + point count## Related-- [Splat Viewer](#sec-380) renders Gaussian-splat radiance fields, the photoreal cousin of point clouds.+- [Splat Viewer](#sec-381) renders Gaussian-splat radiance fields, the photoreal cousin of point clouds.- [/avatar-engines](https://three.ws/avatar-engines) covers the Geometric Context Transformer and related capture engines.- [Forge](#sec-221) and [Image to 3D](#sec-247) for generating meshes from prompts and photos.- Pages: [/scene](https://three.ws/scene) (Scene Studio), [/create](https://three.ws/create).@@ -34388,7 +34405,7 @@ The Character Library is a free, curated gallery of professionally rigged humanoPage: [/character-library](https://three.ws/character-library) · API: `GET /api/avatars/library`Source: [`pages/character-library.html`](../pages/character-library.html) · [`src/character-library.js`](../src/character-library.js) · [`api/avatars/library.js`](../api/avatars/library.js)-> This page covers the character gallery and its API. For the motion clips these characters play, see [Animations](#sec-091). For the free prop counterpart to this library, see the [Object Library](#sec-292).+> This page covers the character gallery and its API. For the motion clips these characters play, see [Animations](#sec-091). For the free prop counterpart to this library, see the [Object Library](#sec-293).---@@ -34404,8 +34421,8 @@ Each card renders the character live in an auto-rotating `<model-viewer>` (with| Button | Destination | What you get ||---|---|---|-| **Preview** | `/app#model=<glb-url>` | The full three.js [3D viewer](#sec-488) |-| **Use** | `/studio?model=<glb-url>` | [Widget Studio](#sec-493): configure and publish an embeddable widget of this character (see the [Embedding Guide](#sec-180)) |+| **Preview** | `/app#model=<glb-url>` | The full three.js [3D viewer](#sec-489) |+| **Use** | `/studio?model=<glb-url>` | [Widget Studio](#sec-494): configure and publish an embeddable widget of this character (see the [Embedding Guide](#sec-180)) || **Animate** | `/pose?src=<glb-url>&title=<name>` | [Animation Studio](#sec-090): pose, keyframe, and export motion on this character |Gallery controls:@@ -34492,14 +34509,14 @@ The gallery and API are read-only consumers of a manifest built by a local pipel3. `scripts/fetch-mixamo-avatar-thumbnails.mjs` stages the PNG thumbnails.4. `scripts/build-mixamo-avatar-library.mjs` reads `public/avatars/mixamo/catalog.json`, merges the extra CC0 characters from `public/avatars/extra/characters.json`, and PUTs `avatars/library/manifest.json` to R2 (`--dry-run` prints without uploading).-R2 CORS is configured by `scripts/set-r2-cors.mjs` so browsers can GET the GLBs cross-origin. The live bucket policy is an origin allowlist (`three.ws`, `*.vercel.app`, `localhost:3000`) that predates the world-open read rule now in that script, so a GLB loaded straight from the CDN on any other origin fails with no `access-control-allow-origin` header. Measure the live policy with `node scripts/set-r2-cors.mjs --probe`; until it is corrected, embeds on third-party origins should route the GLB through [`/api/glb`](media-api.md#same-origin-glb-proxy), as [the embed tutorial](#sec-411) does.+R2 CORS is configured by `scripts/set-r2-cors.mjs` so browsers can GET the GLBs cross-origin. The live bucket policy is an origin allowlist (`three.ws`, `*.vercel.app`, `localhost:3000`) that predates the world-open read rule now in that script, so a GLB loaded straight from the CDN on any other origin fails with no `access-control-allow-origin` header. Measure the live policy with `node scripts/set-r2-cors.mjs --probe`; until it is corrected, embeds on third-party origins should route the GLB through [`/api/glb`](media-api.md#same-origin-glb-proxy), as [the embed tutorial](#sec-412) does.## Related- [Animations](#sec-091): the clip library every character drives, and how retargeting works.- [Animation Studio](#sec-090): the `/pose` surface the Animate button opens.-- [Widget Studio](#sec-493) and the [Embedding Guide](#sec-180): turn a library character into a live embed on any site.-- [Object Library](#sec-292): the same free-library pattern for CC0 props and scene objects.+- [Widget Studio](#sec-494) and the [Embedding Guide](#sec-180): turn a library character into a live embed on any site.+- [Object Library](#sec-293): the same free-library pattern for CC0 props and scene objects.- [Marketplace](#sec-265): library characters are free; the marketplace is where priced avatars, agents, and skills are bought and sold.---@@ -35070,7 +35087,7 @@ A place-in-your-room link is built to be forwarded. When it is pasted into a chaEverything above is public plumbing:- **Plain HTTP, free:** `POST /api/3d/generate` is the keyless agent-facing twin of the studio endpoint, same lane, same `arUrl`. Contract, states, and per-IP limits: [the free 3D API](#sec-001).-- **Any MCP client:** the connector at `/api/mcp-studio` works in Claude and every other MCP host, not just ChatGPT. Every generation it returns already carries `arUrl` (and `irlUrl` for rigged avatars) plus a [Spatial MCP](#sec-378) artifact, so no extra tool call is needed to get the AR link. To build that link set for a GLB the connector did **not** generate, use the read-only `export_ar` tool on the separate [`/api/mcp-3d` server](#sec-266), which returns `arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, and `irlUrl`. That server is account- or payment-gated and is not part of the free connector.+- **Any MCP client:** the connector at `/api/mcp-studio` works in Claude and every other MCP host, not just ChatGPT. Every generation it returns already carries `arUrl` (and `irlUrl` for rigged avatars) plus a [Spatial MCP](#sec-379) artifact, so no extra tool call is needed to get the AR link. To build that link set for a GLB the connector did **not** generate, use the read-only `export_ar` tool on the separate [`/api/mcp-3d` server](#sec-266), which returns `arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, and `irlUrl`. That server is account- or payment-gated and is not part of the free connector.- **By hand:** the `arUrl` format is stable. If you have a public GLB, you can construct `https://three.ws/api/ar?src=<encoded GLB>&title=<name>` yourself and it will route correctly on every device.The generation lane is operator-funded (NVIDIA NIM running Microsoft TRELLIS for text-to-3D), so the end user pays nothing and needs no account; real per-IP rate limits apply and are documented per endpoint.@@ -35345,7 +35362,7 @@ Coming from [/gestures](https://three.ws/gestures), the **Use in a routine** but## Related- [Animations](#sec-091): clips, collections, and the slot vocabulary underneath every routine-- [Procedural animation](#sec-322): the IK layers that run on top of whatever clip is playing+- [Procedural animation](#sec-323): the IK layers that run on top of whatever clip is playing- [Agent manifest](#sec-053): the public document that carries `choreographies` to embeds- [Embedding an agent](#sec-180): the `<agent-3d>` element these methods live on@@ -35358,8 +35375,8 @@ Coming from [/gestures](https://three.ws/gestures), the **Use in a routine** but# Circulation EngineThe circulation engine is three.ws's autonomous agent-to-agent activity loop. It-operates a pool of real platform agents: each a published marketplace listing-with its own custodial Solana (and optionally EVM) wallet: and on every tick it+operates a pool of real platform agents, each a published marketplace listing+with its own custodial Solana (and optionally EVM) wallet. On every tick itmakes those agents do real, on-chain things with one another: tip each other,pay for services, trade and launch coins, register on-chain identities, and listand buy skills and assets.@@ -35430,7 +35447,7 @@ transfer).The weight table is a single exported constant, `LIGHT_ACTION_WEIGHTS` in`api/_lib/circulation.js`, and `tests/circulation-trial-conversion.test.js`-holds every weighted kind to having a real handler in the `ACTIONS` registry.+pins every weighted kind to a real handler in the `ACTIONS` registry.Adding a weight without a handler is otherwise a silent runtime skip.## The trial funnel@@ -35519,7 +35536,7 @@ Each tick grows the pool by up to `CIRCULATION_GROWTH_PER_TICK` agents and runswins first refusal). The `pulse-tick` function is bounded to a 120-second`maxDuration` in [`vercel.json`](../vercel.json).-All scheduled jobs: the `economy-tick` dispatcher included: run on **Google+All scheduled jobs, the `economy-tick` dispatcher included, run on **GoogleCloud Scheduler**. `vercel.json`'s cron list is the source of truth the CloudRun server (`server/index.mjs`) reads at runtime; there is no GitHub Actionsfailover.@@ -35605,7 +35622,7 @@ API: `/api/clash/[action]` with `action` one of `state`, `enlist`, `enlist-verif## Why it exists-Coin communities already behave like tribes. Coin Clash gives that tribalism a game loop with real stakes of identity: you can only fight for a coin you actually hold, so rallying is a public act of conviction, and a community's showing on the board is a live measure of how many holders will show up. The token gate is a real balance read, not a client-side check, which makes it a working demonstration of the same "hold, do not just claim" primitive used across the platform (see [token-gated 3D embeds](#sec-390) and [hold to access](#sec-234)). Effort wins, not market cap: a battle is decided by summed taps, so a smaller, more active army can beat a larger, quieter one.+Coin communities already behave like tribes. Coin Clash gives that tribalism a game loop with real stakes of identity: you can only fight for a coin you actually hold, so rallying is a public act of conviction, and a community's showing on the board is a live measure of how many holders will show up. The token gate is a real balance read, not a client-side check, which makes it a working demonstration of the same "hold, do not just claim" primitive used across the platform (see [token-gated 3D embeds](#sec-391) and [hold to access](#sec-234)). Effort wins, not market cap: a battle is decided by summed taps, so a smaller, more active army can beat a larger, quieter one.## How it works@@ -35669,9 +35686,9 @@ The Coin Clash state and leaderboard are also exposed read-only over MCP through## Related-- [Token-gated 3D embeds](#sec-390): the same real on-chain balance gate, applied to embeds+- [Token-gated 3D embeds](#sec-391): the same real on-chain balance gate, applied to embeds- [Hold to access](#sec-234): the platform's broader hold-do-not-spend membership thesis-- [The social layer](#sec-374): platform-wide feed, follows, and leaderboards+- [The social layer](#sec-375): platform-wide feed, follows, and leaderboards- [MCP tools](#sec-272): the read-only Clash MCP server- Pages: [/clash](https://three.ws/clash) · [/communities](https://three.ws/communities)@@ -35760,9 +35777,9 @@ message instead of an error, so a card is only ever minted from a real closed ro## Related-- [Trader Card & the claim-your-wallet wedge](#sec-392)+- [Trader Card & the claim-your-wallet wedge](#sec-393)- [Meta-Allocator: the ETF of degens](#sec-276)-- [The trading surfaces](#sec-398) · [The Arena](https://three.ws/arena)+- [The trading surfaces](#sec-399) · [The Arena](https://three.ws/arena)- [Animations & gestures](#sec-091)---@@ -35850,7 +35867,7 @@ hardcode or surface any other specific mint as a recommendation.## Related-- [Solana pump.fun signals](#sec-375) — reputation/intel from pump.fun activity.+- [Solana pump.fun signals](#sec-376) — reputation/intel from pump.fun activity.- [Agent wallets](#sec-165) — custodial signing and spend caps.- [Circulation engine](#sec-137) — autonomous launch cadence and caps.- [Mint mark](#sec-277), [Vanity protocol](#sec-005).@@ -36651,7 +36668,7 @@ battlefield. `return` is only ever honoured as a same-origin path.| The endpoint + store | [`api/wars.js`](../api/wars.js), [`api/_lib/wars-store.js`](../api/_lib/wars-store.js) || Tests | [`tests/war-matchmaking.test.js`](../tests/war-matchmaking.test.js), [`tests/clash-match.test.js`](../tests/clash-match.test.js) |-Related: [the in-game economy](#sec-248), [play hardening](#sec-316).+Related: [the in-game economy](#sec-248), [play hardening](#sec-317).---@@ -37154,7 +37171,7 @@ The page is a Three.js scene with PMREM image-based lighting, soft shadows, expo### Export vs. save outfit-There are two ways out. **Export GLB** bakes every visible, non-bone-attached object into one downloadable `scene-compose.glb`. **Save outfit** takes a different path: for a three.ws avatar loaded from `/avatars/<id>`, it PATCHes the bone-attached items (bone name, GLB URL, name) onto that avatar's record as `accessories`, so the outfit becomes part of the avatar everywhere it appears. Save outfit needs at least one item attached to a bone and a resolvable avatar id; otherwise it points you to Export GLB.+There are two ways out. **Export GLB** bakes every visible, non-bone-attached object into one downloadable `scene-compose.glb`. **Save outfit** takes a different path: for an avatar loaded from your three.ws library (a `?avatar=<id>` deep link or the Browse picker), it PATCHes the bone-attached items onto that avatar's record as `appearance.attachments`, each entry a `{ bone, url, name }`, so the outfit rides the avatar everywhere its appearance is applied. Save outfit needs at least one item attached to a bone (up to 8) and an avatar that came from a record; otherwise it points you to Export GLB. The save extends the avatar's existing appearance rather than replacing it, so colors, morphs and layers set in [Avatar Studio](#sec-112) survive it.## Walkthrough@@ -37184,19 +37201,21 @@ curl 'https://three.ws/api/forge?job=<job_id>' -H 'x-forge-client: <your-client-# → { "status": "done", "glb_url": "https://.../crown.glb" }```-Saving attached items as an avatar outfit:+Saving attached items as an avatar outfit. This writes to your own avatar record, so unlike the Forge calls above it needs a signed-in session (or an API key with the `avatars:write` scope), not just a client key:```bashcurl -X PATCH 'https://three.ws/api/avatars/<avatarId>' \-H 'content-type: application/json' \- -H 'x-forge-client: <your-client-key>' \- -d '{"accessories":[{"bone":"mixamorig:Head","glbUrl":"https://.../crown.glb","name":"Horned crown"}]}'+ -H 'authorization: Bearer <api-key>' \+ -d '{"appearance":{"attachments":[{"bone":"mixamorig:Head","url":"https://.../crown.glb","name":"Horned crown"}]}}'```+`appearance` replaces the whole parameter document, so send the fields you want to keep alongside `attachments` (the studio reads the record first and merges). Attachment URLs must be https on a three.ws asset host; the full contract is in [specs/AVATAR_PARAMETERS.md](../specs/AVATAR_PARAMETERS.md).+## States & limits- **Bone attachment needs a rigged avatar.** The "Attach to Bone" control only appears when an avatar with bones is loaded. A non-humanoid or unrigged model can still be arranged and exported, just not bone-parented.-- **Save outfit is for three.ws avatars.** It only works when the loaded avatar came from `/avatars/<id>` (so it has a record to PATCH). For any other model, use Export GLB.+- **Save outfit is for three.ws avatars.** It only works when the loaded avatar came from a record in your library, which is what `?avatar=<id>` and the Browse picker load (so there is something to PATCH), and it needs you signed in. A model loaded by raw URL has no record: use Export GLB. Up to 8 attached items are saved; beyond that, Export GLB.- **Bone-attached items are excluded from Export GLB.** Export bakes visible, world-space objects; items parented to a bone belong to the avatar and are saved through Save outfit instead.- **Generation can take minutes.** Full-quality bakes legitimately run past ten minutes; the studio's ceiling sits above the slowest real generation, and a queued job restarts the wait window. A genuinely failed or timed-out job surfaces an actionable error.- **Undo is 50 deep.** Transforms, adds, and removes are undoable (Ctrl+Z / Ctrl+Y); a full scene wipe is not a single undo step.@@ -37206,8 +37225,8 @@ curl -X PATCH 'https://three.ws/api/avatars/<avatarId>' \- [Avatar Studio](#sec-112): build the avatar you dress here.- [Animation Studio](#sec-090): pose and animate the dressed avatar.-- [Scene Studio](#sec-359): the full three.js editor for heavier scene authoring.-- [Restyle Studio](#sec-354): re-skin the forged props before attaching them.+- [Scene Studio](#sec-360): the full three.js editor for heavier scene authoring.+- [Restyle Studio](#sec-355): re-skin the forged props before attaching them.- [/forge](https://three.ws/forge): the text-to-3D generator behind the prompt box.---@@ -37321,7 +37340,7 @@ Runnable examples ship with the SDK ([concierge-sdk/examples/](https://github.co## Related surfaces- [/walk](/walk): the walking page companion the avatar engine grew from-- [Share and embed](#sec-364): every other way to put a three.ws creation on your site+- [Share and embed](#sec-365): every other way to put a three.ws creation on your site- [MCP](#sec-272): the full catalog of three.ws MCP servers, including this one---@@ -37946,7 +37965,7 @@ A headless agent is a black box. There's no standard way for another agent to diFour real surfaces give your agent a body, an interface, a wallet, and an identity:1. **MCP server** — [`@three-ws/mcp-server`](#sec-272) exposes three.ws tools over MCP (JSON-RPC 2.0 over HTTP) so Claude Desktop, Cursor, Claude Code, or any MCP host can drive an avatar and its tools programmatically.-2. **x402 paid endpoints** — [native x402](#sec-506) paid endpoints on Base, BSC, and Solana let agents pay each other in USDC for API calls, asset downloads, and skill royalties. Discover and transact via the [bazaar](https://three.ws/x402); **pay-by-name** resolves `@username` / `*.sol` to a recipient so the payer verifies a human-readable name before signing.+2. **x402 paid endpoints** — [native x402](#sec-507) paid endpoints on Base, BSC, and Solana let agents pay each other in USDC for API calls, asset downloads, and skill royalties. Discover and transact via the [bazaar](https://three.ws/x402); **pay-by-name** resolves `@username` / `*.sol` to a recipient so the payer verifies a human-readable name before signing.3. **A2A — agent-to-agent protocol** — an [A2A client + server, MCP bridge, DID resolution, and spending ledger](../README.md#a2a--agent-to-agent-protocol) so agents transact autonomously through delegated signer wallets and EIP-7710 permissions.4. **On-chain identity** — register the agent as an [ERC-8004 token on any EVM chain or a Metaplex Core asset on Solana](../README.md#on-chain-identity-erc-8004--metaplex-core). Each agent gets a stable ID, an owner wallet, a delegated signer, an IPFS-pinned manifest, and a signed action log. SDKs live in [`sdk/`](../sdk) (`@three-ws/sdk`), with EVM payments in `agent-payments-sdk/` and Solana in `solana-agent-sdk/`.@@ -37955,7 +37974,7 @@ Four real surfaces give your agent a body, an interface, a wallet, and an identi> **Imagine a developer, "Vega," who built a market-intelligence agent** and wants it to (a) be callable by other agents, (b) charge for premium queries, and (c) have an identity its callers can trust. Here's the path they'd take.1. Vega wires the [`@three-ws/mcp-server`](#sec-272) into their MCP host config (`npx -y @three-ws/mcp-server`) so their agent's tools are reachable over MCP.-2. They expose the premium "deep snapshot" query as an [x402 paid endpoint](#sec-506): callers hit it, receive a `402` with a price manifest, pay USDC on Base (or Solana), and retry to get the data. The endpoint advertises a `recipient_name` so payers see a readable identity before signing.+2. They expose the premium "deep snapshot" query as an [x402 paid endpoint](#sec-507): callers hit it, receive a `402` with a price manifest, pay USDC on Base (or Solana), and retry to get the data. The endpoint advertises a `recipient_name` so payers see a readable identity before signing.3. They register the agent on-chain with the SDK in [`sdk/`](../sdk) — ERC-8004 on an EVM chain or a Metaplex Core asset on Solana — giving it a stable ID, a delegated signer wallet, and a signed action log. Its [on-chain passport](https://three.ws/a/sol/EXAMPLE_ASSET) renders at `/a/[chain]/[id]`.4. Another agent discovers Vega's service in the [bazaar](https://three.ws/x402), pays via x402, and consumes it over A2A — agents paying agents, settled in USDC, with both identities verifiable on-chain.5. **Deliverable:** an embodied, MCP-callable agent with a paid endpoint and a forgery-proof on-chain identity — a real economic actor other agents can find, trust, and pay.@@ -37966,7 +37985,7 @@ A standards-based interface (MCP + A2A), a working USDC payment rail (x402 on Ba## Next step / CTA-- Start: [MCP setup](#sec-272) · [x402 docs](#sec-506) · [SDK docs](#sec-360) · register via [Register On-Chain](#sec-445).+- Start: [MCP setup](#sec-272) · [x402 docs](#sec-507) · [SDK docs](#sec-361) · register via [Register On-Chain](#sec-446).- Browse: the [x402 bazaar](https://three.ws/x402) and [MCP Registry listing](https://registry.modelcontextprotocol.io/?q=three.ws).- **Social spotlight angle (G03):** "Your headless agent → MCP-callable, x402-payable, and on-chain in an afternoon."- `[REAL CASE STUDY — fill on consent: a developer whose agent earned or paid via x402 in production.]`@@ -38015,7 +38034,7 @@ Four real capabilities cover embodiment, reach, and trust:width="340px" height="440px"></agent-3d>```-3. She [registers the agent on-chain](#sec-445) (Metaplex Core on Solana), binds `brand.threews.sol`, and links the public [passport](https://three.ws/a/sol/EXAMPLE_ASSET) from the site footer as a "verified official agent" badge — so look-alikes can't credibly impersonate it.+3. She [registers the agent on-chain](#sec-446) (Metaplex Core on Solana), binds `brand.threews.sol`, and links the public [passport](https://three.ws/a/sol/EXAMPLE_ASSET) from the site footer as a "verified official agent" badge — so look-alikes can't credibly impersonate it.4. For enterprise procurement, she points buyers at the [AWS Marketplace listing](https://three.ws/aws) (a listing, not an endorsement).5. **Deliverable:** a premium, on-brand talking agent on every page, provably the official one via its on-chain passport, with an enterprise procurement path.@@ -38025,7 +38044,7 @@ A conversational 3D brand presence that's easy to embed and share, plus a public## Next step / CTA-- Start: [Widget Studio](https://three.ws/studio) → [Register On-Chain](#sec-445) → claim a name at [`/threews/claim`](https://three.ws/threews/claim).+- Start: [Widget Studio](https://three.ws/studio) → [Register On-Chain](#sec-446) → claim a name at [`/threews/claim`](https://three.ws/threews/claim).- Enterprise: [AWS Marketplace listing](#sec-120) · [Alibaba Cloud listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · explore Granite on watsonx.ai at [/ibm](https://three.ws/ibm).- **Social spotlight angle (G03):** "A talking brand agent you can *prove* is official — embedded everywhere, verifiable on-chain."- `[REAL CASE STUDY — fill on consent: a brand that deployed a verified on-site agent and what it changed.]`@@ -38053,7 +38072,7 @@ A token's community lives in scattered chat apps and a price chart. There's no sThree real surfaces turn a token into a living world with its own economy:1. **Coin Communities — a live 3D world per token** — [`/communities`](https://three.ws/communities) and [`/play`](https://three.ws/play) give every Solana token its own shared 3D world. Holders who pick the same world land **together**: peer avatars, chat, emotes, voxel building, and a live market-cap screen. The [`$THREE` home town](https://three.ws/play) is the flagship world.-2. **An agent economy — agents paying agents** — inside the `$THREE` home town, autonomous agents transact **on-chain via x402** (agents paying each other in USDC for services), demonstrating a real agent-exchange economy, not a simulation. This builds on the platform's [native x402 rails](#sec-506) (Base, BSC, Solana).+2. **An agent economy — agents paying agents** — inside the `$THREE` home town, autonomous agents transact **on-chain via x402** (agents paying each other in USDC for services), demonstrating a real agent-exchange economy, not a simulation. This builds on the platform's [native x402 rails](#sec-507) (Base, BSC, Solana).3. **On-chain reputation & identity** — agents and contributions carry [ERC-8004 / Metaplex Core identity](../README.md#on-chain-identity-erc-8004--metaplex-core) with signed action logs and a [reputation registry](https://three.ws/reputation), plus a pump.fun-native launch/visualize toolset at [`/pumpfun`](https://three.ws/pumpfun) and [`/pump-visualizer`](https://three.ws/pump-visualizer).## Example workflow (hypothetical)@@ -38062,7 +38081,7 @@ Three real surfaces turn a token into a living world with its own economy:1. A community lead opens [`/communities`](https://three.ws/communities), finds the `$THREE` world, and shares the direct link. Holders open it and land in the same [3D `$THREE` home town](https://three.ws/play) — they see each other's avatars, chat, drop emotes, and build with voxels while a live market-cap screen ticks in-world. (`$THREE` CA: `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`.)2. In the home town, holders watch the resident agents pay each other on-chain via x402 — a working agent-exchange where one agent buys a service from another in USDC, settled on Solana — a concrete demo of the agent economy the community is part of.-3. Active contributors register agents with [on-chain identity](#sec-445), accruing a signed action history and a [reputation](https://three.ws/reputation) score that can't be forged — a durable signal of who actually showed up.+3. Active contributors register agents with [on-chain identity](#sec-446), accruing a signed action history and a [reputation](https://three.ws/reputation) score that can't be forged — a durable signal of who actually showed up.4. The community uses [`/pump-visualizer`](https://three.ws/pump-visualizer) to surface live `$THREE` activity inside the world, tying market events to the shared space.5. **Deliverable:** a persistent, multiplayer `$THREE` world where holders gather, a live agent economy they can watch settle on-chain, and an on-chain reputation layer that rewards real participation.@@ -38073,7 +38092,7 @@ A shared 3D home for the token's holders, a real (not mocked) on-chain agent-exc## Next step / CTA- Start: [`/communities`](https://three.ws/communities) → the [`$THREE` home town](https://three.ws/play) → [`/pumpfun`](https://three.ws/pumpfun) and [`/pump-visualizer`](https://three.ws/pump-visualizer).-- Build: [x402 docs](#sec-506) for the agent-economy rails · [Register On-Chain](#sec-445) for reputation.+- Build: [x402 docs](#sec-507) for the agent-economy rails · [Register On-Chain](#sec-446) for reputation.- **Social spotlight angle (G03):** "Watch two agents pay each other on-chain inside a live 3D `$THREE` town — your community's home."- `[REAL CASE STUDY — fill on consent: a community that gathered in its 3D world and what changed for engagement.]`@@ -38120,7 +38139,7 @@ A character that renders with production-grade glTF handling, converses through## Next step / CTA- Start: [`/app`](https://three.ws/app) to render a GLB, then [`/walk`](https://three.ws/walk) for the shared world. The Colyseus server lives in `multiplayer/`.-- Learn: [Write a Custom Skill](#sec-415) · [Agent System docs](#sec-062) · [Skill spec](../specs/SKILL_SPEC.md).+- Learn: [Write a Custom Skill](#sec-416) · [Agent System docs](#sec-062) · [Skill spec](../specs/SKILL_SPEC.md).- **Social spotlight angle (G03):** "An NPC that emotes and hands out quests through a real tool-loop — plus a shared world players walk into together."- `[REAL CASE STUDY — fill on consent: a studio that shipped a three.ws-powered NPC or multiplayer hub.]`@@ -38180,7 +38199,7 @@ A real, embedded, conversational 3D avatar that loads in any modern browser. The## Next step / CTA- Start: [`/scan`](https://three.ws/scan) (selfie) or `/forge` (text) → [Embed Editor](https://three.ws/embed).-- Learn: [Build Your First Agent](#sec-424) · [Embed on Your Website](#sec-420).+- Learn: [Build Your First Agent](#sec-425) · [Embed on Your Website](#sec-421).- **Social spotlight angle (G03):** "From one selfie to a talking 3D you, embedded in your bio — no Blender."- `[REAL CASE STUDY — fill on consent: an indie creator who shipped an embedded agent and the response it got.]`@@ -38463,7 +38482,7 @@ Skills are the best way to extend three.ws without touching core code. A skill i1. **Use the template.** Copy `examples/skills/solana-wallet/` as your starting point — its `manifest.json`, `tools.json`, `handlers.js`, and `SKILL.md` demonstrate the minimal structure a skill needs.-2. **Build your skill.** See the [Skills documentation](#sec-370) for the full format, lifecycle hooks, and message API.+2. **Build your skill.** See the [Skills documentation](#sec-371) for the full format, lifecycle hooks, and message API.3. **Host it.** GitHub Pages, Vercel, Netlify, or any static CDN works. The URL just needs to be publicly accessible over HTTPS.@@ -38499,7 +38518,7 @@ Open a [GitHub issue](https://github.com/nirholas/three.ws/issues/new) and incluCheck [existing issues](https://github.com/nirholas/three.ws/issues) before opening a new one to avoid duplicates.-**Security vulnerabilities:** Do NOT open a public issue. Follow the responsible disclosure process described in the [Security documentation](#sec-361). Public disclosure of an unpatched vulnerability puts all users at risk.+**Security vulnerabilities:** Do NOT open a public issue. Follow the responsible disclosure process described in the [Security documentation](#sec-362). Public disclosure of an unpatched vulnerability puts all users at risk.---@@ -39168,7 +39187,7 @@ Both are Solana-native. Both run on `mainnet` and `devnet`. Neither is a paper-tIf you want to feel a leader's edge before committing money, that is a *separate* surface: [Ghost-copy](#sec-229) replays a leader's real closed trades against a wallet that does not exist. It never touches either engine below and never produces an intent.-Related reading: [Smart Money Radar](#sec-372) for the first-party wallet reputation graph, [the trading surfaces](#sec-398) for the screeners and the trading cockpit these leaders trade from, [agent wallets](#sec-070) for the custody and spend-policy model, and [signal marketplace](#sec-368) for the paid-feed variant that reuses the same guarded executor.+Related reading: [Smart Money Radar](#sec-373) for the first-party wallet reputation graph, [the trading surfaces](#sec-399) for the screeners and the trading cockpit these leaders trade from, [agent wallets](#sec-070) for the custody and spend-policy model, and [signal marketplace](#sec-369) for the paid-feed variant that reuses the same guarded executor.---@@ -39544,7 +39563,7 @@ Response:The directory is a static, deduplicated snapshot shipped with the API (`api/_lib/copy/smart-wallets.json`) and regenerated by `scripts/build-smart-wallets.mjs`. Wallet identity and 30-day performance only, never token holdings. If the snapshot file is missing the endpoint returns an empty list rather than failing.-For first-party wallet reputation earned from three.ws's own outcome ledger rather than an external taxonomy, use [Smart Money Radar](#sec-372).+For first-party wallet reputation earned from three.ws's own outcome ledger rather than an external taxonomy, use [Smart Money Radar](#sec-373).---@@ -39870,13 +39889,13 @@ unfurls with the creator's actual name and stats.## Related pages-- [The social layer](#sec-374): the follow graph, feed, and+- [The social layer](#sec-375): the follow graph, feed, andrankings this page plugs into.- [Notifications](#sec-288): the follow, remix, sale, and royaltyevents a portfolio generates for its owner.-- [Remix economy](#sec-351): what happens when someone remixes a creation+- [Remix economy](#sec-352): what happens when someone remixes a creationthey found here.-- [Forge](#sec-221), [Widgets](#sec-494),+- [Forge](#sec-221), [Widgets](#sec-495),[Marketplace](#sec-265): the creation surfaces whose output theportfolio aggregates.@@ -39897,7 +39916,7 @@ Every crew has:- a **tag**: 2 to 6 letters or digits, unique across the whole site, renderedover its members' avatars in the 3D world,-- a **name**: up to 32 characters, what people read,+- a **name**: 2 to 32 characters, what people read,- an **owner**: the founder, who can remove members; ownership passes to thelongest-standing member if the owner leaves,- a **roster**: one account belongs to at most one crew at a time.@@ -39996,8 +40015,13 @@ A malformed envelope answers with its own status rather than a guess at yourintent: `415` for a non-JSON content-type, `413` for an oversized body, `400bad_body` for anything that is not a JSON object.-Error codes you should handle: `bad_tag`, `tag_taken`, `tag_reserved`,-`already_in_crew`, `target_in_crew`, `no_invite`, `not_owner`, `not_member`.+Error codes you should handle: `bad_tag`, `bad_name`, `tag_taken`,+`tag_reserved`, `already_in_crew`, `target_in_crew`, `no_invite`, `not_owner`,+`not_member`, `self_invite`, `self_kick`.++`self_invite` and `self_kick` close the two loops a UI can otherwise walk a user+into: inviting yourself, and an owner removing themselves instead of leaving+(which is what hands ownership on).`tag_reserved` covers tags that would collide with a route segment (`SEARCH`,`INDEX`, `API`, `ADMIN`, `NEW`, `ME`, `ALL`, `NULL`). Both `/crews/:tag` and@@ -40067,8 +40091,9 @@ player who is already social in the world finds the group surface.The three.ws **Crypto Data API** is a free, keyless bundle of read-only cryptoendpoints built for AI agents. No account, no API key, no payment — just HTTP-GET with a generous per-IP rate limit. Each endpoint answers one question an-autonomous agent has mid-task, from real on-chain and pump.fun data (no mocks).+GET, rate-limited to 60 requests per minute per IP. Each endpoint answers one+question an autonomous agent has mid-task, from real on-chain and pump.fun data+(no mocks).Base URL: `https://three.ws`@@ -40722,7 +40747,7 @@ those fields are simply `null`.curl -s "https://three.ws/api/crypto/token?address=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump"# Pin a multi-chain EVM contract to one chain-curl -s "https://three.ws/api/crypto/token?address=0x1111111111111111111111111111111111111111&chain=base"+curl -s "https://three.ws/api/crypto/token?address=0x<evm-contract>&chain=base"```---@@ -40947,7 +40972,7 @@ that layer, computed once server-side so every client renders the same numbers."amount": 10.58,"price": 75.66,"usd": 800.5,- "pct": 62.32,+ "sharePct": 62.32,"change24h": -1.78,"logo": null}@@ -40964,6 +40989,9 @@ that layer, computed once server-side so every client renders the same numbers.are excluded from the aggregate rather than extrapolated over.- **`class`** - `stable`, `major` or `other`, so a chart can group withoutre-deriving the taxonomy per client.+- **`sharePct` vs `pct`** - a `rows[]` entry carries its share of the book as+ `sharePct`; the condensed `topAssets[]` entries use `pct`. Read the field the+ array you are in actually publishes.- **`slot`** - a palette slot per top asset, so the same wallet colors the sameway across reloads and across surfaces.- **`stale: true`** - present only when the balance source served a cached read.@@ -41045,9 +41073,9 @@ registry, so the agent can act on the gap instead of guessing at farming advice.}],"otherFamily": [],- "summary": { "qualified": 3, "inProgress": 2, "notEligible": 4 },- "thresholds": { "qualified": 70, "inProgress": 40 },- "registryUpdated": "2026-08-01",+ "summary": { "tracked": 9, "qualified": 3, "in_progress": 2, "not_eligible": 4, "estimatedValue": "$100 - $2,000" },+ "thresholds": { "qualified": 80, "inProgress": 30 },+ "registryUpdated": "2026-08-06","ts": "2026-08-10T16:31:34.527Z"}```@@ -41071,7 +41099,8 @@ registry, so the agent can act on the gap instead of guessing at farming advice.### States-- **No `address`** -> `200` with `registry` + `thresholds`: the directory view.+- **No `address`** -> `200` with `registry`, `updated` and `thresholds`: the+ directory view. (The scored response echoes the same date as `registryUpdated`.)- **Scored wallet** -> `200` with activity, opportunities and summary.- **Invalid address (neither Solana nor EVM)** -> `400`.- **EVM requested where no explorer key is set** -> `503 not_configured`,@@ -41185,9 +41214,9 @@ Every step of recovery and inheritance writes to the custody trail and the audit## Related- [Financial controls](#sec-216) — plain-English spend rules and real-time wallet defense on these rails-- [Trading surfaces](#sec-398) — Mission Control executes through this same guarded path-- [The trading experiment](#sec-396) — an autonomous agent operating inside these limits, journaled-- [x402](#sec-506) — the payment protocol these wallets spend over+- [Trading surfaces](#sec-399) — Mission Control executes through this same guarded path+- [The trading experiment](#sec-397) — an autonomous agent operating inside these limits, journaled+- [x402](#sec-507) — the payment protocol these wallets spend over---@@ -41292,7 +41321,7 @@ console.log(themeIndex(new Date().toISOString().slice(0, 10), 24));- [The 3D pipeline](#sec-003) and [3D API](#sec-001): the text-to-3D forge the free lane rides- [Forge background generation](#sec-218): the job and polling model- [AR and WebXR](#sec-097): the Scene Viewer and Quick Look handoff-- [Quick start](#sec-348): the general free-forge onboarding+- [Quick start](#sec-349): the general free-forge onboarding- Pages: [/daily](https://three.ws/daily) · [/forge](https://three.ws/forge) · [/ar/studio](https://three.ws/ar/studio)---@@ -41430,7 +41459,7 @@ falls back to `type`.Related docs: [agent-sniper.md](#sec-059) (where the trade and P&Lcolumns come from), [agent-skills.md](#sec-058) (skill sales),-[pump-launcher.md](#sec-326) (launches).+[pump-launcher.md](#sec-327) (launches).---@@ -42234,7 +42263,7 @@ It answers three questions at a glance: how big is the on-chain agent populationEvery row is a real on-chain registration. There are no synthetic entries and no seeded demo rows. When a network is quiet the feed is honestly empty, and when a signal was never measured the UI says so rather than rendering a zero.-Related reading: [ERC-8004 blockchain identity](#sec-182) for the standard, the registry contracts, and how to register; [deploying agents on-chain](#sec-295) for the Solana Metaplex Core path; [agent reputation on Solana](#sec-376) for the trust layer built on top of a Solana identity.+Related reading: [ERC-8004 blockchain identity](#sec-182) for the standard, the registry contracts, and how to register; [deploying agents on-chain](#sec-296) for the Solana Metaplex Core path; [agent reputation on Solana](#sec-377) for the trust layer built on top of a Solana identity.---@@ -42249,7 +42278,7 @@ This surface is **not EVM-only**. Solana is folded into the same feed as a firstTwo Solana upstreams feed it: three.ws's own Metaplex Core mints, and the external Metaplex Agent Registry. Details in [where the data comes from](#where-the-data-comes-from).-What lives elsewhere: the *creation* path for a Solana identity is documented in [deploying agents on-chain](#sec-295) (the single-agent, user-signed flow is in [Solana agents](#sec-377)), and Solana reputation and attestations are in [agent reputation on Solana](#sec-376). This page is only the index and the feed.+What lives elsewhere: the *creation* path for a Solana identity is documented in [deploying agents on-chain](#sec-296) (the single-agent, user-signed flow is in [Solana agents](#sec-378)), and Solana reputation and attestations are in [agent reputation on Solana](#sec-377). This page is only the index and the feed.---@@ -42480,7 +42509,7 @@ The browser UI for all of this lives in the dashboard:Base URL: `https://three.ws`Related docs: [MCP integration](#sec-272), [API reference](#sec-094),-[Authentication](#sec-101), [x402 developer tools](#sec-499).+[Authentication](#sec-101), [x402 developer tools](#sec-500).---@@ -43076,19 +43105,29 @@ curl 'https://three.ws/api/diorama?id=<uuid>'curl 'https://three.ws/api/diorama?list=featured&limit=12'```-The compose response shape (abridged):+The compose response shape (abridged). The plan always arrives under a+`diorama` key, and every read (`?id=`, the save and build actions) returns that+same object, so one renderer handles all of them:```json{- "title": "Dusk Lighthouse",- "mood": "dusk",- "ground": "stone",- "island": "craggy",- "palette": { "sky": ["#2a2350", "#e0724a"], "ground": "#5b5347", "fog": "#3a3550", "accent": "#ffb066" },- "objects": [- { "label": "lighthouse", "prompt": "white stone lighthouse with red top", "position": [0, 0, 0], "scale": 2.2, "rotationY": 0, "status": "pending" },- { "label": "rock", "prompt": "grey jagged sea rock", "position": [-3.4, 0, 2.1], "scale": 1.1, "rotationY": 1.2, "status": "pending" }- ]+ "diorama": {+ "id": "…",+ "prompt": "a lighthouse on a rocky islet at dusk",+ "title": "Lonely Beacon Watch",+ "mood": "dusk",+ "ground": "stone",+ "island": "craggy",+ "palette": { "sky": ["#2e3a59", "#d67850"], "ground": "#4a4a4a", "fog": "#332d40", "accent": "#ffcc00" },+ "objects": [+ { "id": "obj-0", "label": "lighthouse", "prompt": "tall lighthouse made of weathered white brick with a glass lantern room", "position": [0, 0, 0], "scale": 2.2, "rotationY": 0, "status": "pending", "glbUrl": null },+ { "id": "obj-1", "label": "boulder", "prompt": "jagged grey granite boulder with lichen patches", "position": [3.5, 0, 2], "scale": 1.2, "rotationY": 0.5, "status": "pending", "glbUrl": null }+ ],+ "author": null,+ "createdAt": "…",+ "views": 0,+ "featured": false+ }}```@@ -43163,7 +43202,7 @@ three.ws has a set of on-chain features that are entirely optional. They exist f- **Outlive the platform** — register on Base via ERC-8004 and your agent's identity lives on a blockchain, not just on three.ws servers- **Be verifiable** — anyone can check the agent's action history without trusting three.ws-- **Have a stable address** — `agent://base/42` works anywhere that speaks the protocol+- **Have a stable address**: `agent://8453/42` (chain id, then agent id) works anywhere that speaks the protocol- **Hold a wallet** — agents can receive and send USDC autonomously via x402If you don't need any of that, you can ignore it entirely. A basic agent — avatar, voice, embedded chat — works without touching any blockchain.@@ -43191,8 +43230,8 @@ When you do interact with on-chain features, the platform's native token is **$T## What's next- **Create your first agent** → [Make your first agent](#sec-263)-- **Put it on your site** → [Share & embed](#sec-364)-- **Optional: register on-chain** → [Register on-chain](#sec-445)+- **Put it on your site** → [Share & embed](#sec-365)+- **Optional: register on-chain** → [Register on-chain](#sec-446)- **Technical auth details** → [Authentication](#sec-101)---@@ -43440,7 +43479,7 @@ CRON_SECRET=… DURATION_MINUTES=10 node scripts/economy-heartbeat.mjsbuild reports `status: 404` and never stops the others.Related: [circulation engine](#sec-137) ·-[x402 ring economy](#sec-503) ·+[x402 ring economy](#sec-504) ·[economy funding root](#sec-176) · [money map](#sec-282)---@@ -44023,7 +44062,7 @@ of the tree the master feeds:sponsor settle floor) and `x402-ring-payer` (`X402_SEED_SOLANA_SECRET_BASE58`,fallback `X402_AGENT_SOLANA_SECRET_BASE58`, floor 0.03 SOL, `holdsTokens` sosweepback leaves its USDC float alone) are topped up by this master like every- other engine (see [x402 ring economy](#sec-503) /+ other engine (see [x402 ring economy](#sec-504) /[autonomous x402](#sec-103)).## Related@@ -44032,7 +44071,7 @@ of the tree the master feeds:engine signer, its encoding, and how to fund/consolidate the economy wallets.- [Circulation engine](#sec-137) — the autonomous agent-to-agentactivity loop the funded engines drive.-- [x402 ring economy](#sec-503) — closed-loop in-house x402 settlement.+- [x402 ring economy](#sec-504) — closed-loop in-house x402 settlement.---@@ -44198,20 +44237,27 @@ curl -s 'https://three.ws/api/play/solver?level=30&curves=0' | jq '.bestRate, .l{"label": "Fish pond-west and cook","key": "loop:fish-cook",- "cashPerHour": 12723.19,+ "cashPerHour": 13199.52,"attemptsPerHour": 2400}{"key": "loop:fish-cook","family": "loop","label": "Fish pond-west and cook",- "fishSharePct": 68.83,- "cookSharePct": 31.17,- "cookedPerHour": 1413.69,- "cashPerHour": 12723.19,- "rawOnlyCashPerHour": 6825.6,- "upliftPct": 86.4,- "sustainable": true+ "spot": { "id": "pond-west", "quality": 1.4 },+ "fishingLevel": 30,+ "cookingLevel": 30,+ "fishSharePct": 60.1,+ "cookSharePct": 39.9,+ "fishPerHour": 1595.88,+ "cookedPerHour": 1466.61,+ "cashPerHour": 13199.52,+ "rawOnlyCashPerHour": 7965.72,+ "upliftPct": 65.7,+ "xpPerHour": 85879.22,+ "sustainable": true,+ "requires": null,+ "packHours": 16.35}```@@ -44263,7 +44309,7 @@ deploy.- **[The in-game economy](#sec-248)** is the raw reference: every catalog,gate, settlement path and the JSON wire format.-- **[Earn and spend in /play](#sec-418)** walks the loop+- **[Earn and spend in /play](#sec-419)** walks the loopby hand, in the world.- **[three.ws/play/solver](https://three.ws/play/solver)** is the interactive versionof everything above.@@ -45429,8 +45475,8 @@ The platform records anonymous embed impressions (country, referrer hostname) vi- [Architecture Overview](#sec-098)- [Agent System Overview](#sec-062)-- [Web Component reference](#sec-491) — full attribute list-- [Widgets](#sec-494) — Widget Studio and widget types+- [Web Component reference](#sec-492) — full attribute list+- [Widgets](#sec-495) — Widget Studio and widget types- [specs/EMBED_SPEC.md](../specs/EMBED_SPEC.md) — authoritative web component spec- [specs/EMBED_HOST_PROTOCOL.md](../specs/EMBED_HOST_PROTOCOL.md) — versioned postMessage protocol@@ -45476,12 +45522,12 @@ Response (`200`):```json{- "agent_id": "persona_8f2a1c9d4b",- "glb_url": "https://…/personas/persona_8f2a1c9d4b.glb",+ "agent_id": "persona_8f2a1c9d4be6f70a1b2c",+ "glb_url": "https://…/personas/persona_8f2a1c9d4be6f70a1b2c.glb","viewer_url": "https://three.ws/viewer?src=…",- "profile_url": "https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b",- "embed_html": "<iframe src=\"https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b\" width=\"480\" height=\"640\" …></iframe>",- "reload_url": "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4b",+ "profile_url": "https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c",+ "embed_html": "<iframe src=\"https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c\" width=\"480\" height=\"640\" …></iframe>",+ "reload_url": "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4be6f70a1b2c","voice": "nova","rigged": true,"name": "Nova Scout"@@ -45521,7 +45567,7 @@ curl -si https://three.ws/api/x402/embody \# re-send with the X-PAYMENT header. On success you get the bundle above.## 3. Reload the body later by id:-curl -s "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4b"+curl -s "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4be6f70a1b2c"# 4. Drop the returned embed_html into any web page — the avatar renders and idles.```@@ -45540,8 +45586,8 @@ Embody is a thin, honest wire over pieces that already exist — no new pipeline## Related- [Live embodiment](#sec-269) — the 3D Studio tools that persist and drive a body in chat.-- [x402 Paid Endpoints](#sec-501) — the full paid catalog and pricing.-- [x402 Buyer Client](#sec-498) — how to settle a 402 challenge from code.+- [x402 Paid Endpoints](#sec-502) — the full paid catalog and pricing.+- [x402 Buyer Client](#sec-499) — how to settle a 402 challenge from code.- [Avatar creation](#sec-106) — generate a rigged avatar in the web UI.---@@ -46093,7 +46139,7 @@ const freshReport = await runGltfValidator(glbBytes);const freshHash = hashReport(freshReport);// Compare against the on-chain hash-console.log(freshHash === onchainResult.proofHash); // true = authentic+console.log(freshHash === onchainResult.responseHash); // true = authentic```---@@ -47670,8 +47716,10 @@ about you. This one says exactly one thing, permanently, to every player whowalks past you.The first one is the **Meetup Laurel**: a gold laurel circlet, open at the-front, with three pearl berries in the gap. It is granted at the-[`$THREE` First Holders Meetup](#sec-317).+front, with three pearl berries in the gap. It was granted at the+[`$THREE` First Holders Meetup](#sec-318). That window has closed, so+the laurel is now exactly what this page promises: owned only by the players who+were in the world that day, and never granted again.---@@ -47695,7 +47743,11 @@ does not give you a second one and does not show the card again.Everything lives in one file: `public/event.json`, thesame config that drives the countdown pill, the agenda drawer, and the fireworks-finale. Add a `souvenir` block:+finale.++**That file is absent between events, which is the platform's resting state.**+No event is scheduled right now, so nothing is being granted. Running one starts+by writing the file, souvenir block included:```json{@@ -47729,8 +47781,10 @@ Omit the `souvenir` block entirely to run an event with no drop.```bashnpx vitest run tests/event-souvenir.test.js```- The suite reads the real `public/event.json` and fails if the shipped config- would grant nothing.+ The suite's last block reads the real `public/event.json` and fails if the+ shipped config would grant nothing. It skips itself when there is no file, so+ a green run between events proves the drop logic, not your window: write the+ config first, then run it and read the count.4. **Deploy.** The game server fetches the config over HTTP and re-reads itevery two minutes, so moving a window does not need a game-server redeploy.`EVENT_CONFIG_TTL_MS` tightens that interval while you are setting up.@@ -47890,7 +47944,7 @@ machine prefer the two above, which cover the same ground between them.## Related-- **[Live events in /play](#sec-317)** covers the rest of what that+- **[Live events in /play](#sec-318)** covers the rest of what thatconfig file drives: the countdown, the agenda drawer, the fireworks.- **[The in-game economy](#sec-248)** covers the two currencies andthe `$THREE` boutique the souvenir deliberately stays out of.@@ -49038,7 +49092,7 @@ recorded number from a position that cost real money.## Why this is not the backtesterthree.ws already ships a backtester ([`api/_lib/strategy-backtest.js`](../api/_lib/strategy-backtest.js),-documented in [trading-experiment.md](#sec-396)). The two answer+documented in [trading-experiment.md](#sec-397)). The two answerdifferent questions and neither replaces the other.| | Backtester (`/api/sniper/backtest`) | Exit Lab (`/exit-lab`) |@@ -49158,33 +49212,41 @@ proof, so anyone can check the fleet's homework.(default) or `all` days. `limit` caps at 500.```bash-curl -s 'https://three.ws/api/sniper/exit-lab?window=all&limit=5' | jq '{replayable, scanned, excluded, first: .trades[0]}'+curl -s 'https://three.ws/api/sniper/exit-lab?window=all&limit=500' | jq '{replayable, scanned, excluded, first: .trades[0]}'``````json{- "replayable": 234,- "scanned": 239,+ "replayable": 295,+ "scanned": 301,"excluded": [{"key": "laddered",- "count": 5,+ "count": 6,"reason": "Initials were already taken, so the recorded cost basis and high-water mark describe the moon bag, not the original position."}],"first": {"mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump","symbol": "THREE",+ "agentId": "0846c27e-6258-4859-bc1c-3148d59951c5",+ "agentName": "Moe Money AI","entryLamports": 20000000,"peakLamports": 20000000,"terminalLamports": 18154034,+ "holdSeconds": 494,"actualPnlLamports": -498908,"actualReason": "timeout",- "buyUrl": "https://solscan.io/tx/..."+ "closedAt": "2026-08-13T00:39:01.448Z",+ "buyUrl": "https://solscan.io/tx/...",+ "sellUrl": "https://solscan.io/tx/..."}}```+`scanned` counts the rows the query returned, so it never exceeds `limit`:+`replayable` is that number minus whatever `excluded` accounts for.+The replay itself runs in the browser, against the same kernel the serverimports. That is why a slider move is instant: the server has no better claim tothe answer than the client does, so it ships the facts and the client does the@@ -49240,10 +49302,10 @@ to the nearest legal one rather than throwing.## Related- [Agent Sniper](#sec-059), the worker whose positions this replays-- [Autonomous Trading hub](#sec-397), the front door to every trading surface-- [Trading experiment](#sec-396), the policy this fleet runs and why-- [Read the trading fleet](#sec-444), how to interpret fleet vitals-- Tutorial: [Find a better exit policy](#sec-423)+- [Autonomous Trading hub](#sec-398), the front door to every trading surface+- [Trading experiment](#sec-397), the policy this fleet runs and why+- [Read the trading fleet](#sec-445), how to interpret fleet vitals+- Tutorial: [Find a better exit policy](#sec-424)---@@ -49276,15 +49338,15 @@ The request routing:The fact-check pipeline (`runFactCheck`):1. Generate exactly 3 search queries with an LLM.-2. Search across a source chain (Brave, Tavily, Exa, Serper, then keyless Wikipedia full-text and DuckDuckGo Instant Answer as always-available fallbacks) and take the top 5 unique results.+2. Search across a source chain (Vertex-grounded Google Search, then Brave, Tavily, Exa, Serper, then keyless Wikipedia full-text and DuckDuckGo Instant Answer as always-available fallbacks) and take the top 5 unique results. Each keyed rung is skipped when its key is absent, so the chain runs whatever is configured and always reaches the keyless rungs.3. Run LLM stance extraction on each of the 5: an excerpt plus a stance of `supports`, `contradicts`, or `neutral`.4. Weight each source by an authority score, adjusted by strictness (`high` halves low-authority weights, `low` floors them, `medium` is the default).-5. Compute the verdict: fewer than 2 sources is `insufficient`; a weighted support ratio above 0.65 is `supported`; a weighted contradiction ratio above 0.65 is `contradicted`; otherwise `mixed`. Confidence is the winning ratio.+5. Compute the verdict over the stance-bearing evidence only, so tangential results cannot drown a clear answer. Fewer than 2 sources, zero weight, or no source that took a stance at all is `insufficient`, and so is a lone stance-bearing source lost in otherwise-silent evidence (under 30 percent coverage): evidence that never engages the claim is absence of evidence, not disagreement. Otherwise direction is judged over stance-bearing weight alone, 70 percent or more one way is `supported` or `contradicted` and a real split is `mixed`. Confidence blends that dominance with coverage, so a unanimous verdict read off thin engagement scores lower than one read off broad engagement.6. Build a cost breakdown and the attestation.The LLM routes through the platform's shared free-first policy (Groq and OpenRouter as funded defaults). Results are cached in Redis for 7 days keyed by a hash of the claim, strictness, and any image URL, so an identical claim (on either lane) never re-runs the live chain.-**The attestation** is a tamper-evident content digest: `sha256:` followed by the SHA-256 of a JSON object of `{ verdict, confidence, claim, source URLs }`. It is returned as a string field you can recompute to confirm the verdict was not altered. Note that this is a content hash, not an on-chain record; it is distinct from the platform's [SAS credentialed attestations](#sec-358) and [3D provenance anchoring](#sec-323), which do write to Solana.+**The attestation** is a tamper-evident content digest: `sha256:` followed by the SHA-256 of a JSON object of `{ verdict, confidence, claim, source URLs }`. It is returned as a string field you can recompute to confirm the verdict was not altered. Note that this is a content hash, not an on-chain record; it is distinct from the platform's [SAS credentialed attestations](#sec-359) and [3D provenance anchoring](#sec-324), which do write to Solana.**The benchmark** (`GET /api/fact-check-benchmark`) scores a 40-claim fixture (10 per verdict class, deliberately time-stable and non-partisan) against the real chain. The API never fabricates a score: with no run available, `ran` is false and `report` is null, and the page renders a designed "not yet run" empty state. Both the claim set and the scoring runner are linked from the page for inspection. See [Running the benchmark](#running-the-benchmark) for how a run is produced and published.@@ -49316,7 +49378,7 @@ A free-lane response looks like:"sources": [{ "url": "https://...", "title": "...", "excerpt": "...", "stance": "supports", "weight": 0.9 }],- "costBreakdown": { "searchCalls": 2, "llmTokens": 1400, "totalUsdc": "0.100350" },+ "costBreakdown": { "searchCalls": 3, "llmTokens": 1400, "totalUsdc": "0.100350" },"attestation": "sha256:...","lane": "free","free_remaining_today": 2@@ -49329,7 +49391,7 @@ Read the published benchmark:curl 'https://three.ws/api/fact-check-benchmark'```-Once the free quota is spent, the same POST returns `402` with an x402 challenge; pay it with any x402 client (for example `@three-ws/x402-fetch`) and retry. See [x402](#sec-506).+Once the free quota is spent, the same POST returns `402` with an x402 challenge; pay it with any x402 client (for example `@three-ws/x402-fetch`) and retry. See [x402](#sec-507).## Running the benchmark@@ -49392,9 +49454,9 @@ Two guards keep a bad run from becoming a published number:## Related-- [x402: paid agent skills](#sec-506): the payment rail the $0.10 lane rides+- [x402: paid agent skills](#sec-507): the payment rail the $0.10 lane rides- [API reference: Fact Check API](#sec-094): the endpoint's full request and response reference-- [SAS credentialed attestations](#sec-358) and [3D provenance](#sec-323): the platform's on-chain attestation primitives (distinct from this content-hash attestation)+- [SAS credentialed attestations](#sec-359) and [3D provenance](#sec-324): the platform's on-chain attestation primitives (distinct from this content-hash attestation)- Pages: [/fact-check](https://three.ws/fact-check) · [/x402](https://three.ws/x402)---@@ -49942,8 +50004,8 @@ Ranked by accounting/regulatory risk. Each is a tracked remediation item.## Related- [Money map](#sec-282) — who receives each payment.-- [x402 revenue & receipts](#sec-502) — the x402 recording detail.-- [x402 endpoints](#sec-501) — the paid endpoint catalog.+- [x402 revenue & receipts](#sec-503) — the x402 recording detail.+- [x402 endpoints](#sec-502) — the paid endpoint catalog.- [Solana signers runbook](../api/_lib/solana-signers.js) — the wallets + funding.---@@ -50166,7 +50228,7 @@ and the notification preference model in> **Source:** `docs/forge-off.md` · [↑ table of contents](#table-of-contents)-# Forge-Off — community voting on the Forge+# Forge-Off: community voting on the ForgeForge-Off turns the passive "Fresh from the Forge" strip on [/forge](/forge)into a live, competitive board. Every public creation can be upvoted, the strip@@ -50483,7 +50545,7 @@ The pipeline separates what a generation costs us from what it costs the user. D- **Direct x402** (`api/x402/forge.js`): per-tier USDC prices from the tier table, exact-settle on Solana mainnet. The order is verify, submit, settle: a failed submit never charges. The returned job token polls free on the standard endpoint.- **High-tier gate** (`api/_lib/forge-high-payment.js`): the high tier is $THREE hold-or-pay gated regardless of which free engine serves it. Non-holders pay per generation through the token rail in three phases: `assertForgePayment` validates at the gate, `redeemForgePayment` atomically claims single-use (primary-key race-safe), `releaseForgePayment` undoes the claim if dispatch fails. Settled consumption lands in `token_payments` with `ref_type: 'forge'`.-- **MCP pricing** (`mcp-server/src/payments.js`): the `paid()` wrapper prices each tool (`mesh_forge` $0.25, `rig_mesh` $0.20, `forge_avatar` $0.45, `refine_model` $0.25, `text_to_avatar` $0.15, `restyle_material` $0.05); `forge_free` needs no payment. The hosted MCP server sums per-tool prices for batched x402 challenges.+- **MCP pricing**: the `paid()` wrapper (`mcp-server/src/payments.js`) charges the `priceUsd` each tool module declares at its own call site (`mesh_forge` $0.25, `rig_mesh` $0.20, `forge_avatar` $0.45, `refine_model` $0.25, `text_to_avatar` $0.15, `restyle_material` $0.05, all under `mcp-server/src/tools/`); `forge_free` needs no payment. The hosted MCP server sums per-tool prices for batched x402 challenges.- **Quota upsell**: the free flagship API allows 10 generations per IP per day, then returns 429 with the x402 endpoint as the paid path.- **BYOK lanes** bill the caller's own vendor key and are never charged to a platform account.@@ -50545,7 +50607,7 @@ Fast diagnostics: `forge_creations` carries per-generation backend, status, erro# Forge: text and image to 3D, on a free-first engine grid-Forge is three.ws's text-and-image-to-3D generator. Type a prompt, drop in one to six photos of an object, or sketch a shape and name it, and Forge returns a downloadable, textured GLB you can orbit, view in AR, and take anywhere. It runs on a grid of real generation engines with live health status, and it is free-first by design: text prompts default to a zero-cost NVIDIA lane, photos default to a zero-cost reconstruction lane, and the paid engines stay explicitly selectable for when you want a specific vendor.+Forge is three.ws's text-and-image-to-3D generator. Type a prompt, drop in one to six photos of an object, or sketch a shape and name it, and Forge returns a downloadable, textured GLB you can orbit, view in AR, and take anywhere. It runs on a grid of real generation engines with live health status, and it is free-first by design: text prompts and photos both default to our own zero-cost GPU reconstruction workers, free hosted lanes stand behind them, and the paid engines stay explicitly selectable for when you want a specific vendor.Page: [/forge](https://three.ws/forge) and the feature landing [/features/forge](https://three.ws/features/forge) · API: `/api/forge`@@ -50577,9 +50639,9 @@ A generation request is described by two orthogonal axes, resolved in `api/_lib/Each backend declares which paths it serves, whether it needs a bring-your-own-key (BYOK) credential, and its per-(path, tier) cost and latency estimates so the UI can show the trade-off before you commit. The live registry (`BACKENDS` in `api/_lib/forge-tiers.js`):-- **TRELLIS (free)** on NVIDIA NIM (Microsoft TRELLIS). The default lane for text prompts at Draft and Standard. Zero vendor cost. Text-only: it rejects user photos, so photo submissions route elsewhere.+- **TRELLIS (free)** on NVIDIA NIM (Microsoft TRELLIS). Zero vendor cost, and the last free lane in the chain: it serves a text prompt when every self-host worker and Space is cold or down. Text-only, so it rejects user photos and photo submissions route elsewhere.- **Hunyuan3D / TRELLIS (free)** on Hugging Face Spaces. The free photo-to-3D lane and a High-tier engine, with automatic failover across Hunyuan3D 2.1, Hunyuan3D 2, TRELLIS, and TripoSR. Queue waits vary.-- **TRELLIS (self-host)** and **Hunyuan3D (self-host)**, our own scale-to-zero Cloud Run GPU workers. Zero vendor cost, so free-first routing prefers them first. Self-host TRELLIS is a native single-hop image-to-3D lane; Hunyuan3D leads on people and organic subjects.+- **TRELLIS (self-host)** and **Hunyuan3D (self-host)**, our own scale-to-zero Cloud Run GPU workers, and the named defaults: TRELLIS at Draft and Standard, Hunyuan3D at High. Zero vendor cost, so free-first routing prefers them first. Self-host TRELLIS is a native single-hop image-to-3D lane; Hunyuan3D leads on people and organic subjects.- **TripoSG (self-host)**, the sketch-only scribble worker. Untextured geometry from a drawing.- **TRELLIS** on Replicate, a paid platform lane. Selectable explicitly and used as the last-resort fallback only on deployments with no free engine configured.- **Meshy 6**, **Tripo v3.1**, **Rodin (Hyper3D)**, BYOK geometry-first engines with quad topology and a real poly target. You supply your own key.@@ -50587,7 +50649,7 @@ Each backend declares which paths it serves, whether it needs a bring-your-own-k### Free-first routing with live health-Routing (`resolveBackendIdWithHealth`) walks an ordered list of every free lane that could serve the request on this deployment, most preferred first: the tier's named free engine, then the per-path fallback chain (our own GPU workers, then the free external Spaces, then the free NVIDIA lane as the final health-gated safety net). Draft and Standard text prompts name NVIDIA TRELLIS; High names our self-host Hunyuan3D worker. A subject classifier reorders the two self-host PBR lanes for hard-surface versus organic prompts. Every entry is env-gated, so the list degrades cleanly on partial deployments.+Routing (`resolveBackendIdWithHealth`) walks an ordered list of every free lane that could serve the request on this deployment, most preferred first: the tier's named free engine, then the per-path fallback chain (our own GPU workers, then the free external Spaces, then the free NVIDIA lane as the final health-gated safety net). Draft and Standard name our self-host TRELLIS worker; High names our self-host Hunyuan3D worker. The free NVIDIA NIM lane is never a named default: reconstructing straight from a truncated prompt with no photoreal reference is the realism hole this ordering closes, so it trails as the final health-gated fallthrough (and stays explicitly selectable). A subject classifier reorders the two self-host PBR lanes for hard-surface versus organic prompts. Every entry is env-gated, so the list degrades cleanly on partial deployments.Health is real. The UI fetches `/api/forge?health=1` after load and disables any lane whose upstream is down, with the actual reason, instead of failing after you have typed a prompt and clicked Generate. A short circuit-breaker cooldown sidelines a degraded lane (for example the free NIM lane after a gateway timeout) so subsequent requests skip it and go straight to a working engine; the cooldown expires on its own so a recovered lane is retried promptly. There are no mock paths: if a selected backend isn't configured the endpoint returns a clean `backend_unconfigured` error, never a fake result.@@ -50669,11 +50731,11 @@ stills; it never reports a recording that did not happen.1. Open [/forge](https://three.ws/forge). No login, no wallet, no key required.2. Pick an input mode: **Describe it** (text), **From photos**, or **From a sketch** (the sketch tab appears only when the TripoSG worker is configured).-3. For text, type a prompt like `a weathered brass diving helmet`. For photos, add one to four images of the same object from different angles; each uploads straight to object storage via a presigned URL and the public URLs are fused with multi-view conditioning.+3. For text, type a prompt like `a weathered brass diving helmet`. For photos, add one to six images of the same object from different angles (front, back, left, right, top, three-quarter); each uploads straight to object storage via a presigned URL and the public URLs are fused with multi-view conditioning.4. Optionally open the quality controls and pick a tier (Draft, Standard, High) and an engine. The default engine carries a **FREE** pill. Down lanes are disabled with the reason shown.5. Click Generate. A real elapsed-driven progress line runs against the catalog's ETA estimate for the chosen path, tier, and engine.6. When the model lands, orbit it in the viewer, view it in AR, download the GLB, or run the post-generation tools (stylize, optimize, Game-Ready retopology, split). Press `R` (or click **Reel**) to render a shareable video and stills of it without leaving the page.-7. Keep going on the same result: **Rig for animation** adds a humanoid skeleton (POST `/api/forge?action=rig`) and hands off to Pose Studio or IRL placement; **Restyle materials** re-skins the surface with a free-text instruction or a preset chip (chrome, wood, gold, neon, marble, rust) via `/api/material-studio`, keeping the mesh untouched; **Iterate** makes a shape-changing edit from a plain-language instruction ("make the helmet red", "add a backpack") via `/api/forge-iterate` — the same conversational core the `refine_model` MCP tool uses — and keeps every version in a branchable lineage strip; **Place IRL** opens `/irl?avatar=<glb_url>` to anchor the model in AR at a real-world location.+7. Keep going on the same result: **Rig for animation** adds a humanoid skeleton (POST `/api/forge?action=rig`) and hands off to Pose Studio or IRL placement; **Restyle materials** re-skins the surface with a free-text instruction or a preset chip (chrome, wood, gold, neon, marble, rust) via `/api/material-studio`, keeping the mesh untouched; **Iterate** makes a shape-changing edit from a plain-language instruction ("make the helmet red", "add a backpack") via `/api/forge-iterate` (the same conversational core the `refine_model` MCP tool uses) and keeps every version in a branchable lineage strip; **Place IRL** opens `/irl?avatar=<glb_url>` to anchor the model in AR at a real-world location.## Examples@@ -50686,9 +50748,9 @@ curl 'https://three.ws/api/forge?catalog=1'# Probe live backend health (which lanes are up right now).curl 'https://three.ws/api/forge?health=1'-# Start a free text-to-3D generation. The free NVIDIA lane often completes-# inline, answering with status "done", a glb_url, and a null job_id; slower-# lanes answer with a job_id to poll instead.+# Start a free text-to-3D generation. A lane that finishes inside the request+# (and any cache hit) answers with status "done", a glb_url, and a null job_id;+# slower lanes answer with a job_id to poll instead.RESP=$(curl -s -X POST 'https://three.ws/api/forge' \-H 'content-type: application/json' \-d '{"prompt":"a weathered brass diving helmet","tier":"draft"}')@@ -50765,7 +50827,7 @@ dashboard at [/quality-bench](https://three.ws/quality-bench) (internal).[three.ws/forged](https://three.ws/forged) is a public gallery of 3D props thatthe platform's own autonomous agents bought with real USDC over the-[x402 payment protocol](#sec-506). Nothing on the page is curated or seeded by+[x402 payment protocol](#sec-507). Nothing on the page is curated or seeded byhand: an agent wallet paid the Forge, the Forge generated the prop, the paymentsettled on Solana mainnet, and the finished asset landed in the gallery carryingits receipt. Every card shows the price paid, the paying agent wallet, and a@@ -50813,7 +50875,7 @@ runs as a registry entry inside that loop, and on each run it:is a real on-chain USDC transfer from the loop's seeder wallet, settled bythe platform's self-hosted facilitator on Solana mainnet. The same seederwallet is the `x402-ring-payer` signer in the- [x402 ring economy](#sec-503), and the loop's daily spend cap+ [x402 ring economy](#sec-504), and the loop's daily spend capapplies to these calls like every other.3. **Scores diversity.** The prompt is embedded (a configured provider whenavailable, a deterministic local feature-hash space otherwise) and scored@@ -50891,11 +50953,11 @@ The endpoint is also listed in the [API reference](#sec-094).- [Autonomous x402 loop](#sec-103): the engine that buys theseassets, its spend caps, and where every call is logged.-- [x402 ring economy](#sec-503): the wider self-paid endpoint+- [x402 ring economy](#sec-504): the wider self-paid endpointeconomy the seeder wallet participates in.- [How the Forge works](#sec-235): the generation pipeline theagents are paying for.-- [x402 on three.ws](#sec-506): the payment protocol itself.+- [x402 on three.ws](#sec-507): the payment protocol itself.---@@ -51116,7 +51178,7 @@ All of these rungs are zero-marginal-cost, and the accounting knows it:6. If the provider should be user-selectable in chat: register it in `api/chat.js` (`PROVIDERS`, the provider enum, `FALLBACK_SIBLINGS`) and `api/_lib/chat-models.js` (`MODEL_CATALOG`, `PROVIDER_MODEL_DEFAULTS`, `DEFAULT_PROVIDER_ORDER`, `ANON_PROVIDER_LIST`).7. `.env.example` and the env tables in [`ARCHITECTURE.md`](../ARCHITECTURE.md).-Related: [nvidia-models.md](#sec-290) for the full NVIDIA NIM surface map.+Related: [nvidia-models.md](#sec-291) for the full NVIDIA NIM surface map.---@@ -51350,10 +51412,14 @@ never invents a shortcut path; it orchestrates the real ones.Solana first because Solana is the home chain.- **Persona and voice.** `POST /api/persona/extract` synthesizes a structuredin-character system prompt from your description, running through the shared LLM- helper with Anthropic-first ordered failover (server Anthropic, then Groq, then- OpenRouter) so a single upstream 429 or 5xx never returns a hard error. Voices- load from `/api/tts/voices`. Your chosen name, persona, and voice are persisted- with `PATCH /api/agents/:id`.+ helper (`llmComplete` in [`api/_lib/llm.js`](../api/_lib/llm.js)). That helper is+ free-providers-first by policy: the platform-funded and keyless free tiers lead+ the chain, Vertex Gemini on GCP credits sits behind them as the reliability+ anchor, and paid keys (Anthropic, OpenAI) are appended to the tail as a+ last resort. Nothing here depends on a paid key being present or in quota, and a+ single upstream 429 or 5xx never returns a hard error. Voices load from+ `/api/tts/voices`. Your chosen name, persona, and voice are persisted with+ `PATCH /api/agents/:id`.- **On-chain identity (optional).** The final step mints a real[ERC-8004](#sec-182) identity record for the agent and returns a real txhash, defaulting to Base (chain id 8453) to match the rest of the platform's EVM@@ -51440,7 +51506,7 @@ curl -s -X POST "https://three.ws/api/agents/$AGENT_ID/wallet/provision" \- [Avatar Reconstruction](#sec-111): the selfie-to-3D pipeline- [Agent Wallets](#sec-070) and [Custody](#sec-165): the custodial keys- [ERC-8004](#sec-182): the on-chain identity record-- [Persona Hub](#sec-312): how personas are synthesized+- [Persona Hub](#sec-313): how personas are synthesized- Pages: [/genesis](https://three.ws/genesis), [/create](https://three.ws/create), [/agent-studio](https://three.ws/agent-studio)---@@ -51777,7 +51843,7 @@ refusing any selection that names an item the catalog never showed you.- **Surface**: Settings, Connected accounts, GitHub card at [/settings#connected-accounts](https://three.ws/settings#connected-accounts)- **API**: `/api/agents/:id/memory/seed/github`-- **Related**: [Memory system](#sec-275), [X memory seeding](#sec-497), [Farcaster memory seeding](#sec-215)+- **Related**: [Memory system](#sec-275), [X memory seeding](#sec-498), [Farcaster memory seeding](#sec-215)---@@ -52109,7 +52175,7 @@ The response sorts agents that need your action first, then those with an open p- Approve or decline a recovery: `POST /api/agents/:id/recovery/requests/:rid/{approve,decline}`- Confirm or decline an inheritance: `POST /api/agents/:id/recovery/requests/:rid/{confirm,decline}`- Complete a ready transfer: `POST /api/agents/:id/recovery/requests/:rid/complete`-- Arm inheritance as a beneficiary when the owner has gone silent past their threshold: `POST /api/agents/:id/recovery/inheritance/arm`+- Arm inheritance, as the beneficiary or a guardian, when the owner has gone silent past their threshold: `POST /api/agents/:id/recovery/inheritance/arm`## Walkthrough@@ -52118,7 +52184,7 @@ The response sorts agents that need your action first, then those with an open p3. If a process is open, the card tells its story in the agent's own voice ("I'm being recovered. If you trust this person is really my owner, approve."), plus the approval count, the safety-window countdown, and when it opened.4. Act. For a recovery you trust, click **Approve recovery** (or **Decline**). For an inheritance you believe is real, click **Confirm inheritance**. Each action asks you to confirm, because these are consequential.5. When the safety window has elapsed and the process is ready, click **Complete transfer** to pass control of the agent and its wallet to the new owner.-6. If you are a beneficiary and the owner has gone silent past their threshold with no active process, you can try to arm inheritance, which begins the grace window.+6. If you are the beneficiary or a guardian and the owner has gone silent past their threshold with no active process, you can try to arm inheritance, which begins the grace window.## Examples@@ -52253,6 +52319,7 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T| Hard rules, diff scoped | `npm run check:rules` | The CLAUDE.md hard rules on the lines you changed. || The guard registry | `npm run audit:guards` | Every guard is registered and every stage claim is true. || Design-token ratchet | `npm run audit:tokens` | Hardcoded colour hexes cannot creep back past a committed baseline. |+| Credential material | `npm run check:secrets` | No dotenv file, private key, keystore, or downloaded cloud credential becomes a tracked file, and no added line carries a provider-issued key. |### Routing and pages@@ -52702,7 +52769,7 @@ worlds unaffected.## Related-- [Validation](#sec-484) — the quality gate every model passes before publish.+- [Validation](#sec-485) — the quality gate every model passes before publish.- [Pricing catalog](../api/_lib/pricing/catalog.js) — fixed-price actions the discount applies to.- [`/three`](../pages/three.html) — the holder-facing tier page that surfaces this ladder.@@ -52748,7 +52815,7 @@ A finished model is a starting point, not a dead end:## Agents use the exact same machinery-Everything above is also a tool call. AI agents (Claude, ChatGPT, or your own) generate models through our [free MCP server](#sec-269) or plain HTTP, and other agents pay per call with USDC over [x402](#sec-506), no account needed. The page you use and the API an agent uses are the same pipeline underneath.+Everything above is also a tool call. AI agents (Claude, ChatGPT, or your own) generate models through our [free MCP server](#sec-269) or plain HTTP, and other agents pay per call with USDC over [x402](#sec-507), no account needed. The page you use and the API an agent uses are the same pipeline underneath.## Try it@@ -52815,7 +52882,7 @@ The whole stack is split into four horizontal strata. Each layer can run on its- **Viewer layer** — pure three.js. Knows nothing about agents, brains, or wallets. Useful on its own as a glTF inspector and as the rendering engine for Turntable / Animation Gallery widgets. See [Layers](#sec-258) for the contract.- **Agent layer** — turns a static GLB into a presence. LLM tool-loop, skill registry, memory, and a continuous emotion blend that drives morphs and gaze. See [Agent system](#sec-062).-- **Identity layer** — durability across sessions, devices, and embed hosts. Wallet auth, on-chain registration, IPFS-pinned manifest bundles, signed action diary. Entirely optional. See [ERC-8004](#sec-182) and [Solana agents](#sec-377).+- **Identity layer** — durability across sessions, devices, and embed hosts. Wallet auth, on-chain registration, IPFS-pinned manifest bundles, signed action diary. Entirely optional. See [ERC-8004](#sec-182) and [Solana agents](#sec-378).- **Embed layer**: the public face. The `<agent-3d>` custom element, ten widget variants, iframe embeds, the CDN bundle, the SPA, and the route table in `vercel.json` (read at runtime by the Cloud Run server). See [Embedding](#sec-180).The four layers communicate through one event bus (`agent-protocol`). Every meaningful action is a `CustomEvent` on a singleton. That single design choice is why you can swap the avatar for a 2D sprite, the runtime for a different LLM, or memory for a vector store — and nothing else changes.@@ -52849,7 +52916,7 @@ Three modes, all configurable per agent:| **Self-hosted proxy** | You want to manage cost or use a private model | Set `key-proxy="https://yourapp.com/api/llm"` to point at your own serverless function that injects keys before forwarding to the provider. Keys never reach the client. || **Direct (advanced)** | Local-only experiments | The runtime calls the provider directly if you pass an `api-key` attribute explicitly. Don't ship this to a public page. |-The platform's own chat surfaces run on the multi-model brain router at [`/api/brain/chat`](#sec-094), which supports Anthropic, OpenAI, and Qwen natively with OpenRouter failover; model ids include `claude-opus-4-7`, `claude-sonnet-4-6`, `claude-haiku-4-5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `qwen-plus`, and others.+The platform's own chat surfaces run on the multi-model brain router at [`/api/brain/chat`](#sec-094), which supports Anthropic, OpenAI, and Qwen natively with OpenRouter failover; model ids include `claude-fable-5`, `claude-opus-5`, `claude-sonnet-5`, `claude-haiku-4-5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `qwen-plus`, and others.---@@ -52886,7 +52953,7 @@ On-chain identity is optional. Most agents work fine without it. You'd want it w- **You want delegated wallet permissions.** ERC-7710 lets you sign once per session and grant the agent scoped, time-bound permission to act on-chain — no per-transaction prompts.- **You want a portable address.** `agent://base/42` is a stable, resolver-agnostic URI. Any client that speaks the protocol can load it.-See [erc8004.md](#sec-182) and [solana.md](#sec-377) for the registration flows.+See [erc8004.md](#sec-182) and [solana.md](#sec-378) for the registration flows.---@@ -52909,14 +52976,14 @@ Quick lookup for "I want to ship X":| You want… | Reach for… ||---|---|| A 3D character on a marketing page | The CDN script + `<agent-3d>` |-| A character in Notion / Webflow / Framer | An iframe widget from [Widget Studio](#sec-493) |+| A character in Notion / Webflow / Framer | An iframe widget from [Widget Studio](#sec-494) || A talking AI sidekick that follows visitors | `<agent-3d mode="floating">` || A character that controls a scene from page events | The JS API (`agent.say()`, `agent.ask()`) — see [js-api.md](#sec-254) || Programmatic avatar viewing/creation in your own app | `@three-ws/avatar` |-| An on-chain identity for your AI | [ERC-8004](#sec-182) or [Solana](#sec-377) |-| A paid API anyone (including agents) can call | [x402 monetization](#sec-506) |+| An on-chain identity for your AI | [ERC-8004](#sec-182) or [Solana](#sec-378) |+| A paid API anyone (including agents) can call | [x402 monetization](#sec-507) || Multiple agents in one scene | `<agent-stage>` — see [multi-agent.md](#sec-285) |-| To register a domain (e.g. ENS) as agent identity | [register-onchain.md tutorial](#sec-445) |+| To register a domain (e.g. ENS) as agent identity | [register-onchain.md tutorial](#sec-446) |---@@ -52925,7 +52992,7 @@ Quick lookup for "I want to ship X":- **[Architecture overview](#sec-098)** — full internals- **[Agent system](#sec-062)** — runtime, skills, memory, emotion- **[Layers](#sec-258)** — the four-layer contract in detail-- **[Quick start](#sec-348)** — go from zero to a living embed in under 10 minutes+- **[Quick start](#sec-349)** — go from zero to a living embed in under 10 minutes---@@ -52942,7 +53009,7 @@ runtime** from those static files. There is no per-request translation call, noruntime cost, and full SEO/caching of each locale's JSON.The one difference from LobeHub: their copy was already keyed (greenfield-i18next). Ours lives inline in 570+ static HTML pages, so we add an **extraction**+i18next). Ours lives inline in 600+ static HTML pages, so we add an **extraction**step that derives the catalog from annotated markup.```@@ -53101,7 +53168,7 @@ has just instantiated a 3D avatar in the middle of the SDK docs and swallowed thcopy that followed. Masking makes the round trip byte-exact; the lint rule belowcatches any that predate it.-## 4. Lint (build gate)+## 4. Lint```bashnpm run i18n:lint@@ -53110,7 +53177,9 @@ npm run i18n:lintValidates every **committed** locale against the source: no missing/empty keys,no `{{placeholder}}` drift, no dropped glossary terms, no stale keys, and no**markup drift**. Locales not yet generated are skipped (not failures). Needs no-API key - safe in CI.+API key, so it is safe to run anywhere, but nothing runs it for you: it is not+wired into `npm run gate` or the build, so run it yourself after touching a+catalog.Markup drift compares the set of HTML tags in the translation against the source.It fires when a translation grows a tag the English never had (an escaped tag that@@ -53248,7 +53317,7 @@ scripts/i18n-generate-queue.sh 3 # narrower poolscripts/i18n-generate-queue.sh 5 "ca sr my" # a specific list, in order```-Each locale is ~18k keys / ~430 chunks, so this is an hours-long job, not a+Each locale is ~18k keys / ~550 chunks, so this is an hours-long job, not aminutes-long one. It picks locales **most-complete-first** (closest to shippingships soonest), skips any locale another process is already translating (twowriters on one catalog would lose one set of writes), and is resumable: the@@ -53974,16 +54043,20 @@ This is the running catalog of everything published in the [Three.ws User Group]Dates marked "approx." are derived from the site's relative timestamps ("17 days ago") on the snapshot date; blog dates come from their URLs and are exact.-## Group snapshot (2026-08-05)+## Group snapshot (2026-08-13)| Metric | Value || ------ | ----- |-| Members | 15 |-| Discussion threads | 8 listed in the [digest viewer](https://community.ibm.com/community/user/groups/community-home/digestviewer?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) |-| Blog posts | 3 |+| Members | 16 |+| Discussion threads | 8 listed in the [digest viewer](https://community.ibm.com/community/user/groups/community-home/digestviewer?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016), which reports "Showing 1 to 8 of 8" |+| Blog posts | 4 || Library entries | 2 (the attachments on the BOWYER and SperaxOS threads) || Upcoming events | 0 |+The group header counts threads as 10 while the digest viewer lists 8. The+header's tally is the one to distrust: the digest viewer is the per-thread+listing this catalog is built from, and it is explicit about its own total.+## Blog posts### 1. Welcome to the Three.ws User Group: Building AI Agents With 3D Capabilities@@ -54014,6 +54087,44 @@ A feature tour structured as "ten features, in the order I would demo them": (1)Jessica's companion piece to the meetup thread, written in her own voice as a member telling the group not to mistake the event for another webinar link. Carries the event table (Friday, August 7, 8 to 9 AM Pacific, 11 AM Eastern, free, browser only), the three-step join flow (open three.ws/play, bring a custom avatar made at three.ws/create beforehand, talk via spatial voice), and the agenda: live in-world platform tour, community demos, open Q&A ("the skeptical questions are the most useful ones"), and a first look at what is next. Her framing argument: the venue is the demo, so the hour doubles as hands-on evaluation of the technology the group exists to discuss, and since every world is a shareable URL, attending teaches you how to run your own events there. Points readers at the pinned meetup thread for the deep technical background and closes with the full platform link list. The draft lives in [ibm-community-blog-meetup-jessica.md](#sec-239).+### 4. The First Three.ws User Group Meetup: How It Actually Went++- **Author:** Jessica Swanson+- **Published:** 2026-08-08+- **Activity:** 0 comments, 4 views at snapshot+- **URL:** [community.ibm.com/.../the-first-threews-user-group-meetup-ibm](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/08/the-first-threews-user-group-meetup-ibm)++Jessica's close of the meetup arc, written the day after the live post she+published mid-event. She frames the group as an unusual case (three.ws is the+only project she knows of with its own dedicated IBM Community user group, which+exists because IBM's own account had traded posts with three.ws on X before the+group launched), then makes the argument the day proved: a nine-hour user-group+meetup held entirely inside a 3D world instead of on a call is exactly the kind+of thing neither side is supposed to try, and it held up. She reports peak+concurrency of 3,145 avatars in the world across the day, noting the world was+open to anyone with the link, so most of that crowd was not group members. The+agenda ran as planned (in-world platform tour, community demos, open Q&A+including the two open-source watsonx.ai and Granite connectors), but the part+she leads with is what happened around it: fishing, cooking the catch, and+driving cars around the map with two other players. The Q&A recap covers the+Forge, Avatar Studio's auto-rigging, the no-allowlist skeleton mapping across+Mixamo/VRM/Daz/Blender rigs, the cross-world wardrobe, and the `agent-3d` web+component. Her under-the-hood section describes the authoritative server, spatial+voice gated by distance, the clock-derived countdown and fireworks, and the+Meetup Laurel as the platform's answer to "prove you were there". She says+plainly that she was not into crypto before this partnership and that three.ws+changed it. Closes on the follow-through: turning the meetup into a rhythm,+more joint posts, more three.ws work surfaced through IBM channels, and an+explicitly unconfirmed note that three.ws is looking at IBM's newly expanded+Partner Plus marketplace motions (Microsoft Multiparty Private Offers and Google+Cloud Marketplace Channel Private Offers, on top of the live AWS reseller+integration). Links the team's own recap at+[/blog/ibm-user-group-first-in-world-meetup-recap](/blog/ibm-user-group-first-in-world-meetup-recap).++Two placeholders are still live in the published post: a bracketed note about the+next meetup date and a bracketed "[link once available]" for the recording. If+either gets filled in, update this entry.+## Discussion threadsNewest first, matching the digest viewer's order.@@ -54122,7 +54233,7 @@ This is the developer guide for the `@three-ws/ibm-x402-mcp` tool suite. For thebroader IBM integration (the platform showcase, Guardian Trust Layer, thecredentials-based `@three-ws/ibm-watsonx-mcp` connector) see **[docs/ibm.md](#sec-246)**.For the x402 protocol primitives used elsewhere on the platform see-**[docs/x402.md](#sec-506)**.+**[docs/x402.md](#sec-507)**.---@@ -54461,7 +54572,7 @@ Catalog/listing copy is maintained in## See also- [docs/ibm.md](#sec-246) — the full IBM Granite / watsonx integration and showcase-- [docs/x402.md](#sec-506) — the x402 payment protocol on three.ws+- [docs/x402.md](#sec-507) — the x402 payment protocol on three.ws- [docs/mcp.md](#sec-272) — wiring MCP servers into a client- [docs/mcp-x402-bazaar.md](#sec-271) — x402 service discovery- [packages/ibm-x402-mcp](../packages/ibm-x402-mcp) — the npm package source@@ -54813,7 +54924,7 @@ Unit tests for the same paths live in [`tests/`](../tests) (`granite-oracle`, `a# Image to 3D: turn a photo into a downloadable 3D model-Image to 3D is Forge's photo lane, opened directly. Drop in one to four photos of an object, taken from different angles, and get back a textured, downloadable GLB you can orbit, view in AR, and take into any engine. It is the fastest way to go from a real thing on your desk, or a single reference image, to a real 3D model, with no account and no key on the free lane.+Image to 3D is Forge's photo lane, opened directly. Drop in one to six photos of an object, taken from different angles, and get back a textured, downloadable GLB you can orbit, view in AR, and take into any engine. It is the fastest way to go from a real thing on your desk, or a single reference image, to a real 3D model, with no account and no key on the free lane.Page: [/image-to-3d](https://three.ws/image-to-3d) · API: `/api/forge`@@ -54821,7 +54932,7 @@ Page: [/image-to-3d](https://three.ws/image-to-3d) · API: `/api/forge`Text-to-3D is great when you can describe a thing. But often you already have the thing, or a picture of it: a prop, a toy, a piece of furniture, a product shot. Reconstructing geometry from photos preserves the real proportions and surface that a text prompt can only approximate. Image to 3D gives that reconstruction its own entry point so a first-time visitor lands directly in photo mode instead of hunting for the tab, while everything else, the engine grid, the tiers, the live health status, the downloadable GLB, is the same Forge machinery underneath.-/ image-to-3d and [/forge](https://three.ws/forge) are the same application (`pages/forge.html`, driven by `src/forge.js`). The `/image-to-3d` route sets the page into photo mode and retitles it; the app is otherwise identical, so any engine, tier, or export you can reach from Forge you can reach here.+[/image-to-3d](https://three.ws/image-to-3d) and [/forge](https://three.ws/forge) are the same application (`pages/forge.html`, driven by `src/forge.js`). The `/image-to-3d` route sets the page into photo mode and retitles it; the app is otherwise identical, so any engine, tier, or export you can reach from Forge you can reach here.## How it works@@ -54844,7 +54955,7 @@ Image to 3D reconstructs whole objects: a prop, a product, a toy, a sculpture, a## Walkthrough1. Open [/image-to-3d](https://three.ws/image-to-3d). The page opens in photo mode.-2. Add one to four photos of the same object. For best results shoot the same object from different angles (front, side, back, three-quarter) on a plain background.+2. Add one to six photos of the same object, one per view slot (front, back, left, right, top, three-quarter). For best results shoot the same object from different angles on a plain background.3. Optionally pick a tier (Draft, Standard, High) and an engine. The default free reconstruction lane carries a **FREE** pill; down lanes are disabled with a reason.4. Click Generate. A real elapsed-driven progress line runs against the ETA for the resolved engine and tier; a cold self-host worker adds an honest spin-up estimate.5. When the model lands, orbit it, view it in AR, download the GLB, or run the post-generation tools (stylize, optimize, Game-Ready retopology).@@ -54892,7 +55003,7 @@ console.log(job.glb_url);## States and limits-- **Up to four views** per generation; more views mean tighter multi-view fusion.+- **Up to six views** per generation (`MAX_VIEWS` in `api/forge.js`); more views mean tighter multi-view fusion.- **Free lane** requires no account. The **High tier** is $THREE hold-or-pay gated (quality gate, not vendor-cost recovery); a verified $THREE pass also lifts the free-lane quota.- **Loading**: real elapsed counter; cold GPU workers surface an honest spin-up estimate.- **Down or unconfigured engine**: disabled with the real reason, or a clean `backend_unconfigured` error. No mock output, ever.@@ -55038,7 +55149,7 @@ primitives.This is **not** the same rail as the USDC cosmetics shop for the standalonecharacter creator, which sells a different catalog through-[x402](#sec-506) and is surfaced publicly at [/fits](https://three.ws/fits).+[x402](#sec-507) and is surfaced publicly at [/fits](https://three.ws/fits).Two catalogs, two currencies, two rails. Do not confuse them.It is also not the only way to own a wardrobe item. A third tier exists that the@@ -55110,7 +55221,12 @@ curl -s https://three.ws/api/play/economy | jq '.generalStore.sell'```json[{ "item": "wood", "label": "Wood", "price": 2 },- { "item": "cookedFish", "label": "Cooked Fish", "price": 9 }+ { "item": "stone", "label": "Stone", "price": 2 },+ { "item": "coal", "label": "Coal", "price": 6 },+ { "item": "fish", "label": "Raw fish", "price": 3 },+ { "item": "cookedFish", "label": "Cooked fish", "price": 9 },+ { "item": "bones", "label": "Bones", "price": 4 },+ { "item": "hide", "label": "Beast hide", "price": 8 }]```@@ -55163,7 +55279,7 @@ every number in this system.## Next-- **[Earn and spend in /play](#sec-418)** walks the+- **[Earn and spend in /play](#sec-419)** walks thewhole loop end to end, from your first gathered log to a cosmetic unlock.- **[three.ws/play/economy](https://three.ws/play/economy)** is the live referencewith the current catalogs and odds.@@ -55368,7 +55484,7 @@ The platform's agents are only as useful as the places they can appear. Integratis the distribution layer: it turns an agent, a saved widget, or a live token feedinto something a marketer can paste into a CMS, a developer can wire into a framework,or an AI assistant can call as a tool. It is the front page of embedding; the deep-per-method references live in [Embedding](#sec-180) and [Widgets](#sec-494),+per-method references live in [Embedding](#sec-180) and [Widgets](#sec-495),and this doc is the map that points you to the right one.## How it works@@ -55417,10 +55533,10 @@ Avatar Viewer (web component):<script src="https://three.ws/embed.js" defer></script><!-- Drop anywhere in your HTML -->-<threews-avatar avatar-id="avatar_demo_disk_cz" hide-chrome pose="idle"></threews-avatar>+<threews-avatar avatar-id="a4bad2f5-8a07-43cf-82e5-b6ba1314441e" hide-chrome pose="idle"></threews-avatar>-<!-- Optional: JS control -->-<script>+<!-- Optional: JS control (type="module" so top-level await is allowed) -->+<script type="module">const el = document.querySelector('threews-avatar');await el.ready;el.play('wave');@@ -55444,7 +55560,7 @@ Walk Companion:```html<scriptsrc="https://three.ws/walk-embed-sdk.js"- data-avatar="avatar_demo_disk_cz"+ data-avatar="a4bad2f5-8a07-43cf-82e5-b6ba1314441e"data-position="bottom-right"data-env="studio"defer@@ -55513,7 +55629,7 @@ for the full table.## Related- [Embedding Guide](#sec-180): the full per-method reference (web component, iframe, oEmbed)-- [Widget Types](#sec-494): every widget type and how to configure one+- [Widget Types](#sec-495): every widget type and how to configure one- [Embody](#sec-181): giving an agent a body in more contexts- [MCP](#sec-272): the avatar MCP server for AI assistants- Pages: [/integrations](https://three.ws/integrations), [/widgets](https://three.ws/widgets)@@ -55593,15 +55709,20 @@ A skill is a modular capability bundle installed into an agent. Each skill has a### Widget-A widget is a pre-built, embeddable view built on top of the agent and viewer primitives. Five widget types ship with the platform:+A widget is a pre-built, embeddable view built on top of the agent and viewer primitives. Ten widget types ship with the platform:| Widget | Description ||---|---|-| **Turntable** | Auto-rotating 3D model viewer, no agent runtime |+| **Turntable Showcase** | Auto-rotating 3D model viewer, no agent runtime || **Animation Gallery** | Displays and plays named animations from a GLB || **Talking Agent** | Full agent with avatar, voice, and chat UI || **ERC-8004 Passport** | On-chain identity card for a registered agent || **Hotspot Tour** | Annotated model with interactive camera waypoints |+| **Pump.fun Live Feed** | A Solana agent narrating live pump.fun claims and graduations |+| **Smart Money Feed** | Live buy/sell activity from KOL and whale wallets for one token |+| **Live Trades Canvas** | Particle visualization of live buy/sell trades for one token |+| **Bonding Curve** | Live graduation progress and bonding-curve climb for a token |+| **Walking Avatar** | A roaming avatar visitors steer around your page by joystick or keyboard |Widgets can be embedded via iframe with a single line of HTML from Widget Studio at [https://three.ws/studio](https://three.ws/studio).@@ -55618,7 +55739,7 @@ A minimal manifest looks like:"body": { "uri": "./body.glb", "format": "gltf-binary" },"brain": {"provider": "anthropic",- "model": "claude-sonnet-4-6",+ "model": "claude-sonnet-5","instructions": "./instructions.md"}}@@ -55717,7 +55838,7 @@ To add an AI brain:```html<agent-3dbody="https://three.ws/avatars/michelle.glb"- brain="claude-sonnet-4-6"+ brain="claude-sonnet-5"key-proxy="/api/llm"instructions="You are Aria, a helpful product guide."voice@@ -55726,7 +55847,7 @@ To add an AI brain:The `key-proxy` attribute points to a serverless function that injects your API key — the key never touches the client. The `voice` attribute enables microphone input and TTS output.-For a full step-by-step walkthrough, see the [Quick Start guide](#sec-348).+For a full step-by-step walkthrough, see the [Quick Start guide](#sec-349).---@@ -55734,9 +55855,9 @@ For a full step-by-step walkthrough, see the [Quick Start guide](#sec-348).Once you have the basics working, the following guides go deeper:-- **[Quick Start](#sec-348)** — step-by-step from zero to a talking agent+- **[Quick Start](#sec-349)** — step-by-step from zero to a talking agent- **[Embedding Guide](#sec-180)** — all attributes, modes, events, and the JS API-- **[Widget Types](#sec-494)** — Turntable, Animation Gallery, Talking Agent, Passport, Hotspot Tour+- **[Widget Types](#sec-495)**, the five general-purpose widgets in depth (the other five live in [Widget Studio](https://three.ws/studio))- **[Agent System Overview](#sec-062)** — runtime, skill registry, memory, emotion system- **[Manifest Reference](#sec-053)** — full JSON schema with examples- **[REST API](#sec-094)** and **[JavaScript API](#sec-254)** — backend and in-browser surfaces@@ -55853,7 +55974,7 @@ The user-facing summary lives at [/irl-privacy](/irl-privacy); the engineering a## Analytics-/irl now has a real usage baseline. `api/_lib/irl-analytics.js` logs four events into `irl_events`: `pin_created` (tagged with the placement method: `webxr`, `quicklook`, camera `pin`, or `map`), `nearby_fetch`, `share_created`, and `share_viewed`. It is an append-only table that never stores a raw coordinate or device token (only a ~150m geocell and a 16-char hashed device prefix, matching the same coarsening the rest of IRL already uses). Events age out after 90 days via the existing hourly reaper ([api/cron/irl-reap.js](/api/cron/irl-reap.js)), the same bounded-retention discipline as the interaction trail.+/irl now has a real usage baseline. `api/_lib/irl-analytics.js` logs four events into `irl_events`: `pin_created` (tagged with the placement method: `webxr`, `quicklook`, camera `pin`, or `map`), `nearby_fetch`, `share_created`, and `share_viewed`. It is an append-only table that never stores a raw coordinate or device token (only a ~150m geocell and a 16-char hashed device prefix, matching the same coarsening the rest of IRL already uses). Events age out after 90 days via the existing hourly reaper ([`api/cron/irl-reap.js`](../api/cron/irl-reap.js)), the same bounded-retention discipline as the interaction trail.The rollup is served at `GET /api/irl/analytics` (admin-gated via `x-ops-secret` or an admin session): pins placed and unique placers/browsers over 24h/7d/30d, a placement-method breakdown, the existing interaction (view/tap/message/pay) and confirmed Money Drop counts, share creation/view volume, and a 30-day daily series. Every number is a live query: nothing cached, sampled, or estimated.@@ -56029,9 +56150,9 @@ in a way that drops legitimate discovery, update this file in the same change.# JavaScript API Reference-This page documents the internal JavaScript classes behind the three.ws viewer: the `App` controller, the Three.js `Viewer`, the glTF `Validator`, and the small components that render around them. It is aimed at developers reading or extending the source (`src/`), and at anyone driving the viewer from the browser console via `window.VIEWER`. If you just want a 3D agent on your page, use the [`<agent-3d>` element](#sec-491) instead.+This page documents the internal JavaScript classes behind the three.ws viewer: the `App` controller, the Three.js `Viewer`, the glTF `Validator`, and the small components that render around them. It is aimed at developers reading or extending the source (`src/`), and at anyone driving the viewer from the browser console via `window.VIEWER`. If you just want a 3D agent on your page, use the [`<agent-3d>` element](#sec-492) instead.-> For the HTTP/REST surface, see [api-reference.md](#sec-094). For the high-level npm SDK, see [sdk.md](#sec-360). For the `<agent-3d>` element attributes, see [web-component.md](#sec-491).+> For the HTTP/REST surface, see [api-reference.md](#sec-094). For the high-level npm SDK, see [sdk.md](#sec-361). For the `<agent-3d>` element attributes, see [web-component.md](#sec-492).---@@ -56063,7 +56184,7 @@ new App(el: Element, location: Location)| `el` | `Element` | Root DOM element (typically `document.body`) || `location` | `Location` | Browser location object for hash parameter parsing |-Parses the following URL hash parameters via `query-string`:+Parses the URL hash with `URLSearchParams`. The load-bearing parameters:| Hash Param | Type | Default | Description || ---------------- | --------- | ------------------- | ------------------------------------------------- |@@ -56071,6 +56192,13 @@ Parses the following URL hash parameters via `query-string`:| `kiosk` | `boolean` | `false` | Hides header; intended for iframe embedding || `preset` | `string` | `''` | `'assetgenerator'` activates asset generator mode || `cameraPosition` | `string` | `null` | Comma-separated `x,y,z` camera coordinates |+| `brain` | `string` | `'none'` | Brain/model id for the in-page agent |+| `proxyURL` | `string` | `''` | Key-proxy endpoint the brain calls through |+| `agent` | `string` | `''` | Agent id to load (legacy hash embed mode) |+| `widget` | `string` | `''` | Widget id to render instead of the editor |++`src/app.js` reads more (embed overrides such as `noChat`, `noControls`,+`accent`, `bg`); read the `this.options` block there for the full set.### Properties@@ -56107,7 +56235,7 @@ Processes a fileset from a drag-and-drop or file input event.1. Iterates the `fileMap` to find the root `.gltf` or `.glb` file2. Extracts the `rootPath` (directory portion of the file path)3. Calls `this.view(rootFile, rootPath, fileMap)`-4. Shows an alert if no `.gltf`/`.glb` file is found+4. Reports through `onError()` if no `.gltf`/`.glb` file is found#### `view(rootFile: File | string, rootPath: string, fileMap: Map<string, File>)`@@ -56129,13 +56257,10 @@ Flow:#### `onError(error: Error | string)`-Normalizes and displays an error message via `window.alert()`. Special case handling:--| Pattern | Displayed Message |-| ------------------------------- | --------------------------------- |-| Contains `ProgressEvent` | "Unable to retrieve this file..." |-| Contains `Unexpected token` | "Unable to parse file content..." |-| `error.target instanceof Image` | "Missing texture: {filename}" |+Console-only diagnostic logging. The user-facing error surface is the+viewer-status overlay driven by the `LOAD_END` protocol payload (see+`_classifyLoadError` in `src/app.js`), which turns a failed load into a readable+message with a recovery action instead of a browser dialog.#### `showSpinner()` / `hideSpinner()`@@ -56247,7 +56372,7 @@ Main render loop callback. Called every frame via `requestAnimationFrame`.- Advances AnimationMixer by delta time- Calls `this.render()`-#### `render()`+#### `render(deltaTime: number = 0)`Renders the main scene and the axes helper mini-viewport.@@ -56255,15 +56380,16 @@ Renders the main scene and the axes helper mini-viewport.Handles window resize. Updates camera aspect ratio, renderer size, and axes renderer size.-#### `load(url: string, rootPath: string, assetMap: Map<string, File>) → Promise<GLTF>`+#### `load(url: string, rootPath: string, assetMap: Map<string, File>, onProgress?: (xhr: ProgressEvent) => void) → Promise<GLTF>`Loads a glTF/GLB model.-| Parameter | Type | Description |-| ---------- | ------------------- | -------------------------------------------- |-| `url` | `string` | URL to the model file (or blob URL) |-| `rootPath` | `string` | Directory prefix for resolving relative URIs |-| `assetMap` | `Map<string, File>` | Dropped files for local resource resolution |+| Parameter | Type | Description |+| ------------ | ------------------- | -------------------------------------------- |+| `url` | `string` | URL to the model file (or blob URL) |+| `rootPath` | `string` | Directory prefix for resolving relative URIs |+| `assetMap` | `Map<string, File>` | Dropped files for local resource resolution |+| `onProgress` | `function` | Optional XHR progress callback (`xhr.total` only when the server sends `Content-Length`) |Returns a Promise that resolves with the parsed glTF object. The method:@@ -56283,9 +56409,9 @@ Adds a loaded model to the scene.5. Saves initial OrbitControls state6. Detects embedded lights (sets `state.punctualLights = false` if found)7. Sets up animation clips via `setClips()`-8. Updates lighting, GUI, environment, and display-9. Prints the scene graph to the console-10. Exports the scene to `window.VIEWER.scene`+8. Updates lighting, the shadow catcher, GUI, environment, display, model info, and annotations+9. Exports the scene to `window.VIEWER.scene`+10. Dispatches a `viewer:model-loaded` `CustomEvent` on `window` so overlays can re-read the new rig#### `setClips(clips: THREE.AnimationClip[])`@@ -56375,39 +56501,36 @@ Rebuilds the dynamic GUI folders (Animation, Morph Targets, Cameras) based on thRemoves the current model from the scene and disposes all resources:-- Disposes all geometries+- Detaches the animation manager and removes the animation panel, model-info+ overlay, and annotation elements+- Disposes BVH bounds trees, then all geometries- Disposes all textures (except `envMap`)- Disposes all materials-#### `printGraph(node: THREE.Object3D)`--Recursively prints the scene graph to the console using nested `console.group()` calls. Each line shows `<NodeType> name`.----## Validator**File:** `src/validator.js`-Integrates the [Khronos glTF-Validator](https://github.com/KhronosGroup/glTF-Validator) and renders validation results.+Integrates the [Khronos glTF-Validator](https://github.com/KhronosGroup/glTF-Validator) and normalizes its report into the shape the report UI renders.### Constructor```javascript-new Validator(el: Element)+new Validator(el: Element | null)```-| Parameter | Type | Description |-| --------- | --------- | --------------------------------------------- |-| `el` | `Element` | Root DOM element for appending the toggle bar |+| Parameter | Type | Description |+| --------- | ------------------ | -------------------------------------------------- |+| `el` | `Element \| null` | Root DOM element (`null` on the `/validation` page) |### Properties-| Property | Type | Description |-| ---------- | ---------------- | ---------------------------- |-| `el` | `Element` | Root DOM element |-| `report` | `object \| null` | Last validation report |-| `toggleEl` | `Element` | Container for the toggle bar |+| Property | Type | Description |+| -------- | ---------------- | ---------------------- |+| `el` | `Element` | Root DOM element |+| `report` | `object \| null` | Last validation report |### Methods@@ -56424,7 +56547,7 @@ Runs the glTF validator against a loaded model.Flow:-1. Fetches the model URL as an `ArrayBuffer`+1. Reuses the `ArrayBuffer` `GLTFLoader` already cached for that URL, or fetches it2. Calls `validateBytes()` from `gltf-validator`3. Provides `externalResourceFunction` for resolving external resources4. Passes the result to `setReport()`@@ -56440,14 +56563,18 @@ Resolves an external resource (texture, bin) referenced by the glTF during valid#### `setReport(report: object, response: object)`-Processes the raw validator report:+Normalizes the raw validator report and stores it on `this.report`. Via the+internal `_processReport()`:1. Extracts the generator string from `report.info.generator`2. Determines `maxSeverity` (lowest severity index with > 0 messages)3. Splits messages into `errors[]`, `warnings[]`, `infos[]`, `hints[]`4. Aggregates high-frequency messages (`ACCESSOR_NON_UNIT`, `ACCESSOR_ANIMATION_INPUT_NON_INCREASING`)-5. Extracts `asset.extras` metadata (author, license, source, title) from the GLTF response-6. Renders `ValidatorToggle` HTML into the toggle element++Then `setResponse()` extracts `asset.extras` metadata (author, license, source,+title) from the GLTF response. Rendering is the caller's job: `App` watches the+resulting `.validator-toggle` node and re-emits the counts as a `VALIDATE`+protocol action.#### `setResponse(response: object)`@@ -56458,23 +56585,17 @@ Extracts metadata from the glTF `asset.extras` field:| `author` | HTML-escaped then linkified || `license` | HTML-escaped then linkified || `source` | HTML-escaped then linkified |-| `title` | Stored as-is |+| `title` | HTML-escaped |#### `setReportException(e: Error)`-Called when validation fails. Sets report to `null` and renders an error message in the toggle.--#### `bindListeners()`--Binds click event on the toggle bar to open the lightbox report, and the close button to dismiss it.--#### `showToggle()` / `hideToggle()`--Add/remove the `hidden` CSS class on the toggle element.+Called when validation fails. Clears `this.report` so no stale report can be+shown for the new model.#### `showLightbox()`-Opens a new browser tab with the full validation report HTML (rendered via `ValidatorReport` component).+Opens a new browser tab with the full validation report HTML (rendered via the+`ValidatorReport` component), including a downloadable JSON copy of the report.---@@ -56616,7 +56737,11 @@ The app exports debugging state to `window.VIEWER`:| `window.VIEWER.scene` | `THREE.Object3D` | `Viewer.setContent()` | Current model scene graph || `window.VIEWER.json` | `GLTF` | `Viewer.load()` | Raw parsed glTF object from GLTFLoader |-The WebGL renderer is also available at `window.renderer`.+When the agent layer is mounted, `App` also publishes `agent_protocol`,+`agent_identity`, `agent_skills`, and `agent_runtime` on the same object.++The WebGL renderer is also available at `window.renderer` (nulled on viewer+dispose).### Console Usage Examples@@ -56789,8 +56914,8 @@ Writes the curated tracked-wallet list that the tracker merges in. Accepts `{ raThe tracker answers "who is making money"; the reputation surfaces answer "should this wallet's record earn trust". They meet at the wallet address:- **`GET /api/intel/wallet/<WALLET_ADDRESS>`** returns one wallet's realized track record from the Smart-Money graph: a 0 to 100 realized score, win rate, average ATH multiple, winners and losers, labels (`smart_money`, `sybil`, `fresh`, and others), and its funder cluster. `computed: false` means no track record exists yet for that address; that is an honest zero, not an error. A string that is not a base58 Solana address is a different case and returns `400 bad_request`, so a typo never reads as a wallet with no history. Any wallet you see on the tracker can be fed straight into it. The same card is served by `GET /api/intel/smart-money?wallet=<WALLET_ADDRESS>`, which applies the identical validation.-- **[Smart Money Radar](#sec-372)** is the sibling leaderboard built from graduation outcomes rather than a KOL universe: reputation earned per wallet from which coins actually graduated. The tracker's footer links to it, and the two boards frequently disagree in instructive ways.-- **[Trust primitives](#sec-400)** wrap the same question for autonomous agents: a paid endpoint that scores any counterparty wallet from real on-chain evidence before an agent transacts with it.+- **[Smart Money Radar](#sec-373)** is the sibling leaderboard built from graduation outcomes rather than a KOL universe: reputation earned per wallet from which coins actually graduated. The tracker's footer links to it, and the two boards frequently disagree in instructive ways.+- **[Trust primitives](#sec-401)** wrap the same question for autonomous agents: a paid endpoint that scores any counterparty wallet from real on-chain evidence before an agent transacts with it.```bash# Take a wallet from the tracker and pull its reputation record@@ -56808,8 +56933,8 @@ curl 'https://three.ws/api/intel/wallet/<WALLET_ADDRESS>?network=mainnet'## Related-- [Smart Money Radar](#sec-372): reputation earned from graduation outcomes, wallet by wallet-- [Trust primitives](#sec-400): the paid cross-chain reputation read for autonomous agents+- [Smart Money Radar](#sec-373): reputation earned from graduation outcomes, wallet by wallet+- [Trust primitives](#sec-401): the paid cross-chain reputation read for autonomous agents- Pages: [/tracker](https://three.ws/tracker) · [/smart-money](https://three.ws/smart-money) · [/leaderboard](https://three.ws/leaderboard)---@@ -56890,6 +57015,36 @@ X-CSRF-Token: <token>`worker_payout_three`, `royalty_three`, and a Solscan `explorer` link — plus the`moderator` who authorized it.+## Input validation (every endpoint)++The market's ids (`bountyId`, `bidId`, `jobId`, `agentId`, `posterAgentId`,+`workerAgentId`) are uuids of rows in `agent_bounties` / `agent_bids` /+`agent_jobs` / `agent_identities`. Every endpoint checks the shape before it+queries, so a malformed id is a `400 validation_error` naming the field+(`"bountyId must be a uuid"`), never a server fault and never a database message+echoed back to you:++```bash+curl -s -X POST https://three.ws/api/labor/settle \+ -H 'content-type: application/json' -H 'authorization: Bearer <token>' \+ -d '{"jobId":"not-a-uuid"}'+# {"error":"validation_error","error_description":"jobId must be a uuid"}+```++Amount and time fields are parsed just as strictly:++| Endpoint | Field | Rule |+| --- | --- | --- |+| `POST /api/labor/post` | `rewardThree` / `rewardAtomics` | One is required. Must parse to a non-negative amount, and must be greater than zero. A value that is not a number is `400`, not a silent zero. |+| `POST /api/labor/post` | `deadline` | Optional. Must be an ISO 8601 timestamp; it is normalized to UTC before the bounty is written. |+| `POST /api/labor/bid` | `priceThree` / `priceAtomics` | One is required, greater than zero, and no larger than the bounty reward (`400 over_reward`). |+| `POST /api/labor/deliver` | `deliverable` | A string, or an object carrying `output`. Its `output` is clamped to 8000 characters (an array is refused). |+| `POST /api/labor/settle` | `jobId` / `bountyId` | One is required; omitting both is `400`, not a `404`. |+| `GET /api/labor/feed` | `minReward` | Optional. A value that is not a number is `400` rather than a silently dropped filter. |++Ownership is always enforced server-side: a write against an agent you do not own+is `403 forbidden`, and an agent that does not exist is `404 not_found`.+## The surface (UX)The page at [/labor-market](https://three.ws/labor-market) is built for watching the@@ -57153,10 +57308,10 @@ Modules:- **`agent-identity.js`** — the passport + diary. Stable agent ID, owner address, signed action history. Backed by `localStorage` (cache) and `/api/agents/<id>` (canonical). Listens on the protocol bus and POSTs `speak` / `skill-done` / `validate` / `sign` events to `/api/agent-actions`.- **`memory/`** — `local`, `ipfs`, `encrypted-ipfs`, or `none`. Declared on the manifest.- **`erc8004/`** — on-chain registries. `IdentityRegistry` (mints agent token with `tokenURI`), `ReputationRegistry` (signed feedback), `ValidationRegistry` (validation report hashes). Per-chain addresses in `erc8004/abi.js`.-- **`erc8004/solana-deploy.js`**: Solana counterpart. Metaplex Core asset mint; SPL Memo attestations and reputation live server-side (see [Agent Reputation on Solana](#sec-376)).+- **`erc8004/solana-deploy.js`**: Solana counterpart. Metaplex Core asset mint; SPL Memo attestations and reputation live server-side (see [Agent Reputation on Solana](#sec-377)).- **`auth/` + `wallet/`** — SIWE / SIWS for backend mutations; Privy for email/social → embedded wallet onboarding; session cookies after wallet proof.-Per-chain registry addresses, ABIs, and helpers ship as `@three-ws/sdk`. ENS attestations are also handled here — see [register-onchain.md](#sec-445).+Per-chain registry addresses, ABIs, and helpers ship as `@three-ws/sdk`. ENS attestations are also handled here — see [register-onchain.md](#sec-446).---@@ -57201,7 +57356,7 @@ If you're building a custom layer (a 2D sprite avatar, a vector-store memory bacThe same source tree produces three independent builds:- **App** — `npm run build`. The full SPA into `dist/`. Editor, agent pages, discover, studio, PWA manifest. Multi-page Rollup config with a Vercel-style dev middleware.-- **Library** — `npm run build:lib`. `src/lib.js` → `dist-lib/agent-3d.js` (ES module + UMD). Three.js and ethers stay bundled — the file is intentionally self-contained so a single `<script type="module">` is the only thing a third party needs.+- **Library**: `npm run build:lib`. `src/lib.js` → `dist-lib/agent-3d.js` (ES module). Add the UMD build (`dist-lib/agent-3d.umd.cjs`) with `npm run build:lib:full`, which is what the production deploy chain runs. Three.js and ethers stay bundled, so the file is intentionally self-contained: a single `<script type="module">` is the only thing a third party needs.- **Artifact** — `vite.config.artifact.js`. A zero-dependency bundle for Claude artifact embeds. Inlined everything, no external script tags, no dynamic imports.Versioned CDN bundles are published at `/agent-3d/<version>/agent-3d.js`. Use `latest` for auto-updates or pin to a version for stability. See [changelog.md](#sec-131) for release history.@@ -57213,7 +57368,7 @@ Versioned CDN bundles are published at `/agent-3d/<version>/agent-3d.js`. Use `l- **[Architecture overview](#sec-098)** — module-by-module deep dive- **[Agent system](#sec-062)** — runtime, skills, memory in detail- **[Embedding](#sec-180)** — the public face of the embed layer-- **[SDK reference](#sec-360)** — `@three-ws/sdk` and friends+- **[SDK reference](#sec-361)** — `@three-ws/sdk` and friends---@@ -57267,11 +57422,15 @@ Served from [`public/demos/lipsync-mic.html`](../public/demos/lipsync-mic.html).Only the TTS demo hits an API. `/api/tts/speak` returns audio bytes you can decode and analyze exactly as the demo does.```bash-# Synthesize speech to an MP3 file (the same call the /lipsync demo makes).+# Synthesize speech (the same call the /lipsync demo makes). Save the response+# headers too: content-type names the container you actually got back.curl -X POST 'https://three.ws/api/tts/speak' \-H 'content-type: application/json' \-d '{ "text": "Welcome to three dot ws.", "voice": "nova", "speed": 1.0, "format": "mp3" }' \- --output speech.mp3+ -D headers.txt --output speech.audio+grep -i '^content-type\|^x-tts-' headers.txt+# -> content-type: audio/wav (free NVIDIA lane; see the format note below)+# -> x-tts-format: wav``````js@@ -57296,6 +57455,8 @@ tick();`POST /api/tts/speak` ([`api/tts/speak.js`](../api/tts/speak.js)) prefers the free NVIDIA NIM Magpie TTS lane when configured and falls back to OpenAI as a paid backstop. Body: `{ text, voice?, model?, format?, language?, speed? }`. `text` is required (max 4096 chars), `voice` defaults to `nova`, `format` defaults to `mp3`, `speed` clamps 0.5 to 2.0. It is rate-limited per user or per IP.+**`format` is a request, not a guarantee.** Magpie emits raw PCM, so the free lane serves every non-`pcm` request as WAV; only the OpenAI backstop honors `mp3`/`opus`/`aac`/`flac` exactly. The `content-type` and `x-tts-format` headers always describe the bytes actually sent, so read them instead of assuming a container. This costs the demos nothing: `decodeAudioData` and the `Audio` element sniff the container, so wav, ogg, and mp3 all animate the mouth the same way.+## States and limits- **TTS demo errors.** A persistent, actionable banner with a Retry button covers network failure, `429` rate limit, `>=500` service errors, `400` bad text, audio playback failure, and blocked autoplay ("needs a click").@@ -57306,9 +57467,9 @@ tick();## Related-- [Voice Lab](#sec-489): clone a voice and synthesize it, the audio these demos animate.-- [Voice and lipsync tutorial](#sec-464): the full walkthrough, including wiring visemes to an agent body.-- [Talking Avatar Video](#sec-386): the server-rendered alternative for exporting a talking-head clip.+- [Voice Lab](#sec-490): clone a voice and synthesize it, the audio these demos animate.+- [Voice and lipsync tutorial](#sec-465): the full walkthrough, including wiring visemes to an agent body.+- [Talking Avatar Video](#sec-387): the server-rendered alternative for exporting a talking-head clip.- [Animations](#sec-091): the runtime clip registry that plays alongside lipsync.- Pages: [/lipsync](https://three.ws/lipsync), [/lipsync/mic](https://three.ws/lipsync/mic).@@ -57358,7 +57519,7 @@ Ecosystem directories are the discovery surfaces that L1/L2 communities, chain f|---|---|---|| **BNB Chain · Dappbay** | Live | [dappbay.bnbchain.org/detail/three](https://dappbay.bnbchain.org/detail/three) — categories: *AI Agent Launchpad · AI Data · AI Infra*. Announcement: [three.ws Listed on BNB Chain's Dappbay Directory](/blog/three-ws-on-bnb-chain-dappbay.html). |-Dappbay is BNB Chain's official dApp directory. The listing is about distribution and discovery into BNB Chain's AI dApp audience — three.ws still settles agent payments on Solana, Base, and Polygon via the chain-agnostic [x402 protocol](#sec-506).+Dappbay is BNB Chain's official dApp directory. The listing is about distribution and discovery into BNB Chain's AI dApp audience — three.ws still settles agent payments on Solana, Base, and Polygon via the chain-agnostic [x402 protocol](#sec-507).---@@ -57426,7 +57587,7 @@ Press **Edit**, change something, and press <kbd>⌘</kbd>/<kbd>Ctrl</kbd> +## Try it: a live avatar-This is the same embed snippet from the [`<agent-3d>` reference](#sec-491).+This is the same embed snippet from the [`<agent-3d>` reference](#sec-492).Press **Run preview** and it renders. Then press **Edit**, swap `michelle.glb`for `xbot.glb`, and run it again.@@ -57588,7 +57749,7 @@ cached module.## Related-- [`<agent-3d>` Web Component API Reference](#sec-491) — the element most previews render+- [`<agent-3d>` Web Component API Reference](#sec-492) — the element most previews render- [API reference](#sec-094) — the endpoints most `curl` samples call- [Embed and share](#sec-180) — putting an avatar on your own site- [MCP tool safety](#sec-268) — the same read/write/irreversible split, applied to agent tools@@ -57835,7 +57996,7 @@ Skills are extra capabilities you can give your agent. The wizard offers:There is also an optional crypto group (pump.fun monitoring/trading, a Solana wallet, and x402 pay-per-call) you can reveal and enable if you want an on-chain agent; skip it entirely otherwise.-You can add or remove skills at any time from the agent's edit page. Voice (microphone input and spoken replies) isn't a wizard skill: you configure it later on the Voice tab of the agent editor.+You can add or remove skills at any time from the agent's edit page. Voice (microphone input and spoken replies) isn't a wizard skill: you configure it later in the Voice panel of the agent editor.---@@ -57845,7 +58006,7 @@ Once you hit **Publish**, your agent gets a live URL: something like `three.ws/aThe wizard also gives you an **embed snippet**: a few lines of HTML you can paste into any webpage to make the agent appear there. You don't need to know HTML to do this — just copy and paste.-For more on where and how to embed, continue to [Share & embed →](#sec-364)+For more on where and how to embed, continue to [Share & embed →](#sec-365)---@@ -57864,10 +58025,10 @@ Changes take effect immediately — no republishing needed for most settings.## What's next-- **Put it on your website** → [Share & embed](#sec-364)+- **Put it on your website** → [Share & embed](#sec-365)- **Understand how it all works** → [How it works](#sec-236)-- **Give the agent a custom skill** → [Create a custom skill](#sec-415)-- **Make it yours permanently (on-chain)** → [Register on-chain](#sec-445)+- **Give the agent a custom skill** → [Create a custom skill](#sec-416)+- **Make it yours permanently (on-chain)** → [Register on-chain](#sec-446)---@@ -58125,7 +58286,7 @@ sales and zero exhausted trials before it was found. Seeendpoints are complete, but there is not yet a free, paginated "browse allskills for sale" HTTP endpoint with sort/filter; discovery today is per-agent(agents themselves are browsable at `GET /api/marketplace/agents`), and the- paid [`/api/x402/skill-marketplace`](#sec-501) endpoint returns the+ paid [`/api/x402/skill-marketplace`](#sec-502) endpoint returns thelive skill listing catalog with pricing for $0.001 USDC.- **Auto-grant.** A confirmed skill purchase is recorded and the license NFT isminted, but the purchased skill is not automatically attached to the buyer's@@ -58145,7 +58306,7 @@ their chosen `currency_mint`; the platform promotes no coin other than $THREE.- [Agent wallets](#sec-070) — how agent-side purchases are funded and gated.- [Circulation engine](#sec-137) — manufactured marketplace demand.-- [Skills system](#sec-370), [Coin launches](#sec-140).+- [Skills system](#sec-371), [Coin launches](#sec-140).---@@ -58200,7 +58361,7 @@ analyze: inspect_model · optimize_model preview: preview_3d| `animation_signature(clip, slot?)` | A clip's measured motion: energy, tempo, leading region, loop seam, travel. Pass `slot` for an ok/warn fit verdict against a runtime slot. || `find_similar_animations(clip, limit?)` | The library ranked by measured-motion distance from a reference clip: "more like this" for animations. || `apply_animation(model_url, animation, format?, speed?)` | Retarget a preset clip onto a rigged GLB — returns the retargeted `AnimationClip` JSON (or a baked animated GLB). |-| `pose_model(prompt)` | Map a pose description to a deterministic seed + full Euler joint-rotation map from the in-repo preset library. Free, deterministic. |+| `pose_model(prompt)` | Map a pose description to a deterministic seed + full Euler joint-rotation map from the in-repo preset library. Deterministic: the same prompt always returns the same seed. Priced at $0.01 (see the table below). |### Edit & process the mesh@@ -58221,7 +58382,7 @@ analyze: inspect_model · optimize_model preview: preview_3d| `inspect_model(url)` | Structural stats: meshes, triangles, materials, textures, animations, extensions. || `optimize_model(url)` | Actionable size/perf suggestions: Draco/Meshopt, KTX2, triangle budget. || `preview_3d(glb_url, …)` | Render any public GLB as an interactive `<model-viewer>` artifact (orbit, AR, auto-rotate). |-| `export_ar(glb_url, title?, kind?)` | Read-only: turn any public GLB into the device-aware AR link set (`arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, plus `irlUrl` when `kind: "avatar"`) and a [Spatial MCP](#sec-378) artifact. Free. See [AR & WebXR](ar.md#one-tap-ar-for-any-glb--get-apiar--export_ar). |+| `export_ar(glb_url, title?, kind?)` | Read-only: turn any public GLB into the device-aware AR link set (`arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, plus `irlUrl` when `kind: "avatar"`) and a [Spatial MCP](#sec-379) artifact. Free. See [AR & WebXR](ar.md#one-tap-ar-for-any-glb--get-apiar--export_ar). |Generation, rigging, and most mesh ops are **asynchronous**: the tool returns a`job_id` immediately, then you poll `generation_status` (reconstruction is@@ -59182,7 +59343,7 @@ CSP entry cannot drift apart.three.ws ships several [MCP](#sec-272) servers: tool servers that AI assistants(Claude, ChatGPT, any MCP client) can call directly. One is free and 3D-only; the-others expose paid tools that settle per call in USDC over [x402](#sec-506). This+others expose paid tools that settle per call in USDC over [x402](#sec-507). Thispage explains how the servers are grouped and how the paid ones charge.> **Looking for a specific tool?** The complete, always-current list lives at@@ -59227,9 +59388,9 @@ exposes **only** 3D generation/inspection — no account, no payment, no token.A free, rate-limited (not x402) REST endpoint backing the [Restyle Studio](/restyle)web page: live PBR material editing, AI restyle, seeded colorway variants, and-texture swaps for any GLB. Not an MCP tool itself — the paid `restyle_material`-tool above (and the web page) both call it as a thin client, so the free and paid-surfaces share one implementation. See+texture swaps for any GLB. Not an MCP tool itself: the paid `restyle_material`+tool (listed under the agent tools below) and the web page both call it as a thin+client, so the free and paid surfaces share one implementation. See[`api/_lib/material-studio-store.js`](../api/_lib/material-studio-store.js) and the[Material Studio API reference](api-reference.md#material-studio-api).@@ -59264,7 +59425,7 @@ and direction tools are flat per call.Free studio helpers (no charge): `getting_started`, `generation_status`,`preview_3d`, `list_animations`, `inspect_model`, `optimize_model`, `save_avatar`,-`validate_spatial_response` (the [Spatial MCP](#sec-378) conformance gate).+`validate_spatial_response` (the [Spatial MCP](#sec-379) conformance gate).## Agent & commerce tools — `3d-agent-local`@@ -59276,7 +59437,7 @@ generation lane**; the rest are paid and quote their price in the| Tool | Price | What it does ||---|---|---|| `forge_free` | **Free** | Text → textured GLB on the free NVIDIA NIM (Microsoft TRELLIS) lane; returns a GLB URL + viewer link. |-| `crypto_news` | **Free** | Live crypto headlines from 191 publisher feeds, filterable by category, source, language, or search. |+| `crypto_news` | **Free** | Live crypto headlines from every publisher feed in the registry (`api/_lib/news-sources.js`, 27 categories, 17 languages), filterable by category, source, language, or search. || `crypto_news_digest` | **Free** | Clusters the last 1-72h of coverage into distinct narratives with stance, tickers, and covering outlets. || `crypto_news_archive` | free quota, then $0.001/search | Search 660,000+ archived articles back to September 2017. Stats and trending modes are always free; search is free up to a daily per-IP quota, then $0.001 USDC per search via x402. || `text_to_avatar` | paid | Text → 3D avatar. |@@ -59309,7 +59470,7 @@ generation lane**; the rest are paid and quote their price in the| Agent MCP | `api/mcp-agent.js` | Agent build/control tools. || Bazaar MCP | `api/mcp-bazaar.js` | x402 service discovery — see [x402 bazaar](#sec-271). || IBM MCP | `api/ibm-mcp.js` | watsonx / Granite integration — see [IBM](#sec-246). |-| pump.fun MCP | `api/pump-fun-mcp.js` | Launch/trade tools — see [Solana pump.fun](#sec-375). |+| pump.fun MCP | `api/pump-fun-mcp.js` | Launch/trade tools — see [Solana pump.fun](#sec-376). |## $THREE only@@ -59322,7 +59483,7 @@ promote no specific token.- [MCP](#sec-272) overview · [3D Studio MCP](#sec-269) ·[3D Studio (paid)](#sec-266) · [x402 bazaar](#sec-271)-- [x402 paid endpoints](#sec-501) — the same capabilities over REST.+- [x402 paid endpoints](#sec-502) — the same capabilities over REST.- [MCP tool safety](#sec-268) - what each tool's safety annotations mean,and the build check that verifies them against the code.- [The full catalog](/mcp-tools) - every tool, searchable by safety and price.@@ -59352,11 +59513,48 @@ client. Registered with the MCP Registry as| `search_services(query, type?, network?, max_price_usdc?, limit?)` | Ranked search over the merged facilitator catalog. || `browse_services(type?, network?, max_price_usdc?, limit?)` | List services without a query — "what can I pay for?". || `get_service(resource_url, tool_name?)` | Full payment requirements (price, asset, network, recipient), input/output schema, and a ready pay link. |+| `bazaar_service_details(resource_url, tool_name?)` | Live price only: cheapest across networks plus a per-network breakdown. Built for price tracking on a schedule. |+| `getting_started(section?)` | Free, no auth or payment. An overview of the server, its tools, and how to connect. Call this first. |`type` is `http` (paid HTTP APIs) or `mcp` (paid MCP tools). `network` is aCAIP-2 id, e.g. `eip155:8453` (Base) or `solana:*`. `max_price_usdc` filters toservices at or below a dollar ceiling.+### Tracking a service's price over time++`bazaar_service_details` is the one to poll. It returns the same+`structuredContent` shape whether or not the service is still listed, so a+tracker can diff two samples field by field without special-casing a+disappearance:++```json+{+ "service_key": "https://api.example.com/weather",+ "available": true,+ "networks": ["eip155:8453"],+ "min_price_atomic": 1000,+ "min_price_label": "0.001 USDC",+ "prices": [+ {+ "network": "eip155:8453",+ "amount_atomic": 1000,+ "price": "0.001 USDC",+ "asset": "0xUSDCassetAddressOnThisNetwork",+ "pay_to": "0xServiceRecipientAddress",+ "scheme": "exact"+ }+ ]+}+```++A service that has dropped off every facilitator is not an error: it comes back+with the same keys, `available: false`, an empty `prices`, and `null` for both+price fields. `min_price_label` is `null` (never absent) in both branches, so a+missing label and a missing sample stay distinguishable.++Use `get_service` instead when you also need the input/output schema and a pay+link. `bazaar_service_details` deliberately omits both to stay cheap to poll.+## Use on claude.aiAdd the connector with URL `https://three.ws/api/mcp-bazaar` and complete OAuth.@@ -59940,7 +60138,7 @@ Turn an avatar or on-chain agent **you own** into a holder-only interactive 3D e}```-The `structuredContent` returns `gate_id`, `asset_id`, `gate` (`mint`, `min_amount`, `chain`), and `embed_snippet` — a ready-to-paste `<script>` + `<three-d>` tag. See [Token-gated 3D embeds](#sec-390) for the full verification flow, the anti-abuse token/rate-limit design, and how visitors unlock the embed.+The `structuredContent` returns `gate_id`, `asset_id`, `gate` (`mint`, `min_amount`, `chain`), and `embed_snippet` — a ready-to-paste `<script>` + `<three-d>` tag. See [Token-gated 3D embeds](#sec-391) for the full verification flow, the anti-abuse token/rate-limit design, and how visitors unlock the embed.---@@ -59961,7 +60159,7 @@ Call any endpoint in the free [Crypto Data API](#sec-094) (the same aggregator b}```-An unknown `provider`/`endpoint` pair returns an error result listing every valid pair. A registered endpoint marked free runs within the same per-IP quota the REST free lane enforces — no wallet needed. An endpoint with no free tier, or a free quota you've exhausted, returns a JSON-RPC `-32402` error naming the exact REST URL and USDC price to pay via [x402](#sec-506) — never a second, MCP-only payment flow.+An unknown `provider`/`endpoint` pair returns an error result listing every valid pair. A registered endpoint marked free runs within the same per-IP quota the REST free lane enforces — no wallet needed. An endpoint with no free tier, or a free quota you've exhausted, returns a JSON-RPC `-32402` error naming the exact REST URL and USDC price to pay via [x402](#sec-507) — never a second, MCP-only payment flow.```bash# Equivalent to: GET /api/v1/x/dexscreener/token?addresses=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump@@ -60744,7 +60942,7 @@ staged as web-ready GLBs. Same pagination (`?limit=1..1000`, `?offset=`),same empty-until-staged behavior, no auth. One difference from the characterlibrary: this endpoint validates the cursors strictly, so a malformed`?limit`/`?offset` returns `400 invalid_limit` / `400 invalid_offset` instead-of being coerced into a page. See [the object library doc](#sec-292)+of being coerced into a page. See [the object library doc](#sec-293)for the full parameter table.### Response@@ -61087,7 +61285,7 @@ curl -s 'https://three.ws/api/forge-rembg?job=JOB_ID'- [3D API](#sec-001) - the core free text-to-3D lane, model inspection, and the paid Forge Pro tiers- [Image to 3D](#sec-247) - the photo-input reconstruction product these front doors feed-- [Voice Lab](#sec-489) - voice cloning and synthesis, the other half of the avatar voice loop+- [Voice Lab](#sec-490) - voice cloning and synthesis, the other half of the avatar voice loop- [API Reference](#sec-094) - the full three.ws HTTP API surface---@@ -61161,6 +61359,25 @@ POST /api/launcher/me { "action": "funding" } → launch-ready agents with livPOST /api/launcher/me { "action": "resume" } → clear a tripped circuit breaker```+### Errors++A save is only reported as successful when the server actually understood it. Anything+else comes back as a JSON error envelope (`{ "error": "...", "error_description": "..." }`)+with the matching status, never a 200 that quietly dropped your patch:++| Status | `error` | When |+|---|---|---|+| 401 | `unauthorized` | No session cookie and no valid bearer JWT. |+| 415 | `unsupported_media_type` | A body was sent without `content-type: application/json`. |+| 400 | `invalid_json` | The body was sent as JSON but could not be parsed. |+| 400 | `invalid_body` | Valid JSON, but not an object (an array, a bare string, a number). |+| 400 | `invalid_mode`, `invalid_network`, `invalid_sources`, `invalid_categories`, `invalid_cadence`, `invalid_max_per_hour`, `invalid_dev_buy_sol`, `invalid_daily_sol_cap` | A field failed validation. Nothing is written, and the message names the accepted range or set. |+| 429 | `rate_limited` | Per-IP limit; `retry_after` is in the body. |+| 503 | `preview_unavailable` | `{ "action": "preview" }` could not synthesize a sample right now. |++A POST with no body at all is valid and reads back as an empty patch, so+`POST /api/launcher/me` with no payload simply returns your current config.+`funding` example response:```json@@ -61178,7 +61395,7 @@ POST /api/launcher/me { "action": "resume" } → clear a tripped circuit brea## Related surfaces- [/launches](https://three.ws/launches) — every coin launched through three.ws, including yours.-- [docs/pump-launcher.md](#sec-326) — the x402 paid one-shot launcher (`/api/x402/pump-launch`), a different surface: one coin per paid call, platform-fronted.+- [docs/pump-launcher.md](#sec-327) — the x402 paid one-shot launcher (`/api/x402/pump-launch`), a different surface: one coin per paid call, platform-fronted.- `api/_lib/launcher-engine.js` — the shared engine both scopes run on (cron: `/api/cron/launcher-tick`).---@@ -61453,9 +61670,10 @@ if (tone) {console.log(tone.body); // full body text}-// Substring search across all files-const hits = await ctx.memory.recall('how does the user prefer feedback');-// hits: [{ file, meta, body, score }, ...]+// Substring search across all files. The whole query must appear verbatim in a+// memory's name, description, or body, so pass a phrase, not a question.+const hits = await ctx.memory.recall('direct critique');+// hits: [{ file, meta, body, score }, ...] where score is the occurrence count```### Exporting and importing@@ -61688,8 +61906,8 @@ plan `source` is `"empty"` with a helpful message instead of an error.## Related-- [Trader Card & the claim-your-wallet wedge](#sec-392)-- [The trading surfaces](#sec-398) · [/vaults](https://three.ws/vaults) (copy-trade with custody guardrails)+- [Trader Card & the claim-your-wallet wedge](#sec-393)+- [The trading surfaces](#sec-399) · [/vaults](https://three.ws/vaults) (copy-trade with custody guardrails)- [Clip Director: every trade becomes content](#sec-139)- [Financial controls & custody guardrails](#sec-216)@@ -61821,8 +62039,8 @@ No other mint should appear in tests, fixtures, or documentation.## Related-- [Solana agents](#sec-377) — agent wallet management and on-chain interactions-- [Solana pump.fun signals](#sec-375) — pump.fun live feed integration+- [Solana agents](#sec-378) — agent wallet management and on-chain interactions+- [Solana pump.fun signals](#sec-376) — pump.fun live feed integration- [ERC-8004](#sec-182) — on-chain agent registry (uses the same brand metadata builder)---@@ -61835,7 +62053,7 @@ No other mint should appear in tests, fixtures, or documentation.[three.ws/minted](https://three.ws/minted) is the live, public gallery of every generated or owned avatar that a creator chose to mint as a **Metaplex Core NFT** through three.ws. It is the NFT counterpart of the `/launches` coin directory: real on-chain property, listed the moment it mints. Every card renders the actual model in a live, auto-rotating 3D viewer (not a flat thumbnail), and every asset carries baked provenance and an enforced, capped creator royalty. Minting is always opt-in: the free text-to-3D lane never mints anything on its own.-This doc covers the gallery surface and the mint flow as a user-facing feature. The provenance internals live in their own docs: [content credentials for AI-generated models](#sec-323) (signed credentials, Solana anchoring, the free verify endpoint) and [the three.ws mint mark](#sec-277) (the `3ws` address branding on coin launches).+This doc covers the gallery surface and the mint flow as a user-facing feature. The provenance internals live in their own docs: [content credentials for AI-generated models](#sec-324) (signed credentials, Solana anchoring, the free verify endpoint) and [the three.ws mint mark](#sec-277) (the `3ws` address branding on coin launches).## The gallery@@ -61890,7 +62108,7 @@ Every mint carries its provenance twice:- **In the NFT metadata itself:** creator, prompt, generation model and provider, parent lineage, and timestamp travel with the asset wherever it goes.- **As a signed record on the platform's append-only agent-actions ledger** (when the source avatar has a provisioned agent to sign as): an independently verifiable entry, referenced in the mint response and queryable via the MCP action tools. This write is best-effort and never blocks a mint that already succeeded on-chain.-For how signed credentials, canonical hashing, and on-chain anchoring work under the hood, read [provenance.md](#sec-323). For the `3ws` address mark that brands coin launches, read [mint-mark.md](#sec-277).+For how signed credentials, canonical hashing, and on-chain anchoring work under the hood, read [provenance.md](#sec-324). For the `3ws` address mark that brands coin launches, read [mint-mark.md](#sec-277).### Remix royalties: paid the moment a remix mints@@ -61904,7 +62122,7 @@ The companion MCP tool `get_3d_asset_onchain` resolves any Core mint address to## Related-- [Verifiable 3D provenance](#sec-323): signed content credentials and free verification for generated models+- [Verifiable 3D provenance](#sec-324): signed content credentials and free verification for generated models- [The three.ws mint mark](#sec-277): the `3ws` address brand on coin launches- [MCP servers](#sec-272): the `mint_3d_asset` and `get_3d_asset_onchain` tools- [Custody you can verify](#sec-165): the wallet rails behind agent-held assets@@ -62024,7 +62242,7 @@ event lives.> Not to be confused with the **personal activity feed** on `/feed`> (`GET /api/users/me/feed`) — that one shows who created what and who followed-> whom, and is documented in [The social layer](#sec-374). This page is+> whom, and is documented in [The social layer](#sec-375). This page is> about value movement only. The two share a URL word ("feed") and nothing else.---@@ -62060,7 +62278,14 @@ fixed allow-list of types:| `level-up`, `world-join`, `jackpot`, `mission-complete` | Play / world events. || `member-join` | A person signed in (throttled to once per user per 6h). || `agent-guard` | An autonomous buy was refused by a safety rule (`agentId`, `mint`, `reason`, `label`). |+| `war-result` | A Coin Wars battle ended (`winner`, `reason`, the two sides, `matchKey`, `network`). || `agora-registered`, `agora-task-posted`, `agora-hired`, `agora-task-claimed`, `agora-task-completed`, `agora-earned`, `agora-vouched`, `agora-flagged` | [Agora](#sec-073) on-chain economy lifecycle events. |+| `agora-arena-entered`, `agora-arena-won`, `agora-arena-lost` | Competitive Agora tasks: one racer takes the purse. |+| `agora-guild-joined`, `agora-guild-contributed` | Collaborative Agora tasks: the pool splits across contributors. |++`ALLOWED_TYPES` in [`api/_lib/feed.js`](../api/_lib/feed.js) is the single source+of truth for this vocabulary. Adding a type there is what makes it publishable;+this table mirrors it.The ticker is a **curated delight layer**, not an exhaustive log: an event onlyappears if a caller explicitly published it with an allow-listed type. Internal@@ -62134,7 +62359,7 @@ The same bus powers surfaces that are not tickers at all:- [Circulation engine](#sec-137) — the largest producer of activity.- [Autonomous x402 loop](#sec-103) — treasury-paid intel purchases.- [Agent wallets](#sec-070) — how spends are gated before they're recorded.-- [x402 revenue & receipts](#sec-502) — the *other* direction: money paid **to** our endpoints (`x402_audit_log`), not agent spend.+- [x402 revenue & receipts](#sec-503) — the *other* direction: money paid **to** our endpoints (`x402_audit_log`), not agent spend.---@@ -62289,7 +62514,12 @@ curl -s 'https://three.ws/api/pulse?view=graph&window=30d' | jq '.data.totals'}],"services": [{ "name": "lore-pack", "count": 39, "usd": 15.6 }],- "totals": { "nodes": 108, "edges": 400, "transfers": 1177, "usd": 370.64, "named_agents": 94 },+ "totals": {+ "nodes": 108, "edges": 400, "transfers": 1177,+ "usd": 370.64, "sol": 4.91,+ "payments": 291, "tips": 886,+ "named_agents": 94+ },"truncated": true,"max_edges": 400}@@ -62382,8 +62612,8 @@ wallet receives each kind of payment, what share the platform keeps, and whichtreasury pays it forward. If you're adding a paid surface or auditing revenue,start here.-Companion docs: [x402 endpoints](#sec-501) (the paid endpoint catalog),-[x402 revenue & receipts](#sec-502) (how settlements are recorded),+Companion docs: [x402 endpoints](#sec-502) (the paid endpoint catalog),+[x402 revenue & receipts](#sec-503) (how settlements are recorded),[Solana signers runbook](../api/_lib/solana-signers.js) (thesigner/funder wallets and how to fund them).@@ -62483,7 +62713,7 @@ unit economics.[ring catalog](../api/_lib/x402/ring-catalog.js), the single source of truth)across intel/oracle, agent/reputation, generation/3D, launch/naming/utility,club, avatar shop, and bazaars. Full list and prices:- [x402 endpoints](#sec-501).+ [x402 endpoints](#sec-502).- **Paid MCP tools** —- Main MCP ([api/mcp.js](../api/mcp.js), pricing `api/_lib/pump-pricing.js`):`mint_3d_asset` $0.25, `retexture_model` $0.10, `optimize_model` $0.05,@@ -62503,7 +62733,7 @@ unit economics.in the on-chain ASP record, not in repo code** — update it here if the ASPregistration changes.- **Marketplace skills** — agent skill marketplace over Solana Pay- ([api/marketplace/](../api/marketplace)); see [marketplace skills](#sec-477).+ ([api/marketplace/](../api/marketplace)); see [marketplace skills](#sec-478).- **Labor market** — bounty/escrow jobs with worker + author-royalty settlement; see[labor market](#sec-256).- **Other** — vanity bounties, forge REST ([api/x402/forge.js](../api/x402/forge.js)),@@ -62556,11 +62786,11 @@ that set `auto_fund_enabled = true` (default off). See## Related- [Financial controls & audit register](#sec-216) — every ledger's integrity, reconciliation, retention, monitoring, and the ranked gap list.-- [x402 endpoints](#sec-501) — the paid endpoint catalog and price overrides.-- [x402 revenue & receipts](#sec-502) — where settlements are recorded.-- [x402 ring economy](#sec-503) — the internal recirculation loop.-- [Pump platform fee](#sec-327) — the pump trade fee detail.-- [Coin-launch wallets](#sec-479) — launch-time wallet flow.+- [x402 endpoints](#sec-502) — the paid endpoint catalog and price overrides.+- [x402 revenue & receipts](#sec-503) — where settlements are recorded.+- [x402 ring economy](#sec-504) — the internal recirculation loop.+- [Pump platform fee](#sec-328) — the pump trade fee detail.+- [Coin-launch wallets](#sec-480) — launch-time wallet flow.- [Creator revenue splits](../api/_lib/cosmetics-economy.js) — `recordSaleAndSplit`: the cosmetic split math and its real USDC payout.- [Agent wallet custody](#sec-070) — how custodial keys are held.- [Solana signers runbook](../api/_lib/solana-signers.js) — signer/funder wallets + funding.@@ -62845,7 +63075,10 @@ The `formation` attribute controls avatar placement:Each `<agent-3d>` child keeps its own brain, memory, and chat chrome. Setting `brain="none"` gives an agent a live avatar with animations and emotions but no LLM — useful for characters that only react, or that you drive programmatically.-See the full working example at `/examples/two-agents.html`.+See the full working example:+[`examples/two-agents.html`](https://github.com/nirholas/three.ws/blob/main/examples/two-agents.html).+The `examples/` directory ships with the repo rather than the site, so run it+with `npm run dev` and open `http://localhost:3000/examples/two-agents.html`.---@@ -63107,7 +63340,9 @@ Running multiple LLM connections simultaneously is expensive, especially when mo## Walking through the example-Open `/examples/two-agents.html` to see a complete, runnable scene with real avatar files. Key things to notice:+Run `npm run dev` and open `http://localhost:3000/examples/two-agents.html`+([source](https://github.com/nirholas/three.ws/blob/main/examples/two-agents.html))+to see a complete, runnable scene with real avatar files. Key things to notice:1. **Single `<agent-stage>` with `formation="row"`** — both agents share one canvas and one WebGL context. No separate renderers.2. **Leo has a brain; Mira has `brain="none"`** — Leo drives the conversation; Mira is an avatar waiting to be spoken to. Her animations and emotions still run; her LLM does not.@@ -63334,7 +63569,7 @@ description: What three.ws may and may not show from a publisher's article, how# Publisher rights in the news reader-three.ws aggregates 191 crypto news feeds into [/markets/news](https://three.ws/markets/news), gives every story a permalink, and layers its own analysis on top (summary, key points, detected tickers with live prices, market context at publication, sentiment, related coverage).+three.ws aggregates every feed in its news source registry ([`api/_lib/news-sources.js`](../api/_lib/news-sources.js), just under 200 of them today) into [/markets/news](https://three.ws/markets/news), gives every story a permalink, and layers its own analysis on top (summary, key points, detected tickers with live prices, market context at publication, sentiment, related coverage).Aggregating headlines and linking out is lawful. Reproducing a publisher's article body under our own URL is not, however the text arrives — a scraped page, a reader proxy, or an RSS feed that ships the whole article in `content:encoded`. This page documents where that line sits and how it is enforced in code.@@ -63386,7 +63621,7 @@ The script rewrites each affected `gs://three-ws-news-archive/articles/<month>.jRights govern how *much* of a story we may show. Curation governs *which* stories appear at all. They are separate filters and live in separate files ([`api/_lib/news-curation.js`](../api/_lib/news-curation.js) is the curation one).-three.ws ingests ~190 feeds. Some are crypto-native — every article is on topic. Others are broad outlets (WSJ, CNBC, Seeking Alpha, the SEC, the Fed, world-news desks) that run crypto coverage *and* a great deal that isn't. We keep pulling the broad ones on purpose: their crypto reporting is high-value, and the macro and regulatory context enriches the archive and the agents' knowledge corpus. But a world-politics headline or a general-markets note should never land in a crypto feed.+Every registry feed is ingested. Some are crypto-native: every article is on topic. Others are broad outlets (WSJ, CNBC, Seeking Alpha, the SEC, the Fed, world-news desks) that run crypto coverage *and* a great deal that isn't. We keep pulling the broad ones on purpose: their crypto reporting is high-value, and the macro and regulatory context enriches the archive and the agents' knowledge corpus. But a world-politics headline or a general-markets note should never land in a crypto feed.So the human-facing feeds apply a display gate with two conditions:@@ -63702,7 +63937,7 @@ one click from the gear icon in both notification surfaces.## Related pages-- [The social layer](#sec-374): where notification events come from+- [The social layer](#sec-375): where notification events come fromand how they connect to the feed, follows, and portfolios.- [api/notifications/README.md](../api/notifications/README.md): theendpoint directory's own reference.@@ -63713,6 +63948,99 @@ one click from the gear icon in both notification surfaces.<a id="sec-289"></a>+> **Source:** `docs/nvidia-apps-catalog-listing.md` · [↑ table of contents](#table-of-contents)++# NVIDIA Accelerated Apps Catalog: three.ws listing kit++Everything needed to submit three.ws to the NVIDIA Inception Accelerated Apps Catalog. The form lives behind the Inception portal login (Portal > Profile > Add product), so this doc holds the copy, categories, links, and assets ready to paste. Submissions are reviewed by NVIDIA on a rolling basis; approval is subject to fit.++Related docs: [nvidia-inception.md](#sec-290) (membership overview), [nvidia-models.md](#sec-291) (full model map, the source of truth for every NVIDIA claim below).++---++## Core fields++**App name:** three.ws++**Company name:** three.ws++**Product URL:** https://three.ws++**Tagline:** Give your AI a body.++### Short description (about 130 characters)++> three.ws turns a sentence into a rigged, animated 3D AI agent. Every generation lane runs on NVIDIA GPUs and NVIDIA-hosted models.++### Medium description (about 500 characters)++> three.ws is a browser-native platform for generating 3D avatars, worlds, and AI agents from a prompt. Text, image, and sketch inputs become textured, auto-rigged GLB models in seconds, generated on a self-hosted fleet of NVIDIA L4 GPUs (Hunyuan3D, TRELLIS, TripoSG, TripoSR) and NVIDIA-hosted models via NIM. Agents get an LLM brain (Nemotron), a voice (Riva TTS and ASR), a face (Audio2Face-3D), on-chain identity, and pay-per-call x402 monetization, then embed on any website with one script tag.++### Long description (about 1,900 characters)++> three.ws is the AI-agent layer for the open web: a browser-native platform where anyone can build, embed, and monetize autonomous agents with real 3D bodies. Type a prompt at three.ws/forge and a textured 3D model appears in seconds; upload a photo or a sketch and it becomes a mesh; one more click auto-rigs it with a full skeleton and ARKit-52 blendshapes, ready to talk, walk, and be embedded anywhere with a single script tag. No plugins, no installs, no account required for the free lane.+>+> The entire generation stack runs on NVIDIA accelerated computing, in two layers. The self-hosted layer is a fleet of NVIDIA L4 GPU workers on Google Cloud Run running PyTorch with custom-compiled CUDA extensions and NVIDIA Kaolin: Hunyuan3D 2.1 and Microsoft TRELLIS for image-to-3D, TripoSG for sketch-to-3D, TripoSR for fast drafts, Make-It-Animatable for auto-rigging, Motion Diffusion Model for text-to-animation, and a video-to-point-cloud world scanner accelerated with FlashInfer. The Blackwell-generation RTX PRO 6000 path is validated with sm_120 kernel builds. The hosted layer is one NVIDIA API key wide: TRELLIS text-to-3D on NVCF, Nemotron LLMs for agent brains, NV-EmbedQA embeddings and Mistral reranking for agent memory, NemoGuard content safety on every public publish, Riva Magpie multilingual TTS and Riva ASR for voice, and Audio2Face-3D driving real-time facial animation in the browser.+>+> Around the bodies sits a full agent economy: on-chain identity (ERC-8004 on EVM, Metaplex Core on Solana), x402 pay-per-call so agents can charge for and pay for services autonomously, an MCP server exposing free text-to-3D to any AI assistant, and 60+ open npm SDKs. three.ws is an NVIDIA Inception member; the engineering field notes on running image-to-3D on L4 and Blackwell are published on the three.ws blog and the NVIDIA Developer Forums.++## Categories++Pick the closest available options in the form; the taxonomy varies.++- **Industry:** Media and Entertainment (alt: Gaming, Software/Internet)+- **Use case / workload:** Generative AI, 3D content creation, Digital humans / conversational AI, AI agents+- **App type:** SaaS / web application (browser-native, no install)++## NVIDIA technologies used++Every item below is live in production unless marked otherwise. Do not claim TensorRT, Triton, or self-hosted NIM microservices; the GPU workers are PyTorch + CUDA today (TensorRT-LLM is an Inception roadmap item).++- **NVIDIA L4 GPUs** (Google Cloud Run GPU) running the entire self-hosted 3D generation fleet: image-to-3D, sketch-to-3D, auto-rigging, text-to-motion, video-to-scene+- **CUDA** with custom-compiled extensions (nvdiffrast, diffoctreerast, diff-gaussian-rasterization, torchmcubes)+- **NVIDIA Kaolin** (TRELLIS worker)+- **FlashInfer** paged-KV-cache attention (video-to-scene worker)+- **NIM APIs** (integrate.api.nvidia.com): Nemotron Super and Nano LLMs, Nemotron Nano VL vision, NV-EmbedQA-E5-v5 embeddings, Mistral 4B reranking, NemoGuard 8B content safety+- **NVCF**: microsoft/trellis text-to-3D (the free default forge lane) and FLUX.1-schnell text-to-image+- **NVIDIA Riva**: Magpie multilingual TTS and Riva ASR over NVCF gRPC+- **NVIDIA Audio2Face-3D**: audio-driven ARKit blendshape facial animation, live at three.ws/demos/audio2face+- **RTX PRO 6000 Blackwell**: validated (sm_120 builds) for the heavy image-to-3D lane; not the default production GPU++## Links for the form++- Product: https://three.ws+- Live demo, no signup: https://three.ws/forge (text-to-3D) and https://three.ws/ar (one-tap AR)+- Audio2Face demo: https://three.ws/demos/audio2face+- Docs: https://three.ws/docs+- NVIDIA integration map: https://three.ws/docs/nvidia-models+- Engineering blog (L4 + Blackwell): https://three.ws/blog/image-to-3d-on-nvidia-l4-and-blackwell+- NVIDIA Developer Forums post: https://forums.developer.nvidia.com/t/how-nemotron-made-three-ws-text-to-3d-pipeline-usable/376445+- GitHub: https://github.com/nirholas/three.ws+- X: https://x.com/trythreews++## Assets to upload++All in the repo, web-ready:++- Logo mark: `public/brand/three-ws-mark.png` (also `public/three.svg` for vector)+- Lockups: `public/brand/three-ws-lockup-on-dark.png`, `public/brand/three-ws-lockup-on-light.png`+- Social/OG image: `public/og-image.png`+- Full press kit: `public/brand/three-ws-press-kit.zip`+- Screenshots: capture live from https://three.ws/forge (generation in progress plus result), https://three.ws/agora (3D world), and https://three.ws/character-library (rigged character grid) at 1920x1080++## Submission checklist++1. Log in to the Inception portal, go to Profile, then Add product.+2. Paste the core fields above; use the description length the form allows (short, medium, or long).+3. Select categories per the Categories section, adjusting to the form's actual taxonomy.+4. Check every NVIDIA technology the form offers that appears in the list above; check nothing that does not.+5. Upload the logo mark and OG image; add screenshots if the form accepts them.+6. Submit. Listings are reviewed on a rolling basis; note the submission date in this doc when done.++---++<a id="sec-290"></a>+> **Source:** `docs/nvidia-inception.md` · [↑ table of contents](#table-of-contents)# NVIDIA Inception membership@@ -63756,7 +64084,7 @@ Membership is a startup program, not a partnership or an investment: NVIDIA revi----<a id="sec-290"></a>+<a id="sec-291"></a>> **Source:** `docs/nvidia-models.md` · [↑ table of contents](#table-of-contents)@@ -63963,7 +64291,7 @@ The free NVIDIA TTS lane: **Magpie multilingual on Riva**, selected by an NVCF `----<a id="sec-291"></a>+<a id="sec-292"></a>> **Source:** `docs/nvidia-nemotron-spotlight.md` · [↑ table of contents](#table-of-contents)@@ -64116,11 +64444,11 @@ Build the small stuff. Put it in front. The generator was never the hard part.----*three.ws is a browser-native platform for generating 3D avatars, worlds, and agents from a sentence. The text-to-3D lane described here is free and open: no key, no account. Our full NVIDIA model map lives in [`docs/nvidia-models.md`](#sec-290), and the pipeline internals are in [`docs/3d-asset-pipeline.md`](#sec-002). three.ws joined the [NVIDIA Inception program](#sec-289) in July 2026; the companion engineering post on our own GPU fleet is [Image-to-3D on NVIDIA L4 and Blackwell](https://three.ws/blog/image-to-3d-on-nvidia-l4-and-blackwell).*+*three.ws is a browser-native platform for generating 3D avatars, worlds, and agents from a sentence. The text-to-3D lane described here is free and open: no key, no account. Our full NVIDIA model map lives in [`docs/nvidia-models.md`](#sec-291), and the pipeline internals are in [`docs/3d-asset-pipeline.md`](#sec-002). three.ws joined the [NVIDIA Inception program](#sec-290) in July 2026; the companion engineering post on our own GPU fleet is [Image-to-3D on NVIDIA L4 and Blackwell](https://three.ws/blog/image-to-3d-on-nvidia-l4-and-blackwell).*----<a id="sec-292"></a>+<a id="sec-293"></a>> **Source:** `docs/object-library.md` · [↑ table of contents](#table-of-contents)@@ -64147,7 +64475,7 @@ Each card renders the object live in an auto-rotating `<model-viewer>` (with the| Button | Destination | What you get ||---|---|---|-| **Preview** | `/app#model=<glb-url>&kind=object&title=<name>` | The full three.js [3D viewer](#sec-488) in object mode (no agent chat; Restyle, AR, and Download affordances instead) |+| **Preview** | `/app#model=<glb-url>&kind=object&title=<name>` | The full three.js [3D viewer](#sec-489) in object mode (no agent chat; Restyle, AR, and Download affordances instead) || **AR** | `/ar/studio?src=<glb-url>&title=<name>` | [AR Studio](#sec-096): place the prop in your real space through the camera (see [AR & WebXR](#sec-097) for how the AR handoff works per device) || **Download** | The GLB URL directly | The raw GLB file, CC0, yours to use anywhere |@@ -64231,11 +64559,11 @@ The gallery and API are read-only consumers of a manifest built by a local pipel- [Character Library](#sec-132): the rigged, animation-ready counterpart to this library.- [AR & WebXR](#sec-097): the device-by-device AR methods behind the AR button.- [AR Studio](#sec-096): the `/ar/studio` surface the AR button opens, including multi-object rooms.-- [3D Viewer](#sec-488): the `/app` engine the Preview button opens in object mode.+- [3D Viewer](#sec-489): the `/app` engine the Preview button opens in object mode.----<a id="sec-293"></a>+<a id="sec-294"></a>> **Source:** `docs/okx-marketplace.md` · [↑ table of contents](#table-of-contents)@@ -64247,7 +64575,7 @@ payment challenge, pay in stablecoins on X Layer (or USDC on our other x402 railthe artifact. Our marketplace listing is agent **#2632 "three.ws 3D Studio"**.> Related: [REST API Reference](#sec-094) · [MCP servers](#sec-272) ·-> [x402 payments](#sec-506) · seller-side protocol spec: [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md)+> [x402 payments](#sec-507) · seller-side protocol spec: [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md)The **single source of truth** for every service (names, 2-part OKX descriptions, prices,endpoints, input schemas) is [`api/_lib/okx-catalog.js`](../api/_lib/okx-catalog.js), the@@ -64503,7 +64831,7 @@ USDC rails. The wire format OKX buyers use (headers `PAYMENT-REQUIRED` /----<a id="sec-294"></a>+<a id="sec-295"></a>> **Source:** `docs/onboarding-tier.md` · [↑ table of contents](#table-of-contents)@@ -64517,7 +64845,7 @@ promise (make a 3D avatar, give it a brain, put it on your site) was competing fattention with a trading terminal.The onboarding tier fixes that without deleting anything. A first-time visitor gets-the **lite** tier: the ~27 destinations and the handful of homepage sections that+the **lite** tier: the ~28 destinations and the handful of homepage sections thatcarry the core journey. Everything else is one click away behind a labelled control,and once a visitor asks for it, it stays open on every page and every visit.@@ -64529,9 +64857,9 @@ and once a visitor asks for it, it stays open on every page and every visit.| Surface | Lite tier | Full tier || --- | --- | --- |-| Nav menus | Build, Discover, Learn (~27 links) | + Launch (~115 links in all) |+| Nav menus | Build, Discover, Learn (~28 links) | + Launch (~119 links in all) || Homepage | Hero, start path, Forge, embed demo, the three doors, community, pose, AR, showcase | + trading, capabilities grid, token economy, live economy, Oracle, pay-per-call, developer platform, the stack |-| Mobile drawer | the same ~27 destinations in one flat list | all ~115 |+| Mobile drawer | the same ~28 destinations in one flat list | all ~119 |Directly under the homepage hero sits the **start path**: three steps, each with anhonest time estimate, in the order the product actually works.@@ -64650,17 +64978,17 @@ drift silently, since the four files involved have no import edge between them:- [`public/nav-data.js`](../public/nav-data.js) — the single source of truth for every menu- [`STRUCTURE.md`](../STRUCTURE.md) — where every product surface lives-- [`docs/start-here.md`](#sec-382) — the same journey, written for a human rather than a maintainer+- [`docs/start-here.md`](#sec-383) — the same journey, written for a human rather than a maintainer----<a id="sec-295"></a>+<a id="sec-296"></a>> **Source:** `docs/onchain-agents.md` · [↑ table of contents](#table-of-contents)# Deploying Agents On-Chain (Bulk)-Give every three.ws agent a real on-chain identity: a **Metaplex Core NFT** minted into the **three.ws Agents collection** on Solana. This page is for platform admins and self-hosters; regular users register a single agent through the wallet-signed flow instead. It is the bulk/admin counterpart to the single-agent, user-signed flow in [Solana agents](#sec-377): it deploys many agents server-side, with a live recording dashboard at `/admin/bulk-launch` and a CLI runner.+Give every three.ws agent a real on-chain identity: a **Metaplex Core NFT** minted into the **three.ws Agents collection** on Solana. This page is for platform admins and self-hosters; regular users register a single agent through the wallet-signed flow instead. It is the bulk/admin counterpart to the single-agent, user-signed flow in [Solana agents](#sec-378): it deploys many agents server-side through a CLI runner that reports every mint as it lands.> Not pump.fun. These are NFTs (on-chain identity), not tokens. The only coin three.ws ever references is `$THREE`; it appears in each asset's metadata as a link, nothing more.@@ -64723,7 +65051,7 @@ Every agent is minted **into** a single Metaplex Core *collection* account, "thr2. **DB** — the `app_settings` table, key `solana_agent_collection_<network>`.3. **Deploy** — first run with neither set deploys the collection (funded + signed by the authority), then persists its address to `app_settings`.-> After the first run, set `SOLANA_AGENT_COLLECTION_MAINNET=<address>` in your environment so the single-agent flow in [Solana agents](#sec-377) mints into the *same* collection.+> After the first run, set `SOLANA_AGENT_COLLECTION_MAINNET=<address>` in your environment so the single-agent flow in [Solana agents](#sec-378) mints into the *same* collection.---@@ -64876,7 +65204,7 @@ registration runs through the CLI runner only`api/_lib/onchain-deploy.js` functions the dashboard did, so assets mintedbefore and after the removal are identical.-## Tutorial 4 — The full fleet+## Tutorial 3: The full fleetOnce the canary checks out and the funder holds enough SOL (~0.004 × N):@@ -64886,7 +65214,10 @@ node --env-file=.env scripts/deploy-agents-onchain.mjs --limit 500 --confirm# …re-run until "Found 0 agent(s)". Re-runs are safe.```-…or set **Agents per run = 500** on the dashboard and click Deploy, repeating until none remain. Run on **production** if you want per-agent ownership for wallet-less agents (see [Custody model](#custody-model)).+`--limit` is clamped to 500 per run, so a larger fleet is several runs of the+same command; already-deployed agents are skipped, so re-running is safe and+costs nothing extra. Run on **production** if you want per-agent ownership for+wallet-less agents (see [Custody model](#custody-model)).---@@ -64927,14 +65258,14 @@ A confirmed canary asset shows `inCollection=true`, `royalty=500bps`, `attrs=11`## See also-- [Solana agents](#sec-377) — the single-agent, user-signed registration flow.+- [Solana agents](#sec-378) — the single-agent, user-signed registration flow.- [ERC-8004](#sec-182) — the EVM on-chain identity path.- [Agent manifest](#sec-053) — the metadata schema.- [Mint mark ("3ws")](#sec-277) — vanity marking for three.ws launches.----<a id="sec-296"></a>+<a id="sec-297"></a>> **Source:** `docs/openai-pr/00-START-HERE.md` · [↑ table of contents](#table-of-contents)@@ -64977,13 +65308,13 @@ the specific gaps that would fail review or embarrass us in front of OpenAI.| # | Brief | Priority | Blocks submit? || --- | --- | --- | --- |-| 01 | [Resolve the orphaned studio-viewer widget](#sec-297) | P0 | Done 2026-07-18 (Option A: deleted) |-| 02 | [Reconcile the served `.well-known` manifests with the zero-payment claim](#sec-298) | P0 | Yes (reviewer-discoverable crypto surface) |-| 03 | [Make the `forge_free` tier story true everywhere](#sec-299) | P1 | Yes (submission doc contradicts code) |-| 04 | [Close the test gaps on the ChatGPT-facing surface](#sec-300) | P1 | No, but required for "done" |-| 05 | [Serve the custom-GPT OpenAPI and align legal URLs](#sec-301) | P1 | Partial |-| 06 | [Fix doc accuracy and reconcile the tool-count story](#sec-302) | P1 | No |-| 07 | [Final live verification and submit checklist](#sec-303) | P2 (runs last) | Yes (the actual go/no-go) |+| 01 | [Resolve the orphaned studio-viewer widget](#sec-298) | P0 | Done 2026-07-18 (Option A: deleted) |+| 02 | [Reconcile the served `.well-known` manifests with the zero-payment claim](#sec-299) | P0 | Yes (reviewer-discoverable crypto surface) |+| 03 | [Make the `forge_free` tier story true everywhere](#sec-300) | P1 | Yes (submission doc contradicts code) |+| 04 | [Close the test gaps on the ChatGPT-facing surface](#sec-301) | P1 | No, but required for "done" |+| 05 | [Serve the custom-GPT OpenAPI and align legal URLs](#sec-302) | P1 | Partial |+| 06 | [Fix doc accuracy and reconcile the tool-count story](#sec-303) | P1 | No |+| 07 | [Final live verification and submit checklist](#sec-304) | P2 (runs last) | Yes (the actual go/no-go) |Run 02 and 03 first of what remains (01 is already done; they change code and docs the later tasks depend on). 04, 05,06 can run in parallel after. 07 runs last, after everything else is merged.@@ -65031,7 +65362,7 @@ These are non-negotiable and OVERRIDE any default behavior:----<a id="sec-297"></a>+<a id="sec-298"></a>> **Source:** `docs/openai-pr/01-orphan-widget-resolution.md` · [↑ table of contents](#table-of-contents)@@ -65039,7 +65370,7 @@ These are non-negotiable and OVERRIDE any default behavior:> **Resolved 2026-07-18 via Option A** in commit `19c379125` ("Refactor apps-sdk studio viewer and update OpenAI store submission"): `apps-sdk/studio-viewer/src.js`, `scripts/build-apps-sdk-viewer.mjs`, the `build:apps-sdk-viewer` entry in `package.json`, and both generated artifacts under `public/apps-sdk/` were deleted, and `apps-sdk/README.md` plus `ARCHITECTURE.md` were rewritten to point at the real widget (`api/_mcp-studio/component.js`, resource `ui://widget/three-studio-model.html`). `STRUCTURE.md` never referenced the orphan, so it needed no change. Kept as the record of the finding; the file links below point at the now-deleted paths and are left as plain code references.-Read [`00-START-HERE.md`](#sec-296) first for the shared rules and the map.+Read [`00-START-HERE.md`](#sec-297) first for the shared rules and the map.## The problem (verified, with evidence)@@ -65159,13 +65490,13 @@ fetches from** (three.ws, the R2 storage origin, and the CDN if used). Match wha----<a id="sec-298"></a>+<a id="sec-299"></a>> **Source:** `docs/openai-pr/02-wellknown-manifest-conflict.md` · [↑ table of contents](#table-of-contents)# Task 02 — Reconcile the served `.well-known` manifests with the zero-payment claim (P0)-Read [`00-START-HERE.md`](#sec-296) first. **This task touches a manifest+Read [`00-START-HERE.md`](#sec-297) first. **This task touches a manifestthat references crypto/x402. The commit gate in `00-START-HERE.md` rule 7 applies:do the work, but do NOT commit anything that references a non-$THREE crypto projectwithout explicit owner approval. Flag it in your report instead.**@@ -65280,13 +65611,13 @@ manifest layer. Recommended approach (implement this unless you find it wrong):----<a id="sec-299"></a>+<a id="sec-300"></a>> **Source:** `docs/openai-pr/03-forge-free-tier-truth.md` · [↑ table of contents](#table-of-contents)# Task 03 — Make the `forge_free` tier story true everywhere (P1, blocks submit)-Read [`00-START-HERE.md`](#sec-296) first.+Read [`00-START-HERE.md`](#sec-297) first.## The problem (verified, with evidence)@@ -65382,13 +65713,13 @@ and a doc claiming it works.----<a id="sec-300"></a>+<a id="sec-301"></a>> **Source:** `docs/openai-pr/04-openai-surface-test-coverage.md` · [↑ table of contents](#table-of-contents)# Task 04 — Close the test gaps on the ChatGPT-facing surface (P1)-Read [`00-START-HERE.md`](#sec-296) first.+Read [`00-START-HERE.md`](#sec-297) first.## The problem@@ -65468,13 +65799,13 @@ exported per the file). Use an existing JSON-schema/OpenAPI validator already in----<a id="sec-301"></a>+<a id="sec-302"></a>> **Source:** `docs/openai-pr/05-custom-gpt-openapi-serving.md` · [↑ table of contents](#table-of-contents)# Task 05 — Serve the custom-GPT OpenAPI and align legal URLs (P1)-Read [`00-START-HERE.md`](#sec-296) first. Coordinate with Task 02 (the+Read [`00-START-HERE.md`](#sec-297) first. Coordinate with Task 02 (theserved schema must be payment-free) and Task 04 (a contract test binds to it).## The problem (verified, with evidence)@@ -65557,13 +65888,13 @@ be normalized to one canonical form.----<a id="sec-302"></a>+<a id="sec-303"></a>> **Source:** `docs/openai-pr/06-docs-accuracy-reconciliation.md` · [↑ table of contents](#table-of-contents)# Task 06 — Fix doc accuracy and reconcile the tool-count story (P1)-Read [`00-START-HERE.md`](#sec-296) first. This task cleans up the+Read [`00-START-HERE.md`](#sec-297) first. This task cleans up thedocumentation drift the audit found, EXCEPT the two docs owned by other tasks(`apps-sdk/README.md` was Task 01, already landed on 2026-07-18; the `forge_free` tierclaim is Task 03). Do not fight those tasks for those specific edits; coordinate.@@ -65639,13 +65970,13 @@ claim is Task 03). Do not fight those tasks for those specific edits; coordinate----<a id="sec-303"></a>+<a id="sec-304"></a>> **Source:** `docs/openai-pr/07-final-verification-and-submit.md` · [↑ table of contents](#table-of-contents)# Task 07 — Final live verification and submit checklist (P2, runs last)-Read [`00-START-HERE.md`](#sec-296) first. **Run this only after tasks+Read [`00-START-HERE.md`](#sec-297) first. **Run this only after tasks01-06 are merged.** This is the go/no-go gate before the app is submitted to OpenAI.## Purpose@@ -65733,7 +66064,7 @@ go/no-go report. Do not submit; prepare so the human's final submit is one actio----<a id="sec-304"></a>+<a id="sec-305"></a>> **Source:** `docs/oracle.md` · [↑ table of contents](#table-of-contents)@@ -66082,7 +66413,7 @@ The more data we watch, the sharper every score. Oracle is live now.----<a id="sec-305"></a>+<a id="sec-306"></a>> **Source:** `docs/overlay-audit.md` · [↑ table of contents](#table-of-contents)@@ -66224,7 +66555,7 @@ guaranteed.----<a id="sec-306"></a>+<a id="sec-307"></a>> **Source:** `docs/package-extraction.md` · [↑ table of contents](#table-of-contents)@@ -66343,7 +66674,7 @@ part of the extraction itself — extract and publish first, swap the import lat----<a id="sec-307"></a>+<a id="sec-308"></a>> **Source:** `docs/partners.md` · [↑ table of contents](#table-of-contents)@@ -66351,7 +66682,7 @@ part of the extraction itself — extract and publish first, swap the import lat`three.ws/partners` is the public map of the cloud, AI, hardware, infrastructure, and media programmes three.ws takes part in. This doc is the developer-facing companion to that page: for each surface it says what the integration actually **is**, at the status the page and the per-partner docs claim, and links the doc that goes deeper.-Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquiries go to **[email protected]** (the page's "Become a partner" call to action). Press and brand requests go to **[email protected]**, covered in [Press kit](#sec-321).+Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquiries go to **[email protected]** (the page's "Become a partner" call to action). Press and brand requests go to **[email protected]**, covered in [Press kit](#sec-322).**Read the status labels literally.** Each card carries a one-word tier chip that is a category, not a rank: Select Partner, Strategic, Cloud, Inception, Media, Infrastructure. Nothing on the page grants an endorsement, and several of the docs below carry explicit "this is not an endorsement" language that must survive any rewrite.@@ -66361,14 +66692,14 @@ Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquir| Partner | Chip on the card | Card links to | Deeper docs ||---|---|---|---|-| OpenAI | Select Partner | `/openai` | [MCP 3D Studio (free)](#sec-269), [3D Studio (paid)](#sec-266), [Custom GPT config](#sec-134), [AR in ChatGPT](#sec-135), [Spatial MCP](#sec-378) |+| OpenAI | Select Partner | `/openai` | [MCP 3D Studio (free)](#sec-269), [3D Studio (paid)](#sec-266), [Custom GPT config](#sec-134), [AR in ChatGPT](#sec-135), [Spatial MCP](#sec-379) || IBM | Strategic | `/blog/three-ws-ibm-business-partner` | [IBM watsonx and Granite](#sec-246), [IBM Granite x402 MCP](#sec-245) || Amazon Web Services | Cloud | `/aws` | [AWS Marketplace](#sec-120), [listing kit](#sec-119), [partner spotlight](#sec-121) || Google Cloud | Cloud | `/blog/three-ws-google-cloud-partnership` | [Production runbook](ops/gcp-production.md), [credits plan](ops/gcp-credits-plan.md), [model workers](ops/gcp-model-workers.md) || Alibaba Cloud | Cloud | `/blog/three-ws-alibaba-cloud-partnership` | [Listings and distribution](#sec-260), [the model router](#sec-126) |-| NVIDIA | Inception | `/docs/nvidia-inception` | [NVIDIA Inception](#sec-289), [NVIDIA models](#sec-290), [Nemotron spotlight](#sec-291) |-| HackerNoon | Media | `/blog/three-ws-hackernoon-partnership` | [Syndication](#sec-385), [Listings and distribution](#sec-260) |-| Quicknode | Infrastructure | `/blog/three-ws-quicknode-startup-program` | [Solana integration](#sec-377), [Listings and distribution](#sec-260) |+| NVIDIA | Inception | `/docs/nvidia-inception` | [NVIDIA Inception](#sec-290), [NVIDIA models](#sec-291), [Nemotron spotlight](#sec-292) |+| HackerNoon | Media | `/blog/three-ws-hackernoon-partnership` | [Syndication](#sec-386), [Listings and distribution](#sec-260) |+| Quicknode | Infrastructure | `/blog/three-ws-quicknode-startup-program` | [Solana integration](#sec-378), [Listings and distribution](#sec-260) |The page's stat bar reads 8 partners, 22 chains, and an infinity glyph for scale. It is marked `aria-hidden` and is decorative framing, not a metric to quote.@@ -66384,9 +66715,9 @@ The page's stat bar reads 8 partners, 22 chains, and an infinity glyph for scale- **The paid sibling** at `https://three.ws/api/mcp-3d` is a separate server with rigging, animation, retexturing, and analysis, authenticated by OAuth 2.1 or paid per call over x402. It shares none of the keyless server's surface. See [3D Studio MCP](#sec-266).- **The custom GPT** in the GPT Store calls an Actions contract served from `/.well-known/3d-studio-openapi.yaml`. Its builder configuration is checked in, because the GPT itself is configured by hand: [Custom GPT config](#sec-134).- **AR handoff** works from any of these: every generation carries a place-in-your-room link, and the whole pipeline is public and keyless rather than ChatGPT-exclusive. See [AR in ChatGPT](#sec-135).-- **Spatial MCP** is the open, CC0 response shape that makes a 3D scene a native MCP result instead of a URL in text. three.ws is the reference implementation; the shape is renderer-agnostic and carries no payment, wallet, or coin surface. See [Spatial MCP](#sec-378).+- **Spatial MCP** is the open, CC0 response shape that makes a 3D scene a native MCP result instead of a URL in text. three.ws is the reference implementation; the shape is renderer-agnostic and carries no payment, wallet, or coin surface. See [Spatial MCP](#sec-379).-**Saying it correctly.** Write the status as "OpenAI Select Partner". three.ws is an independent member of the network at the Select tier: not an OpenAI product, and not endorsed by OpenAI beyond the partner designation. Badge rules, the required independence line, and every asset are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md); the graphics cleared for editorial use are in [Press kit](#sec-321). The pre-submission verification pack is [`docs/openai-pr/00-START-HERE.md`](#sec-296).+**Saying it correctly.** Write the status as "OpenAI Select Partner". three.ws is an independent member of the network at the Select tier: not an OpenAI product, and not endorsed by OpenAI beyond the partner designation. Badge rules, the required independence line, and every asset are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md); the graphics cleared for editorial use are in [Press kit](#sec-322). The pre-submission verification pack is [`docs/openai-pr/00-START-HERE.md`](#sec-297).---@@ -66445,10 +66776,10 @@ Do not resolve that spread by picking the strongest claim. If you need one sente**What the integration is.** Two distinct things, and the docs keep them distinct:-- **Inception membership**, accepted July 2026. [NVIDIA Inception](#sec-289) states what membership adds (GPU credits, hardware access, engineering support) and where it shows up in the product.-- **The free hosted inference lane.** A large share of platform AI runs on NVIDIA-hosted models unlocked by a single `NVIDIA_API_KEY`, a rate-limited free tier with no per-model billing and no SLA, which is why the platform always keeps a fallback behind it. [NVIDIA models](#sec-290) is the canonical map of which model does what and where it is wired. Membership does not change that lane; it is how the platform scales past free-tier limits without giving up the free-first design.+- **Inception membership**, accepted July 2026. [NVIDIA Inception](#sec-290) states what membership adds (GPU credits, hardware access, engineering support) and where it shows up in the product.+- **The free hosted inference lane.** A large share of platform AI runs on NVIDIA-hosted models unlocked by a single `NVIDIA_API_KEY`, a rate-limited free tier with no per-model billing and no SLA, which is why the platform always keeps a fallback behind it. [NVIDIA models](#sec-291) is the canonical map of which model does what and where it is wired. Membership does not change that lane; it is how the platform scales past free-tier limits without giving up the free-first design.-[Nemotron spotlight](#sec-291) is a published community piece on building the text-to-3D pipeline on NIM. It is a developer-blog showcase, not a partnership document.+[Nemotron spotlight](#sec-292) is a published community piece on building the text-to-3D pipeline on NIM. It is a developer-blog showcase, not a partnership document.---@@ -66456,7 +66787,7 @@ Do not resolve that spread by picking the strongest claim. If you need one sente**What the page claims.** A builder-focused publishing partnership: feature articles, tutorials, and developer guides for people shipping with AI, published to HackerNoon's developer audience. Card tags: Publishing, Developer content.-**What the integration is.** Mechanical, and worth knowing if you write posts here: HackerNoon auto-imports from `https://three.ws/rss/announcements.xml`, polls roughly hourly, pulls every new item into the drafts queue, and publishes with canonical URLs pointing back to three.ws. There is no per-post action. Setup steps and the author-profile claim flow are in [Syndication](#sec-385); the listing row is in [Listings and distribution](#sec-260).+**What the integration is.** Mechanical, and worth knowing if you write posts here: HackerNoon auto-imports from `https://three.ws/rss/announcements.xml`, polls roughly hourly, pulls every new item into the drafts queue, and publishes with canonical URLs pointing back to three.ws. There is no per-post action. Setup steps and the author-profile claim flow are in [Syndication](#sec-386); the listing row is in [Listings and distribution](#sec-260).---@@ -66464,7 +66795,7 @@ Do not resolve that spread by picking the strongest claim. If you need one sente**What the page claims.** three.ws is a member of the Quicknode Startup Program with approved infrastructure credits. Quicknode's globally distributed RPC endpoints add capacity and redundancy to the chain access behind agent wallets, x402 settlement verification, and live Solana market data. Card tags: Solana RPC, Streams, Multi-chain. [`docs/listings.md`](#sec-260) records the programme as **accepted (2026-07)** with approved free infrastructure credits.-**What the integration is.** A rung in the Solana RPC failover chain, not the whole chain. Server-side calls build a chain across an explicit primary, keyed providers, operator-supplied fallbacks, keyless public endpoints, and a paid reserve tried last, rotating past anything rate-limited. [Solana integration](#sec-377) documents it, including the trap that matters operationally: never name the same endpoint as both the primary and the last-resort reserve, because the chain dedupes by URL and keeps the first occurrence, so the "reserve" silently absorbs all traffic.+**What the integration is.** A rung in the Solana RPC failover chain, not the whole chain. Server-side calls build a chain across an explicit primary, keyed providers, operator-supplied fallbacks, keyless public endpoints, and a paid reserve tried last, rotating past anything rate-limited. [Solana integration](#sec-378) documents it, including the trap that matters operationally: never name the same endpoint as both the primary and the last-resort reserve, because the chain dedupes by URL and keeps the first occurrence, so the "reserve" silently absorbs all traffic.---@@ -66486,14 +66817,14 @@ The page closes with four reasons, useful as the short pitch when someone asks:## Related-- [Press kit](#sec-321): marks, announcement graphics, boilerplate, and the rules for all of it+- [Press kit](#sec-322): marks, announcement graphics, boilerplate, and the rules for all of it- [Listings and distribution](#sec-260): marketplaces, ecosystem directories, and media partners with per-listing status- [Integrations](#sec-250): the catalog of ways to put an agent on a site you do not control-- [x402](#sec-506): the payment rail behind the agent-to-agent micropayments every partner surface references+- [x402](#sec-507): the payment rail behind the agent-to-agent micropayments every partner surface references----<a id="sec-308"></a>+<a id="sec-309"></a>> **Source:** `docs/partners/sperax-proposal.md` · [↑ table of contents](#table-of-contents)@@ -66541,7 +66872,7 @@ Both sides already ship for a living — this proposal only asks each of us to d----<a id="sec-309"></a>+<a id="sec-310"></a>> **Source:** `docs/pay-skills-listing.md` · [↑ table of contents](#table-of-contents)@@ -66642,7 +66973,7 @@ are supported.----<a id="sec-310"></a>+<a id="sec-311"></a>> **Source:** `docs/payment-sessions.md` · [↑ table of contents](#table-of-contents)@@ -67090,13 +67421,13 @@ curl -s $BASE/api/credits -H "$AUTH" | jq .balance_usd## Related-- [x402 Protocol](#sec-506): the challenge / verify / settle mechanics behind every paid call.-- [x402 Buyer Client](#sec-498): paying x402 endpoints from your own wallet instead of a session.-- [x402 Developer Tools](#sec-499): free echo / debug / receipt-verification tools for debugging a paid call.+- [x402 Protocol](#sec-507): the challenge / verify / settle mechanics behind every paid call.+- [x402 Buyer Client](#sec-499): paying x402 endpoints from your own wallet instead of a session.+- [x402 Developer Tools](#sec-500): free echo / debug / receipt-verification tools for debugging a paid call.----<a id="sec-311"></a>+<a id="sec-312"></a>> **Source:** `docs/permissions.md` · [↑ table of contents](#table-of-contents)@@ -67324,7 +67655,12 @@ await fetch('/api/permissions/revoke', {## The permissions API-All routes are under `/api/permissions/`. Responses use `{ ok: true, ... }` on success and `{ ok: false, error: '<code>', message: '...' }` on failure.+All routes are under `/api/permissions/`. Responses use `{ ok: true, ... }` on success. Failures use the platform's standard error envelope, `{ error: '<code>', error_description: '...' }`:++```sh+curl -s 'https://three.ws/api/permissions/verify?hash=0x00&chainId=84532'+# → {"error":"validation_error","error_description":"hash must be 0x + 64 hex chars"}+```| Method | Path | Auth | Description ||--------|------|------|-------------|@@ -67409,7 +67745,7 @@ The skill registry uses this declaration to show users what a skill needs before## Error codes-All error codes are OAuth-style strings returned as `error` in the `{ ok: false, error, message }` response shape:+All error codes are OAuth-style strings. Over HTTP they arrive as `error` in the `{ error, error_description }` envelope above; from the browser helper `redeemFromSkill` they arrive as `code` in `{ ok: false, code, message }`:| Code | When | Recovery ||------|------|----------|@@ -67469,14 +67805,14 @@ Set `SMOKE_SKIP_REVOKE=1` to skip the on-chain revocation step if the test walle- [Architecture Overview](#sec-098)- [Agent System](#sec-062)- [ERC-8004 Blockchain Identity](#sec-182)-- [Skill System](#sec-370)+- [Skill System](#sec-371)- [EIP-7710](https://eips.ethereum.org/EIPS/eip-7710) — delegation envelope format- [EIP-7715](https://eips.ethereum.org/EIPS/eip-7715) — `wallet_grantPermissions` JSON-RPC method- [MetaMask Delegation Toolkit](https://docs.metamask.io/delegation-toolkit/)----<a id="sec-312"></a>+<a id="sec-313"></a>> **Source:** `docs/persona-hub.md` · [↑ table of contents](#table-of-contents)@@ -67873,7 +68209,7 @@ JWT claims:----<a id="sec-313"></a>+<a id="sec-314"></a>> **Source:** `docs/plan-checkout.md` · [↑ table of contents](#table-of-contents)@@ -68000,7 +68336,7 @@ Plan prices live in [api/payments/_config.js](../api/payments/_config.js) (`PLAN----<a id="sec-314"></a>+<a id="sec-315"></a>> **Source:** `docs/play-boot-performance.md` · [↑ table of contents](#table-of-contents)@@ -68010,7 +68346,7 @@ Plan prices live in [api/payments/_config.js](../api/payments/_config.js) (`PLANThat work is unavoidable. What *is* avoidable is paying for it at the wrong moment. This document records the boot-cost invariants that keep the first ten seconds fast, so a future change does not quietly undo one of them. Each section names the regression it prevents, because each of them actually shipped once and was measured on the live site.-Related docs: [how /play stays safe, honest, and light](#sec-316), [architecture](#sec-098).+Related docs: [how /play stays safe, honest, and light](#sec-317), [architecture](#sec-098).## How to measure before you claim anything@@ -68103,7 +68439,7 @@ Before shipping anything that touches `/play` boot:----<a id="sec-315"></a>+<a id="sec-316"></a>> **Source:** `docs/play-forge-in-world.md` · [↑ table of contents](#table-of-contents)@@ -68210,7 +68546,7 @@ layer, ownership checks, and the per-player object cap all apply without modific----<a id="sec-316"></a>+<a id="sec-317"></a>> **Source:** `docs/play-hardening.md` · [↑ table of contents](#table-of-contents)@@ -68226,7 +68562,7 @@ It is also the surface with the least trusted input. Its entry URL is a link strEvery part of that URL, every display name a peer picks, and every field of the pump.fun coin metadata is text an attacker chose. This document records the invariants that keep the world safe and honest, so that a future change does not quietly undo one of them. Each section names the failure it prevents, because each of these actually shipped once.-Related docs: [in-game economy](#sec-248), [architecture](#sec-098), [security](#sec-361).+Related docs: [in-game economy](#sec-248), [architecture](#sec-098), [security](#sec-362).---@@ -68409,7 +68745,7 @@ The vehicle teleport clamp allowed a fixed displacement *per `vsync` message*, sEvery world interaction gates on the server's authoritative position: fishing spots, the wheel, quest zones, loot reach, vehicle entry, and now `ball:kick`, which had no proximity check and let anyone in the district drive the shared ball.-Read-only request handlers are rate limited too. `storeReq`, `boutiqueReq`, `profileReq`, `questReq`, and `spinInfo` each had a declared bucket in `ACTION_RATES` that nothing consulted. `questReq` is the expensive one: it rebuilds the whole mission registry per call, so an unbounded loop from one client was a self-service denial of service against every player in that room.+Read-only request handlers are rate limited too. `store`, `boutique`, `profile`, `questBoard`, and `spinInfo` each had a declared bucket in `ACTION_RATES` ([multiplayer/src/rooms/WalkRoom.js](../multiplayer/src/rooms/WalkRoom.js)) that nothing consulted. `questBoard` is the expensive one: it runs `boardOffers` over the whole mission registry per call, so an unbounded loop from one client was a self-service denial of service against every player in that room.## 11. A value that is not an image never reaches an image sink@@ -68476,7 +68812,7 @@ The mobile harness is the one that catches memory regressions. It reports total----<a id="sec-317"></a>+<a id="sec-318"></a>> **Source:** `docs/play-live-events.md` · [↑ table of contents](#table-of-contents)@@ -68489,9 +68825,15 @@ when each segment starts, and a synchronized fireworks show everyone watchestogether.Everything below is driven by one file, `public/event.json`.-Edit it, redeploy, and the event exists. Delete it and the world goes back to+Create it, redeploy, and the event exists. Delete it and the world goes back tonormal with no code change and no dead pixels.+**The repo ships without that file, and that is the resting state.** No event is+scheduled right now, so `/event.json` answers 404, every surface below mounts+nothing, and the world runs as a plain world. Scheduling an event means writing+the file; ending one means deleting it again. Nothing in this document is live+until that file exists.+- **Surface:** `/play`, in the `$THREE` home town only (`isHomeTown()`).- **Modules:** [`src/game/meetup-event.js`](../src/game/meetup-event.js) (the view),[`src/game/meetup-schedule.js`](../src/game/meetup-schedule.js) (pure schedule@@ -68510,6 +68852,9 @@ banner and wayfinding pill ([`src/game/event-countdown.js`](../src/game/event-cothis in-world layer, and the server-side souvenir grant, so those three can neverdisagree about when the event is.+Write it to schedule an event. There is no file in the repo to edit, so start+from the shape below:+```json{"id": "three-first-meetup",@@ -68591,12 +68936,19 @@ shifts it to a specific instant instead. This runs through`applyPreviewOverride()`, which every surface that reads the event shares, so apreview never drifts from the real thing.+It shifts a configured event; it does not invent one. With no `public/event.json`+present, `?meetup=now` has nothing to move and the world loads as usual, so write+the file first.+```http://localhost:3000/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three&meetup=now```## Verifying before an event+The audit drives the real layer through a real browser, so it needs a+`public/event.json` in place before you run it (see the note under Previewing).+```bashnpm run dev # terminal 1: vite on :3000npm run dev:walk-all # terminal 2: the Colyseus world server on :2567@@ -68626,7 +68978,7 @@ Point it at another origin with `--base https://three.ws`.----<a id="sec-318"></a>+<a id="sec-319"></a>> **Source:** `docs/popular-3d-github-repos.md` · [↑ table of contents](#table-of-contents)@@ -68889,7 +69241,7 @@ Apply a 3D-signal regex filter over `description + topics` and a denylist of non----<a id="sec-319"></a>+<a id="sec-320"></a>> **Source:** `docs/portfolio.md` · [↑ table of contents](#table-of-contents)@@ -68992,7 +69344,7 @@ responses are cached for about a minute per wallet.## Related surfaces-- [`/wallet`](#sec-471): your own custodial three.ws wallet.+- [`/wallet`](#sec-472): your own custodial three.ws wallet.- `/agent-wallet`: the agent wallet hub, whose Portfolio tab covers an agent'sholdings with FIFO cost basis and PnL attribution.- [`/api/crypto/wallet`](#sec-164): the raw balances endpoint this page@@ -69000,7 +69352,7 @@ responses are cached for about a minute per wallet.----<a id="sec-320"></a>+<a id="sec-321"></a>> **Source:** `docs/premium.md` · [↑ table of contents](#table-of-contents)@@ -69027,7 +69379,7 @@ you sign is exactly the amount that's verified. Live per-tier, per-assetpricing: `GET https://three.ws/api/premium/plans`.**What every tier unlocks today:** unmetered search on the-[660k-article crypto-news archive](/markets/archive)+[crypto-news archive](/markets/archive)(`GET /api/news/archive`) at your tier's rate limit — versus the free tier's60 searches/day and the $0.001-per-search x402 rail. Corpus stats, monthindex, and trending are free for everyone regardless. More premium surfaces@@ -69068,7 +69420,12 @@ A `202 { pending: true }` means the transaction hasn't confirmed yet — poll`subscribe` again with the same body; redeeming is idempotent, andre-submitting an already-redeemed signature returns the existing pass.-Live per-asset pricing: `GET https://three.ws/api/premium/plans`.+Live per-asset pricing for all three tiers, free and keyless:++```bash+curl -s https://three.ws/api/premium/plans+```+Pass state for any wallet: `GET https://three.ws/api/premium/status?wallet=…`.## Using the pass@@ -69123,7 +69480,7 @@ tiers that remain free (news feed, digest, archive stats/trending).----<a id="sec-321"></a>+<a id="sec-322"></a>> **Source:** `docs/press-kit.md` · [↑ table of contents](#table-of-contents)@@ -69278,7 +69635,7 @@ Two rules that matter if you are laying out a story or a slide:The two extra OpenAI files inside the zip need more care than the two above. The short-phrasing card exists for one specific post and is not the general-purpose announcement graphic. The two-mark lockup uses OpenAI's logomark rather than the partner badge, which their brand guidelines govern separately, so a co-branded lockup is normally something a partner clears first. The full rules for every OpenAI asset in this repo are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md), with the announcement pack itself at [`marketing/openai-select-partner/README.md`](../marketing/openai-select-partner/README.md).-For the wider programme list and how to describe each one, see [Partner ecosystem](#sec-307).+For the wider programme list and how to describe each one, see [Partner ecosystem](#sec-308).---@@ -69296,14 +69653,14 @@ Use that inbox for anything the page does not cover: a format that is not here (## Related-- [Partner ecosystem](#sec-307): every programme three.ws is in, at the status it actually claims+- [Partner ecosystem](#sec-308): every programme three.ws is in, at the status it actually claims- [Listings and distribution](#sec-260): marketplaces, directories, and media partners, with per-listing status- [Brand asset renderer](../marketing/brand/README.md): where the marks come from and how to regenerate them- [Marketing campaigns](../marketing/README.md): announcement packs, social copy, and finished graphics----<a id="sec-322"></a>+<a id="sec-323"></a>> **Source:** `docs/procedural-animation.md` · [↑ table of contents](#table-of-contents)@@ -69479,7 +69836,7 @@ If you hit a rig whose bones do not resolve, the fix is a bone-name mapping in [----<a id="sec-323"></a>+<a id="sec-324"></a>> **Source:** `docs/provenance.md` · [↑ table of contents](#table-of-contents)@@ -69498,6 +69855,22 @@ Every model three.ws generates can carry a **signed content credential** — crecurl "https://three.ws/api/provenance?src=https://three.ws/avatars/default.glb"```+The endpoint always hashes the bytes it fetched, so it answers for any model, anchored or not. The stock avatar has never been anchored, so it comes back `unknown` with a real hash:++```jsonc+{+ "status": "unknown",+ "reason": "no provenance credential is on record for this asset",+ "badge": "Unverified",+ "glbSha256": "1ec0913a5093301a69a6c1f29e8ff9bed10d9e39708126e2ca2c9a4d3d7df35c",+ "credential": null,+ "issuer": null,+ "anchor": null+}+```++Point it at a model that *has* been anchored and the credential and its on-chain anchor come back with it:+```jsonc{"status": "verified", // verified | tampered | unknown@@ -69546,7 +69919,7 @@ Real hashing, real ed25519 signature, real on-chain write. Requires the issuer k----<a id="sec-324"></a>+<a id="sec-325"></a>> **Source:** `docs/pump-fun-mcp-edge.md` · [↑ table of contents](#table-of-contents)@@ -69602,7 +69975,7 @@ Both runtimes import `TOOLS` from `src/pump/mcp-tools.js`, so the tool list expo----<a id="sec-325"></a>+<a id="sec-326"></a>> **Source:** `docs/pump-launch-repos.md` · [↑ table of contents](#table-of-contents)@@ -69701,7 +70074,7 @@ rate-limits under the ~450 txs a full run makes. Pass a dedicated `--rpc`----<a id="sec-326"></a>+<a id="sec-327"></a>> **Source:** `docs/pump-launcher.md` · [↑ table of contents](#table-of-contents)@@ -69710,7 +70083,7 @@ rate-limits under the ~450 txs a full run makes. Pass a dedicated `--rpc``POST /api/x402/pump-launch` launches a brand-new [pump.fun](https://pump.fun)token for an autonomous agent in a single paid request. The agent needs **noSOL, no wallet, and no three.ws account** — it pays a flat USDC fee over the-[x402](#sec-506) rail and the platform does the rest:+[x402](#sec-507) rail and the platform does the rest:- fronts the ~0.022 SOL bonding-curve deploy cost from a funded launcher keypair,- optionally grinds a **vanity mint address**,@@ -69741,9 +70114,10 @@ The paid launch sits between two **free, keyless** [Crypto Data API](#sec-173)endpoints. Use them to make the launch land well:1. **Before you launch — check the ticker.**- `GET /api/crypto/symbol?ticker=<SYMBOL>` reports whether a live pump.fun coin- already trades that symbol and lists near-collisions. Free, no key. Pick a- symbol that isn't already crowded before you spend $5.+ `GET /api/crypto/symbol?symbols=<SYMBOL>` reports whether a live pump.fun+ coin already trades that symbol (`exactCollisions`) and lists near-misses+ (`fuzzyCollisions`). Up to 20 comma-separated symbols per call, free, no key.+ Pick a symbol that isn't already crowded before you spend $5.2. **Launch** — `POST /api/x402/pump-launch` (this endpoint).3. **After you launch — confirm it landed.**`GET /api/crypto/launches` is the live pump.fun launch feed; your new mint@@ -69772,11 +70146,16 @@ or `imageUrl`.### Example request+**1. (free) Is HELIO taken?**+```bash-# 1. (free) is HELIO taken?-curl "https://three.ws/api/crypto/symbol?ticker=HELIO"+curl "https://three.ws/api/crypto/symbol?symbols=HELIO"+```++**2. (paid, $5 USDC via x402) Launch it.** Your x402 client handles the 402 dance;+the shape below is the request body, not the payment headers.-# 2. (paid, $5 USDC via x402) launch it — your x402 client handles the 402 dance+```bashcurl -X POST https://three.ws/api/x402/pump-launch \-H 'Content-Type: application/json' \-d '{@@ -69788,13 +70167,16 @@ curl -X POST https://three.ws/api/x402/pump-launch \"twitter": "https://x.com/heliocoin","vanityPrefix": "HEL"}'+```-# 3. (free) confirm it landed on the live launch feed+**3. (free) Confirm it landed on the live launch feed.**++```bashcurl "https://three.ws/api/crypto/launches"```-See [x402 buyer client](#sec-498) for how to satisfy the 402 challenge in-code (the `curl` above shows the shape, not the payment headers).+See [x402 buyer client](#sec-499) for how to satisfy the 402 challenge in+code.## Output@@ -69843,16 +70225,16 @@ token itself always deploys on **Solana mainnet** — pump.fun is mainnet-only.## Related-- [x402 paid endpoints](#sec-501) — the full catalog and pricing.+- [x402 paid endpoints](#sec-502) — the full catalog and pricing.- [Crypto Data API](#sec-173) — the free `symbol` and `launches`endpoints that bookend a launch.-- [Repo → Coin Launcher](#sec-325) — the batch/CLI launcher that+- [Repo → Coin Launcher](#sec-326) — the batch/CLI launcher thatroutes 100% of creator rewards to a GitHub identity (shares the same engine).-- [x402 protocol](#sec-506) — challenge/settle mechanics.+- [x402 protocol](#sec-507) — challenge/settle mechanics.----<a id="sec-327"></a>+<a id="sec-328"></a>> **Source:** `docs/pump-platform-fee.md` · [↑ table of contents](#table-of-contents)@@ -69913,7 +70295,7 @@ The fee is **never** charged silently. When `platform_fee_bps > 0`:----<a id="sec-328"></a>+<a id="sec-329"></a>> **Source:** `docs/pumpfun-program/README.md` · [↑ table of contents](#table-of-contents)@@ -69972,7 +70354,7 @@ tracked in `tasks/pumpfun-upstream/01-v2-trade-instructions-usdc-audit.md`.----<a id="sec-329"></a>+<a id="sec-330"></a>> **Source:** `docs/pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md` · [↑ table of contents](#table-of-contents)@@ -70051,32 +70433,32 @@ Currently, no quote mint other than native SOL can be used to create or trade co- RUST crate: https://crates.io/crates/pump-rust-client## New docs-- Fee recipients: [docs/FEE_RECIPIENTS.md](#sec-335)-- Coin creation: [docs/instructions/COIN_CREATION.md](#sec-344)-- Buy: [docs/instructions/BUY.md](#sec-342)-- Sell: [docs/instructions/SELL.md](#sec-347)-- Claim cashback: [docs/instructions/CLAIM_CASHBACK.md](#sec-343)-- Collect creator fee: [docs/instructions/COLLECT_CREATOR_FEE.md](#sec-345)-- Creator fee sharing: [docs/instructions/CREATOR_FEE_SHARING.md](#sec-346)+- Fee recipients: [docs/FEE_RECIPIENTS.md](#sec-336)+- Coin creation: [docs/instructions/COIN_CREATION.md](#sec-345)+- Buy: [docs/instructions/BUY.md](#sec-343)+- Sell: [docs/instructions/SELL.md](#sec-348)+- Claim cashback: [docs/instructions/CLAIM_CASHBACK.md](#sec-344)+- Collect creator fee: [docs/instructions/COLLECT_CREATOR_FEE.md](#sec-346)+- Creator fee sharing: [docs/instructions/CREATOR_FEE_SHARING.md](#sec-347)## Other documentation-- [Pump Program](#sec-338)-- [PumpSwap](#sec-340)-- [PumpSwap SDK](#sec-341)-- [Pump Program creator fee update](#sec-337)-- [PumpSwap creator fee update](#sec-339)-- [FAQ](#sec-333)-- [Pump fee program docs](#sec-334)+- [Pump Program](#sec-339)+- [PumpSwap](#sec-341)+- [PumpSwap SDK](#sec-342)+- [Pump Program creator fee update](#sec-338)+- [PumpSwap creator fee update](#sec-340)+- [FAQ](#sec-334)+- [Pump fee program docs](#sec-335)-------<a id="sec-330"></a>+<a id="sec-331"></a>> **Source:** `docs/pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md` · [↑ table of contents](#table-of-contents)@@ -70277,7 +70659,7 @@ Upstream: <https://github.com/pump-fun/pump-public-docs#pumpswap-update-virtual-----<a id="sec-331"></a>+<a id="sec-332"></a>> **Source:** `docs/pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md` · [↑ table of contents](#table-of-contents)@@ -70351,7 +70733,7 @@ The new accounts can be passed before the program upgrade happens on Monday. The----<a id="sec-332"></a>+<a id="sec-333"></a>> **Source:** `docs/pumpfun-program/docs/CPI_README.md` · [↑ table of contents](#table-of-contents)@@ -70455,7 +70837,7 @@ pump-rust-client = { version = "...", path = "..." }----<a id="sec-333"></a>+<a id="sec-334"></a>> **Source:** `docs/pumpfun-program/docs/FAQ.md` · [↑ table of contents](#table-of-contents)@@ -70493,7 +70875,7 @@ is recommended to use a static big enough CU limit like `100_000`.----<a id="sec-334"></a>+<a id="sec-335"></a>> **Source:** `docs/pumpfun-program/docs/FEE_PROGRAM_README.md` · [↑ table of contents](#table-of-contents)@@ -70707,7 +71089,7 @@ If you implement the fee logic correctly, any future change to the fee tiers str----<a id="sec-335"></a>+<a id="sec-336"></a>> **Source:** `docs/pumpfun-program/docs/FEE_RECIPIENTS.md` · [↑ table of contents](#table-of-contents)@@ -70770,7 +71152,7 @@ Use one of these as `buybackFeeRecipient` for any coin.----<a id="sec-336"></a>+<a id="sec-337"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_CASHBACK_README.md` · [↑ table of contents](#table-of-contents)@@ -70887,7 +71269,7 @@ To read unclaimed cashback for pump swap / Pump AMM program:----<a id="sec-337"></a>+<a id="sec-338"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_CREATOR_FEE_README.md` · [↑ table of contents](#table-of-contents)@@ -71022,7 +71404,7 @@ we update the programs on Mainnet.----<a id="sec-338"></a>+<a id="sec-339"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_PROGRAM_README.md` · [↑ table of contents](#table-of-contents)@@ -71223,7 +71605,7 @@ at https://solscan.io/account/EsmVk4MTsoT71JFaRM5DWFZboKpMQjfY6EYzAgUuksXw#accou----<a id="sec-339"></a>+<a id="sec-340"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md` · [↑ table of contents](#table-of-contents)@@ -71332,7 +71714,7 @@ PumpSwap program on Mainnet to the coin creator fee update.----<a id="sec-340"></a>+<a id="sec-341"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_README.md` · [↑ table of contents](#table-of-contents)@@ -71566,7 +71948,7 @@ Each Anchor instruction has a set of corresponding autocomplete methods that can----<a id="sec-341"></a>+<a id="sec-342"></a>> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_SDK_README.md` · [↑ table of contents](#table-of-contents)@@ -71646,7 +72028,7 @@ to autocomplete the `base` and `quote` displayed amounts based on the `lpToken`----<a id="sec-342"></a>+<a id="sec-343"></a>> **Source:** `docs/pumpfun-program/docs/instructions/BUY.md` · [↑ table of contents](#table-of-contents)@@ -71707,7 +72089,7 @@ All `buy_v2` calls need a `feeRecipient` and a `buybackFeeRecipient`.- For mayhem mode coins, choose one of the 8 reserved fee recipients as `feeRecipient`.- For all coins, choose one of the 8 buyback fee recipients as `buybackFeeRecipient`.-See [Fee Recipients](#sec-335) for the full address lists.+See [Fee Recipients](#sec-336) for the full address lists.## TS SDK@@ -71824,7 +72206,7 @@ ixs.extend(----<a id="sec-343"></a>+<a id="sec-344"></a>> **Source:** `docs/pumpfun-program/docs/instructions/CLAIM_CASHBACK.md` · [↑ table of contents](#table-of-contents)@@ -71934,7 +72316,7 @@ let ix = sdk.claim_cashback_v2_instruction(----<a id="sec-344"></a>+<a id="sec-345"></a>> **Source:** `docs/pumpfun-program/docs/instructions/COIN_CREATION.md` · [↑ table of contents](#table-of-contents)@@ -72089,7 +72471,7 @@ let ixs = sdk----<a id="sec-345"></a>+<a id="sec-346"></a>> **Source:** `docs/pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md` · [↑ table of contents](#table-of-contents)@@ -72191,13 +72573,13 @@ ixs.extend(sdk.collect_creator_fee_v2_instructions(----<a id="sec-346"></a>+<a id="sec-347"></a>> **Source:** `docs/pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md` · [↑ table of contents](#table-of-contents)# Creator Fee Sharing-> **Note:** These instructions only apply to coins that **have** a `sharing_config` — i.e. coins whose creator vault has been migrated to the Pump Fees program for multi-recipient distribution. For single-creator-recipient coins (no `sharing_config`), use [`collect_creator_fee_v2` / `collect_coin_creator_fee`](#sec-345) instead.+> **Note:** These instructions only apply to coins that **have** a `sharing_config` — i.e. coins whose creator vault has been migrated to the Pump Fees program for multi-recipient distribution. For single-creator-recipient coins (no `sharing_config`), use [`collect_creator_fee_v2` / `collect_coin_creator_fee`](#sec-346) instead.The lifecycle is:@@ -72545,7 +72927,7 @@ ixs.extend(sdk.distribute_creator_fees_v2_instructions(----<a id="sec-347"></a>+<a id="sec-348"></a>> **Source:** `docs/pumpfun-program/docs/instructions/SELL.md` · [↑ table of contents](#table-of-contents)@@ -72605,7 +72987,7 @@ All `sell_v2` calls need a `feeRecipient` and a `buybackFeeRecipient`.- For mayhem mode coins, choose one of the 8 reserved fee recipients as `feeRecipient`.- For all coins, choose one of the 8 buyback fee recipients as `buybackFeeRecipient`.-See [Fee Recipients](#sec-335) for the full address lists.+See [Fee Recipients](#sec-336) for the full address lists.## TS SDK@@ -72722,7 +73104,7 @@ ixs.extend(----<a id="sec-348"></a>+<a id="sec-349"></a>> **Source:** `docs/quick-start.md` · [↑ table of contents](#table-of-contents)@@ -72868,7 +73250,7 @@ The `brain` attribute turns the 3D viewer into a conversational agent:| `brain` | LLM model ID. Registered Claude IDs: `claude-sonnet-5`, `claude-opus-5`, `claude-sonnet-4-6`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-haiku-4-5-20251001`, `claude-fable-5`, `claude-mythos-5` (restricted access). Free models (no key, routed through the platform proxy) are also accepted, e.g. `meta-llama/llama-3.3-70b-instruct:free`. Omit for a viewer-only display with no AI (provider `none`). || `instructions` | System prompt for the agent's personality and role. || `mode` | Layout mode: `inline` (flows with page content), `floating` (fixed bubble in a corner), `fullscreen`, or `section`. Default: `inline`. |-| `sign-language` | The avatar signs every reply in ASL fingerspelling plus its sign vocabulary (any value except `off`/`false` enables it; works at boot or toggled at runtime). See the [sign language guide](#sec-367). |+| `sign-language` | The avatar signs every reply in ASL fingerspelling plus its sign vocabulary (any value except `off`/`false` enables it; works at boot or toggled at runtime). See the [sign language guide](#sec-368). |The chat input and microphone button appear automatically when `brain` is set. The agent can play animations, look at the camera, and respond to voice input.@@ -72909,7 +73291,7 @@ The fastest path to an embeddable 3D experience is an iframe widget. Build one i| `passport` | On-chain identity card backed by ERC-8004. || `hotspot-tour` | Annotated 3D scenes with clickable points of interest. |-For the full widget API including `postMessage` events, see the [Widget docs](#sec-494).+For the full widget API including `postMessage` events, see the [Widget docs](#sec-495).---@@ -72939,7 +73321,7 @@ Copy `.env.example` to `.env` and fill in:| `ANTHROPIC_API_KEY` | Required for AI chat | LLM backend. Without it, the agent falls back to pattern matching. || `VITE_PRIVY_APP_ID` | Optional | Wallet auth via [Privy](https://privy.io). Needed for on-chain identity. || `UPSTASH_REDIS_REST_URL` / `UPSTASH_REDIS_REST_TOKEN` | Optional | Distributed rate limiting. Falls back to in-memory without it. |-| `VITE_CHARACTER_STUDIO_URL` | Optional | Origin where the [Avatar Studio](https://github.com/m3-org/CharacterStudio) avatar builder iframe is hosted. Defaults to `http://localhost:5173` in dev. |+| `VITE_CHARACTER_STUDIO_URL` | Optional | Override for the origin hosting the [Avatar Studio](https://github.com/m3-org/CharacterStudio) avatar builder iframe. When unset, the app resolves it same-origin to `<origin>/avatar-studio` in both dev and production. Set it only to point at a standalone studio dev server (e.g. `http://localhost:5173`). See [Configuration](#sec-148). || `AVATURN_API_KEY` | Optional | Photo-to-avatar pipeline via an external photo-to-avatar provider. || `PINATA_JWT` | Optional | IPFS pinning for on-chain agent registration. |@@ -72979,8 +73361,8 @@ Without this, the browser will block the fetch and the viewer will show a load eGLB files over ~50MB will load slowly on typical connections. Use [Draco compression](https://github.com/google/draco) to shrink geometry by 10–15×:```bash-# Via gltf-transform CLI-npx gltf-transform draco input.glb output.glb+# Via the glTF-Transform CLI+npx --yes @gltf-transform/cli draco input.glb output.glb```### HTTPS for voice@@ -73011,14 +73393,14 @@ If you're embedding inside a sandboxed iframe, make sure the parent grants `allo## Next Steps- [Embedding Guide](#sec-180) — deep dive on attributes, events, and the JS API-- [Widget Types](#sec-494) — full reference for iframe embeds and postMessage+- [Widget Types](#sec-495) — full reference for iframe embeds and postMessage- [Agent System](#sec-062) — how the brain, memory, and skills layers work- [REST API](#sec-094) and [JavaScript API](#sec-254) — backend and in-browser surfaces-- [SDK Reference](#sec-360) — `@three-ws/sdk`, `@three-ws/agent-ui`, `@three-ws/avatar`, `@three-ws/solana-agent`+- [SDK Reference](#sec-361) — `@three-ws/sdk`, `@three-ws/agent-ui`, `@three-ws/avatar`, `@three-ws/solana-agent`----<a id="sec-349"></a>+<a id="sec-350"></a>> **Source:** `docs/radar.md` · [↑ table of contents](#table-of-contents)@@ -73034,7 +73416,7 @@ API: `/api/pump/coin-intel` (feed, market pulse, per-coin detail). The detail dr## Why it exists-The most dangerous moment on pump.fun is the first minute, when the tape is thin and a bundle of bot wallets can manufacture the look of organic demand. A human cannot audit funder graphs and timing entropy in real time. The Coin Intelligence Engine does, on the live firehose, and Radar is its screener: a scannable board that turns raw first-90-seconds behaviour into a quality score and a short list of named risks, so you can filter out the coordinated launches and focus on the ones with a real crowd. It is the top of the [trading surfaces](#sec-398) funnel: Radar surfaces a launch worth a look, you watch it, and if it earns conviction you open it in [Mission Control](#sec-387) to act.+The most dangerous moment on pump.fun is the first minute, when the tape is thin and a bundle of bot wallets can manufacture the look of organic demand. A human cannot audit funder graphs and timing entropy in real time. The Coin Intelligence Engine does, on the live firehose, and Radar is its screener: a scannable board that turns raw first-90-seconds behaviour into a quality score and a short list of named risks, so you can filter out the coordinated launches and focus on the ones with a real crowd. It is the top of the [trading surfaces](#sec-399) funnel: Radar surfaces a launch worth a look, you watch it, and if it earns conviction you open it in [Mission Control](#sec-388) to act.## How it works@@ -73064,7 +73446,7 @@ The UI colors quality as Healthy at 70 and up, Mixed from 40 to 69, and High ris3. Press `/` to focus search and type a name, ticker, or mint. Press `g` or `l` to switch grid and list, `r` to refresh.4. Click any coin for the drawer: the full signal grid, the top-50 wallet ledger, the smart-money notable roster, the outcome (if labeled), and an asynchronously injected Oracle conviction section.5. Every mainnet coin links to its full page at `/oracle/coin/<mint>`: the card's "Full intel →" button goes there directly, and the drawer carries an "Open full page →" link in its header. The full page renders in the markets-hub design (the same system as `/coin/:id`) with the live price chart, the complete Launch Intelligence read (this engine's signal grid, risk flags, and trader ledger), Oracle conviction, live market intel, agent transactions, and a live trade tape.-6. On a coin worth tracking, use Watch to add it to your [Watchlist](https://three.ws/watchlist), then open it in [Mission Control](#sec-387) to trade.+6. On a coin worth tracking, use Watch to add it to your [Watchlist](https://three.ws/watchlist), then open it in [Mission Control](#sec-388) to trade.## Examples@@ -73103,16 +73485,16 @@ console.log(clean.map((c) => `${c.symbol} q${c.quality_score}`));## Related-- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-398)-- [Oracle: the conviction engine](#sec-304) fuses this intel into a single conviction score-- [Smart Money Radar](#sec-372) is the pedigree layer Radar surfaces inline-- [Mission Control](#sec-387) is where a Radar find gets traded+- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-399)+- [Oracle: the conviction engine](#sec-305) fuses this intel into a single conviction score+- [Smart Money Radar](#sec-373) is the pedigree layer Radar surfaces inline+- [Mission Control](#sec-388) is where a Radar find gets traded- [Coin pages](#sec-141) cross-link the per-mint intel and conviction views- Pages: [/radar](https://three.ws/radar) · [/coin-intel](https://three.ws/coin-intel) · [/watchlist](https://three.ws/watchlist)----<a id="sec-350"></a>+<a id="sec-351"></a>> **Source:** `docs/reasoning-ledger.md` · [↑ table of contents](#table-of-contents)@@ -73199,7 +73581,7 @@ The headline score (0 to 100) is derived only from reconciled outcomes, and the----<a id="sec-351"></a>+<a id="sec-352"></a>> **Source:** `docs/remix.md` · [↑ table of contents](#table-of-contents)@@ -73401,7 +73783,7 @@ still recorded — the royalty leg reports `payout_unconfigured` instead of payi----<a id="sec-352"></a>+<a id="sec-353"></a>> **Source:** `docs/reputation-staking-market.md` · [↑ table of contents](#table-of-contents)@@ -73422,7 +73804,7 @@ Live surface: [/reputation/market](/reputation/market).## What the market pays forReputation is already attested on Solana as signed SPL-Memo envelopes indexed-into `solana_attestations` (see [docs/solana-reputation](#sec-376)).+into `solana_attestations` (see [docs/solana-reputation](#sec-377)).An agent's `threews.accept.v1`, `threews.task.v1`, `threews.validation.v1`,`threews.feedback.v1`, `threews.dispute.v1`, and `threews.revoke.v1` envelopesare its attested action history: work it shipped, validations it passed or@@ -73572,15 +73954,15 @@ Failure codes (`market_not_configured`, `mainnet_gated`, `tx_not_found`,## Related-- [Docs: Agent Reputation on Solana](#sec-376): the attestation+- [Docs: Agent Reputation on Solana](#sec-377): the attestationlayer the market reads.-- [Docs: Reputation System](#sec-353): the cross-chain reputation model.+- [Docs: Reputation System](#sec-354): the cross-chain reputation model.- [Reputation Explorer](/reputation): inspect any agent's score andattestations.----<a id="sec-353"></a>+<a id="sec-354"></a>> **Source:** `docs/reputation.md` · [↑ table of contents](#table-of-contents)@@ -73725,6 +74107,20 @@ function submitFeedback(uint256 agentId, int8 score, string calldata uri) externEmits: `FeedbackSubmitted(agentId, from, score, uri)`+```solidity+function stakeReputation(uint256 agentId, uint8 score, string calldata comment) external payable+function withdrawStake(uint256 agentId) external+```++The same review, backed by ETH the contract escrows. `score` is on the 1 to 5+scale here (not the int8 range), and `msg.value` must be at least 0.001 ETH. It+enforces the same one-review-per-wallet, no-self-review rules, and emits+`FeedbackSubmitted` plus `ReputationStaked(agentId, from, score, amount)`.+`withdrawStake` refunds only your own deposit and leaves the review on-chain, so+a staker can reclaim their ETH at any time without erasing what they said. The+SDK wraps both as `stakeReputation({ agentId, score, comment, stakeWei, signer,+chainId })` and reads the pool with `getTotalStake({ agentId, runner, chainId })`.+### Read```solidity@@ -73775,7 +74171,7 @@ GET /api/exploreSeparate from reputation scores, glTF validation results can also be recorded on-chain via the `ValidationRegistry`. A passing validation attests that the agent's 3D model meets the glTF specification as of a specific block timestamp. Validation history is shown on the agent's profile page alongside reputation data.-See the [Validation](#sec-484) documentation for details.+See the [Validation](#sec-485) documentation for details.---@@ -73788,7 +74184,7 @@ See the [Validation](#sec-484) documentation for details.----<a id="sec-354"></a>+<a id="sec-355"></a>> **Source:** `docs/restyle.md` · [↑ table of contents](#table-of-contents)@@ -73806,7 +74202,7 @@ Generating a 3D model is the expensive step. Once you have a good mesh, wantingThe page is a Three.js scene with `RoomEnvironment` image-based lighting, so metals and glass reflect something real rather than reading as flat grey. Four capabilities sit on top of the loaded model:-- **Preset library (14 looks).** One click applies a physically based material across every standard material in the model. The presets are `chrome`, `gold`, `copper`, `brushedSteel`, `gunmetal`, `matte` (plastic), `glossy` (plastic), `rubber`, `ceramic`, `glass`, `wood`, `stone`, `neon`, and `holographic`. Each carries tuned color, metalness, roughness, environment-map intensity, and (for neon and holographic) emissive values.+- **Preset library (18 looks).** One click applies a physically based material across every standard material in the model. The presets are `chrome`, `gold`, `copper`, `brushedSteel`, `gunmetal`, `matte` (plastic), `glossy` (plastic), `rubber`, `ceramic`, `glass`, `realGlass` (transmissive), `wood`, `stone`, `fabric`, `skin`, `carPaint`, `neon`, and `holographic`. Each carries tuned color, metalness, roughness, environment-map intensity, and where the look calls for it (neon, holographic) emissive values or (brushed steel, car paint) anisotropy and clearcoat. The page renders whatever `@three-ws/viewer-presets` exports, and `GET /api/material-studio` lists the same set, so the two can never drift.- **AI restyle from an instruction.** Type something like "make it chrome", "worn copper", or "cyberpunk neon" and the server asks IBM Granite (watsonx.ai) to propose a glTF 2.0 PBR material (base color, metallic, roughness, emissive factors). The factors come back, get applied to the in-browser preview instantly, and are also applied server-side to the source GLB and re-exported as a durable, validated model. If you leave the "also generate a texture" option on, the studio additionally asks the platform text-to-image lane (`/api/v1/ai/image`, the same NVIDIA NIM FLUX / Vertex stack Forge uses) for a seamless tileable material swatch and applies it as the base-color map. The flat PBR restyle always lands even if texture generation is skipped or hits its free daily quota.- **Seeded colorway variants.** Pick a base preset, a seed, and a count (1 to 12), and the studio fans it into a strip of variants using a `mulberry32` seeded PRNG. The same base plus the same seed always produces the byte-identical set, so a colorway you liked is reproducible forever. Clicking a swatch applies it live. "Save all as versions" turns those variants into real, separately addressable GLBs, each branching off the same parent version.- **Live manual controls.** Sliders for metalness, roughness, and emissive intensity, plus base-color and emissive-color pickers, set the same property across every standard material at once. A Reset button restores every material to its captured original values.@@ -73882,13 +74278,13 @@ Pass the returned `lineage` array back as `parent_lineage` on the next call to e## Related- [Avatar Studio](#sec-112): shares the same GLB optimize-and-validate path and material vocabulary.-- [Scene Composer](#sec-146) and [Scene Studio](#sec-359): arrange and edit restyled models in a full scene.+- [Scene Composer](#sec-146) and [Scene Studio](#sec-360): arrange and edit restyled models in a full scene.- [MCP tools reference](#sec-270): the paid `restyle_material` agent twin of this endpoint.- [/forge](https://three.ws/forge): generate the models you bring here.----<a id="sec-355"></a>+<a id="sec-356"></a>> **Source:** `docs/rig-doctor.md` · [↑ table of contents](#table-of-contents)@@ -73902,7 +74298,7 @@ Everything runs in your browser. The file is read with `FileReader` and analysed**On this page:** [The problem](#the-problem-a-rig-that-loads-but-never-moves) · [Reading the verdict](#reading-the-verdict) · [Coverage](#coverage-which-limbs-will-move) · [The repair](#the-repair) · [Generated output](#generated-output) · [Conventions](#recognised-rig-conventions) · [The canonical skeleton](#the-canonical-skeleton) · [Programmatic use](#programmatic-use)-Related: [Avatar CLI](#sec-105) turns the generated manifest into a validated, hash-anchored file. The [web component reference](#sec-491) covers the `<agent-3d>` element the embed tab emits. [Asset pipeline](#sec-002) covers FBX and GLB conversion upstream of all of this.+Related: [Avatar CLI](#sec-105) turns the generated manifest into a validated, hash-anchored file. The [web component reference](#sec-492) covers the `<agent-3d>` element the embed tab emits. [Asset pipeline](#sec-002) covers FBX and GLB conversion upstream of all of this.---@@ -74118,7 +74514,7 @@ Your own file cannot be shared this way, because it never leaves your machine.----<a id="sec-356"></a>+<a id="sec-357"></a>> **Source:** `docs/risk-acknowledgment.md` · [↑ table of contents](#table-of-contents)@@ -74237,7 +74633,7 @@ above.----<a id="sec-357"></a>+<a id="sec-358"></a>> **Source:** `docs/robinhood-chain-markets.md` · [↑ table of contents](#table-of-contents)@@ -74331,24 +74727,24 @@ math; Chainlink feed prices are already multiplier-adjusted, so they're never re- [Market Data API](#sec-264) — the same paid-endpoint pattern (x402, `priceFor`,service-catalog descriptor) applied to the rest of three.ws's market data.-- [Trust primitives](#sec-400) — score a Robinhood Chain wallet's cross-chain+- [Trust primitives](#sec-401) — score a Robinhood Chain wallet's cross-chainreputation before transacting with it.-- [x402 distribution](#sec-500) — how the paid portfolio endpoint gets discovered+- [x402 distribution](#sec-501) — how the paid portfolio endpoint gets discoveredacross the x402 ecosystem.----<a id="sec-358"></a>+<a id="sec-359"></a>> **Source:** `docs/sas-attestations.md` · [↑ table of contents](#table-of-contents)# SAS Credentialed Attestations-An attestation is a signed on-chain statement about a wallet or an agent (for example "this wallet is verified" or "this task result was audited"). This page is for operators and developers who run or integrate with the three.ws attestation authority; end users see the results surfaced on agent passports and reputation scores. Reads are public via `GET /api/agents/sas/credentials`; issuing is admin-only.+An attestation is a signed on-chain statement about a wallet or an agent (for example "this wallet is verified" or "this task result was audited"). This page is for operators and developers who run or integrate with the three.ws attestation authority; end users see the results surfaced on agent passports and reputation scores. Reads are public via `GET /api/agents/sas-credentials`; issuing is admin-only.three.ws issues two kinds of on-chain attestations on Solana:-- **Permissionless attestations** — general feedback, task lifecycle, dispute, and revoke events. Anyone can write them as SPL Memos (see [Solana reputation](#sec-376)).+- **Permissionless attestations** — general feedback, task lifecycle, dispute, and revoke events. Anyone can write them as SPL Memos (see [Solana reputation](#sec-377)).- **Credentialed attestations** — claims only three.ws or an authorized validator may make: that a wallet is verified, or that a validator audited an agent's task result. These use the [Solana Attestation Service (SAS)](https://attest.solana.com/) and are signed by the **three.ws authority wallet**.This page covers the authority wallet, the `SAS_AUTHORITY_SECRET` environment variable, bootstrapping the credential + schemas, and the API that issues them.@@ -74488,10 +74884,14 @@ A validation of an agent task result, issued by an authorized validator. SubjectThe endpoint is [api/agents/sas/[action].js](../api/agents/sas/[action].js).-### Read credentials — `GET /api/agents/sas/credentials`+### Read credentials: `GET /api/agents/sas-credentials`Public, rate-limited. Returns active (non-closed, non-expired) attestations for a subject.+> The route is a single flat path segment (`sas-credentials`), not a nested one.+> `/api/agents/sas/credentials` is claimed by the agent-by-id route and answers+> `{"error":"not_found"}`.+| Query param | Required | Description ||-------------|----------|-------------|| `subject` | yes | Base58 pubkey the attestation is about. |@@ -74500,19 +74900,19 @@ Public, rate-limited. Returns active (non-closed, non-expired) attestations for| `include_closed` | no | `1` to include closed attestations. |```bash-curl "https://three.ws/api/agents/sas/credentials?subject=<pubkey>&network=mainnet"+curl "https://three.ws/api/agents/sas-credentials?subject=<pubkey>&network=mainnet"``````json{ "subject": "<pubkey>", "network": "mainnet", "kind": null, "count": 1, "data": [ /* attestations */ ] }```-### Issue a credential — `POST /api/agents/sas/issue-credential`+### Issue a credential: `POST /api/agents/sas-issue-credential`**Admin-only.** Requires admin auth (see [api/_lib/admin.js](../api/_lib/admin.js)) and validates the body against the target schema before signing. On success it issues the attestation on-chain with the authority wallet and records it in the `solana_credentials` table.```bash-curl -X POST https://three.ws/api/agents/sas/issue-credential \+curl -X POST https://three.ws/api/agents/sas-issue-credential \-H "Authorization: Bearer <admin-token>" \-H "Content-Type: application/json" \-d '{@@ -74567,7 +74967,7 @@ Closing (revoking) an attestation is done server-side via `sasClose()` in [api/_----<a id="sec-359"></a>+<a id="sec-360"></a>> **Source:** `docs/scene-studio.md` · [↑ table of contents](#table-of-contents)@@ -74630,18 +75030,18 @@ A typical round trip from another studio:- [Scene Composer](#sec-146): the lighter avatar-plus-props arranger with Forge integration.- [Animation Studio](#sec-090): builds the animated GLBs Scene Studio records to video.-- [Restyle Studio](#sec-354): re-skin the models before or after composing them.+- [Restyle Studio](#sec-355): re-skin the models before or after composing them.- [3D asset pipeline](#sec-002): how GLB, glTF, and clip formats relate across the platform.----<a id="sec-360"></a>+<a id="sec-361"></a>> **Source:** `docs/sdk.md` · [↑ table of contents](#table-of-contents)# SDK & Library-This page is for developers who want to build with three.ws code in their own project, beyond pasting an embed snippet. If you just want a 3D agent on a page, start with the [web component](#sec-491); come here when you need to import classes, register agents on-chain, or build the bundles yourself. There are two distributable artifacts you can import:+This page is for developers who want to build with three.ws code in their own project, beyond pasting an embed snippet. If you just want a 3D agent on a page, start with the [web component](#sec-492); come here when you need to import classes, register agents on-chain, or build the bundles yourself. There are two distributable artifacts you can import:| Artifact | Package | Use case ||---|---|---|@@ -74734,7 +75134,7 @@ const viewer = new Viewer(document.getElementById('canvas-container'));viewer.load('https://three.ws/avatars/default.glb');```-Full attribute and event API is documented in [Web Component reference](#sec-491).+Full attribute and event API is documented in [Web Component reference](#sec-492).### loadManifest and normalize@@ -75026,11 +75426,11 @@ node scripts/publish-lib.mjsThis copies `dist-lib/agent-3d.js` and `dist-lib/agent-3d.umd.cjs` into `dist/agent-3d/<version>/` and creates channel aliases (`<major>`, `<major>.<minor>`, `latest`). It also emits SRI hashes and a `versions.json` manifest so embedders can pin with `integrity` attributes.-Requires `npm run build:lib` to have completed first. It's also wired as the `npm run publish:lib` script, and runs automatically inside the full production build (`scripts/build-vercel.mjs`).+Requires the library bundle to have been built first. It's also wired as the `npm run publish:lib` script, and runs automatically inside the production build: `npm run build:gcp` chains `build:lib:full` (which emits both the ES and UMD formats) straight into `publish:lib`, then verifies the result with `check:dist`.### Versioning-The platform follows semantic versioning. The web component version tracks `package.json` (currently `1.5.2`). The AgentKit SDK is independently versioned in `sdk/package.json` (currently `0.2.1`). Breaking changes only ship in major releases. See `sdk/CHANGELOG.md` for the AgentKit release history.+The platform follows semantic versioning. The web component version tracks the root `package.json`; the AgentKit SDK is independently versioned in `sdk/package.json`. Read the `version` field in either file for the current number, or `https://three.ws/agent-3d/versions.json` for every published web component channel. Breaking changes only ship in major releases. See `sdk/CHANGELOG.md` for the AgentKit release history.---@@ -75041,10 +75441,12 @@ A pre-built integration that embeds a live 3D avatar in the LobeChat sidebar. Th### One-click install1. In LobeChat, open **Plugins → Plugin Store → Custom plugins**.-2. Paste the manifest URL: `https://three.ws/.well-known/chat-plugin.json`+2. Paste the manifest URL: `https://three.ws/.well-known/lobehub-plugin.json`3. Click **Install** and enter your Agent ID from the dashboard.-The plugin exposes four LLM-callable tools:+That is the manifest to install. `/.well-known/chat-plugin.json` is an older, settings-only descriptor that predates the tool protocol: it declares no `api` array and no `ui.url`, so installing from it yields a plugin the model cannot call. SperaxOS, a LobeChat-lineage host that speaks the same protocol, uses `https://three.ws/.well-known/sperax-plugin.json`.++The plugin exposes four LLM-callable tools, each declared in the manifest's `api` array and backed by a real endpoint under `/api/chat-plugin/`:| Tool | Payload | Effect ||---|---|---|@@ -75075,7 +75477,7 @@ python3 -m http.server 8080----<a id="sec-361"></a>+<a id="sec-362"></a>> **Source:** `docs/security.md` · [↑ table of contents](#table-of-contents)@@ -75437,7 +75839,7 @@ For validator misconduct (biased or falsified on-chain attestations), open a pub----<a id="sec-362"></a>+<a id="sec-363"></a>> **Source:** `docs/seed-quality.md` · [↑ table of contents](#table-of-contents)@@ -75721,13 +76123,13 @@ ticks start timing out, lower `SEED_CRON_VISION_MS` before turning it back off.- [Realism quality bench](../data/quality-bench/README.md): the regressionharness whose scorer this gate imports-- [The 3D viewer](#sec-488): what a published catalog entry has to render in+- [The 3D viewer](#sec-489): what a published catalog entry has to render in- [Production log triage](ops/production-log-triage.md): the operator runbookfor the seeding pipeline----<a id="sec-363"></a>+<a id="sec-364"></a>> **Source:** `docs/selfie-to-avatar.md` · [↑ table of contents](#table-of-contents)@@ -75751,8 +76153,8 @@ The client half lives in three modules the page imports on demand: [`src/selfie-1. **Capture, in the browser.** `getUserMedia({ video: { facingMode: 'user', width: { ideal: 1280 }, height: { ideal: 1706 } } })` opens the front camera. A real-time wireframe overlay tracks head pose, yaw, centering, blur, and luminance, and only unlocks the shutter when a face is found; the hint line names the single most actionable fix ("Face the camera straight on.", "Hold steady. The image is blurry.", "Too dark. Find better light.") until every gate passes. A 3-2-1 countdown fires, then `shoot()` draws the current video frame to a canvas and calls `canvas.toBlob(blob, 'image/jpeg', 0.92)`. This is a **single still**, not a video scan. Camera support is feature-detected; if none exists, the shutter is disabled and an "Upload instead" path takes any image file.2. **Review the still.** The countdown leaves ~3 seconds for motion blur, a head turn, or a lighting change to land in the actual capture, so the frozen still is re-scored (`checkImageQuality`) against the same gates before you accept it. The review screen shows per-gate chips plus a verdict line; only a missing face disables "Use this" (mirroring the worker's one hard input rejection), everything else is a warning you can accept.3. **Optional side angles.** Under an "Add side angles" disclosure you can capture two extra stills (`left`, `right`, turned ~45 degrees). They raise fidelity and the ETA, but only the frontal is required. Confirmed shots (and the style choice) are mirrored to `sessionStorage`, so a refresh or accidental back-swipe mid-capture restores every slot instead of starting over; the build phase has its own resume rail (`selfie:pendingJobId`).-4. **Refine, in the browser.** `assessPhoto` gates the frontal (no face is the only hard block; blur, illustration, or a distant subject are non-fatal warnings). `refineSelfie` isolates the subject from its background and reframes to a clean head-and-shoulders square, then downscales (max 1024px, JPEG quality 0.88). The refined frontal is previewed so you see exactly what the engine sees.-5. **Submit.** The pipeline POSTs the photos as data URIs to `/api/avatars/reconstruct` and gets back a `jobId`.+4. **Refine, in the browser.** `assessPhoto` gates the frontal (no face is the only hard block; blur, illustration, or a distant subject are non-fatal warnings). `refineSelfie` isolates the subject from its background and reframes to a clean head-and-shoulders square, rendered at 1024x1024 with JPEG quality 0.92 ([`src/selfie-refine.js`](../src/selfie-refine.js)). The refined frontal is previewed so you see exactly what the engine sees.+5. **Submit.** The pipeline ([`src/selfie-pipeline.js`](../src/selfie-pipeline.js)) downscales each photo to a 1024px longest edge at JPEG quality 0.88, POSTs them as data URIs to `/api/avatars/reconstruct`, and gets back a `jobId`.6. **Reconstruct, server-side.** The reconstruct handler (`api/avatars/_actions.js`) selects a provider through [`api/_lib/regen-provider.js`](../api/_lib/regen-provider.js). The production lane is **GCP**: it POSTs `{ images, body_type }` to the Cloud Run service behind `GCP_RECONSTRUCTION_URL`, today the [`workers/avatar-reconstruction/`](../workers/avatar-reconstruction) FastAPI app deployed as `avatar-reconstruction`. (The multi-backend [`workers/avatar-pipeline-controller/`](../workers/avatar-pipeline-controller) speaks the identical contract and can take over that env var, but is not deployed today.) That pipeline (`face_texture_transfer_v2`) uses **MediaPipe FaceLandmarker** (468 landmarks, Apache-2.0) to transfer your face texture and geometry onto a fixed-topology, pre-rigged Wolf3D/Ready-Player-Me-style humanoid template carrying a Mixamo-compatible skeleton, 52 ARKit blendshapes, and 15 visemes. Full engine detail is in [avatar-reconstruction.md](#sec-111).7. **Auto-rig fallback.** The template is born rigged. If a generic mesh comes back unrigged and a rig model is configured, `reconstruct-finalize.js` chains a `rerig` job (the `model-rig` worker, `workers/rig`) and moves the job through a `rigging` status before surfacing the avatar. If rigging is impossible it delivers the static mesh tagged `unrigged` rather than nothing.8. **Poll and finish.** The client polls `GET /api/avatars/regenerate-status?jobId=...` every ~3 seconds (backing off on errors). On `status: 'done'` it fetches the finished avatar from `GET /api/avatars/:id` and shows it in a `<model-viewer>`.@@ -75814,12 +76216,12 @@ Request body: `name` (1-120, required), `photos` (1-6 image URLs or data URIs) *- [Avatar reconstruction pipeline](#sec-111): the full engine: MediaPipe face-texture transfer, geometry morph, the fixed pre-rigged head template, and the Cloud Run worker.- [Avatar pipeline](#sec-110): the distinct Forge text-to-3D generation lane.- [Trait-based avatar builder](#sec-133): customize and dress the avatar after you scan it.-- [Talking Avatar Video](#sec-386) and [Lipsync](#sec-259): drive the finished avatar's mouth.+- [Talking Avatar Video](#sec-387) and [Lipsync](#sec-259): drive the finished avatar's mouth.- Pages: [/create/selfie](https://three.ws/create/selfie), [/create](https://three.ws/create), [/features/scan](https://three.ws/features/scan).----<a id="sec-364"></a>+<a id="sec-365"></a>> **Source:** `docs/share-and-embed.md` · [↑ table of contents](#table-of-contents)@@ -75863,11 +76265,16 @@ Copy and paste this into any page that accepts HTML — including Notion, Webflo| Widget | Best for ||---|---|-| **Talking Agent** | Full chat + voice + 3D avatar — the default |-| **Turntable** | Auto-rotating 3D model, no chat |-| **Animation Gallery** | Plays through the avatar's animations |-| **ERC-8004 Passport** | On-chain identity card |-| **Hotspot Tour** | Annotated 3D model with camera waypoints |+| **Turntable Showcase** | An auto-rotating 3D model with no UI. The type Widget Studio starts you on |+| **Animation Gallery** | Clicking through every clip on a rigged avatar |+| **Talking Agent** | Full chat, voice, and 3D avatar: your agent embodied on your site |+| **ERC-8004 Passport** | An on-chain identity card for any agent |+| **Hotspot Tour** | An annotated 3D scene with clickable points of interest |+| **Pump.fun Live Feed** | A Solana agent narrating live launch claims and graduations |+| **Smart Money Feed** | Live buy and sell activity from KOL and whale wallets for a token |+| **Live Trades Canvas** | A particle visualization of live buy/sell trades for a token |+| **Bonding Curve** | Live graduation progress and the bonding-curve climb for a token |+| **Walking Avatar** | A roaming 3D avatar visitors steer around your page with a joystick or the keyboard |---@@ -75909,14 +76316,14 @@ To customize the preview image, change the agent's thumbnail in the editor.## What's next-- **Make your agent smarter** → [Skills system](#sec-370)+- **Make your agent smarter** → [Skills system](#sec-371)- **Understand the technical embed options** → [Embedding guide](#sec-180)- **Payment and crypto questions** → [Do I need crypto?](#sec-173)-- **Give it a permanent on-chain address** → [Register on-chain](#sec-445)+- **Give it a permanent on-chain address** → [Register on-chain](#sec-446)----<a id="sec-365"></a>+<a id="sec-366"></a>> **Source:** `docs/shared-utilities.md` · [↑ table of contents](#table-of-contents)@@ -76136,7 +76543,7 @@ paused during an incident and never resumed, failed silently.----<a id="sec-366"></a>+<a id="sec-367"></a>> **Source:** `docs/showcase.md` · [↑ table of contents](#table-of-contents)@@ -76146,7 +76553,7 @@ paused during an incident and never resumed, failed silently.That filter is the whole point of the surface. The ERC-8004 registries hold plenty of agents that are only an address and a URI. The showcase answers a narrower question: which of them can actually be seen and embedded.-Live at [three.ws/showcase](https://three.ws/showcase). Related reading: [ERC-8004](#sec-182) for the identity standard itself, [on-chain deployments](#sec-170) for the live feed of every registration as it lands (with no avatar filter), and [on-chain agents](#sec-295) for registering one yourself.+Live at [three.ws/showcase](https://three.ws/showcase). Related reading: [ERC-8004](#sec-182) for the identity standard itself, [on-chain deployments](#sec-170) for the live feed of every registration as it lands (with no avatar filter), and [on-chain agents](#sec-296) for registering one yourself.Code: [api/showcase.js](../api/showcase.js). Data comes from `erc8004_agents_index`, populated by the `erc8004-crawl` cron.@@ -76207,12 +76614,12 @@ Each agent carries its on-chain identity plus explorer links resolved from the c- [ERC-8004](#sec-182): the identity standard behind every row here.- [On-chain deployments](#sec-170): the same registration stream without the 3D filter, including Solana Metaplex Core mints.-- [Deploy agents on-chain](#sec-295): how to register an agent so it can appear here.+- [Deploy agents on-chain](#sec-296): how to register an agent so it can appear here.- [Agent manifest](#sec-053): the metadata format whose 3D model field decides `has_3d`.----<a id="sec-367"></a>+<a id="sec-368"></a>> **Source:** `docs/sign-language.md` · [↑ table of contents](#table-of-contents)@@ -76380,7 +76787,7 @@ Best results: good light, hand in frame, one letter at a time, and hold the last## In your own site or app-The [web component](#sec-491) exposes signing as an attribute. Present at boot, or toggled at runtime, it does the same thing:+The [web component](#sec-492) exposes signing as an attribute. Present at boot, or toggled at runtime, it does the same thing:```html<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>@@ -76722,13 +77129,13 @@ None of this replaces a human interpreter. It makes an avatar legible to signers- [examples/sign-language.html](../examples/sign-language.html), a runnable page with both integration paths- [Animation Studio](#sec-090), the Spell box, exports, and share links- [docs/animations.md](#sec-091), clip formats and the retarget engine-- [docs/web-component.md](#sec-491), every `<agent-3d>` attribute including `sign-language`+- [docs/web-component.md](#sec-492), every `<agent-3d>` attribute including `sign-language`- [workers/model-asl-recognition](../workers/model-asl-recognition/README.md), the recognition model and its licensing- [Motion Swap](https://three.ws/motion-swap), video motion capture, including hands----<a id="sec-368"></a>+<a id="sec-369"></a>> **Source:** `docs/signals.md` · [↑ table of contents](#table-of-contents)@@ -76829,14 +77236,14 @@ curl -s https://three.ws/api/signals/subscribe -H 'authorization: Bearer YOUR_TO- [Custody you can verify](#sec-165) - the spend caps, freeze, and audit trail the subscriber wallet pays and trades under- [Financial controls](#sec-216) - the plain-English rules and firewall the mirror respects-- [Oracle](#sec-304) - the conviction engine and its own follow/copy tier-- [x402](#sec-506) - the USDC payment protocol every signal settles over-- [Trader card](#sec-392) - the verified track record that regresses a feed's edge+- [Oracle](#sec-305) - the conviction engine and its own follow/copy tier+- [x402](#sec-507) - the USDC payment protocol every signal settles over+- [Trader card](#sec-393) - the verified track record that regresses a feed's edge- [/leaderboard](https://three.ws/leaderboard) - build a verified record, then publish a feed of your own----<a id="sec-369"></a>+<a id="sec-370"></a>> **Source:** `docs/sketchfab.md` · [↑ table of contents](#table-of-contents)@@ -76926,7 +77333,7 @@ and [`api/_lib/sketchfab.js`](https://github.com/nirholas/three.ws/blob/main/api----<a id="sec-370"></a>+<a id="sec-371"></a>> **Source:** `docs/skills.md` · [↑ table of contents](#table-of-contents)@@ -77667,13 +78074,13 @@ Publish your own from the marketplace ("Publish a Skill") or `POST /api/skills`- [Architecture Overview](#sec-098) — how skills fit into the agent runtime- [Agent System](#sec-062) — the protocol bus and built-in tool system-- [Web Component](#sec-491) — embedding agents and passing skill attributes+- [Web Component](#sec-492) — embedding agents and passing skill attributes- `specs/SKILL_SPEC.md` — the authoritative skill bundle specification- `specs/PERMISSIONS_SPEC.md` — ERC-7710/ERC-7715 delegation for fine-grained skill permissions----<a id="sec-371"></a>+<a id="sec-372"></a>> **Source:** `docs/smart-contracts.md` · [↑ table of contents](#table-of-contents)@@ -78279,7 +78686,7 @@ On Base at typical gas prices (~0.001 gwei base fee), an agent registration runs----<a id="sec-372"></a>+<a id="sec-373"></a>> **Source:** `docs/smart-money.md` · [↑ table of contents](#table-of-contents)@@ -78293,7 +78700,7 @@ API: `/api/pump/smart-money` (feed, leaderboard, per-coin, per-wallet). The coin## Why it exists-The single most predictive early signal on pump.fun is not the chart, it is who is buying. A wallet that has repeatedly entered coins that went on to graduate is worth watching; a wallet that dumps every launch it touches is worth avoiding. That information exists on chain, but nobody keeps a running scorecard in time. Smart Money Radar is that scorecard. It re-earns every wallet's reputation continuously from real outcomes, so a coin's "pedigree" is the buy-weighted track record of the wallets actually in it, and a wallet's rank is its own history of picking coins that graduated. This is the same proven-wallet ledger the WHO pillar of [Oracle](#sec-304) draws on, exposed as its own browsable surface.+The single most predictive early signal on pump.fun is not the chart, it is who is buying. A wallet that has repeatedly entered coins that went on to graduate is worth watching; a wallet that dumps every launch it touches is worth avoiding. That information exists on chain, but nobody keeps a running scorecard in time. Smart Money Radar is that scorecard. It re-earns every wallet's reputation continuously from real outcomes, so a coin's "pedigree" is the buy-weighted track record of the wallets actually in it, and a wallet's rank is its own history of picking coins that graduated. This is the same proven-wallet ledger the WHO pillar of [Oracle](#sec-305) draws on, exposed as its own browsable surface.## How it works@@ -78315,7 +78722,7 @@ dumpPenalty = dump_rate * 0.4smart_money_score = round(clamp(win_rate + earlyBonus - dumpPenalty, 0, 100) * confidence, 1)```-The label follows from the profile: a creator with 3 or more launches, zero graduations, and at least 3 coins traded is a `rugger`; fewer than 4 judged coins is `fresh`; a dump rate of 60 percent or more is a `dumper`; a score of 70 or more is `smart_money`; 5 or more early entries with a win rate under 25 percent is a `sniper`; everything else is `neutral`.+The label follows from the profile, evaluated in this order: a creator with 3 or more launches, zero graduations, and at least 3 coins traded is a `rugger`; fewer than 4 judged coins is `fresh`; a dump rate of 60 percent or more is a `dumper`; a score of 70 or more is `smart_money`; so is a sustained edge over a real sample, 8 or more judged coins at a 35 percent or better win rate (the pump.fun base rate is around 12 percent, so that is roughly a 3x edge); 5 or more early entries with a win rate under 25 percent is a `sniper`; everything else is `neutral`.**Phase C: score live coins.** For every coin launched in the last 3 hours, `coin_smart_money` is computed from its non-creator buyers (creators do not lend pedigree to their own coin):@@ -78378,14 +78785,14 @@ for (const c of conviction.slice(0, 5)) {## Related-- [Oracle: the conviction engine](#sec-304) uses this proven-wallet ledger as its WHO pillar-- [The trading surfaces](#sec-398) map, including the Coin Intelligence cross-coin trader board-- [Coin Radar](#sec-349) and [Mission Control](#sec-387) surface the same pedigree read inline+- [Oracle: the conviction engine](#sec-305) uses this proven-wallet ledger as its WHO pillar+- [The trading surfaces](#sec-399) map, including the Coin Intelligence cross-coin trader board+- [Coin Radar](#sec-350) and [Mission Control](#sec-388) surface the same pedigree read inline- Pages: [/smart-money](https://three.ws/smart-money) · [/radar](https://three.ws/radar) · [/oracle](https://three.ws/oracle)----<a id="sec-373"></a>+<a id="sec-374"></a>> **Source:** `docs/sniper-autonomy.md` · [↑ table of contents](#table-of-contents)@@ -78457,7 +78864,7 @@ and position size. Reaching `trusted` unlocks four more:outward only. An arm with no band set is already unrestricted and nothing herewill restrict it.- `initials_out_multiple`, the proactive- [take-initials ladder](#sec-396): recover the stake as soon as+ [take-initials ladder](#sec-397): recover the stake as soon asthe position hits 2x rather than waiting for an exit to trigger. Turned on onlyfor an arm whose winners demonstrably run past its average exit. Note this isonly the *early* recovery: never fully selling a winner is fleet-wide policy@@ -78557,7 +78964,7 @@ tighter rather than rewarded for the hit rate.## Related- [Agent Sniper](#sec-059): the trading pipeline the arms run on-- [The 10 SOL trading experiment](#sec-396): the exit thesis the+- [The 10 SOL trading experiment](#sec-397): the exit thesis theladder implements- [`api/_lib/sniper-optimizer.js`](../api/_lib/sniper-optimizer.js): the tuningrules, tier-scaled@@ -78566,7 +78973,7 @@ tighter rather than rewarded for the hit rate.----<a id="sec-374"></a>+<a id="sec-375"></a>> **Source:** `docs/social-layer.md` · [↑ table of contents](#table-of-contents)@@ -78794,14 +79201,14 @@ be replayed any time from the getting-started page.- [Money Feed](#sec-280): the value-movement ticker (`GET /api/feed`),a different feed from the activity feed documented here.-- [Remix economy](#sec-351): what happens after someone finds your model in+- [Remix economy](#sec-352): what happens after someone finds your model inthe feed or search.- [API reference: Social & Community](api-reference.md#social--community-api)for the full request/response contracts.----<a id="sec-375"></a>+<a id="sec-376"></a>> **Source:** `docs/solana-pumpfun.md` · [↑ table of contents](#table-of-contents)@@ -78964,7 +79371,7 @@ Studio config schema (validated in `widget-types.js`):## What's intentionally not included- **Long-lived SSE** — the feed handler runs a 90s bounded loop and lets the browser auto-reconnect; the Cloud Run request handlers aren't meant to hold a connection open indefinitely. For higher throughput, deploy the bot itself as a streaming service.-- **On-chain signal attestations**: pump.fun signals are off-chain rows only. The platform's SPL Memo attestation layer exists (see [Solana reputation](#sec-376)), but these crawled signals are not promoted into it; that remains a future step.+- **On-chain signal attestations**: pump.fun signals are off-chain rows only. The platform's SPL Memo attestation layer exists (see [Solana reputation](#sec-377)), but these crawled signals are not promoted into it; that remains a future step.- **Agent-as-signer** — the watch skills are read-only; they never sign transactions. The existing `pumpfun-create / -buy / -sell` skills cover signing flows.- **Anchor program for reputation** — still EVM-only on the on-chain path.@@ -78988,7 +79395,7 @@ The MCP client and cron crawler are unit-tested with mocked `fetch` and `sql`. E----<a id="sec-376"></a>+<a id="sec-377"></a>> **Source:** `docs/solana-reputation.md` · [↑ table of contents](#table-of-contents)@@ -78998,7 +79405,7 @@ How three.ws gives a Solana agent a verifiable, portable trust record — and whIn plain terms: reputation is how anyone (a person or another AI agent) can check whether a Solana agent is trustworthy before paying or hiring it. You can see any agent's trust grade right now in the [Agent Passport](/agent-passport.html), and query the same data over the API described below. This page explains where those numbers come from and how to write your own on-chain vouch.-This is the Solana companion to [Agent Reputation](#sec-054) (the why) and [ERC-8004](#sec-182) / [Reputation System](#sec-353) (the EVM how-to). If you haven't read those, start with [Agent Reputation](#sec-054) for the trust problem reputation solves. This page covers how that same problem is solved on Solana, where there is no canonical on-chain reputation registry to inherit.+This is the Solana companion to [Agent Reputation](#sec-054) (the why) and [ERC-8004](#sec-182) / [Reputation System](#sec-354) (the EVM how-to). If you haven't read those, start with [Agent Reputation](#sec-054) for the trust problem reputation solves. This page covers how that same problem is solved on Solana, where there is no canonical on-chain reputation registry to inherit.---@@ -79040,14 +79447,17 @@ There's no custom contract — a vouch is an **SPL Memo** transaction. The revieCost is a single Solana fee (~$0.0000+); the optional stake is real SOL that goes to the agent owner. The Passport's rate panel enforces a **double-review guard** — rating the same agent twice from one wallet updates that wallet's score rather than adding a second vote.-### The eight attestation kinds+### The nine attestation kinds-Every memo is one of these (`api/_lib/solana-attestations.js`):+Every memo is one of these, and `KIND_MAP` in+[`api/_lib/solana-attestations.js`](../api/_lib/solana-attestations.js) is the+single source of truth for the list:| Kind | Meaning ||---|---|| `threews.feedback.v1` | A 1–5 score (a vouch) || `threews.stake.v1` | A score backed by a SOL transfer to the owner |+| `threews.unstake.v1` | Retires the conviction a specific stake expressed. Carries the staking signature and a decimal lamport `principal` string, so a payout past `Number.MAX_SAFE_INTEGER` survives the JSON round trip || `threews.validation.v1` | A pass/fail check — including `glb-schema` (the Solana analog of the EVM ValidationRegistry's glTF attestation) || `threews.task.v1` | An agent advertised a task || `threews.accept.v1` | The agent owner accepted/acknowledged a task — used to *verify* feedback |@@ -79149,7 +79559,7 @@ In the agent card, both registrations sit side by side as CAIP-style references]```-**Reputation from the two chains is read separately, not mathematically merged.** A consumer that wants the full picture reads ERC-8004 (via the [`agent_reputation` MCP tool](#sec-353)) *and* the Solana reputation API, and weighs them itself. The agent has one identity; its trust record is the union of what each chain attests.+**Reputation from the two chains is read separately, not mathematically merged.** A consumer that wants the full picture reads ERC-8004 (via the [`agent_reputation` MCP tool](#sec-354)) *and* the Solana reputation API, and weighs them itself. The agent has one identity; its trust record is the union of what each chain attests.---@@ -79182,12 +79592,12 @@ The shapes differ; the purpose is identical — let an agent decide, before it p- **[Read a Solana agent's reputation](/tutorials/solana-agent-reputation)** — open a Passport, read the grade, query the API, and leave an on-chain vouch.- **[Agent Reputation: why it matters](#sec-054)** — the trust problem both chains solve.-- **[Solana agents](#sec-377)** — registering an agent as a Metaplex Core asset.-- **[ERC-8004](#sec-182)** · **[Reputation System](#sec-353)** — the EVM side of the same idea.+- **[Solana agents](#sec-378)** — registering an agent as a Metaplex Core asset.+- **[ERC-8004](#sec-182)** · **[Reputation System](#sec-354)** — the EVM side of the same idea.----<a id="sec-377"></a>+<a id="sec-378"></a>> **Source:** `docs/solana.md` · [↑ table of contents](#table-of-contents)@@ -79199,7 +79609,7 @@ Technically, the flow mirrors the [ERC-8004](#sec-182) path on EVM chains: a useThis document covers what is supported today, the end-to-end registration flow, and what is intentionally **not** on Solana yet.-> Deploying many agents at once (server-side, into the three.ws Agents collection, with a live dashboard)? See [Deploy agents on-chain (bulk)](#sec-295).+> Deploying many agents at once (server-side, into the three.ws Agents collection, with a live dashboard)? See [Deploy agents on-chain (bulk)](#sec-296).---@@ -79212,16 +79622,16 @@ This document covers what is supported today, the end-to-end registration flow,| Solana payments (checkout + confirm) | Live | [api/payments/solana/\[action\].js](../api/payments/solana/[action].js) (handles `checkout` + `confirm`) || Agent identity NFT (Metaplex Core) | Live | [api/agents/solana/\[action\].js](../api/agents/solana/[action].js) (handles `register-prep` + `register-confirm`) || Agent record persisted in DB | Live | `agent_identities`, `meta.chain_type='solana'`, `meta.sol_mint_address` |-| On-chain reputation (SPL Memo attestations) | Live | [api/_lib/solana-attestations.js](../api/_lib/solana-attestations.js), aggregated by `/api/agents/solana-reputation` (see [Solana reputation](#sec-376)) |+| On-chain reputation (SPL Memo attestations) | Live | [api/_lib/solana-attestations.js](../api/_lib/solana-attestations.js), aggregated by `/api/agents/solana-reputation` (see [Solana reputation](#sec-377)) || On-chain validation (glTF/schema attestation) | Live | [api/_lib/solana-validation-attest.js](../api/_lib/solana-validation-attest.js), auto-run at register-confirm |-| Credentialed attestations (SAS) | Live | [api/agents/sas/\[action\].js](../api/agents/sas/[action].js) (see [SAS attestations](#sec-358)) |+| Credentialed attestations (SAS) | Live | [api/agents/sas/\[action\].js](../api/agents/sas/[action].js) (see [SAS attestations](#sec-359)) || Discovery file lists Solana agents | **Not yet** | [public/.well-known/agent-registration.json](../public/.well-known/agent-registration.json) publishes the platform card and x402 catalog, but its `registrations` array carries no per-agent Solana entries |---## How identity works on Solana-EVM agents are minted as ERC-721 NFTs in the IdentityRegistry contract at a fixed CREATE2 address. Solana has no CREATE2 and no shared registry contract. Instead each agent is a **Metaplex Core asset** (a single-account NFT standard with name + URI metadata baked in). When a three.ws Agents collection is configured for the network (`SOLANA_AGENT_COLLECTION_MAINNET` / `_DEVNET`), the asset is minted into that collection with the collection authority co-signing, so three.ws can curate on-chain metadata on the owner's behalf; with no collection configured, the mint falls back to a standalone asset. See [Deploy agents on-chain (bulk)](#sec-295) for the collection model.+EVM agents are minted as ERC-721 NFTs in the IdentityRegistry contract at a fixed CREATE2 address. Solana has no CREATE2 and no shared registry contract. Instead each agent is a **Metaplex Core asset** (a single-account NFT standard with name + URI metadata baked in). When a three.ws Agents collection is configured for the network (`SOLANA_AGENT_COLLECTION_MAINNET` / `_DEVNET`), the asset is minted into that collection with the collection authority co-signing, so three.ws can curate on-chain metadata on the owner's behalf; with no collection configured, the mint falls back to a standalone asset. See [Deploy agents on-chain (bulk)](#sec-296) for the collection model.The agent's canonical identifier on Solana is its **asset pubkey** (base58, 32-byte). The platform stores it alongside the mint transaction signature so the on-chain record can always be re-verified.@@ -79445,13 +79855,13 @@ There is no global Solana registry to query — discovery happens via the platfo## What's on Solana instead of a registry contract-- **Reputation**: there is no single `ReputationRegistry` contract like ERC-8004's. Instead, permissionless SPL Memo attestations (feedback, stakes, tasks, disputes) are written on-chain against the agent's asset pubkey, crawled into `solana_attestations`, and aggregated by `/api/agents/solana-reputation`. Off-chain pump.fun behavior signals land in `pumpfun_signals` and feed the same score. See [Solana reputation](#sec-376) and [solana-pumpfun.md](#sec-375).-- **Validation**: no registry contract either; validations are `threews.validation.v1` SPL Memo attestations (including the automatic glb-schema attestation at register-confirm), plus SAS credentialed validations signed by the platform authority ([SAS attestations](#sec-358)).+- **Reputation**: there is no single `ReputationRegistry` contract like ERC-8004's. Instead, permissionless SPL Memo attestations (feedback, stakes, tasks, disputes) are written on-chain against the agent's asset pubkey, crawled into `solana_attestations`, and aggregated by `/api/agents/solana-reputation`. Off-chain pump.fun behavior signals land in `pumpfun_signals` and feed the same score. See [Solana reputation](#sec-377) and [solana-pumpfun.md](#sec-376).+- **Validation**: no registry contract either; validations are `threews.validation.v1` SPL Memo attestations (including the automatic glb-schema attestation at register-confirm), plus SAS credentialed validations signed by the platform authority ([SAS attestations](#sec-359)).## What's intentionally not on Solana yet- **Delegated wallet (EIP-712)**: There is no equivalent for Solana agents. Owner = the wallet that signed the mint.-- **Cross-chain identifier**: EVM agents use `eip155:<chainId>:<registry>:<agentId>` (CAIP-10). The user-signed flow stores the asset pubkey directly; only the bulk deploy path records a CAIP-2-style `solana:<cluster-genesis>` chain id in `meta.onchain.chain` (see [onchain-agents.md](#sec-295)).+- **Cross-chain identifier**: EVM agents use `eip155:<chainId>:<registry>:<agentId>` (CAIP-10). The user-signed flow stores the asset pubkey directly; only the bulk deploy path records a CAIP-2-style `solana:<cluster-genesis>` chain id in `meta.onchain.chain` (see [onchain-agents.md](#sec-296)).- **Discovery**: `agent-registration.json` publishes the platform-level card and x402 catalog, but its `registrations` array does not list individual Solana agents. Adding them means defining a JSON schema for Metaplex Core assets; not done yet.A full ERC-8004-equivalent on Solana (Identity / Reputation / Validation as Anchor programs with a parallel JS client) remains a separate, larger piece of work; this document covers what ships today.@@ -79467,7 +79877,7 @@ A full ERC-8004-equivalent on Solana (Identity / Reputation / Validation as Anch----<a id="sec-378"></a>+<a id="sec-379"></a>> **Source:** `docs/spatial-mcp.md` · [↑ table of contents](#table-of-contents)@@ -79598,7 +80008,7 @@ Free 3D Studio (`structuredContent.spatial`): `forge_free`, `text_to_avatar`, `m----<a id="sec-379"></a>+<a id="sec-380"></a>> **Source:** `docs/specs/agent-trading.md` · [↑ table of contents](#table-of-contents)@@ -79685,7 +80095,7 @@ Real routes (no mocks), server-side guards with tests (including the $THREE-sell----<a id="sec-380"></a>+<a id="sec-381"></a>> **Source:** `docs/splat.md` · [↑ table of contents](#table-of-contents)@@ -79756,7 +80166,7 @@ Supported inputs at a glance:----<a id="sec-381"></a>+<a id="sec-382"></a>> **Source:** `docs/stage.md` · [↑ table of contents](#table-of-contents)@@ -79920,7 +80330,7 @@ The browser resolves the realtime server from, in order: `window.STAGE_SERVER_UR## Related- [Agent wallets](#sec-070): the host wallet a stage provisions at creation and receives tips into.-- [Lip-sync](#sec-259) and [Voice Lab](#sec-489): the speech and mouth-shape machinery the host performs with.+- [Lip-sync](#sec-259) and [Voice Lab](#sec-490): the speech and mouth-shape machinery the host performs with.- [Agent abilities](#sec-009): the always-on Stage Show variant that runs the same ShowDirector inside an agent's own screen.- [Notifications](#sec-288): the go-live and tip notifications a stage emits.- [Agora](#sec-073) and [IRL presence](#sec-252): the other rooms on the same realtime backbone, with the same presence discipline.@@ -79929,7 +80339,7 @@ The browser resolves the realtime server from, in order: `window.STAGE_SERVER_UR----<a id="sec-382"></a>+<a id="sec-383"></a>> **Source:** `docs/start-here.md` · [↑ table of contents](#table-of-contents)@@ -79965,7 +80375,7 @@ Think of it as giving your AI a body and a face. Instead of a plain text chatbox**Creators (no code required):** You want to publish a 3D AI character — for your business, your personal site, a product, or just for fun. You use the web interface to pick an avatar, describe the agent's personality, and get an embed snippet to drop into your site. Start with [Make your first agent →](#sec-263)-**Developers:** You want to build on top of the platform — integrate the `<agent-3d>` web component, write custom skills, call the REST API, or self-host the stack. Start with the [Introduction →](#sec-251) or [Quick start →](#sec-348)+**Developers:** You want to build on top of the platform — integrate the `<agent-3d>` web component, write custom skills, call the REST API, or self-host the stack. Start with the [Introduction →](#sec-251) or [Quick start →](#sec-349)---@@ -79990,10 +80400,10 @@ If you're here to create and share agents rather than write code, follow this pa1. **[Agents vs. Avatars](#sec-071)** — understand the two core concepts (5 min read)2. **[Make your first agent](#sec-263)** — create a 3D AI character in the browser, no code-3. **[Share & embed](#sec-364)** — get the embed snippet and put your agent anywhere+3. **[Share & embed](#sec-365)** — get the embed snippet and put your agent anywhere4. **[Do I need crypto?](#sec-173)** — honest answers to the wallet and payment questions-Make something the community upvotes and it can reach beyond three.ws: the top-voted forge models are published to our official Sketchfab account, prompt and backlink included. See [Sketchfab showcase](#sec-369).+Make something the community upvotes and it can reach beyond three.ws: the top-voted forge models are published to our official Sketchfab account, prompt and backlink included. See [Sketchfab showcase](#sec-370).Generations don't need a babysitter, either: start a forge job, close the tab, and the platform finishes it, saves it to your gallery, and notifies you when it's ready. See [Background generation](#sec-218).@@ -80005,79 +80415,79 @@ Curious what happens between the prompt and the model? [How the Forge works](#se- **Just exploring?** → Open [Discover](/discover) to browse agents others have built- **Creating your first agent** → Go to [/start](/start) — a 5-step wizard walks you through it-- **Want to know why the avatars feel alive?** → [Procedural animation](#sec-322) — the runtime IK layers that run on top of the recorded clips: gaze that follows your cursor or meets your eyes, and feet that land on uneven ground instead of floating over it+- **Want to know why the avatars feel alive?** → [Procedural animation](#sec-323) — the runtime IK layers that run on top of the recorded clips: gaze that follows your cursor or meets your eyes, and feet that land on uneven ground instead of floating over it- **Want your agent to perform, not just react?** → [Choreography](#sec-136): compose gestures into a named routine on a real timeline at [/choreograph](https://three.ws/choreograph), preview the whole performance on a live avatar, save it to your agent, and play it from any embed with `el.playRoutine('welcome')`. A routine is also just a link, so you can share one with someone who has no account-- **Want your avatar to sign in ASL?** → Start with the 15-minute walkthrough, [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar): type a phrase and watch it signed at [/sign-language](https://three.ws/sign-language), share it as a link (`?say=happy+to+meet+you`), spell a word onto your own avatar and export it as an animated GLB, turn on signed chat replies with the 🤟 toggle or the `sign-language` embed attribute, and fingerspell back with your webcam. The full reference is [Sign language](#sec-367)+- **Want your avatar to sign in ASL?** → Start with the 15-minute walkthrough, [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar): type a phrase and watch it signed at [/sign-language](https://three.ws/sign-language), share it as a link (`?say=happy+to+meet+you`), spell a word onto your own avatar and export it as an animated GLB, turn on signed chat replies with the 🤟 toggle or the `sign-language` embed attribute, and fingerspell back with your webcam. The full reference is [Sign language](#sec-368)- **Wondering who the little character in the corner is?** → [The agent shell](#sec-057) — every visitor gets a named agent in the first five seconds (claim it to make it real), the ⌘K palette runs real commands (`forge …`, `digest`, `price btc`, `ask …`), and shell pages navigate without ever unloading your agent- **Want to drive your agent's computer yourself?** → [Take the wheel](#sec-056), every agent has a live screen you can watch on [/agent-screen](https://three.ws/agent-screen); if you own it, click **Take control** to grab the wheel of its real cast browser (mouse, scroll, keyboard, navigation). The agent stands aside while you drive, and the browser holds no wallet, so control can never move funds- **Meeting avatars in the worlds?** → Press <kbd>I</kbd> on anyone in `/play`, `/city`, a coin world, or `/agora` to see who they are — the [avatar inspector](#sec-109) shows their reputation, wallet, and profile-- **Running a live event in the world?** → [Live events in `/play`](#sec-317): one config file turns the `$THREE` home town into a place something is happening in: a countdown chip, an agenda drawer that knows what is on right now and what is next, a gold banner at every segment change, and a fireworks show every client renders identically from the wall clock without a single packet. Covers the config, the six phases, previewing without waiting for the date, and the browser audit to run before you go live+- **Running a live event in the world?** → [Live events in `/play`](#sec-318): one config file turns the `$THREE` home town into a place something is happening in: a countdown chip, an agenda drawer that knows what is on right now and what is next, a gold banner at every segment change, and a fireworks show every client renders identically from the wall clock without a single packet. Covers the config, the six phases, previewing without waiting for the date, and the browser audit to run before you go live- **Want people to keep something for showing up?** -> [Event souvenirs](#sec-210): everyone who walks into the event world while an event is live is handed a free commemorative wearable, kept forever, and once the window closes it is never granted again. No purchase path, before or after, which is the whole point: a cosmetic you can buy later says nothing about you. Covers the one-line config (the same file the countdown already reads), what the server refuses to do with a mistyped one, and how to author the next item- **Want your community to fight another one?** -> [Coin Wars](#sec-142): every coin world's plaza has a war portal showing that community's live Elo standing, its last battles, and any war running right now. Press `E` to prove you hold the coin, queue the community, and the moment a second one queues you both drop into the same arena at `/play/war`. Covers the matchKey rendezvous, the signed pairing that stops a fighter inventing an opponent, the `/api/wars` surface, and the return link that lands you back in the world you left-- **Changing anything in the `/play` world?** → [How `/play` stays safe, honest, and light](#sec-316): the invariants that keep the largest interactive surface on the platform from breaking. Untrusted names never become markup, a coin's artwork can't escape its CSS, a broken world link says so instead of building a phantom world, a reconnect retires the peers who left, and everything the world loads gets freed (the difference between "works on a laptop" and "works on a phone"). Each rule names the failure it prevents, because each one shipped once-- **Making `/play` load faster (or worried you slowed it down)?** → [Why `/play` opens fast, and how to keep it that way](#sec-314): the boot-cost invariants behind the heaviest page on the platform. The physics runtime is never a static import, decorative content waits for the world to settle, shader programs compile before the frame that draws them, the scene is lit on its first frame rather than after a download, and the quality governor never judges a world that is still assembling. Each rule names the regression it prevents, with the measurement that found it-- **Following creators?** → [The social layer](#sec-374): follow anyone from their `/u/:username` portfolio, watch their work land on [/feed](/feed), climb the [/rankings](/rankings) leaderboards with streaks and badges, get bell notifications for remixes, DMs, and coin graduations, and search everything at once on [/search](/search)+- **Changing anything in the `/play` world?** → [How `/play` stays safe, honest, and light](#sec-317): the invariants that keep the largest interactive surface on the platform from breaking. Untrusted names never become markup, a coin's artwork can't escape its CSS, a broken world link says so instead of building a phantom world, a reconnect retires the peers who left, and everything the world loads gets freed (the difference between "works on a laptop" and "works on a phone"). Each rule names the failure it prevents, because each one shipped once+- **Making `/play` load faster (or worried you slowed it down)?** → [Why `/play` opens fast, and how to keep it that way](#sec-315): the boot-cost invariants behind the heaviest page on the platform. The physics runtime is never a static import, decorative content waits for the world to settle, shader programs compile before the frame that draws them, the scene is lit on its first frame rather than after a download, and the quality governor never judges a world that is still assembling. Each rule names the regression it prevents, with the measurement that found it+- **Following creators?** → [The social layer](#sec-375): follow anyone from their `/u/:username` portfolio, watch their work land on [/feed](/feed), climb the [/rankings](/rankings) leaderboards with streaks and badges, get bell notifications for remixes, DMs, and coin graduations, and search everything at once on [/search](/search)- **Placing agents in the real world?** → [IRL](#sec-252): pin an agent at a real GPS spot from your phone, and anyone who physically walks up can see it, talk to it, and pay it. Real crypto can be escrowed at places ([Money Drops](irl.md#money-drops)) and agents sign proofs that you were really there ([World Lines](irl.md#world-lines))-- **Making 3D models?** → [The free 3D Studio MCP](#sec-269) turns a prompt into a model, avatar, or rigged character — and lets you refine it by talking to it (*"make it metallic"*) with a revertable version history. Publish a model as remixable and earn on-chain royalties when others build on it: [the remix economy](#sec-351). Vote on the best community models and win the weekly board: [Forge-Off](#sec-219)+- **Making 3D models?** → [The free 3D Studio MCP](#sec-269) turns a prompt into a model, avatar, or rigged character — and lets you refine it by talking to it (*"make it metallic"*) with a revertable version history. Publish a model as remixable and earn on-chain royalties when others build on it: [the remix economy](#sec-352). Vote on the best community models and win the weekly board: [Forge-Off](#sec-219)- **Using ChatGPT?** → [AR in ChatGPT](#sec-135) is how a sentence typed into ChatGPT becomes a 3D model standing in your room, from the free generation lane to the one-tap AR link; [your first prompt to 3D](/tutorials/first-prompt-to-3d) walks you through it in five minutes- **Making videos without showing your face?** → [Motion Swap](#sec-284) — upload a video of yourself and get it back with your 3D avatar performing your exact motion instead of you; pose tracking and masking run server-side, compositing and export happen in your browser at [/motion-swap](https://three.ws/motion-swap)-- **Want a support chat with a face on your own site?** → [Concierge](#sec-147) — a one-tag chat widget where a rigged 3D avatar lipsyncs streaming answers grounded in your live page, with voice in and out; [the build tutorial](#sec-410) shows how every part works+- **Want a support chat with a face on your own site?** → [Concierge](#sec-147) — a one-tag chat widget where a rigged 3D avatar lipsyncs streaming answers grounded in your live page, with voice in and out; [the build tutorial](#sec-411) shows how every part works- **Want a full-body avatar assistant on your site instead?** → [Assistant widget](#sec-099) — a launcher button opens an animated 3D character standing directly on your page (or a color/gradient), with a free-lane or bring-your-own-key chatbot and a speak mode that says whatever you type, out loud, in a speech bubble-- **Trading?** → [The trading surfaces](#sec-398) maps the solo stack (Radar, Coin Intelligence, Live Trade Feed, Watchlist, Mission Control); [trading arenas](#sec-394) covers tournaments, the theater, vaults, and swarms; [Oracle](#sec-304) is the conviction engine underneath all of it-- **Want your agent to trade for you?** → [Agent Sniper](#sec-059) — the full autonomous-trading pipeline (entry gates, the simulate-the-sell trade firewall, hash-chained decision ledger, exit ladder), with the audited case study of the platform's first live +42% trade; [arm one in minutes](#sec-407)+- **Trading?** → [The trading surfaces](#sec-399) maps the solo stack (Radar, Coin Intelligence, Live Trade Feed, Watchlist, Mission Control); [trading arenas](#sec-395) covers tournaments, the theater, vaults, and swarms; [Oracle](#sec-305) is the conviction engine underneath all of it+- **Want your agent to trade for you?** → [Agent Sniper](#sec-059) — the full autonomous-trading pipeline (entry gates, the simulate-the-sell trade firewall, hash-chained decision ledger, exit ladder), with the audited case study of the platform's first live +42% trade; [arm one in minutes](#sec-408)- **Wondering what stands between the chat agent and your wallet?** → [The agent runtime and transaction guard](#sec-055): every fund-moving tool call in /chat is preflighted through a seven-layer policy engine (blacklist, approval policy, dollar caps, spend envelope, MEV slippage clamp) before the wallet ever prompts, and the approval modal shows the verdict; the engine ships as [`@three-ws/agent-runtime`](../packages/agent-runtime) for your own agents-- **Curious how the trading fleet improves itself?** → [Earned autonomy](#sec-373), where each arm's own realized record decides how much rope it gets: wider tuning bounds, unlocked settings, a bigger share of the fleet budget, and a deeper evidence pack in front of its LLM judge, all re-earned continuously and none of it able to touch a safety rail-- **Trusting an agent with money?** → [Custody you can verify](#sec-165) — spend limits, freeze, Merkle proof-of-custody, and social recovery; [claim your wallet](#sec-392) turns any pump.fun track record into a public, provable Trader Card. Every real-funds feature sits behind the [risk acknowledgment](#sec-356) — read the [Risk Disclosure](https://three.ws/legal/risk) before committing anything-- **Need a track record another app can verify?** → [Trader Passport](#sec-393): the daily on-chain attestation of a trader's score, served as a public credential any terminal can fetch, pin, and re-check against Solana without trusting us. Includes a database-free verify endpoint and the committed-versus-live drift, so a stale snapshot can never pass as a current claim-- **Vetting a counterparty before you pay it?** → [Trust primitives](#sec-400) — the cross-chain Agent Reputation endpoint scores ANY wallet, mint, or agent id (Solana or EVM) 0–100 from real on-chain evidence, in one paid call, before your agent transacts-- **Wondering where the platform's money goes?** → [The autonomous economy](#sec-102) — how the on-chain treasury funds itself, the funding-root → engines → sweepback loop, the locks that keep every dollar inside platform-owned wallets, and the two leak scanners that audit every wallet on-chain every minute (so far: 44,122 transactions scanned, zero leaks)+- **Curious how the trading fleet improves itself?** → [Earned autonomy](#sec-374), where each arm's own realized record decides how much rope it gets: wider tuning bounds, unlocked settings, a bigger share of the fleet budget, and a deeper evidence pack in front of its LLM judge, all re-earned continuously and none of it able to touch a safety rail+- **Trusting an agent with money?** → [Custody you can verify](#sec-165) — spend limits, freeze, Merkle proof-of-custody, and social recovery; [claim your wallet](#sec-393) turns any pump.fun track record into a public, provable Trader Card. Every real-funds feature sits behind the [risk acknowledgment](#sec-357) — read the [Risk Disclosure](https://three.ws/legal/risk) before committing anything+- **Need a track record another app can verify?** → [Trader Passport](#sec-394): the daily on-chain attestation of a trader's score, served as a public credential any terminal can fetch, pin, and re-check against Solana without trusting us. Includes a database-free verify endpoint and the committed-versus-live drift, so a stale snapshot can never pass as a current claim+- **Vetting a counterparty before you pay it?** → [Trust primitives](#sec-401) — the cross-chain Agent Reputation endpoint scores ANY wallet, mint, or agent id (Solana or EVM) 0–100 from real on-chain evidence, in one paid call, before your agent transacts+- **Wondering where the platform's money goes?** → [The autonomous economy](#sec-102): how the on-chain treasury funds itself, the funding-root → engines → sweepback loop, the locks that keep every dollar inside platform-owned wallets, and the two leak scanners that audit every wallet on-chain every few minutes (as of 2026-07-12: 44,122 transactions scanned, zero leaks; the live totals stay re-derivable from each scanner's own cursor)- **Publishing news, or wondering what we show of yours?** → [Publisher rights in the news reader](#sec-287) — three.ws quotes a capped lead excerpt and links out, never the article body; covers the enforced limits, how a withdrawn story is removed (410 + deindex + purge), and how to ask us to take something down- **Your agent needs market data?** → [Market Data API](#sec-264) — the live feeds behind every /markets page (prices, TVL, yields, stablecoins, gas, derivatives, exploits) as 17 pay-per-call x402 endpoints from $0.001 USDC, plus the one-call `market-pulse` bundle; start at the free index [/api/x402/market](https://three.ws/api/x402/market)-- **Trading Robinhood Chain?** → [Robinhood Chain on three.ws](#sec-357) — the 24/7 tokenized-equity board (live Chainlink NAV vs. DEX premium), a memecoin screener, and a real wallet-connect buy flow at [/markets/robinhood](https://three.ws/markets/robinhood), backed by 6 free + 1 paid `/api/v1/robinhood/*` endpoints-- **Listing our services across the x402 ecosystem?** → [x402 distribution](#sec-500) — the operating playbook for x402scan, the CDP Bazaar, agentic.market, 402index, and every other directory: how each one indexes providers, what ranks us (settled tx + distinct buyers, trailing 30 days), what's automated, and what needs a human-- **Debugging an x402 integration?** → [x402 developer tools](#sec-499) — a free test bench: echo your payment envelope (signatures redacted), debug a failed 402 exchange into an ordered fix list, and verify a receipt's attestation and on-chain settlement, all against a live server without spending anything+- **Trading Robinhood Chain?** → [Robinhood Chain on three.ws](#sec-358) — the 24/7 tokenized-equity board (live Chainlink NAV vs. DEX premium), a memecoin screener, and a real wallet-connect buy flow at [/markets/robinhood](https://three.ws/markets/robinhood), backed by 6 free + 1 paid `/api/v1/robinhood/*` endpoints+- **Listing our services across the x402 ecosystem?** → [x402 distribution](#sec-501) — the operating playbook for x402scan, the CDP Bazaar, agentic.market, 402index, and every other directory: how each one indexes providers, what ranks us (settled tx + distinct buyers, trailing 30 days), what's automated, and what needs a human+- **Debugging an x402 integration?** → [x402 developer tools](#sec-500) — a free test bench: echo your payment envelope (signatures redacted), debug a failed 402 exchange into an ordered fix list, and verify a receipt's attestation and on-chain settlement, all against a live server without spending anything- **Paying from the BNB ecosystem?** → [BNB Chain payments](#sec-123) — three.ws speaks MPP (BNB's Machine Payments Protocol) as well as x402, so agents can pay our endpoints on BNB Chain and our agents can pay theirs; covers the buyer/seller flow, the x402↔MPP bridge spec, and MegaFuel gasless (zero-gas) sends with an honest self-pay fallback- **Walking in real time, on-chain?** → [The on-chain world](#sec-125) — `/agora`'s Play mode has an opt-in toggle that commits your walk to a real BNB Chain contract at its live ~0.45s block cadence, gaslessly, and renders every other on-chain player as a live ghost marker; covers why this only works on BNB Chain, the architecture, and a reproducible two-wallet proof- **Buying an encrypted 3D model?** → [The vault](#sec-124) — `/vault` sells access to encrypted 3D models gated by a real BSC purchase that triggers a real cross-chain Greenfield permission grant; covers the buyer flow (browse, buy, settle, unlock, view — all decrypted client-side), the local session-key wallet model, and a reproducible anvil-fork browser proof-- **Want a branded on-chain address?** → [Vanity grinder](#sec-485) — grind a Solana address that starts with your ticker (branded token mint or agent/treasury wallet) in one paid USDC call; keypair or importable mnemonic, nothing stored, optional sealed delivery, plus a provably-fair variant and a pre-ground premium inventory-- **Going Pro?** → [Paid plans](#sec-313) — upgrade with a single on-chain payment in USDC, SOL, or $THREE (the platform coin takes 20% off); [hold-to-access](#sec-234) covers the separate hold-$THREE tier ladder-- **Building a community perk?** → [Token-gated 3D embeds](#sec-390) — turn an avatar or on-chain agent into a holder-only interactive embed; visitors prove a real, server-verified on-chain balance before the live scene renders, no download-only gate+- **Want a branded on-chain address?** → [Vanity grinder](#sec-486) — grind a Solana address that starts with your ticker (branded token mint or agent/treasury wallet) in one paid USDC call; keypair or importable mnemonic, nothing stored, optional sealed delivery, plus a provably-fair variant and a pre-ground premium inventory+- **Going Pro?** → [Paid plans](#sec-314) — upgrade with a single on-chain payment in USDC, SOL, or $THREE (the platform coin takes 20% off); [hold-to-access](#sec-234) covers the separate hold-$THREE tier ladder+- **Building a community perk?** → [Token-gated 3D embeds](#sec-391) — turn an avatar or on-chain agent into a holder-only interactive embed; visitors prove a real, server-verified on-chain balance before the live scene renders, no download-only gate- **Watching a generation cook?** → [Generation Watch](#sec-226): the /watch page tracks a running text-to-3D generation live, from the countdown to the automatic hand-off into the viewer- **Browsing what the agents bought?** → [The Agent-Forged Gallery](#sec-222): 3D props purchased by autonomous agents with real USDC over x402, each carrying its paying wallet, price, and on-chain settlement receipt-- **Need a ready-made character or prop?** → The [Character Library](#sec-132) has 106 rigged characters (one click into the Studio, Animation Studio, or an embed) and the [Object Library](#sec-292) has hundreds of CC0 props with live preview, AR placement, and direct GLB download+- **Need a ready-made character or prop?** → The [Character Library](#sec-132) has 106 rigged characters (one click into the Studio, Animation Studio, or an embed) and the [Object Library](#sec-293) has hundreds of CC0 props with live preview, AR placement, and direct GLB download- **Rendering avatars outside the viewer?** → [Media and render API](#sec-273): avatar PNG renders for `<img>` tags, posed clip renders, the runtime GLB optimizer, the CORS-open model proxy, and the free vision and speech-to-text endpoints; companion to the [3D API](#sec-001)-- **Putting avatars in your build pipeline?** → [Avatar CLI](#sec-105): four offline commands that scaffold a hash-anchored avatar manifest from a wallet and a GLB, validate it against the published schema, and print an embed snippet that renders. Non-zero exits make it a release gate, so a re-exported mesh fails your build instead of your page. [Ship an avatar manifest](#sec-451) is the guided walkthrough-- **Uploaded an avatar that loads but never moves?** → [Rig Doctor](#sec-355): drop the `.glb` and find out in a second why. It names the skeleton convention, scores torso, arms, hands, and legs separately so you learn which limbs stay frozen rather than a useless overall percentage, plays real clips on your own rig to prove it, and hands back a repaired file when the joint names are the only problem. Runs entirely in your browser; nothing is uploaded+- **Putting avatars in your build pipeline?** → [Avatar CLI](#sec-105): four offline commands that scaffold a hash-anchored avatar manifest from a wallet and a GLB, validate it against the published schema, and print an embed snippet that renders. Non-zero exits make it a release gate, so a re-exported mesh fails your build instead of your page. [Ship an avatar manifest](#sec-452) is the guided walkthrough+- **Uploaded an avatar that loads but never moves?** → [Rig Doctor](#sec-356): drop the `.glb` and find out in a second why. It names the skeleton convention, scores torso, arms, hands, and legs separately so you learn which limbs stay frozen rather than a useless overall percentage, plays real clips on your own rig to prove it, and hands back a repaired file when the joint names are the only problem. Runs entirely in your browser; nothing is uploaded- **Minting your work on-chain?** → [Minted 3D assets](#sec-278): the /minted gallery of avatars minted as Metaplex Core NFTs, the opt-in mint flow, baked provenance, and enforced remix royalties-- **Letting an agent spend without your key?** → [Payment Sessions](#sec-310): fund a capped envelope from prepaid credits, hand the agent a bearer token, and it pays x402 endpoints under your caps and allowlist, refundable on cancel-- **Earning proof you were somewhere?** → [World Lines](#sec-495): walk to an agent's real-world spot, complete its challenge (a tap, a passphrase, or a quiz), and its wallet signs an ed25519 proof of presence you own and anyone can verify. No coordinate finer than a roughly 1 km cell is ever stored-- **Want your walking to count for something?** → [The Walk Leaderboard](#sec-490): distance, sites, and time ranked daily, weekly, and all-time, for signed-in and anonymous walkers alike, with an honest account of how a session is counted and what a guard can and cannot prove+- **Letting an agent spend without your key?** → [Payment Sessions](#sec-311): fund a capped envelope from prepaid credits, hand the agent a bearer token, and it pays x402 endpoints under your caps and allowlist, refundable on cancel+- **Earning proof you were somewhere?** → [World Lines](#sec-496): walk to an agent's real-world spot, complete its challenge (a tap, a passphrase, or a quiz), and its wallet signs an ed25519 proof of presence you own and anyone can verify. No coordinate finer than a roughly 1 km cell is ever stored+- **Want your walking to count for something?** → [The Walk Leaderboard](#sec-491): distance, sites, and time ranked daily, weekly, and all-time, for signed-in and anonymous walkers alike, with an honest account of how a session is counted and what a guard can and cannot prove- **Driving an agent wallet from code?** → [The agent wallet control API](#sec-069): the reference for all seven owner-only surfaces on an agent's Solana wallet (scoped session keys, programmable orders, plain-language intents, Treasury Autopilot, portfolio P&L, guardians and the dead-man switch, and the anomaly guard), each with its exact JSON, every error, and a curl example- **Turning a token into a paid endpoint?** → [CA to x402](#sec-129): paste a contract address and get a live agent-payable market-intel endpoint, discoverable in the bazaar, with the generated snippets-- **Want other agents to pay for your tools?** → [Monetize an MCP server](#sec-435): build an MCP server that charges per `tools/call` in USDC on Solana, with a free orientation tool in front of the paid ones and the verify-work-settle ordering that means a failed call never takes money. The runnable code is [examples/paid-mcp-server](https://github.com/nirholas/three.ws/tree/main/examples/paid-mcp-server)-- **Checking whether the economy is real?** → [Agent economy volume](#sec-051) counts only settled agent-to-agent USDC for paid skills, and [Viability](#sec-487) shows the unit economics (GMV, take rate, repeat buyers, realized P&L) from on-chain data with no projections-- **Designing an agent's look and brand?** → [Agent Identity Studio](#sec-052) turns a brand brief into a rigged avatar plus posed studio renders; [Living Stages](#sec-381) covers shareable stages; [the Avatar Engines Atlas](#sec-107) is the factual survey of the engines in this space and which ones we animate+- **Want other agents to pay for your tools?** → [Monetize an MCP server](#sec-436): build an MCP server that charges per `tools/call` in USDC on Solana, with a free orientation tool in front of the paid ones and the verify-work-settle ordering that means a failed call never takes money. The runnable code is [examples/paid-mcp-server](https://github.com/nirholas/three.ws/tree/main/examples/paid-mcp-server)+- **Checking whether the economy is real?** → [Agent economy volume](#sec-051) counts only settled agent-to-agent USDC for paid skills, and [Viability](#sec-488) shows the unit economics (GMV, take rate, repeat buyers, realized P&L) from on-chain data with no projections+- **Designing an agent's look and brand?** → [Agent Identity Studio](#sec-052) turns a brand brief into a rigged avatar plus posed studio renders; [Living Stages](#sec-382) covers shareable stages; [the Avatar Engines Atlas](#sec-107) is the factual survey of the engines in this space and which ones we animate- **Need to prove what an agent was told to do?** → [Signed manifests](agent-manifest.md#signed-manifests-v03): every persona save signs the agent's full configuration, system prompt included, and pins it to IPFS. Anyone with the CID can verify the signature offline (`node scripts/verify-agent-manifest.mjs --cid …`) and diff the pinned record against the agent running today, with no account and no trust in us-- **Writing about us?** → [The press kit](#sec-321) has the logos, the usage rules, and the boilerplate (editorial use needs no permission), and [the partner ecosystem](#sec-307) maps every partner program to what the integration actually is-- **Backing an agent with capital?** → [USDC agent vaults](#sec-486): NAV-priced deposits and redemptions, the drawdown breaker that halts a vault, performance-fee claims, and the public audit ledger anyone can read-- **Funding your own agents?** → [Your master wallet](#sec-471): the per-user custodial hub you fund once, then top up agent wallets, send SOL or USDC, and read on-chain history from+- **Writing about us?** → [The press kit](#sec-322) has the logos, the usage rules, and the boilerplate (editorial use needs no permission), and [the partner ecosystem](#sec-308) maps every partner program to what the integration actually is+- **Backing an agent with capital?** → [USDC agent vaults](#sec-487): NAV-priced deposits and redemptions, the drawdown breaker that halts a vault, performance-fee claims, and the public audit ledger anyone can read+- **Funding your own agents?** → [Your master wallet](#sec-472): the per-user custodial hub you fund once, then top up agent wallets, send SOL or USDC, and read on-chain history from- **Following a trader instead of picking?** → [Copy trading](#sec-160): follow a leader two ways, either your agent mirroring real Solana trades inside its own spend policy, or sized intents you sign yourself. Nothing is simulated, so the doc covers the leaderboard weighting, the Smart Money directory, and how performance fees accrue- **Not ready to risk money on a trader yet?** → [Ghost-copy](#sec-229): paper-copy any verified agent over their real closed on-chain trades and see the equity curve your budget would have had, sized by the same engine that runs live copy trades. No wallet, no signature, no account, and every trade your budget could not reach is listed with the reason- **Watching identities land on-chain?** → [On-chain deployments](#sec-170): the live feed of agent identities registering on-chain as it happens, Solana Metaplex Core mints alongside ERC-8004 registrations across 15 EVM chains, with chain footprint and capability stats- **Building against the API?** → [The developer platform](#sec-171): API keys, usage metrics, signed webhooks, the one-call MCP connection test, and the public tool and skills catalogs, with a runnable example per endpoint-- **Auditing an agent's decisions?** → [The Reasoning Ledger](#sec-350): hash-chained, on-chain-anchored records of every consequential agent decision, verifiable by anyone at /ledger+- **Auditing an agent's decisions?** → [The Reasoning Ledger](#sec-351): hash-chained, on-chain-anchored records of every consequential agent decision, verifiable by anyone at /ledger- **Following Solana traders?** → [KOL Tracker](#sec-255): KOLs ranked by realized P&L computed from their own wallets' on-chain trades (never self-reported), with the public API behind it- **Listening to the economy?** → [Agent Symphony](#sec-061): /symphony plays the live agent economy as generative music; every event type has a voice, and solo mode isolates one agent by ear- **Catching up on your inbox?** → [Notifications](#sec-288): the bell, the /notifications center, category filters, and the full inbox API- **Showing off your work?** → [The creator portfolio](#sec-162): everything on your public /u/username page, what makes an item public, and how following works from it-- **Exploring our history?** → [The Story So Far](#sec-389): three.ws history as an explorable 3D scene at /timeline, and how a new milestone gets added to it+- **Exploring our history?** → [The Story So Far](#sec-390): three.ws history as an explorable 3D scene at /timeline, and how a new milestone gets added to it- **Competing today?** → [Daily Match](#sec-167): live daily standings over real agent output (actions, trades, skill sales, launches), resetting 00:00 UTC- **Developer docs** → Read the [Introduction](#sec-251) for the full technical picture-- **Contributing code?** → [Shared utilities](#sec-365) — the modules to import instead of hand-rolling: sanitized Markdown, toasts, fuzzy search, retry/circuit-breaking, bounded caches and concurrency pools, and safe CSV export-- **Your agent needs a face?** → [OKX.AI marketplace services](#sec-293) — the Agent Identity Studio and the pay-per-call 3D services other agents buy from us; demo identities at [/agent-identities](/agent-identities)+- **Contributing code?** → [Shared utilities](#sec-366) — the modules to import instead of hand-rolling: sanitized Markdown, toasts, fuzzy search, retry/circuit-breaking, bounded caches and concurrency pools, and safe CSV export+- **Your agent needs a face?** → [OKX.AI marketplace services](#sec-294) — the Agent Identity Studio and the pay-per-call 3D services other agents buy from us; demo identities at [/agent-identities](/agent-identities)- **Buying 3D asset work per call?** → [The 3D Asset Pipeline](#sec-003) — pay a few cents in USDC to rig, remesh, make game-ready, stylize, or background-remove an asset; one call, one finished URL, no account or API key- **Want your agent to have a body?** → [Embodiment](#sec-181) — one $1 USDC call turns a prompt or image into a rigged, animated, voiced 3D avatar plus a one-tag embed for any website; no account, no separate rigging step-- **Building UI?** → [ui-juice](#sec-470) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with+- **Building UI?** → [ui-juice](#sec-471) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with- **Teaching another AI to use three.ws?** → [The Agent Skills pack](#sec-058) — portable `SKILL.md` folders that give any Claude surface (Claude Code, the Claude apps, the Agent SDK) three.ws's 3D-creation, wallet, and x402-economy skills; the 3D subset is cross-platform-safe- **Wondering why a gallery shows an initial instead of a picture?** → [Avatar thumbnails](#sec-113) — where an avatar's preview image comes from, the one rule every code path obeys (never publish a thumbnail URL whose object doesn't exist), the two crons that keep coverage at 100%, and how to run the backfill@@ -80090,44 +80500,44 @@ Deeper references that don't fit a track above but answer real questions:- [Docs World](#sec-174): these same docs as a walkable 3D world, where every section is a pavilion you can stroll up to and read inside the scene- [Agent Monitor](#sec-283): the ops room at [/monitor](https://three.ws/monitor), twelve live panels covering fleet activity, money, revenue, creations and uptime, plus how to add a panel- [Design tokens](#sec-004): the canonical design vocabulary (colors, spacing, type, motion) every surface builds from-- [NVIDIA models on three.ws](#sec-290): the free hosted inference layer model by model, one key behind text-to-3D, chat, vision, embeddings, safety, and speech+- [NVIDIA models on three.ws](#sec-291): the free hosted inference layer model by model, one key behind text-to-3D, chat, vision, embeddings, safety, and speech- [Free LLM providers](#sec-224): the failover chain of a dozen free AI providers behind every text completion, what each free tier gives, and how to add the next rung-- [Tokens API on three.ws](#sec-391): the Solana Foundation asset layer that tells us which mints are the same asset, why it sits second in the market-data cascade, and the one env var that turns it on-- [NVIDIA Inception membership](#sec-289): what the platform already runs on NVIDIA silicon and what the program adds on top-- [The generator was never the hard part](#sec-291): our Nemotron Nano write-up, published on the NVIDIA Developer Forums+- [Tokens API on three.ws](#sec-392): the Solana Foundation asset layer that tells us which mints are the same asset, why it sits second in the market-data cascade, and the one env var that turns it on+- [NVIDIA Inception membership](#sec-290): what the platform already runs on NVIDIA silicon and what the program adds on top+- [The generator was never the hard part](#sec-292): our Nemotron Nano write-up, published on the NVIDIA Developer Forums- [three.ws on the AWS Builder Center](#sec-118): the index of our published AWS engineering writing, what code each article documents, and the checklist for publishing the next one-- [The onboarding tier](#sec-294): why a first-time visitor sees ~20 nav destinations instead of ~100, how the Simple ⇄ Everything switch works, and which tier a new page belongs in+- [The onboarding tier](#sec-295): why a first-time visitor sees ~20 nav destinations instead of ~100, how the Simple ⇄ Everything switch works, and which tier a new page belongs in- [What an agent can do](#sec-009): the full abilities dossier, generated from the source article- [Use cases and example workflows](#sec-149): five audience-specific walkthroughs tying shipped features to concrete outcomes-- [UX Flow Atlas](#sec-472): screen-by-screen traces of the platform's core flows, starting with onboarding and creation+- [UX Flow Atlas](#sec-473): screen-by-screen traces of the platform's core flows, starting with onboarding and creation- [Demo routes](#sec-168): the canonical map of every `/demo/*` and `/demos/*` route-- [Agent trading spec](#sec-379): the proposed agent trading capability contract+- [Agent trading spec](#sec-380): the proposed agent trading capability contract- [ERC-8004 validation attestation](#sec-183): the attestation written when an agent registers on-chain-- [zauth](#sec-508): the vendored security infrastructure docs our agent auth builds on+- [zauth](#sec-509): the vendored security infrastructure docs our agent auth builds on- [Agent tokens](#sec-068): configure the coin an agent will become, rehearse the launch for free against a real cluster, then launch it on Solana-- [pump.fun program docs](#sec-328): the vendored on-chain program reference behind the launch surfaces-- [pump-fun-mcp at the edge](#sec-324): the Cloudflare Workers mirror of the pump.fun MCP endpoint-- [Package extraction](#sec-306): how reusable packages graduate out of the monorepo+- [pump.fun program docs](#sec-329): the vendored on-chain program reference behind the launch surfaces+- [pump-fun-mcp at the edge](#sec-325): the Cloudflare Workers mirror of the pump.fun MCP endpoint+- [Package extraction](#sec-307): how reusable packages graduate out of the monorepo- [Agent task briefs](#sec-063): self-contained task prompts for AI agents working on the platform-- [Troubleshooting and FAQ](#sec-399): fixes organized by symptom-- [The 3D viewer](#sec-488): the rendering layer reference (model loading, cameras, animation, lighting)+- [Troubleshooting and FAQ](#sec-400): fixes organized by symptom+- [The 3D viewer](#sec-489): the rendering layer reference (model loading, cameras, animation, lighting)- [Farcaster memory seeding](#sec-215): give an agent your Farcaster voice, proved with a wallet the account already verified, and revoke it in one click-- [X memory seeding](#sec-497): seed an agent from your public X posts behind an explicit, versioned consent you can revoke (revocation deletes what the seed wrote)-- [The catalog quality gate](#sec-362): how a platform-seeded model earns its slot in the public catalog, the two stages it must pass, and why a rejected asset is kept rather than deleted+- [X memory seeding](#sec-498): seed an agent from your public X posts behind an explicit, versioned consent you can revoke (revocation deletes what the seed wrote)+- [The catalog quality gate](#sec-363): how a platform-seeded model earns its slot in the public catalog, the two stages it must pass, and why a rejected asset is kept rather than deleted- [Examples gallery](#sec-212): copy-paste-ready code for common use cases- [Cookbook](/cookbook): recipes you download and run, each one a real file executed against the live API, with the prose explaining why it is shaped that way-- [Premium](#sec-320): the monthly Data API pass, one on-chain payment replacing per-call micropayments for 30 days+- [Premium](#sec-321): the monthly Data API pass, one on-chain payment replacing per-call micropayments for 30 days- [Guardian console](#sec-232): the inbox for the other side of social recovery and inheritance of agent wallets- [Coin Clash](#sec-138): token-gated community battles between coin factions- [Daily Forge](#sec-166): a new deterministic 3D creative challenge every day-- [x402 Studio](#sec-505): the merchant console for running a paid x402 business on three.ws+- [x402 Studio](#sec-506): the merchant console for running a paid x402 business on three.ws- [Contributing](#sec-155): local environment setup through a mergeable pull request-- [ERC-8004 smart contracts](#sec-371): contract interfaces, deployed addresses, and how to read and write each registry+- [ERC-8004 smart contracts](#sec-372): contract interfaces, deployed addresses, and how to read and write each registry- [Internationalization](#sec-237): how the UI translation catalog works and how to add a locale----<a id="sec-383"></a>+<a id="sec-384"></a>> **Source:** `docs/strategy-objects.md` · [↑ table of contents](#table-of-contents)@@ -80235,14 +80645,14 @@ curl -s https://three.ws/api/sniper/backtest \- [Custody you can verify](#sec-165) - the spend limits and audit trail every live run is bounded by- [Financial controls](#sec-216) - the plain-English rules and firewall layered on the same enforcement point-- [Oracle](#sec-304) - the conviction engine an entry gate can require before it fires-- [Trading surfaces](#sec-398) - where equipped strategies execute through the guarded path-- [Trading arenas](#sec-394) - competitive surfaces where strategies are put to the test+- [Oracle](#sec-305) - the conviction engine an entry gate can require before it fires+- [Trading surfaces](#sec-399) - where equipped strategies execute through the guarded path+- [Trading arenas](#sec-395) - competitive surfaces where strategies are put to the test- [/strategies](https://three.ws/strategies) and [/strategy-lab](https://three.ws/strategy-lab) - the library and the workbench----<a id="sec-384"></a>+<a id="sec-385"></a>> **Source:** `docs/swarms.md` · [↑ table of contents](#table-of-contents)@@ -80252,9 +80662,9 @@ A **swarm** is a group of agents that pool real SOL into one on-chain treasury aTwo things make this different from a group chat with a shared wallet. The treasury is a real Solana account, so **every balance ties to chain and there are no virtual balances**: contributing and exiting execute actual transfers, spend-guarded and audited. And the kill switch is not the creator's alone, so a creator cannot trap members' funds in a swarm that is losing.-Live at [three.ws/swarms](https://three.ws/swarms). This document covers the swarm surface specifically. For how agents coordinate in general (delegation, agent-to-agent messaging, task handoff), read [multi-agent](#sec-285) first, which this builds on rather than repeats. For the single-agent trading pipeline that a swarm's treasury reuses, see [agent sniper](#sec-059), and for the earned-autonomy model behind each member's weight, see [earned autonomy](#sec-373).+Live at [three.ws/swarms](https://three.ws/swarms). This document covers the swarm surface specifically. For how agents coordinate in general (delegation, agent-to-agent messaging, task handoff), read [multi-agent](#sec-285) first, which this builds on rather than repeats. For the single-agent trading pipeline that a swarm's treasury reuses, see [agent sniper](#sec-059), and for the earned-autonomy model behind each member's weight, see [earned autonomy](#sec-374).-> **This moves real money.** `contribute` and `exit` transfer real SOL on Solana mainnet. Nothing here is simulated. Read the [risk acknowledgment](#sec-356) before joining a swarm with funds you cannot afford to lose.+> **This moves real money.** `contribute` and `exit` transfer real SOL on Solana mainnet. Nothing here is simulated. Read the [risk acknowledgment](#sec-357) before joining a swarm with funds you cannot afford to lose.Code: [api/swarms/index.js](../api/swarms/index.js) (directory plus every mutation), [api/swarms/[id].js](../api/swarms/[id].js) (dashboard state and the live stream), [api/_lib/swarms.js](../api/_lib/swarms.js) (policy, treasury, consensus, kill switch).@@ -80415,23 +80825,33 @@ Every failure returns `{ error, error_description }` with a specific code rather| 400 | `bad_agent`, `bad_swarm` | The id is missing or not a UUID || 400 | `bad_amount` | `contribute` without a positive `sol` or `lamports` || 400 | `bad_action` | Unrecognized `action` |+| 400 | `bad_name` | `create` with an empty name or one over 80 characters || 400 | `too_small` | Contribution under the 0.005 SOL floor || 401 | `unauthorized` | Mutation or `?mine=1` without a session |+| 402 | `insufficient_funds` | The agent wallet cannot fund the contribution || 403 | `csrf_missing`, `csrf_invalid` | Session mutation with no (or a spent) `X-CSRF-Token` |+| 403 | `forbidden` | Acting for an agent you do not own, or a creator-only action (`pause`, `resume`) from a member |+| 403 | `invite_only` | `join` by anyone but the creator on a swarm with `join_open: false` |+| 403 | `below_threshold` | `kill` from a member holding under `kill_threshold_bps` || 429 | `rate_limited` | Over 30 mutations per minute for this user || 404 | `not_found` | No such swarm |+| 404 | `agent_not_found` | No such agent |+| 404 | `not_member` | `exit` from an agent that is not an active member || 409 | `killed` | The swarm's kill switch is already pulled |+| 409 | `closed` | `join` or `contribute` on a killed or closed swarm |+| 409 | `share_cap` | The contribution would push one member past `max_member_share_bps` |+| 409 | `positions_open` | `exit` under `wait_to_close` while positions are still open |## Related- [Multi-agent coordination](#sec-285), the general model swarms specialize.-- [Trading arenas](#sec-394), which covers swarms alongside tournaments, the theater, and vaults.-- [USDC agent vaults](#sec-486), the other way to pool capital behind an agent. A vault has one manager and NAV-priced shares; a swarm has many voters and one treasury.+- [Trading arenas](#sec-395), which covers swarms alongside tournaments, the theater, and vaults.+- [USDC agent vaults](#sec-487), the other way to pool capital behind an agent. A vault has one manager and NAV-priced shares; a swarm has many voters and one treasury.- [Custody you can verify](#sec-165) for the spend guards every transfer here passes through.----<a id="sec-385"></a>+<a id="sec-386"></a>> **Source:** `docs/syndication.md` · [↑ table of contents](#table-of-contents)@@ -80459,12 +80879,12 @@ so any item added to the feed is picked up on their next crawl with acanonical URL pointing back to `three.ws/news/<slug>`. Nothing toconfigure on our side beyond keeping the feed valid.-See also: [Partners](#sec-307), [Listings and+See also: [Partners](#sec-308), [Listings anddistribution](#sec-260).----<a id="sec-386"></a>+<a id="sec-387"></a>> **Source:** `docs/talking-avatar-video.md` · [↑ table of contents](#table-of-contents)@@ -80479,7 +80899,7 @@ API: `POST /api/avatar/presign-audio` · `POST /api/avatar/video-generate` · `GReal-time browser lipsync (see [Lipsync](#sec-259)) is perfect for live avatars, but it cannot produce a finished, shareable file with rendered frames, matched motion, and a scene. Talking Avatar Video is the export path: it takes an avatar you already own and an audio track you supply and returns a polished clip. It closes the loop from "I made an avatar" to "here is a video of my avatar saying this," without any local tooling.-Note on scope: the shipped flow uploads an audio file. It does not synthesize speech from a typed script and it does not offer a voice picker inside this page (the page's marketing meta text mentions "type a script, pick a voice," but the UI does neither). To generate the audio first, use [Voice Lab](#sec-489) and bring the resulting clip here.+Note on scope: the shipped flow uploads an audio file. It does not synthesize speech from a typed script and it does not offer a voice picker inside this page (the page's marketing meta text mentions "type a script, pick a voice," but the UI does neither). To generate the audio first, use [Voice Lab](#sec-490) and bring the resulting clip here.## How it works@@ -80548,14 +80968,14 @@ curl -H 'cookie: __Host-sid=<SESSION>' \## Related-- [Voice Lab](#sec-489): clone or synthesize the audio track you upload here.+- [Voice Lab](#sec-490): clone or synthesize the audio track you upload here.- [Lipsync](#sec-259): the real-time, in-browser lipsync path (no export).-- [Selfie to Avatar](#sec-363) and [Avatar reconstruction](#sec-111): create the avatar you render.+- [Selfie to Avatar](#sec-364) and [Avatar reconstruction](#sec-111): create the avatar you render.- Pages: [/create/video](https://three.ws/create/video), [/create](https://three.ws/create), [/dashboard](https://three.ws/dashboard).----<a id="sec-387"></a>+<a id="sec-388"></a>> **Source:** `docs/terminal.md` · [↑ table of contents](#table-of-contents)@@ -80569,7 +80989,7 @@ APIs (all real, all called by the page): `/api/pump/trades-stream` (SSE firehose## Why it exists-Early pump.fun trading punishes context-switching. The launch is on one tab, the intel score on another, the wallet in a third, and by the time you have alt-tabbed to all of them the candle is gone. Mission Control collapses the whole loop into a single screen you drive from the home row: read the launch, read whether it is real, size it, and send the order without ever touching the mouse. It sits at the top of the [trading surfaces](#sec-398) map. Radar and Coin Intelligence answer "what launched and is it real," the Live Trade Feed answers "what won," and Mission Control is where you act on all of it. It is the only surface that executes.+Early pump.fun trading punishes context-switching. The launch is on one tab, the intel score on another, the wallet in a third, and by the time you have alt-tabbed to all of them the candle is gone. Mission Control collapses the whole loop into a single screen you drive from the home row: read the launch, read whether it is real, size it, and send the order without ever touching the mouse. It sits at the top of the [trading surfaces](#sec-399) map. Radar and Coin Intelligence answer "what launched and is it real," the Live Trade Feed answers "what won," and Mission Control is where you act on all of it. It is the only surface that executes.## How it works@@ -80652,15 +81072,15 @@ es.addEventListener('graduation', (e) => console.log('graduated', JSON.parse(e.d## Related-- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-398)-- [Coin Radar](#sec-349) and [Smart Money Radar](#sec-372) feed the same intel into their own surfaces-- [Oracle: the conviction engine](#sec-304) supplies the fused conviction score+- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-399)+- [Coin Radar](#sec-350) and [Smart Money Radar](#sec-373) feed the same intel into their own surfaces+- [Oracle: the conviction engine](#sec-305) supplies the fused conviction score- [Financial controls and custody guardrails](#sec-216) and [custody](#sec-165) document the server-side rails every order runs through- Pages: [/terminal](https://three.ws/terminal) · [/radar](https://three.ws/radar) · [/trades](https://three.ws/trades) · [/watchlist](https://three.ws/watchlist)----<a id="sec-388"></a>+<a id="sec-389"></a>> **Source:** `docs/three-microbuy.md` · [↑ table of contents](#table-of-contents)@@ -80819,13 +81239,13 @@ The response reports `fired`, `paid`, `buys`, `pending`, `errors`, `toll_spent_u## Related-- [docs/x402-ring-economy.md](#sec-503) — the closed-loop x402 ring the toll settles through.+- [docs/x402-ring-economy.md](#sec-504) — the closed-loop x402 ring the toll settles through.- [api/_lib/token/buyback.js](../api/_lib/token/buyback.js) — the daily buyback lane.- [api/_lib/token/config.js](../api/_lib/token/config.js) — `$THREE` mint, treasury, and split policy.----<a id="sec-389"></a>+<a id="sec-390"></a>> **Source:** `docs/timeline.md` · [↑ table of contents](#table-of-contents)@@ -80957,7 +81377,7 @@ server reads that route table on boot).----<a id="sec-390"></a>+<a id="sec-391"></a>> **Source:** `docs/token-gated-3d-embeds.md` · [↑ table of contents](#table-of-contents)@@ -80965,7 +81385,7 @@ server reads that route table on boot).> **Audience:** Creators who want a holder-only interactive 3D scene, and developers wiring the flow up themselves.-three.ws already lets you embed a live, interactive 3D avatar or on-chain agent on any page with one script tag ([Share & embed](#sec-364), [Embedding Guide](#sec-180)). Token gating adds one thing on top: **the scene only renders for a visitor who holds enough of a specific token** — verified with a real on-chain balance read, not a client-side check anyone could fake.+three.ws already lets you embed a live, interactive 3D avatar or on-chain agent on any page with one script tag ([Share & embed](#sec-365), [Embedding Guide](#sec-180)). Token gating adds one thing on top: **the scene only renders for a visitor who holds enough of a specific token** — verified with a real on-chain balance read, not a client-side check anyone could fake.The canonical use case is **$THREE-holder-only content**: a private avatar, a branded scene, a preview only your community can see. The gate also accepts any SPL token at runtime — a project can gate with their own coin — but three.ws never markets or defaults to anything other than `$THREE`.@@ -81070,12 +81490,12 @@ Every check that matters happens on the server:- Spec (wire formats, resolver contract, token format): [specs/EMBED_SPEC.md § Token Gating](../specs/EMBED_SPEC.md#token-gating)- MCP tool: [docs/mcp.md § create_gated_embed](mcp.md#create_gated_embed)-- Embed runtime this builds on: [`<three-d>` / embed v1](https://three.ws/embed/v1/preview), [Share & embed](#sec-364)+- Embed runtime this builds on: [`<three-d>` / embed v1](https://three.ws/embed/v1/preview), [Share & embed](#sec-365)- Related: [Hold-to-access tiers](#sec-234) (site-wide $THREE tiers, distinct from per-embed gates)----<a id="sec-391"></a>+<a id="sec-392"></a>> **Source:** `docs/tokens-xyz.md` · [↑ table of contents](#table-of-contents)@@ -81246,7 +81666,7 @@ The batch market read is deliberately **not** cached here. Its caller in the mar----<a id="sec-392"></a>+<a id="sec-393"></a>> **Source:** `docs/trader-card.md` · [↑ table of contents](#table-of-contents)@@ -81265,11 +81685,11 @@ The Wallet Intelligence view renders, for any base-58 address:## Where the numbers come from-Nothing here is typed in by the trader. The Oracle smart-money brain continuously indexes pump.fun trading: per-wallet, per-coin buy/sell aggregates observed on-chain, joined with each coin's outcome (graduated, rugged, ATH multiple). Rollup workers grade every indexed wallet into a reputation row — the same pedigree ledger that powers Oracle's WHO pillar ([the conviction engine](#sec-304)). Per-coin P&L is simply `sold − bought` in SOL, with USD as a live enrichment that hides itself rather than guessing when the price feed is down.+Nothing here is typed in by the trader. The Oracle smart-money brain continuously indexes pump.fun trading: per-wallet, per-coin buy/sell aggregates observed on-chain, joined with each coin's outcome (graduated, rugged, ATH multiple). Rollup workers grade every indexed wallet into a reputation row — the same pedigree ledger that powers Oracle's WHO pillar ([the conviction engine](#sec-305)). Per-coin P&L is simply `sold − bought` in SOL, with USD as a live enrichment that hides itself rather than guessing when the price feed is down.If a wallet hasn't been indexed yet (the engine tracks wallets it has observed trading pump.fun launches), the page says "not indexed yet" instead of rendering an empty scorecard.-**One precision worth knowing:** the pasted-wallet view reports *raw* on-chain aggregates. The platform's own [trader leaderboard](https://three.ws/leaderboard) — which ranks three.ws agents — applies a stricter pipeline on top: round-trips on coins the trader launched themselves are split out of the credited record ("self-dealing excluded"), snipe hit-rate only counts mints with a proven on-chain birth, and a verification badge requires minimum closed trades, unique coins, and a churn ceiling. Two truth layers, both honest about what they measure: external wallets get the raw read; verified agents get the audited one. Details in [trading-arenas](#sec-394).+**One precision worth knowing:** the pasted-wallet view reports *raw* on-chain aggregates. The platform's own [trader leaderboard](https://three.ws/leaderboard) — which ranks three.ws agents — applies a stricter pipeline on top: round-trips on coins the trader launched themselves are split out of the credited record ("self-dealing excluded"), snipe hit-rate only counts mints with a proven on-chain birth, and a verification badge requires minimum closed trades, unique coins, and a churn ceiling. Two truth layers, both honest about what they measure: external wallets get the raw read; verified agents get the audited one. Details in [trading-arenas](#sec-395).## Claiming: one signature, no gas@@ -81298,14 +81718,14 @@ Returns the identity summary, KPI aggregates, and the per-coin ledger — `known## Related-- [Trader Passport](#sec-393): the on-chain credential a claimed record earns, and how another app verifies it-- [Oracle](#sec-304) — the WHO pillar runs on this same wallet-reputation ledger-- [Trading arenas](#sec-394) — where a verified track record unlocks tournaments, vaults, and mirrors-- [Trading surfaces](#sec-398) — the solo trading stack+- [Trader Passport](#sec-394): the on-chain credential a claimed record earns, and how another app verifies it+- [Oracle](#sec-305) — the WHO pillar runs on this same wallet-reputation ledger+- [Trading arenas](#sec-395) — where a verified track record unlocks tournaments, vaults, and mirrors+- [Trading surfaces](#sec-399) — the solo trading stack----<a id="sec-393"></a>+<a id="sec-394"></a>> **Source:** `docs/trader-passport.md` · [↑ table of contents](#table-of-contents)@@ -81452,20 +81872,20 @@ The Proof tab of [`/trader/<agent_id>`](https://three.ws/trader) renders the pas## Related-- [Claim your wallet](#sec-392): the read-only track record that comes before any credential-- [Trading arenas](#sec-394): what a verified record unlocks+- [Claim your wallet](#sec-393): the read-only track record that comes before any credential+- [Trading arenas](#sec-395): what a verified record unlocks- [Copy trading](#sec-160): leaderboard weighting and performance fees- [API reference](#sec-094): every public endpoint----<a id="sec-394"></a>+<a id="sec-395"></a>> **Source:** `docs/trading-arenas.md` · [↑ table of contents](#table-of-contents)# Competitive & pooled trading: Arena, Sniper Arena, Theater, Vaults, Swarms-Solo trading has the [five-surface stack](#sec-398). This doc covers the five surfaces where trading becomes a *spectator sport or a team sport*: tournaments with $THREE prizes, a 3D floor of autonomous agents, a live theater with one-click copy trading, backable vaults, and capital-pooling swarms.+Solo trading has the [five-surface stack](#sec-399). This doc covers the five surfaces where trading becomes a *spectator sport or a team sport*: tournaments with $THREE prizes, a 3D floor of autonomous agents, a live theater with one-click copy trading, backable vaults, and capital-pooling swarms.One shared truth layer underneath all of them: every ranking, prize, and payout on these pages is computed from `agent_sniper_positions` — the table of real, transaction-signed agent trades — through one scoring module (`api/_lib/trader-stats.js`). Same numbers everywhere; wins are provable by Solscan link, and round-trips on a trader's own launched coins are split out of the credited record rather than counted (the anti-self-dealing rule).@@ -81517,18 +81937,18 @@ Honest limits: consensus trading runs in the long-lived sniper worker. On a depl## How they chain together-Prove yourself solo (the [trading surfaces](#sec-398) → the [leaderboard](https://three.ws/leaderboard)) → your agent earns the **verified-trader badge** → that badge is the key to bigger stages: enter **Arena** tournaments, get ranked on the **Sniper Arena** floor, perform in the **Theater** where others can mirror you, open a **Vault** so backers fund your size, or lead a **Swarm**. Reputation, computed from provable on-chain results, is the currency that moves you up — and [Oracle](#sec-304) conviction is the intelligence all of these agents are acting on.+Prove yourself solo (the [trading surfaces](#sec-399) → the [leaderboard](https://three.ws/leaderboard)) → your agent earns the **verified-trader badge** → that badge is the key to bigger stages: enter **Arena** tournaments, get ranked on the **Sniper Arena** floor, perform in the **Theater** where others can mirror you, open a **Vault** so backers fund your size, or lead a **Swarm**. Reputation, computed from provable on-chain results, is the currency that moves you up — and [Oracle](#sec-305) conviction is the intelligence all of these agents are acting on.## Related-- [Trading surfaces](#sec-398) — the solo stack (Radar, Mission Control, Trade Feed, Watchlist, Coin Intelligence)+- [Trading surfaces](#sec-399) — the solo stack (Radar, Mission Control, Trade Feed, Watchlist, Coin Intelligence)- [Custody](#sec-165) — the spend limits, freeze, and audit rails every mirrored/pooled trade runs through-- [Oracle](#sec-304) — the conviction engine · [Trading experiment](#sec-396) — one agent's journaled live run-- [Agent reputation](#sec-054) / [Solana reputation](#sec-376) — how the trust scores are computed+- [Oracle](#sec-305) — the conviction engine · [Trading experiment](#sec-397) — one agent's journaled live run+- [Agent reputation](#sec-054) / [Solana reputation](#sec-377) — how the trust scores are computed----<a id="sec-395"></a>+<a id="sec-396"></a>> **Source:** `docs/trading-copilot.md` · [↑ table of contents](#table-of-contents)@@ -81664,13 +82084,13 @@ plumbing — and never suggests, shills, or names another token on its own initi## Related-- [The trading surfaces: Radar, Mission Control, Feed, Watchlist, Intel](#sec-398)+- [The trading surfaces: Radar, Mission Control, Feed, Watchlist, Intel](#sec-399)- [Financial controls & custody guardrails](#sec-216)-- [The autonomous trading experiment](#sec-396)+- [The autonomous trading experiment](#sec-397)----<a id="sec-396"></a>+<a id="sec-397"></a>> **Source:** `docs/trading-experiment.md` · [↑ table of contents](#table-of-contents)@@ -81782,7 +82202,7 @@ arm API), **or** an arm earns the right to have it tuned: once the autonomyengine places an arm at `trusted` or above and its winners demonstrably run pastits average exit, the optimizer adjusts the multiple by itself within its boundsand records why. See-[Earned autonomy](#sec-373). A losing arm cannot reach the field at+[Earned autonomy](#sec-374). A losing arm cannot reach the field atall, so the ladder is only ever switched on for a strategy whose record shows itactually catches runners.@@ -81999,7 +82419,7 @@ much — and tune the next run. That is the whole point of the experiment.----<a id="sec-397"></a>+<a id="sec-398"></a>> **Source:** `docs/trading-hub.md` · [↑ table of contents](#table-of-contents)@@ -82065,11 +82485,12 @@ means the coin cannot be exited, so the trade never happens.### Every trading surface, and Learn the system-Two directories covering the product surfaces (arena, experiments, leaderboard,-trade feed, smart money, radar, copy trading, strategy lab, autopilot, vaults,-coin intelligence, trader card) and the documentation (agent sniper, the arming-tutorial, the risk policy, the risk acknowledgment, custody, earned autonomy,-the market-making copilot, and strategy objects).+Two directories covering the product surfaces (arena, Exit Lab, experiments,+leaderboard, trade feed, smart money, radar, copy trading, strategy lab,+autopilot, vaults, coin intelligence, trader card) and the documentation (agent+sniper, the arming tutorial, the exit-policy tutorial, the risk policy, the risk+acknowledgment, custody, earned autonomy, the market-making copilot, and+strategy objects).These live as data in [`src/trading-hub-data.js`](../src/trading-hub-data.js)rather than as inline markup, so the set is enumerable and a test can assert@@ -82107,16 +82528,16 @@ credentials, and writes nothing.## Related- [Agent Sniper](#sec-059), what the autonomous trader is and how it is wired-- [The 10 SOL experiment](#sec-396), the full risk policy-- [Risk acknowledgment](#sec-356), read before arming real funds+- [The 10 SOL experiment](#sec-397), the full risk policy+- [Risk acknowledgment](#sec-357), read before arming real funds- [Custody model](#sec-165), how an agent holds its own keys-- [Earned autonomy](#sec-373), how an agent earns more freedom-- [Trading Copilot](#sec-395), the fair-launch market maker-- Tutorial: [Arm an autonomous sniper](#sec-407)+- [Earned autonomy](#sec-374), how an agent earns more freedom+- [Trading Copilot](#sec-396), the fair-launch market maker+- Tutorial: [Arm an autonomous sniper](#sec-408)----<a id="sec-398"></a>+<a id="sec-399"></a>> **Source:** `docs/trading-surfaces.md` · [↑ table of contents](#table-of-contents)@@ -82142,7 +82563,7 @@ All five surfaces read the same underlying truth: the Coin Intelligence Engine (On top of that base layer:-- **Oracle conviction** ([the conviction engine](#sec-304)) enriches coins across all five surfaces with its 0–100 fused score and tier.+- **Oracle conviction** ([the conviction engine](#sec-305)) enriches coins across all five surfaces with its 0–100 fused score and tier.- **Price history** (candlesticks) comes from Birdeye with GeckoTerminal fallback.- **Live trades** stream over server-sent events from `/api/pump/trades-stream` (PumpPortal websocket, relayed).- **Smart-money pedigree** comes from the proven-wallet ledger (`/api/intel/smart-money`).@@ -82228,7 +82649,7 @@ Signed-out, Mission Control is a read-only cockpit; the trade ticket becomes "Si## How the surfaces chain together-The intended loop: **Radar** (or **Coin Intelligence**) surfaces a launch worth a look → **Watch** it → the **Watchlist** alerts you when Oracle's conviction tier upgrades → open it in **Mission Control** and execute → if the trade wins big, it shows up on the **Live Trade Feed** with the full receipt for everyone else to study. Every coin, on every surface, links to its [Oracle page](#sec-304) for the fused conviction verdict — and armed agents can run the same loop autonomously (see [the trading experiment](#sec-396) and [Oracle's agent loop](#sec-304)).+The intended loop: **Radar** (or **Coin Intelligence**) surfaces a launch worth a look → **Watch** it → the **Watchlist** alerts you when Oracle's conviction tier upgrades → open it in **Mission Control** and execute → if the trade wins big, it shows up on the **Live Trade Feed** with the full receipt for everyone else to study. Every coin, on every surface, links to its [Oracle page](#sec-305) for the fused conviction verdict — and armed agents can run the same loop autonomously (see [the trading experiment](#sec-397) and [Oracle's agent loop](#sec-305)).## API quick reference@@ -82249,21 +82670,21 @@ curl 'https://three.ws/api/trades/feed'curl 'https://three.ws/api/oracle/batch?mints=<MINT1>,<MINT2>&network=mainnet'```-Agents wanting the same intel over MCP: see [docs/mcp.md](#sec-272) (`@three-ws/intel-mcp`, `@three-ws/portfolio-mcp`) — and the paid x402 lanes in [x402-endpoints](#sec-501).+Agents wanting the same intel over MCP: see [docs/mcp.md](#sec-272) (`@three-ws/intel-mcp`, `@three-ws/portfolio-mcp`) — and the paid x402 lanes in [x402-endpoints](#sec-502).## Related- [Meta-Allocator: the ETF of degens](#sec-276): diversify a budget across the top verified leaders- [Clip Director: every trade becomes content](#sec-139): turn any closed trade into shareable cards per surface-- [The Trading Copilot — talk to your wallet](#sec-395) — conversational trading over these same numbers-- [Oracle — the conviction engine](#sec-304) · [/oracle/docs](https://three.ws/oracle/docs)-- [The autonomous trading experiment](#sec-396)+- [The Trading Copilot — talk to your wallet](#sec-396) — conversational trading over these same numbers+- [Oracle — the conviction engine](#sec-305) · [/oracle/docs](https://three.ws/oracle/docs)+- [The autonomous trading experiment](#sec-397)- [Financial controls & custody guardrails](#sec-216)-- [UX flows: crypto trading & analytics](#sec-478) — screen-by-screen walkthrough+- [UX flows: crypto trading & analytics](#sec-479) — screen-by-screen walkthrough----<a id="sec-399"></a>+<a id="sec-400"></a>> **Source:** `docs/troubleshooting.md` · [↑ table of contents](#table-of-contents)@@ -82922,7 +83343,7 @@ Idle blink and head-drift are active in the current release: `src/idle-animation----<a id="sec-400"></a>+<a id="sec-401"></a>> **Source:** `docs/trust-primitives.md` · [↑ table of contents](#table-of-contents)@@ -82941,7 +83362,7 @@ any chain**, regardless of which platform that counterparty was minted on.## Cross-chain Agent Reputation**`GET /api/x402/agent-reputation?subject=<identifier>`** — $0.01 USDC per call-(Base or Solana mainnet, via [x402](#sec-506)).+(Base or Solana mainnet, via [x402](#sec-507)).Pass any counterparty identifier. The type is auto-detected and scored from whateverreal on-chain evidence exists for it:@@ -83059,7 +83480,7 @@ Returns `{ mode, count, scored_count, unknown_count, avg_score, subjects: [ …fThe same POST route also serves three.ws-fleet monitoring over the platform's indexedactive-agent set: `mode: "sweep"` (fleet average + flagged low-trust agents),`mode: "leaderboard"` (top N by score), and `mode: "decay_report"` (agents whose score-dropped >10 points). See the [x402 catalog](#sec-506).+dropped >10 points). See the [x402 catalog](#sec-507).---@@ -83084,7 +83505,7 @@ claims **"I am the deployer of contract X"** or **"I own wallet W / name N / ageself-report.**`GET /api/x402/onchain-identity-verify?identity=<id>&address=<addr>&chain=<caip2>`**-— $0.005 USDC per call (Base or Solana mainnet, via [x402](#sec-506)).+— $0.005 USDC per call (Base or Solana mainnet, via [x402](#sec-507)).It verifies a **claim** that `identity` controls `address`, for **any** identity type,on any chain — regardless of the platform the counterparty came from:@@ -83158,11 +83579,11 @@ score *whether to trust* them.----See also: [x402 paid endpoints](#sec-506) · [Agent Bouncer](#sec-094) · [ERC-8004 identity](#sec-182)+See also: [x402 paid endpoints](#sec-507) · [Agent Bouncer](#sec-094) · [ERC-8004 identity](#sec-182)----<a id="sec-401"></a>+<a id="sec-402"></a>> **Source:** `docs/tutorials/add-a-3d-assistant.md` · [↑ table of contents](#table-of-contents)@@ -83280,7 +83701,7 @@ Then ask, in plain language: "build a 3D assistant widget named Aria with an oce----<a id="sec-402"></a>+<a id="sec-403"></a>> **Source:** `docs/tutorials/agent-personality.md` · [↑ table of contents](#table-of-contents)@@ -83733,7 +84154,7 @@ The system prompt is the cheapest, highest-leverage thing you can change about a----<a id="sec-403"></a>+<a id="sec-404"></a>> **Source:** `docs/tutorials/agent-reputation.md` · [↑ table of contents](#table-of-contents)@@ -83854,14 +84275,20 @@ It accepts the same flexible identifier and returns the richest payload of any p"uri": "ipfs://…" // the agent's ERC-8004 card},"reputation": {- "totalScore": "42",+ "averageX100": "450", // the contract's average, multiplied by 100+ "average": 4.5, // averageX100 / 100; null when count is 0"count": "6",- "average": 7, // null when count is 0"totalStakeWei": "0"},- "events": [ // latest 25 vouches + stakes- { "kind": "submitted", "score": 5, "submitter": "0x…", "comment": "fast and accurate", "txHash": "0x…", "blockNumber": 21345678 }- ],+ "events": { // the scanned log window, plus the latest 25 vouches + stakes+ "windowBlocks": 200000,+ "fromBlock": 21145678,+ "toBlock": 21345678,+ "events": [+ { "kind": "submitted", "score": 5, "submitter": "0x…", "comment": "fast and accurate", "txHash": "0x…", "blockNumber": 21345678 }+ ]+ },+ "rpc": ["https://mainnet.base.org"],"fetchedAt": "2026-06-22T18:00:00.000Z"}```@@ -84034,7 +84461,7 @@ A read costs nothing and asks no one's permission. That's the property that lets----<a id="sec-404"></a>+<a id="sec-405"></a>> **Source:** `docs/tutorials/agent-spending-envelope.md` · [↑ table of contents](#table-of-contents)@@ -84590,7 +85017,7 @@ The two "budget stays reserved" cases are the only place the system deliberately----<a id="sec-405"></a>+<a id="sec-406"></a>> **Source:** `docs/tutorials/animate-your-agent.md` · [↑ table of contents](#table-of-contents)@@ -84765,7 +85192,7 @@ The difference that matters is the layer. `wave`, `point`, `nod` and `shrug` are----<a id="sec-406"></a>+<a id="sec-407"></a>> **Source:** `docs/tutorials/animate-your-avatar.md` · [↑ table of contents](#table-of-contents)@@ -84947,7 +85374,7 @@ Applying clips in the Studio is the **authoring** side. On a *running* agent, thThe two channels are wired to the *same* emotional state, at two different timescales, so the body and the face never disagree:- **Momentary events** (an error just happened, a skill just finished) inject a transient emotion spike — `concern`, `celebration`, `curiosity`, and friends — that decays over seconds. A spike crossing threshold both reshapes the face immediately *and* biases the gesture slot the avatar plays next (e.g. sustained `celebration` picks the `celebrate` slot).-- **Sustained mood** — the agent's resting valence/arousal, set via `setMood()` (see [docs/tutorials/emotion-from-data.md](#sec-421)) — is the continuous baseline between events. It biases the resting face (a soft smile at high valence, a worried brow at low) and posture (lean, gaze) every frame, and, once nothing more urgent claims the gesture slot, biases *which* ambient gesture plays too: a sustained up-and-energetic mood leans toward the `celebrate` slot, a sustained down-and-subdued mood toward `concern` — the opposite bias, never the energetic one. A momentary event always takes priority over the ambient mood bias, and slot overrides via `meta.edits.animations` apply identically whether the trigger was a spike or the resting mood.+- **Sustained mood** — the agent's resting valence/arousal, set via `setMood()` (see [docs/tutorials/emotion-from-data.md](#sec-422)) — is the continuous baseline between events. It biases the resting face (a soft smile at high valence, a worried brow at low) and posture (lean, gaze) every frame, and, once nothing more urgent claims the gesture slot, biases *which* ambient gesture plays too: a sustained up-and-energetic mood leans toward the `celebrate` slot, a sustained down-and-subdued mood toward `concern` — the opposite bias, never the energetic one. A momentary event always takes priority over the ambient mood bias, and slot overrides via `meta.edits.animations` apply identically whether the trigger was a spike or the resting mood.The division of labor: **clips move the body, blendshapes move the face, slots choose *which* body motion fits the emotion — and one emotional state, not two independent tracks, drives all of it.** All three ride the same universal-rig foundation — name your bones (and your blendshapes) in a convention the resolvers know, and everything just works.@@ -84987,14 +85414,14 @@ You learned the apply-and-remix workflow for motion on three.ws:- [docs/animations.md](#sec-091) — the runtime animation registry, manifest, and agent slot reference.- [docs/3d-asset-pipeline.md](#sec-002) — how FBX, GLB, and clip JSON relate, and how clips are built and retargeted.-- [docs/tutorials/swap-avatar-in-studio.md](#sec-459) — loading and switching avatars in the Studio.-- [docs/tutorials/upload-custom-glb.md](#sec-462) — getting a Mixamo or custom rig into three.ws as a clean, animatable GLB.+- [docs/tutorials/swap-avatar-in-studio.md](#sec-460) — loading and switching avatars in the Studio.+- [docs/tutorials/upload-custom-glb.md](#sec-463) — getting a Mixamo or custom rig into three.ws as a clean, animatable GLB.Primary call to action: open **[/pose](/pose)**, load an avatar, and apply your first clip.----<a id="sec-407"></a>+<a id="sec-408"></a>> **Source:** `docs/tutorials/arm-an-agent-sniper.md` · [↑ table of contents](#table-of-contents)@@ -85106,7 +85533,7 @@ The hard-config sniper you just armed is the control group. The next phase runs----<a id="sec-408"></a>+<a id="sec-409"></a>> **Source:** `docs/tutorials/build-a-3d-asset-pipeline.md` · [↑ table of contents](#table-of-contents)@@ -85319,7 +85746,7 @@ step once the mechanical stages are running.----<a id="sec-409"></a>+<a id="sec-410"></a>> **Source:** `docs/tutorials/build-a-scene.md` · [↑ table of contents](#table-of-contents)@@ -85538,7 +85965,7 @@ The leverage of [Scene Studio](/scene) is that it's a *real* editor producing a----<a id="sec-410"></a>+<a id="sec-411"></a>> **Source:** `docs/tutorials/build-a-site-concierge.md` · [↑ table of contents](#table-of-contents)@@ -85656,7 +86083,7 @@ Then: `<three-concierge endpoint="/my/concierge">`. The production reference, wi----<a id="sec-411"></a>+<a id="sec-412"></a>> **Source:** `docs/tutorials/character-library-to-embed.md` · [↑ table of contents](#table-of-contents)@@ -86161,7 +86588,7 @@ Doing the copy server-side also sidesteps cross-origin reads and browser upload----<a id="sec-412"></a>+<a id="sec-413"></a>> **Source:** `docs/tutorials/claim-threews-name.md` · [↑ table of contents](#table-of-contents)@@ -86469,7 +86896,7 @@ See also:----<a id="sec-413"></a>+<a id="sec-414"></a>> **Source:** `docs/tutorials/connect-ai-brain.md` · [↑ table of contents](#table-of-contents)@@ -86826,7 +87253,7 @@ The brain is the part of the agent you'll iterate on most after the system promp----<a id="sec-414"></a>+<a id="sec-415"></a>> **Source:** `docs/tutorials/create-and-edit-memory.md` · [↑ table of contents](#table-of-contents)@@ -87147,7 +87574,7 @@ The leverage is in *enhancement*: the right type, one fact per memory, tags, del----<a id="sec-415"></a>+<a id="sec-416"></a>> **Source:** `docs/tutorials/custom-skill.md` · [↑ table of contents](#table-of-contents)@@ -87667,7 +88094,7 @@ The skill installs via a URI in the agent manifest, runs entirely client-side, a----<a id="sec-416"></a>+<a id="sec-417"></a>> **Source:** `docs/tutorials/customize-appearance.md` · [↑ table of contents](#table-of-contents)@@ -88105,7 +88532,7 @@ Most production embeds use four or five of these together. The combination is wh----<a id="sec-417"></a>+<a id="sec-418"></a>> **Source:** `docs/tutorials/deploy-to-vercel-custom-domain.md` · [↑ table of contents](#table-of-contents)@@ -88622,7 +89049,7 @@ In rough order of likelihood:----<a id="sec-418"></a>+<a id="sec-419"></a>> **Source:** `docs/tutorials/earn-and-spend-in-play.md` · [↑ table of contents](#table-of-contents)@@ -88826,7 +89253,7 @@ Every paid sale splits 50% to the holder-rewards sink and 50% to the treasury.----<a id="sec-419"></a>+<a id="sec-420"></a>> **Source:** `docs/tutorials/embed-in-30-seconds.md` · [↑ table of contents](#table-of-contents)@@ -89102,7 +89529,7 @@ A working embedded agent is the foundation everything else builds on. From here,----<a id="sec-420"></a>+<a id="sec-421"></a>> **Source:** `docs/tutorials/embed-on-website.md` · [↑ table of contents](#table-of-contents)@@ -89613,7 +90040,7 @@ Squarespace's developer preview and published output can differ. Try adding the----<a id="sec-421"></a>+<a id="sec-422"></a>> **Source:** `docs/tutorials/emotion-from-data.md` · [↑ table of contents](#table-of-contents)@@ -89841,7 +90268,7 @@ function reactIfConfident(clipOrEmoteName, { confident, useExactClip = false } =----<a id="sec-422"></a>+<a id="sec-423"></a>> **Source:** `docs/tutorials/explore-docs-world.md` · [↑ table of contents](#table-of-contents)@@ -89908,12 +90335,12 @@ Make one with the [Forge](/create) or the [Avatar Studio](/avatar-studio), copy## Where to next- [Docs World reference](#sec-174): controls table, device behaviour, contributor notes.-- [What is three.ws?](#sec-382): the guided tour of the whole platform, readable in either surface.+- [What is three.ws?](#sec-383): the guided tour of the whole platform, readable in either surface.- Add a page to the docs yourself: edit `docs/nav.json` and drop a markdown file in `docs/`; it appears in the sidebar and as a page in its pavilion with no extra wiring.----<a id="sec-423"></a>+<a id="sec-424"></a>> **Source:** `docs/tutorials/find-a-better-exit-policy.md` · [↑ table of contents](#table-of-contents)@@ -90151,7 +90578,7 @@ disclaimers bolted onto the result. They are the result.----<a id="sec-424"></a>+<a id="sec-425"></a>> **Source:** `docs/tutorials/first-agent.md` · [↑ table of contents](#table-of-contents)@@ -90660,7 +91087,7 @@ Now that you have a working agent, here's what to explore next:----<a id="sec-425"></a>+<a id="sec-426"></a>> **Source:** `docs/tutorials/first-prompt-to-3d.md` · [↑ table of contents](#table-of-contents)@@ -90780,7 +91207,7 @@ A rigged avatar's AR link gains a **Bring it to life** option: instead of a froz----<a id="sec-426"></a>+<a id="sec-427"></a>> **Source:** `docs/tutorials/generate-3d-api.md` · [↑ table of contents](#table-of-contents)@@ -90992,7 +91419,7 @@ If you've never made an x402 call, start with [Build a paid x402 endpoint](/tuto----<a id="sec-427"></a>+<a id="sec-428"></a>> **Source:** `docs/tutorials/getting-started.md` · [↑ table of contents](#table-of-contents)@@ -91177,7 +91604,7 @@ Everything is editable forever — swap the body, rewrite the prompt, add capabi----<a id="sec-428"></a>+<a id="sec-429"></a>> **Source:** `docs/tutorials/greeting-and-first-speech.md` · [↑ table of contents](#table-of-contents)@@ -91523,7 +91950,7 @@ A working greeting moves the embed from "decoration" to "interaction", which is----<a id="sec-429"></a>+<a id="sec-430"></a>> **Source:** `docs/tutorials/image-to-3d.md` · [↑ table of contents](#table-of-contents)@@ -91626,7 +92053,7 @@ Everything you generate is kept in **Your creations** at the bottom of the page,----<a id="sec-430"></a>+<a id="sec-431"></a>> **Source:** `docs/tutorials/import-avatar-url.md` · [↑ table of contents](#table-of-contents)@@ -91796,7 +92223,7 @@ The URL path and the file-upload path converge on the same avatar record and the----<a id="sec-431"></a>+<a id="sec-432"></a>> **Source:** `docs/tutorials/js-api-events.md` · [↑ table of contents](#table-of-contents)@@ -92262,7 +92689,7 @@ The `whenReady`, awaited-`ask()`, and try/catch patterns are small but they remo----<a id="sec-432"></a>+<a id="sec-433"></a>> **Source:** `docs/tutorials/mcp-server-for-your-agent.md` · [↑ table of contents](#table-of-contents)@@ -92908,7 +93335,7 @@ Things that look right but bite you:----<a id="sec-433"></a>+<a id="sec-434"></a>> **Source:** `docs/tutorials/mine-vanity-address.md` · [↑ table of contents](#table-of-contents)@@ -93189,7 +93616,7 @@ The protocol itself is fully specified in [docs/PROTOCOL-vanity.md](#sec-005), a----<a id="sec-434"></a>+<a id="sec-435"></a>> **Source:** `docs/tutorials/mint-pumpfun-token.md` · [↑ table of contents](#table-of-contents)@@ -93550,7 +93977,7 @@ If you have a lawyer, talk to them before launching. If you don't, default to th----<a id="sec-435"></a>+<a id="sec-436"></a>> **Source:** `docs/tutorials/monetize-mcp-server.md` · [↑ table of contents](#table-of-contents)@@ -93866,7 +94293,7 @@ That connector can search the bazaar, read your challenge without paying (`inspe----<a id="sec-436"></a>+<a id="sec-437"></a>> **Source:** `docs/tutorials/multi-agent-coordination.md` · [↑ table of contents](#table-of-contents)@@ -94426,7 +94853,7 @@ async function safeHandoff(targetEl, brief, fallbackEl, originalQuestion) {----<a id="sec-437"></a>+<a id="sec-438"></a>> **Source:** `docs/tutorials/nvidia-3d-free.md` · [↑ table of contents](#table-of-contents)@@ -94543,7 +94970,7 @@ It talks **directly** to a TRELLIS NIM and returns the GLB **synchronously** in----<a id="sec-438"></a>+<a id="sec-439"></a>> **Source:** `docs/tutorials/nvidia-nim-self-host.md` · [↑ table of contents](#table-of-contents)@@ -94595,7 +95022,7 @@ The result is a base URL like `https://trellis.yourdomain.com`.## Step 3 — Point three.ws at your NIM-Set two environment variables on your three.ws deployment. Production runs on Google Cloud Run (service `three-ws-api`, region `us-central1`), so the env lives on the Cloud Run service — see the [GCP production runbook](ops/gcp-production.md) for the full ops flow.+Set two environment variables on your three.ws deployment. Production runs on Google Cloud Run (service `three-ws-api`, region `us-central1`), so the env lives on the Cloud Run service rather than in a checked-in file.| Variable | What it is ||----------|-----------|@@ -94614,7 +95041,7 @@ Confirm three.ws can see it:```bashcurl "https://three.ws/api/forge-nim?action=health"-# → { "configured": true, "reachable": true, "baseUrl": "https://trellis.yourdomain.com", "endpoint": ".../v1/infer", "detail": "" }+# → { "configured": true, "reachable": true, "baseUrl": "https://trellis.yourdomain.com", "endpoint": ".../v1/infer", "detail": null }````configured` means the URL is set; `reachable` means the readiness probe answered.@@ -94652,7 +95079,7 @@ Decode `glb_base64` to a file:node -e 'const b=require("fs").readFileSync(0,"utf8");const o=JSON.parse(b);require("fs").writeFileSync("teapot.glb",Buffer.from(o.glb_base64,"base64"))' < response.json```-`tier` maps to TRELLIS sampling steps — `draft` runs 15/15 (sparse-structure / structured-latent steps), `high` runs 40/40 for more refinement. Prompts are truncated to TRELLIS's 77-character window, so keep them tight.+`tier` maps to TRELLIS sampling steps: `draft` runs 15/15 (sparse-structure / structured-latent steps), `high` runs 50/50 for more refinement. Prompts are truncated to TRELLIS's 77-character window, and a prompt that names no lighting or style picks up a `, studio lighting` suffix so text results match the production forge lane. Keep prompts tight.---@@ -94688,6 +95115,8 @@ POST {baseUrl}/v1/infer"prompt": "a glazed ceramic teapot", // text mode"ss_sampling_steps": 15,"slat_sampling_steps": 15,+ "ss_cfg_scale": 7.5, // TRELLIS default+ "slat_cfg_scale": 5.0, // above the 3.0 default: stays faithful to the source"output_format": "glb","seed": 0 // optional, for reproducibility}@@ -94719,7 +95148,7 @@ The proxy normalizes every documented artifact shape (inline `base64`, a bare st----<a id="sec-439"></a>+<a id="sec-440"></a>> **Source:** `docs/tutorials/paid-x402-endpoint.md` · [↑ table of contents](#table-of-contents)@@ -95411,7 +95840,7 @@ Both work. Choose based on whether your endpoint is part of an agent platform yo----<a id="sec-440"></a>+<a id="sec-441"></a>> **Source:** `docs/tutorials/pay-for-x402-service.md` · [↑ table of contents](#table-of-contents)@@ -95677,7 +96106,7 @@ package family is listed under [x402 → Open-source packages](/x402#open-source----<a id="sec-441"></a>+<a id="sec-442"></a>> **Source:** `docs/tutorials/personal-ai-site.md` · [↑ table of contents](#table-of-contents)@@ -96232,7 +96661,7 @@ The technical investment is one HTML file, a GLB avatar, and a system prompt. Th----<a id="sec-442"></a>+<a id="sec-443"></a>> **Source:** `docs/tutorials/place-agent-irl.md` · [↑ table of contents](#table-of-contents)@@ -96482,7 +96911,7 @@ This is fundamentally different from viewing a single model in AR. If you only n----<a id="sec-443"></a>+<a id="sec-444"></a>> **Source:** `docs/tutorials/prompts-for-3d.md` · [↑ table of contents](#table-of-contents)@@ -96618,7 +97047,7 @@ The tiers are explained in detail in [the text-to-3D tutorial](/tutorials/text-t----<a id="sec-444"></a>+<a id="sec-445"></a>> **Source:** `docs/tutorials/read-the-trading-fleet.md` · [↑ table of contents](#table-of-contents)@@ -96831,7 +97260,7 @@ funds.----<a id="sec-445"></a>+<a id="sec-446"></a>> **Source:** `docs/tutorials/register-onchain.md` · [↑ table of contents](#table-of-contents)@@ -97180,7 +97609,7 @@ Your agent's URL will keep working as long as Base exists and IPFS gateways serv----<a id="sec-446"></a>+<a id="sec-447"></a>> **Source:** `docs/tutorials/render-avatar-images.md` · [↑ table of contents](#table-of-contents)@@ -97717,7 +98146,7 @@ If you want a talking, animated agent rather than a viewer, that is the `<agent-----<a id="sec-447"></a>+<a id="sec-448"></a>> **Source:** `docs/tutorials/self-host-agent-backend.md` · [↑ table of contents](#table-of-contents)@@ -98293,7 +98722,7 @@ A self-hosted instance with light traffic runs at $20–50/month all-in. The dom----<a id="sec-448"></a>+<a id="sec-449"></a>> **Source:** `docs/tutorials/selfie-to-avatar.md` · [↑ table of contents](#table-of-contents)@@ -98543,7 +98972,7 @@ The result is a standard `.glb` that animates in the [Animation Studio](/pose),----<a id="sec-449"></a>+<a id="sec-450"></a>> **Source:** `docs/tutorials/sell-a-skill-with-a-trial.md` · [↑ table of contents](#table-of-contents)@@ -98748,7 +99177,7 @@ A healthy funnel shows a mix of `trial` rows with counts ticking down and `confi----<a id="sec-450"></a>+<a id="sec-451"></a>> **Source:** `docs/tutorials/share-your-agent.md` · [↑ table of contents](#table-of-contents)@@ -99082,7 +99511,7 @@ The agent's URL is the durable handle. Embed it, link it, print it. The agent sh----<a id="sec-451"></a>+<a id="sec-452"></a>> **Source:** `docs/tutorials/ship-an-avatar-manifest.md` · [↑ table of contents](#table-of-contents)@@ -99392,12 +99821,12 @@ A JSON file that names an avatar, pins its mesh by content rather than by locati**Next:**- The [Avatar CLI reference](#sec-105) documents every flag, exit code, and `--json` shape.-- The [web component reference](#sec-491) covers everything `<agent-3d>` can do beyond rendering a body: voice, an LLM brain, memory, and skills.+- The [web component reference](#sec-492) covers everything `<agent-3d>` can do beyond rendering a body: voice, an LLM brain, memory, and skills.- [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the schema itself, for writing your own tooling against the format.----<a id="sec-452"></a>+<a id="sec-453"></a>> **Source:** `docs/tutorials/shopify-shopping-assistant.md` · [↑ table of contents](#table-of-contents)@@ -99507,7 +99936,7 @@ const shopping = buildShoppingPayload(catalog, recommended, policies, question);----<a id="sec-453"></a>+<a id="sec-454"></a>> **Source:** `docs/tutorials/shopify-store-guide-advanced.md` · [↑ table of contents](#table-of-contents)@@ -99647,7 +100076,7 @@ When the guide reaches the end of the homepage stops, it walks to a link, the paThe one-tag install reads `data-*` attributes:```html-<script src="https://unpkg.com/@three-ws/[email protected]/dist/tour.global.js"+<script src="https://unpkg.com/@three-ws/[email protected]/dist/tour.global.js"data-tourdata-curriculum="https://cdn.shopify.com/s/files/…/curriculum.json"data-avatar="realistic-male"@@ -99686,7 +100115,7 @@ By default, narration shows as timed captions — zero setup, no API key. For anSet `data-mode="explore"` (or pick **🕹 Explore** in the [Tour Builder](/tour-builder)) and the tour becomes an interactive, GTA-style experience: instead of the avatar walking itself, **the visitor drives it** with the arrow keys (or WASD) on desktop and an on-screen joystick on mobile. It's the real three.ws "Stroll" character — it **turns to face its heading and walks or runs in full 3D**, and the page scrolls under it so the whole store is walkable. Each stop becomes a glowing **checkpoint** anchored to its section. Walk the character into the active checkpoint and it stops, spotlights the section, and narrates it — then the next checkpoint lights up. Reach them all to finish.```html-<script src="https://unpkg.com/@three-ws/[email protected]/dist/tour.global.js"+<script src="https://unpkg.com/@three-ws/[email protected]/dist/tour.global.js"data-tourdata-mode="explore"data-curriculum="https://cdn.shopify.com/s/files/…/curriculum.json"@@ -99779,7 +100208,7 @@ Or as the `<page-agent>` element:<page-agent avatar="nova" preset="shop-assistant"></page-agent>```-See [`page-agent-sdk`'s Persona presets](../page-agent-sdk/README.md#persona-presets)+See [`@three-ws/page-agent`'s Persona presets](https://www.npmjs.com/package/@three-ws/page-agent#persona-presets)for the other four personas and the full `preset`/`context` reference.---@@ -99817,7 +100246,7 @@ The clip URLs inside the manifest resolve **relative to the manifest**, so a sel----<a id="sec-454"></a>+<a id="sec-455"></a>> **Source:** `docs/tutorials/shopify-store-guide.md` · [↑ table of contents](#table-of-contents)@@ -99906,7 +100335,7 @@ It's powered by the open-source [`@three-ws/tour`](https://www.npmjs.com/package----<a id="sec-455"></a>+<a id="sec-456"></a>> **Source:** `docs/tutorials/sign-with-your-avatar.md` · [↑ table of contents](#table-of-contents)@@ -100120,9 +100549,9 @@ None of it replaces a human interpreter. It makes an avatar legible to signers i**See also:**-- [docs/sign-language.md](#sec-367): the full reference: vocabulary, developer APIs, and how the signing engine works-- [docs/tutorials/animate-your-avatar.md](#sec-406): the clip library, retargeting, and animated GLB export in depth-- [docs/web-component.md](#sec-491): every `<agent-3d>` attribute, including `sign-language`+- [docs/sign-language.md](#sec-368): the full reference: vocabulary, developer APIs, and how the signing engine works+- [docs/tutorials/animate-your-avatar.md](#sec-407): the clip library, retargeting, and animated GLB export in depth+- [docs/web-component.md](#sec-492): every `<agent-3d>` attribute, including `sign-language`- [/asl-alphabet](/asl-alphabet): the manual alphabet, letter by letter, with a practice drill- [examples/sign-language.html](../examples/sign-language.html): a runnable page with both integration paths@@ -100130,7 +100559,7 @@ Primary call to action: open **[/sign-language](/sign-language)** and sign your----<a id="sec-456"></a>+<a id="sec-457"></a>> **Source:** `docs/tutorials/skill-with-database-auth.md` · [↑ table of contents](#table-of-contents)@@ -100868,7 +101297,7 @@ Before this skill faces a real visitor:----<a id="sec-457"></a>+<a id="sec-458"></a>> **Source:** `docs/tutorials/solana-agent-reputation.md` · [↑ table of contents](#table-of-contents)@@ -101051,7 +101480,7 @@ A read costs nothing and asks no one's permission — which is exactly what lets----<a id="sec-458"></a>+<a id="sec-459"></a>> **Source:** `docs/tutorials/sperax-tour.md` · [↑ table of contents](#table-of-contents)@@ -101222,7 +101651,7 @@ This is covered by an automated test — [`tour-sdk/test/director.test.mjs`](htt----<a id="sec-459"></a>+<a id="sec-460"></a>> **Source:** `docs/tutorials/swap-avatar-in-studio.md` · [↑ table of contents](#table-of-contents)@@ -101482,7 +101911,7 @@ The key insight is the snippet's stability. Once embedded, your customers' pages----<a id="sec-460"></a>+<a id="sec-461"></a>> **Source:** `docs/tutorials/text-to-3d.md` · [↑ table of contents](#table-of-contents)@@ -101610,7 +102039,7 @@ This is normal — prompt, generate, adjust, repeat is the workflow, not a failu----<a id="sec-461"></a>+<a id="sec-462"></a>> **Source:** `docs/tutorials/trigger-from-page-events.md` · [↑ table of contents](#table-of-contents)@@ -102114,7 +102543,7 @@ The pattern under all of these is the same: every recipe starts with `whenReady(----<a id="sec-462"></a>+<a id="sec-463"></a>> **Source:** `docs/tutorials/upload-custom-glb.md` · [↑ table of contents](#table-of-contents)@@ -102510,7 +102939,7 @@ Once the body is on the platform, the embed snippet doesn't change. The same `<a----<a id="sec-463"></a>+<a id="sec-464"></a>> **Source:** `docs/tutorials/view-in-ar.md` · [↑ table of contents](#table-of-contents)@@ -102697,7 +103126,7 @@ AR surface detection needs a moment to work. Move the phone slowly over the targ----<a id="sec-464"></a>+<a id="sec-465"></a>> **Source:** `docs/tutorials/voice-and-lipsync.md` · [↑ table of contents](#table-of-contents)@@ -102838,7 +103267,7 @@ If you want your agent to speak in *your* voice instead of a built-in one, use t4. Give the voice a **name** (1–64 characters) and click **Clone**. The page uploads the sample to `POST /api/tts/eleven-clone` ([`api/tts/eleven-clone.js`](../api/tts/eleven-clone.js)) as `multipart/form-data`.5. On success you get a `voice_id`, and the voice is saved to your library (stored in `localStorage`, up to 20 voices).-**Test it in the playground.** Pick the cloned voice, type a sample line, and click Speak. The playground calls `POST /api/tts/eleven` ([`api/tts/eleven.js`](../api/tts/eleven.js)) with `{ voiceId, text }`, which proxies ElevenLabs and caches the clip for 30 days (the hint shows `cached` vs `generated`). Default model is `eleven_flash_v2_5`; requests are capped at 500 characters and metered to your credit balance ($0.30 per 1,000 characters on the platform key, or free of platform charges with your own ElevenLabs key in the `x-eleven-key` header; see the [Voice Lab billing section](#sec-489)).+**Test it in the playground.** Pick the cloned voice, type a sample line, and click Speak. The playground calls `POST /api/tts/eleven` ([`api/tts/eleven.js`](../api/tts/eleven.js)) with `{ voiceId, text }`, which proxies ElevenLabs and caches the clip for 30 days (the hint shows `cached` vs `generated`). Default model is `eleven_flash_v2_5`; requests are capped at 500 characters and metered to your credit balance ($0.30 per 1,000 characters on the platform key, or free of platform charges with your own ElevenLabs key in the `x-eleven-key` header; see the [Voice Lab billing section](#sec-490)).> Instant Voice Cloning is a **paid-tier ElevenLabs feature** (Starter and up). If the server's account is on the free tier, the clone call returns the upstream error verbatim in the status line (e.g. a `can_not_use_instant_voice_cloning` message). Built-in voices in Step 1 have no such requirement.@@ -102928,7 +103357,7 @@ The leverage is that the avatar drives its mouth from the *audio it actually pla----<a id="sec-465"></a>+<a id="sec-466"></a>> **Source:** `docs/tutorials/walk-companion.md` · [↑ table of contents](#table-of-contents)@@ -103281,7 +103710,7 @@ The leverage is composability: the same engine renders the corner mascot, the fu----<a id="sec-466"></a>+<a id="sec-467"></a>> **Source:** `docs/tutorials/wallet-sign-in.md` · [↑ table of contents](#table-of-contents)@@ -103565,7 +103994,7 @@ A wallet sign-in that works from any origin that can reach the API, survives the----<a id="sec-467"></a>+<a id="sec-468"></a>> **Source:** `docs/tutorials/web-component-end-to-end.md` · [↑ table of contents](#table-of-contents)@@ -103658,7 +104087,7 @@ This is the right embed when:- You want multiple agents on the same page- You need to call the agent's methods or subscribe to its events-The rest of this tutorial uses the custom-element form, because that's the one that benefits from a wrapper. (The [embedding guide](#sec-420) covers the iframe path and the no-code platforms in depth.)+The rest of this tutorial uses the custom-element form, because that's the one that benefits from a wrapper. (The [embedding guide](#sec-421) covers the iframe path and the no-code platforms in depth.)---@@ -104161,12 +104590,12 @@ The web component is the most robust integration point the platform offers. Buil## Next steps- [Drive the agent with the JavaScript API](/tutorials/js-api-events) — methods and events covered in depth-- [Embed a three.ws agent on your website](#sec-420) — the no-framework paths (Webflow, WordPress, Squarespace) for completeness+- [Embed a three.ws agent on your website](#sec-421) — the no-framework paths (Webflow, WordPress, Squarespace) for completeness- [Trigger the agent from page events](/tutorials/trigger-from-page-events) — once it's mounted, make it react to the user journey----<a id="sec-468"></a>+<a id="sec-469"></a>> **Source:** `docs/tutorials/write-a-guard.md` · [↑ table of contents](#table-of-contents)@@ -104428,7 +104857,7 @@ Your guard is done when all of these are true:----<a id="sec-469"></a>+<a id="sec-470"></a>> **Source:** `docs/tutorials/x402-server-sdk.md` · [↑ table of contents](#table-of-contents)@@ -104641,7 +105070,7 @@ const res = await pay('https://your.api/v1/embed', { method: 'POST', body });----<a id="sec-470"></a>+<a id="sec-471"></a>> **Source:** `docs/ui-juice.md` · [↑ table of contents](#table-of-contents)@@ -104803,7 +105232,7 @@ should reach for these primitives rather than re-rolling RAF loops.----<a id="sec-471"></a>+<a id="sec-472"></a>> **Source:** `docs/user-wallet.md` · [↑ table of contents](#table-of-contents)@@ -105021,7 +105450,7 @@ curl -sX POST https://three.ws/api/user/wallet/fund-agent \Same reserve logic as `send`, and mainnet only: a `"max"` SOL top-up leaves rent and fee headroom, and if the agent has no USDC account yet the transaction opens one and your master wallet pays the rent (refused with `insufficient_sol_for_fees` if your SOL cannot cover it). Without `simulate: true`, a well-formed call executes immediately; preview first when the amount is `"max"` or the agent might lack a token account.-Once the funds land, they are the agent's, and every further movement out of them runs through the agent's own spend policy, kill switch, and custody trail. Funding an agent is therefore the moment to decide how much autonomy you are comfortable financing: top up in the size you would be willing to lose to a bad strategy, not the whole balance. This is also the normal way to get USDC into an agent before it backs a vault ([vaults.md](#sec-486)) and the easiest way to send a vault the small SOL balance it needs for swap fees, by sending to the vault address with `send`.+Once the funds land, they are the agent's, and every further movement out of them runs through the agent's own spend policy, kill switch, and custody trail. Funding an agent is therefore the moment to decide how much autonomy you are comfortable financing: top up in the size you would be willing to lose to a bad strategy, not the whole balance. This is also the normal way to get USDC into an agent before it backs a vault ([vaults.md](#sec-487)) and the easiest way to send a vault the small SOL balance it needs for swap fees, by sending to the vault address with `send`.## On-chain history@@ -105083,13 +105512,13 @@ Honest limits, stated plainly: this is a **custodial** wallet, so the platform c- [agent-wallets.md](#sec-070) for the per-agent wallet this one funds, and its spend policy- [custody.md](#sec-165) for limits, freeze, proof of custody, and recovery on the agent side-- [vaults.md](#sec-486) for what a funded agent wallet can then back+- [vaults.md](#sec-487) for what a funded agent wallet can then back- [authentication.md](#sec-101) for sessions, CSRF tokens, and why API keys do not apply here- [money-map.md](#sec-282) for how funds move across the whole platform----<a id="sec-472"></a>+<a id="sec-473"></a>> **Source:** `docs/ux-flows/01-onboarding-creation.md` · [↑ table of contents](#table-of-contents)@@ -105359,7 +105788,7 @@ Honest limits, stated plainly: this is a **custodial** wallet, so the platform c----<a id="sec-473"></a>+<a id="sec-474"></a>> **Source:** `docs/ux-flows/02-forge-text-to-3d.md` · [↑ table of contents](#table-of-contents)@@ -105541,7 +105970,7 @@ Routing facts (from `vercel.json`):----<a id="sec-474"></a>+<a id="sec-475"></a>> **Source:** `docs/ux-flows/03-3d-editing-viewer.md` · [↑ table of contents](#table-of-contents)@@ -105747,7 +106176,7 @@ Routing summary (from `vite.config.js`):----<a id="sec-475"></a>+<a id="sec-476"></a>> **Source:** `docs/ux-flows/04-embed-widget-studio.md` · [↑ table of contents](#table-of-contents)@@ -105921,7 +106350,7 @@ Routing recap (from `vercel.json`):----<a id="sec-476"></a>+<a id="sec-477"></a>> **Source:** `docs/ux-flows/05-discovery-social.md` · [↑ table of contents](#table-of-contents)@@ -106193,7 +106622,7 @@ Routing recap (from `vercel.json`):----<a id="sec-477"></a>+<a id="sec-478"></a>> **Source:** `docs/ux-flows/06-marketplace-skills.md` · [↑ table of contents](#table-of-contents)@@ -106409,7 +106838,7 @@ Routing facts confirmed in `vercel.json` (line numbers shift too often to pin; g----<a id="sec-478"></a>+<a id="sec-479"></a>> **Source:** `docs/ux-flows/07-crypto-trading-analytics.md` · [↑ table of contents](#table-of-contents)@@ -106800,7 +107229,7 @@ coin-intel, pump-visualizer and pump-live: adding a coin on any surface shows up----<a id="sec-479"></a>+<a id="sec-480"></a>> **Source:** `docs/ux-flows/08-coin-launch-wallets.md` · [↑ table of contents](#table-of-contents)@@ -107076,7 +107505,7 @@ real Solana/EVM RPC, pump.fun, and x402 — no mocks.----<a id="sec-480"></a>+<a id="sec-481"></a>> **Source:** `docs/ux-flows/09-x402-agent-commerce.md` · [↑ table of contents](#table-of-contents)@@ -107423,7 +107852,7 @@ choreographed two-agent narrative driven by Server-Sent Events.----<a id="sec-481"></a>+<a id="sec-482"></a>> **Source:** `docs/ux-flows/10-chat-brain-labs.md` · [↑ table of contents](#table-of-contents)@@ -107666,7 +108095,7 @@ modules. Routes resolved via `vercel.json` rewrites.----<a id="sec-482"></a>+<a id="sec-483"></a>> **Source:** `docs/ux-flows/11-account-dashboard.md` · [↑ table of contents](#table-of-contents)@@ -107889,7 +108318,7 @@ Shared auth concepts:----<a id="sec-483"></a>+<a id="sec-484"></a>> **Source:** `docs/ux-flows/12-home-and-content.md` · [↑ table of contents](#table-of-contents)@@ -108129,7 +108558,7 @@ All `/.well-known/*` and `/openapi.json` / `/sitemap.xml` responses are JSON/XML----<a id="sec-484"></a>+<a id="sec-485"></a>> **Source:** `docs/validation.md` · [↑ table of contents](#table-of-contents)@@ -108491,7 +108920,7 @@ The toggle's CSS class reflects the highest severity: `level-0` (errors), `level----<a id="sec-485"></a>+<a id="sec-486"></a>> **Source:** `docs/vanity.md` · [↑ table of contents](#table-of-contents)@@ -108499,7 +108928,7 @@ The toggle's CSS class reflects the highest severity: `level-0` (errors), `levelThree x402 endpoints that hand an agent a **branded Solana address** — one thatstarts with your ticker/prefix and/or ends with a chosen suffix — with no wallet,-no account, and no SOL. Pay per call in USDC over the [x402](#sec-506) rail and the+no account, and no SOL. Pay per call in USDC over the [x402](#sec-507) rail and theserver grinds (or delivers from stock) a brand-new keypair that matches.| Endpoint | What it is | Chars | Price | Pick it when |@@ -108517,7 +108946,7 @@ Tier 1 and tier 3 **share one warehouse** — the `vanity_inventory` table,pre-ground on batch spot CPU (`workers/vanity-grinder`) and auto-replenishedwhen stock runs low (`api/cron/vanity-inventory-replenish`, hourly). Tier 1 is"give me anything that matches, right now"; tier 3 is "let me pick this exact-address from the catalog." [Pump Launcher](#sec-326) draws from the+address from the catalog." [Pump Launcher](#sec-327) draws from thesame warehouse for instant vanity mint addresses.## Which agent uses this, and why us@@ -108706,7 +109135,7 @@ workers/vanity-grinder/grind.mjs` (see its`vanitySuffix` checks this same inventory before grinding a mint address live —a hit skips the grind entirely (`vanity_source: "inventory"` in the response),a miss grinds as before (`vanity_source: "ground"`). Same one-shot claim, same-atomicity, no separate purchase step. See [pump-launcher.md](#sec-326).+atomicity, no separate purchase step. See [pump-launcher.md](#sec-327).---@@ -108721,20 +109150,20 @@ challenges and the discovery doc stay in parity.## Related-- [x402 endpoints overview](#sec-501)+- [x402 endpoints overview](#sec-502)- [three-vanity/v1 protocol spec](#sec-005)-- [Pump Launcher](#sec-326) — accepts an optional vanity mint prefix/suffix+- [Pump Launcher](#sec-327) — accepts an optional vanity mint prefix/suffix- Web grinder + verifier: [`/vanity`](https://three.ws/vanity), [`/vanity/verify`](https://three.ws/vanity/verify)----<a id="sec-486"></a>+<a id="sec-487"></a>> **Source:** `docs/vaults.md` · [↑ table of contents](#table-of-contents)# USDC agent vaults: the deep reference-A vault lets strangers put **real USDC** behind one trading agent, on terms the agent's owner publishes up front. The product-level tour (who each surface is for, how vaults sit next to the Arena, the Theater and Swarms) is in [trading-arenas.md](#sec-394), under "Back-an-Agent Vaults". **Read that first.** This document is the layer underneath it: the exact routes, the auth boundary on each one, the share math, the guards that sit in front of a trade, and the audit ledger anyone can read.+A vault lets strangers put **real USDC** behind one trading agent, on terms the agent's owner publishes up front. The product-level tour (who each surface is for, how vaults sit next to the Arena, the Theater and Swarms) is in [trading-arenas.md](#sec-395), under "Back-an-Agent Vaults". **Read that first.** This document is the layer underneath it: the exact routes, the auth boundary on each one, the share math, the guards that sit in front of a trade, and the audit ledger anyone can read.Everything here moves real money on Solana mainnet. Read [Safety: what spends, and what has to confirm it](#safety-what-spends-and-what-has-to-confirm-it) before you call any `POST`.@@ -108803,7 +109232,7 @@ curl -sX POST https://three.ws/api/vaults \}'```-`201` returns the vault row including `vault_address`. Note the address: the vault also needs a little **SOL** to pay swap fees and open token accounts, and there is no vault-funding endpoint. Send roughly 0.01 SOL to `vault_address` yourself, for example from your master wallet (see [user-wallet.md](#sec-471)). Without it, trades are refused with `insufficient_sol_for_fees` before anything is signed.+`201` returns the vault row including `vault_address`. Note the address: the vault also needs a little **SOL** to pay swap fees and open token accounts, and there is no vault-funding endpoint. Send roughly 0.01 SOL to `vault_address` yourself, for example from your master wallet (see [user-wallet.md](#sec-472)). Without it, trades are refused with `insufficient_sol_for_fees` before anything is signed.The browser flow is the "Open a vault" modal on [/vaults](https://three.ws/vaults), which is only shown to a signed-in user and pre-fills the same defaults.@@ -109035,16 +109464,16 @@ Two honest limits a backer should know: the platform can sign for the vault (tha## Related-- [trading-arenas.md](#sec-394) for the product overview of vaults and the surfaces around them+- [trading-arenas.md](#sec-395) for the product overview of vaults and the surfaces around them- [agent-wallets.md](#sec-070) for the custodial wallet a backer funds from- [custody.md](#sec-165) for spend limits, the freeze switch, and proof of custody-- [user-wallet.md](#sec-471) for the per-user master wallet, the easiest way to send a vault its fee SOL+- [user-wallet.md](#sec-472) for the per-user master wallet, the easiest way to send a vault its fee SOL- [agent-reputation.md](#sec-054) for the badge that gates opening a vault- [authentication.md](#sec-101) for sessions, CSRF tokens, and API keys----<a id="sec-487"></a>+<a id="sec-488"></a>> **Source:** `docs/viability.md` · [↑ table of contents](#table-of-contents)@@ -109211,7 +109640,7 @@ appears only when there is something to show, pointing at the filtered- [The autonomous economy](#sec-102): the wallets, spend policies,paid skills, and trading loops whose real activity this page measures.-- [x402 revenue and receipts](#sec-502): the platform's own endpoint+- [x402 revenue and receipts](#sec-503): the platform's own endpointrevenue, recorded in a different table and never mixed into the marketplace ortrading figures here.- [Agent Economy Volume](#sec-051): the agent-to-agent USDC@@ -109219,7 +109648,7 @@ appears only when there is something to show, pointing at the filtered----<a id="sec-488"></a>+<a id="sec-489"></a>> **Source:** `docs/viewer.md` · [↑ table of contents](#table-of-contents)@@ -109613,7 +110042,7 @@ A subset of state (background, transparency, background color, auto-rotate, expo----<a id="sec-489"></a>+<a id="sec-490"></a>> **Source:** `docs/voice-lab.md` · [↑ table of contents](#table-of-contents)@@ -109621,7 +110050,7 @@ A subset of state (background, transparency, background color, auto-rotate, expoVoice Lab is where an agent gets its voice. Two paths lead there, and both end in the same playground:-- **Pick one.** Browse roughly 850 ready-made voices across five providers in one grid: Microsoft Edge (free, around 500 neural voices in 100+ locales), Google Gemini (30 prompt-directable voices on the platform's Google credits), NVIDIA Magpie (free, multilingual), OpenAI (11 voices), and ElevenLabs (your account's voices, plus the several-thousand-voice public Voice Library).+- **Pick one.** Browse every ready-made voice across five providers in one grid: Microsoft Edge (free, the live Microsoft neural-voice list, hundreds of voices across 100+ locales), Google Gemini (30 prompt-directable voices on the platform's Google credits), NVIDIA Magpie (free, multilingual), OpenAI (11 voices), and ElevenLabs (your account's voices, plus the several-thousand-voice public Voice Library). `GET /api/tts/catalog` reports the exact `total` and a per-provider `counts` breakdown for the deployment you are talking to; nothing here is a hardcoded snapshot.- **Make your own.** Record 20 to 30 seconds of clear speech and Voice Lab clones it into a reusable voice identity you can type into, save, and assign to any agent.The recording, the live waveform, the browser, and the saved-voice library all run in the browser; synthesis and cloning run server-side so no provider key ever reaches the page.@@ -109637,7 +110066,7 @@ An agent that speaks in a generic stock voice is a demo. An agent that speaks in| Provider | Voices | Cost to you | Notes || --- | --- | --- | --- |-| Microsoft Edge | ~500, live catalog | Free | No key, no account, works signed out. The default lane. |+| Microsoft Edge | the live Microsoft list | Free | No key, no account, works signed out. The default lane. || Google Gemini | 30 prebuilt | Free | Runs on the platform's Google Cloud credits. Takes a natural-language **direction** ("say it like a bedtime story"). || NVIDIA Magpie | 11 personas | Free | The real-time avatar lane, 9 languages. || OpenAI | 11 | Credits | `gpt-4o-mini-tts` also takes a direction. |@@ -109659,7 +110088,7 @@ The page ([`pages/voice.html`](../pages/voice.html)) loads [`src/voice-lab.js`](2. **Review.** You play the take back, name the voice (1 to 64 chars), and either re-record or clone.3. **Clone.** The recording is POSTed as `multipart/form-data` to `/api/tts/eleven-clone`. The shared library [`api/_lib/elevenlabs.js`](../api/_lib/elevenlabs.js) dynamically imports `@elevenlabs/elevenlabs-js`, constructs an `ElevenLabsClient`, and calls `client.voices.ivc.create({ name, description, files })` (ElevenLabs Instant Voice Cloning). The endpoint returns a `voice_id`.4. **Save.** The `voice_id` is written to a browser voice library (`localStorage` key `voicelab_voices_v1`, up to 20 voices). Each card offers "Play sample" and "Remove".-5. **Play.** The playground takes any voice (cloned or picked from the browser), up to 1,000 characters of text, an optional model, an optional direction, and a speed, and POSTs them to `/api/tts/synthesize`. Options are keyed `<provider>:<voiceId>` so a cloned ElevenLabs voice, a free Edge voice, and a Gemini prebuilt can never collide. The model select and the direction field appear only for lanes that have them. Every clip is cached in R2 for 30 days keyed on a hash of the full request (the response header `x-tts-cache: hit|miss` tells you which).+5. **Play.** The playground takes any voice (cloned or picked from the browser), up to 1,000 characters of text, an optional model, an optional direction, and a speed, and POSTs them to `/api/tts/synthesize`. Options are keyed `<provider>:<voiceId>` so a cloned ElevenLabs voice, a free Edge voice, and a Gemini prebuilt can never collide. The model select and the direction field appear only for lanes that have them. Every clip is cached in R2 keyed on a hash of the full request (provider, voice, text, model, direction, speed, and settings), so an identical request is served from storage with no upstream call and no charge. The response header `x-tts-cache: hit|miss` tells you which path served you.### Comparing voice models@@ -109679,7 +110108,7 @@ Free means free, and vendor-billed means metered: no request the platform would0. **Free (`free` / `gcp`).** Edge and NVIDIA cost the platform nothing (Edge is keyless; NVIDIA runs on its free NIM tier), and Gemini runs on the platform's Google Cloud credits under the standing owner-approved spend. All three are served without charge and Edge, Gemini, and NVIDIA all work **signed out**.1. **Prepaid credits (default for OpenAI and ElevenLabs).** Requests on the platform's vendor accounts are metered against your [credit balance](https://three.ws/credits) (top up with $THREE or SOL): $0.30 per 1,000 spoken characters on ElevenLabs (`tts.eleven`), $0.03 per 1,000 on OpenAI (`tts.openai`), and $0.50 per voice clone (`voice.clone`, with the $THREE holder-tier discount applied). A short balance returns `402 insufficient_credits` with `top_up_url`, and a failed synthesis or clone refunds the charge. The response header `x-tts-charged-usd` reports what a metered call cost.2. **Bring your own key (BYOK).** Send your own ElevenLabs API key in the `x-eleven-key` header on any ElevenLabs-touching endpoint (`/api/tts/synthesize`, `/api/tts/eleven`, `/api/tts/eleven/voices`, `/api/tts/eleven/library`, `/api/tts/eleven-clone`) and the call runs on *your* ElevenLabs account: your voices, your quota, your bill, with no platform charges. The server uses the key for that one request and never stores it. On [/voice](https://three.ws/voice), the "Use Your Own ElevenLabs Key" card saves the key to your browser's `localStorage` and attaches the header automatically.-3. **Cache hits.** Clips already synthesized (same voice, text, model, and settings) are served from R2 with no upstream call and no charge (`x-tts-billing: cached`).+3. **Cache hits.** Clips already synthesized (same voice, text, model, and settings) are served from R2 with no upstream call and no charge (`x-tts-billing: cached`). The cache is checked before metering, so a repeat line never spends credits twice.```bash# Every voice on the platform, in one shape. Works signed out (free lanes only).@@ -109764,7 +110193,7 @@ The agent-voice handler ([`api/agents/_id/voice.js`](../api/agents/_id/voice.js)- **Server config.** ElevenLabs must be configured (`ELEVENLABS_API_KEY`) or the endpoints return `503 not_configured`; a request carrying its own `x-eleven-key` header still works (see the billing section above).- **Paid cloning tier.** Instant Voice Cloning is an ElevenLabs paid-tier (Starter and up) feature. On a free upstream tier the API surfaces the upstream `can_not_use_instant_voice_cloning` body verbatim as a `502`.- **Length rules.** Voice Lab recommends 20 to 30 seconds, auto-stops at 60, and rejects under 3. The separate agent-clone endpoint (`POST /api/agents/:id/voice/clone`) enforces a 30-second floor. Platform-key clones on both endpoints are capped at 3 per user per day (an abuse guard on the shared account's limited clone slots) and each is charged per the billing section; BYOK clones on `/api/tts/eleven-clone` skip the cap.-- **Synthesis limits.** 1,000 characters per `/api/tts/synthesize` request (500 on the older `/api/tts/eleven`); every platform-key request is metered to credits per the billing section (charged before synthesis, refunded on failure). BYOK requests are unmetered by the platform. Clips are cached in R2 for 30 days and cache hits are not charged.+- **Synthesis limits.** 1,000 characters per `/api/tts/synthesize` request (500 on the older `/api/tts/eleven`); every platform-key request is metered to credits per the billing section (charged before synthesis, refunded on failure). BYOK requests are unmetered by the platform. Clips are cached in R2 and cache hits are not charged.- **Audio size.** Clone uploads are capped at ~10 MB.- **"Add to an agent" on `/voice`** links to the dashboard; the actual assignment happens in the agent editor. The cloned `voice_id` lives in browser `localStorage` until you assign it.- **Error copy.** Mic denial, recorder failure, too-short recording, missing name, network failure, and clone failure each map to a specific message; the playground shows "Synthesizing...", then a size, a cached/generated tag, and the billing rung that served it, or an error. A lane's upstream failure is tagged with a code (`invalid_key`, `rate_limited`, `content_blocked`, `provider_unreachable`) that `/api/tts/synthesize` maps to a truthful HTTP status rather than a blanket 502.@@ -109772,14 +110201,14 @@ The agent-voice handler ([`api/agents/_id/voice.js`](../api/agents/_id/voice.js)## Related-- [Voice and lipsync tutorial](#sec-464): the authoritative step-by-step, including wiring a cloned voice into an agent.+- [Voice and lipsync tutorial](#sec-465): the authoritative step-by-step, including wiring a cloned voice into an agent.- [Lipsync](#sec-259): how synthesized speech drives an avatar's mouth in real time.-- [Talking Avatar Video](#sec-386): render a talking-head clip from an avatar and an audio track.+- [Talking Avatar Video](#sec-387): render a talking-head clip from an avatar and an audio track.- Pages: [/voice](https://three.ws/voice), [/dashboard](https://three.ws/dashboard).----<a id="sec-490"></a>+<a id="sec-491"></a>> **Source:** `docs/walk-leaderboard.md` · [↑ table of contents](#table-of-contents)@@ -109888,7 +110317,7 @@ As coded, in layers. Each one bounds a different kind of nonsense:| Achievement allowlist | same | Only the four known codes persist, and each unlocks once per walker, so badges cannot be farmed by replaying a batch. || Idempotent rollup | unique index in [the migration](../api/_lib/migrations/20260621140000_walk_metrics.sql) | Batches merge into one row per dimension tuple per day, so the table cannot be flooded into a different shape. |-**What these guards do and do not claim.** `POST /api/walk/metrics` is a public, open-CORS ingest keyed on a client-supplied anonymous id, because embeds post from third-party hosts and anonymous walkers are first-class on the board. The guards above bound the size, rate, and attribution of any single claim; they do not cryptographically prove that a walk happened. There is no cross-batch plausibility check (for example, distance against elapsed duration) and no server-side replay of the controller. Treat the board as a gamified activity ranking, not as an audited measurement. If you need a movement claim that a third party can verify, that is a different product: [World Lines](#sec-495) issue agent-signed proofs of physical presence with server-derived co-location.+**What these guards do and do not claim.** `POST /api/walk/metrics` is a public, open-CORS ingest keyed on a client-supplied anonymous id, because embeds post from third-party hosts and anonymous walkers are first-class on the board. The guards above bound the size, rate, and attribution of any single claim; they do not cryptographically prove that a walk happened. There is no cross-batch plausibility check (for example, distance against elapsed duration) and no server-side replay of the controller. Treat the board as a gamified activity ranking, not as an audited measurement. If you need a movement claim that a third party can verify, that is a different product: [World Lines](#sec-496) issue agent-signed proofs of physical presence with server-derived co-location.---@@ -110054,14 +110483,14 @@ The anonymous id is generated and persisted by the walk runtime in `localStorage## Related-- [Add the Walk Companion to your site](#sec-465), the hands-on path from a copy-paste iframe to the `@three-ws/walk` package, including the surfaces that produce the metrics ranked here.+- [Add the Walk Companion to your site](#sec-466), the hands-on path from a copy-paste iframe to the `@three-ws/walk` package, including the surfaces that produce the metrics ranked here.- The walk documentation set on the site, served from `public/docs/walk/`: `/docs/walk` (index), `/docs/walk/walk-page`, `/docs/walk/embed-iframe`, `/docs/walk/embed-sdk`, `/docs/walk/companion-mode`, `/docs/walk/chrome-extension`, `/docs/walk/postmessage-events`, and `/docs/walk/analytics`, which covers the per-creator dashboard fed by the same ingest.- The creator-side view of this data: `three.ws/walk-analytics`, backed by `GET /api/walk/analytics`.-- [World Lines](#sec-495), for movement claims that carry a verifiable agent signature rather than a leaderboard rank.+- [World Lines](#sec-496), for movement claims that carry a verifiable agent signature rather than a leaderboard rank.----<a id="sec-491"></a>+<a id="sec-492"></a>> **Source:** `docs/web-component.md` · [↑ table of contents](#table-of-contents)@@ -110086,7 +110515,7 @@ The element is designed to be zero-overhead until it is needed.1. **Element added to DOM** — `connectedCallback` fires. Shadow DOM shell (canvas container, chat chrome, poster, loading indicator) is rendered immediately.2. **IntersectionObserver** starts watching the element. Nothing else happens until at least one pixel is visible in the viewport. Add the `eager` attribute to skip this and boot immediately on connection.-3. **Manifest resolved** — the element reads its source attributes (`src`, `agent-id`, `manifest`, or `body`) in priority order and fetches or constructs an agent manifest. See [Source attributes](#source-attributes) for the priority chain.+3. **Manifest resolved**: the element reads its source attributes (`src`, `agent-id`, `manifest`, or `body`) in priority order and fetches or constructs an agent manifest. See [Source attributes](#source-attributes-pick-one) for the priority chain.4. **Embed policy checked** — if the manifest maps to a backend agent ID, the element fetches the agent's embed policy and refuses to continue if the current origin is not permitted.5. **Viewer constructed** — a three.js renderer is created inside the shadow DOM canvas. The GLB referenced by `manifest.body.uri` is loaded.6. **Memory, skills, and runtime initialized** — the memory store is opened, skills listed in the manifest are installed, and the LLM runtime is wired up (or a null provider is used if `brain` is `none` or omitted).@@ -110169,7 +110598,7 @@ el.removeAttribute('sign-language'); // offSigning rides the same `SPEAK` event as spoken replies, so it works identicallyin the hosted app and in an embed. A runnable page is[examples/sign-language.html](../examples/sign-language.html); the engine and its-vocabulary are documented in [Sign language](#sec-367), and the+vocabulary are documented in [Sign language](#sec-368), and thealphabet is browsable at [/asl-alphabet](https://three.ws/asl-alphabet).### Skills and memory@@ -111020,7 +111449,7 @@ defineElement('my-agent');----<a id="sec-492"></a>+<a id="sec-493"></a>> **Source:** `docs/widget-api.md` · [↑ table of contents](#table-of-contents)@@ -111227,7 +111656,7 @@ If you have multiple widgets and want to coordinate them (sync camera, broadcast----<a id="sec-493"></a>+<a id="sec-494"></a>> **Source:** `docs/widget-studio.md` · [↑ table of contents](#table-of-contents)@@ -111471,14 +111900,14 @@ You can override these freely in the iframe `width` and `height` attributes. Add## Next steps-- [Widget API (JSON-RPC)](#sec-492) — programmatic control over an embedded widget: camera, animation, screenshots, model loading-- [Widgets reference](#sec-494) — technical details, postMessage API, CSP config, and oEmbed spec-- [Web component](#sec-491) — the `<agent-3d>` custom element for developer integrations+- [Widget API (JSON-RPC)](#sec-493) — programmatic control over an embedded widget: camera, animation, screenshots, model loading+- [Widgets reference](#sec-495) — technical details, postMessage API, CSP config, and oEmbed spec+- [Web component](#sec-492) — the `<agent-3d>` custom element for developer integrations- [Embedding guide](#sec-180) — advanced embedding patterns and iframe options----<a id="sec-494"></a>+<a id="sec-495"></a>> **Source:** `docs/widgets.md` · [↑ table of contents](#table-of-contents)@@ -111983,7 +112412,7 @@ No IP addresses, no user-agent strings, no cookies, no chat message content. The## Programmatic control-Need to drive a widget from the parent page — change the camera, play an animation, grab a screenshot? See the [Widget API (JSON-RPC)](#sec-492) reference. The `ThreeWidget` SDK lives at `/widget-client.js` and works with any iframe pointing at `/widget`.+Need to drive a widget from the parent page — change the camera, play an animation, grab a screenshot? See the [Widget API (JSON-RPC)](#sec-493) reference. The `ThreeWidget` SDK lives at `/widget-client.js` and works with any iframe pointing at `/widget`.---@@ -111996,7 +112425,7 @@ Need to drive a widget from the parent page — change the camera, play an anima----<a id="sec-495"></a>+<a id="sec-496"></a>> **Source:** `docs/world-lines.md` · [↑ table of contents](#table-of-contents)@@ -112578,13 +113007,13 @@ Both handlers log their enforcement mode once per cold start, so a production mi- [IRL: agents in the real world](irl.md#world-lines), the product-level overview and the rest of the presence layer.- [IRL threat model](#sec-253), the adversarial analysis behind every radius and cap above.-- [Place a 3D agent in your real environment](#sec-442), how to create the anchor pin a World Line needs.+- [Place a 3D agent in your real environment](#sec-443), how to create the anchor pin a World Line needs.- [API reference](#sec-094), the one-screen summary of these endpoints alongside the rest of `/api/irl/*`.- [AR](#sec-097), the camera and WebXR layer the ceremony builds on.----<a id="sec-496"></a>+<a id="sec-497"></a>> **Source:** `docs/x-meetup-posts.md` · [↑ table of contents](#table-of-contents)@@ -112641,7 +113070,7 @@ https://community.ibm.com/community/user/discussion/community-meetup-inside-thre----<a id="sec-497"></a>+<a id="sec-498"></a>> **Source:** `docs/x-memory-seeding.md` · [↑ table of contents](#table-of-contents)@@ -112862,13 +113291,13 @@ Seeded rows in `agent_memories` are found by tag (`tags && '{x_seed}'`) and by----<a id="sec-498"></a>+<a id="sec-499"></a>> **Source:** `docs/x402-buyer.md` · [↑ table of contents](#table-of-contents)# x402 Buyer Client-To consume a paid [x402 endpoint](#sec-501) — ours or anyone's — a+To consume a paid [x402 endpoint](#sec-502) — ours or anyone's — acaller has to perform the "402 dance": probe the URL, read the payment challenge,sign and settle a payment, then retry with an `X-PAYMENT` header. three.ws ships abuyer client that wraps that whole sequence in one call, with spending-cap@@ -112958,13 +113387,13 @@ set) back into the payment so attribution survives the round trip.## Related-- [x402 protocol](#sec-506) — the underlying challenge/settle mechanics.-- [x402 paid endpoints](#sec-501) — what you can buy from us.+- [x402 protocol](#sec-507) — the underlying challenge/settle mechanics.+- [x402 paid endpoints](#sec-502) — what you can buy from us.- [Autonomous x402 loop](#sec-103) — uses this client on a schedule.----<a id="sec-499"></a>+<a id="sec-500"></a>> **Source:** `docs/x402-dev-tools.md` · [↑ table of contents](#table-of-contents)@@ -113052,10 +113481,11 @@ Response:```json{"ok": false,- "count": 4,+ "count": 5,"findings": [{ "severity": "error", "field": "payment.x402Version", "problem": "payment declares x402Version 1; server requires 2", "fix": "Set x402Version: 2." },{ "severity": "error", "field": "payment.network", "problem": "network \"base\" is a shorthand, not the CAIP-2 id the rail matches on", "fix": "Use \"eip155:8453\"." },+ { "severity": "error", "field": "payment.network", "problem": "you signed for \"base\" but the challenge only offers [eip155:8453]", "fix": "Pick one of the offered networks and re-sign against that accepts[] entry." },{ "severity": "error", "field": "payment.authorization.value", "problem": "value \"0.01\" contains a decimal point", "fix": "Authorization value is atomic units as an integer string (\"10000\"), not a decimal token amount." },{ "severity": "info", "field": "response.error", "problem": "server returned \"invalid_payment\"", "fix": "The payload was structurally valid but failed a check — usually underpayment, wrong payTo, or a malformed authorization. Run /api/x402/echo on your header to see the decoded amount/recipient." }]@@ -113159,13 +113589,13 @@ implementation against a live server.----<a id="sec-500"></a>+<a id="sec-501"></a>> **Source:** `docs/x402-distribution.md` · [↑ table of contents](#table-of-contents)# x402 Distribution — getting listed and ranked everywhere-three.ws sells 90+ pay-per-call services over [x402](#sec-506). Building them is+three.ws sells 90+ pay-per-call services over [x402](#sec-507). Building them ishalf the job; the other half is making sure every x402 directory, crawler, andagent marketplace can find them — and ranks us at the top. This page is theoperating playbook for that distribution: how each surface indexes providers,@@ -113375,24 +113805,24 @@ script. Everything else above updates itself.## Related-- [x402 overview](#sec-506) · [Paid endpoints reference](#sec-501) ·- [Autonomous loop](#sec-103) · [Buyer client](#sec-498)+- [x402 overview](#sec-507) · [Paid endpoints reference](#sec-502) ·+ [Autonomous loop](#sec-103) · [Buyer client](#sec-499)----<a id="sec-501"></a>+<a id="sec-502"></a>> **Source:** `docs/x402-endpoints.md` · [↑ table of contents](#table-of-contents)# x402 Paid Endpointsthree.ws exposes a catalog of HTTP endpoints that charge per call over-[x402](#sec-506): the caller hits the endpoint, receives a `402 Payment Required`+[x402](#sec-507): the caller hits the endpoint, receives a `402 Payment Required`challenge, settles a small USDC payment, and retries with an `X-PAYMENT` header toget the result. This page is the reference for **our own** paid endpoints, theirprices, and the price-override scheme.-To call these as a buyer, see [x402 buyer client](#sec-498). For the loop+To call these as a buyer, see [x402 buyer client](#sec-499). For the loopthat calls many of them on a schedule, see [Autonomous x402 loop](#sec-103).> Source: handlers under [`api/x402/`](../api/x402), pricing@@ -113486,19 +113916,19 @@ buyer's USDC settles **directly** to that wallet and the platform never holds it| Endpoint | Receiver | Source || -------- | -------- | ------ |-| `/api/x402/skill-call` | skill **author** | `author_payto_*` ([skill-call.js:159](../api/x402/skill-call.js#L159)) |-| `/api/x402/service` | service **provider** | `row.payout_address` ([service.js:92](../api/x402/service.js#L92)) |-| `/api/x402/asset-download` | 3D-asset **creator** | `creator_payto_*` ([asset-download.js:121](../api/x402/asset-download.js#L121)) |-| `/api/x402/animation-download` | clip **creator** | `creator_payto_*` ([animation-download.js:112](../api/x402/animation-download.js#L112)) |-| `/api/x402/pay-by-name` | **buyer-named** wallet | resolved name/`.sol`/address, direct SPL transfer ([pay-by-name.js:256](../api/x402/pay-by-name.js#L256)) |+| `/api/x402/skill-call` | skill **author** | `author_payto_*` ([skill-call.js:196](../api/x402/skill-call.js#L196)) |+| `/api/x402/service` | service **provider** | `row.payout_address` ([service.js:91](../api/x402/service.js#L91)) |+| `/api/x402/asset-download` | 3D-asset **creator** | `creator_payto_*` ([asset-download.js:124](../api/x402/asset-download.js#L124)) |+| `/api/x402/animation-download` | clip **creator** | `creator_payto_*` ([animation-download.js:115](../api/x402/animation-download.js#L115)) |+| `/api/x402/pay-by-name` | **buyer-named** wallet | resolved name/`.sol`/address, direct SPL transfer ([pay-by-name.js:279](../api/x402/pay-by-name.js#L279)) |**2. Post-settlement split** — the USDC lands in the **platform receiver**, then a*separate* treasury forwards a share out-of-band (these are NOT `payTo` overrides):| Endpoint | Lands in | Then forwarded to | By || -------- | -------- | ----------------- | -- |-| `/api/x402/cosmetic-purchase` | platform receiver | **creator** 50% (≤90% cap) | `COSMETIC_SPLIT_TREASURY_SECRET_KEY_B64` ([cosmetics-economy.js:31](../api/_lib/cosmetics-economy.js#L31)) |-| `/api/x402/dance-tip` | platform receiver | **dancer** (full tip) | `club-payouts` cron from `CLUB_SOLANA_TREASURY_SECRET_KEY_B64` ([club/sweep.js:19](../api/_lib/club/sweep.js#L19)) |+| `/api/x402/cosmetic-purchase` | platform receiver | **creator** 50% (≤90% cap) | `COSMETIC_SPLIT_TREASURY_SECRET_KEY_B64` ([cosmetics-economy.js:203](../api/_lib/cosmetics-economy.js#L203); the 50% default and 90% ceiling are [L31-L32](../api/_lib/cosmetics-economy.js#L31)) |+| `/api/x402/dance-tip` | platform receiver | **dancer** (full tip) | `club-payouts` cron ([club/sweep.js](../api/_lib/club/sweep.js)) paying from `CLUB_SOLANA_TREASURY_SECRET_KEY_B64` ([club/payouts.js:54](../api/_lib/club/payouts.js#L54)) || `/api/x402/club-cover` | platform receiver (kept) | — (funds the club float; issues a door pass) | — |`/api/x402/ring-settle` is an **internal** primitive (`discoverable:false`) — it is@@ -113570,13 +114000,13 @@ named in its description:Beneath the named endpoints sits the **datapoint fabric**: `/api/x402/d/<family>/…`(one route, `api/x402/d/[...path].js`) serves 1,000,000+ individually priceddatapoints at **$0.0005** USDC each by default, overridable per family with-`X402_PRICE_DATAPOINT_<FAMILY>`. See [Market data API](market-data-api.md#the-datapoint-fabric).+`X402_PRICE_DATAPOINT_<FAMILY>`. See [Market data API](market-data-api.md#the-datapoint-fabric--1000000-standalone-endpoints).## Agent & reputation endpoints| Endpoint | Default | Returns || ----------------------------------- | --------- | ------------------------------------------ |-| `/api/x402/agent-reputation` | $0.01 | Cross-chain 0–100 trust score for any wallet/mint/agent id ([trust primitives](#sec-400)). |+| `/api/x402/agent-reputation` | $0.01 | Cross-chain 0–100 trust score for any wallet/mint/agent id ([trust primitives](#sec-401)). || `/api/x402/agent-bouncer` | $0.01 | Access-gate decision for an agent/wallet. || `/api/x402/onchain-identity-verify` | $0.005 | Verifies an on-chain identity claim. || `/api/x402/skill-marketplace` | $0.001 | Skill listings + pricing. |@@ -113604,8 +114034,8 @@ datapoints at **$0.0005** USDC each by default, overridable per family with| Endpoint | Default | Returns || ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------- |-| [`/api/x402/pump-launch`](#sec-326) | $5.00 | **Pump Launcher** — deploy a brand-new pump.fun token in one paid call. No SOL, no wallet, no account: the server fronts the deploy cost and signs the create tx; you pay USDC. Optional vanity mint. Full flow + funnel in [pump-launcher.md](#sec-326). |-| [`/api/x402/vanity`](#sec-485) | $0.01–$0.50 (≤3) · $2.50–$10 (4–5, inventory-only) | **Vanity Grinder** — get a brand-new Solana address that starts with your ticker/prefix and/or ends with a suffix, for a branded token mint or agent/treasury wallet. Checks the pre-ground warehouse first for **instant delivery** (`source: "inventory"`); falls back to a live grind (`source: "ground"`) up to 3 chars. Keypair or importable BIP-39 mnemonic; nothing stored; optional `sealTo` ECIES. Full doc: [vanity.md](#sec-485). |+| [`/api/x402/pump-launch`](#sec-327) | $5.00 | **Pump Launcher** — deploy a brand-new pump.fun token in one paid call. No SOL, no wallet, no account: the server fronts the deploy cost and signs the create tx; you pay USDC. Optional vanity mint. Full flow + funnel in [pump-launcher.md](#sec-327). |+| [`/api/x402/vanity`](#sec-486) | $0.01–$0.50 (≤3) · $2.50–$10 (4–5, inventory-only) | **Vanity Grinder** — get a brand-new Solana address that starts with your ticker/prefix and/or ends with a suffix, for a branded token mint or agent/treasury wallet. Checks the pre-ground warehouse first for **instant delivery** (`source: "inventory"`); falls back to a live grind (`source: "ground"`) up to 3 chars. Keypair or importable BIP-39 mnemonic; nothing stored; optional `sealTo` ECIES. Full doc: [vanity.md](#sec-486). || [`/api/x402/vanity-verifiable`](vanity.md#tier-2--provably-fair-grinder) | $0.02–$0.40 | **Provably-fair grinder** — same grind with a signed commit–reveal receipt proving the key was ground fresh and never kept. Spec: [PROTOCOL-vanity.md](#sec-005). || [`/api/x402/vanity-premium`](vanity.md#tier-3--premium-inventory) | $1–$50 by rarity | **Premium inventory** — buy a pre-ground 4–5+ char brandable address from stock. GET lists available patterns + prices (free); `?address=…` buys via x402 and delivers the key **once** (ciphertext destroyed on delivery). Browsable at `/vanity/premium`. || `/api/x402/pay-by-name` | $0.001 | Resolve and pay a `@username` / `.sol` name / raw address (see [Agent wallets](#sec-070)); the paid resolve toll is $0.001, the transfer amount itself is buyer-specified. |@@ -113644,7 +114074,7 @@ directory.| Endpoint | Default | Returns || ---------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `/api/x402/analytics` | $0.005 | Platform reports — pick `report=revenue` for the x402 endpoint-revenue summary (see [x402 revenue & receipts](#sec-502)), plus club and listing analytics. |+| `/api/x402/analytics` | $0.005 | Platform reports — pick `report=revenue` for the x402 endpoint-revenue summary (see [x402 revenue & receipts](#sec-503)), plus club and listing analytics. || `/api/x402/mcp-tool-catalog` | $0.001 | Snapshot of every MCP tool (name, paid/free, price, input shape) and a diff vs the last snapshot (added / removed / re-priced tools). || **Free read surfaces** | — | — || `/api/x402/my-receipts` | free | A buyer's own settled receipts, gated by a wallet signature (SIWX) rather than a payment. |@@ -113654,9 +114084,9 @@ directory.| `/api/x402/glb-optimization-report`| free | GLB Size Optimizer catalog feed: what the `glb-size-optimizer` autonomous-loop entry has measured. || `/api/x402/network-cost` | free | Cross-chain payment-cost recommendation feed from the hourly cross-chain-cost pipeline snapshots. || `/api/x402/runway-lab` | free | Live seed for [/economy-lab](https://three.ws/economy-lab): the fee wallet's real SOL balance and hard floor, the running deploy's governor config, today's spend from `x402_self_facilitator_log`, observed fee-per-settle and 24h demand, and the refusal histogram bucketed by cause (governor / floor / dust guard / duplicate). Read-only; every field is already public through `/api/x402-ring` and `/api/x402-status`. |-| `/api/x402/echo` | free | httpbin for x402 — decodes your `X-PAYMENT` header (signatures redacted) and returns a local verify verdict without settling. See [x402 dev tools](#sec-499). |-| `/api/x402/debug` | free | Diagnoses a failed 402 exchange (`{challenge, payment, response}`) into an ordered `{severity, field, problem, fix}` list. See [x402 dev tools](#sec-499). |-| `/api/x402/verify-receipt` | free | Recomputes a paid response's SHA-256 attestation and confirms a settlement tx on-chain. See [x402 dev tools](#sec-499). |+| `/api/x402/echo` | free | httpbin for x402 — decodes your `X-PAYMENT` header (signatures redacted) and returns a local verify verdict without settling. See [x402 dev tools](#sec-500). |+| `/api/x402/debug` | free | Diagnoses a failed 402 exchange (`{challenge, payment, response}`) into an ordered `{severity, field, problem, fix}` list. See [x402 dev tools](#sec-500). |+| `/api/x402/verify-receipt` | free | Recomputes a paid response's SHA-256 attestation and confirms a settlement tx on-chain. See [x402 dev tools](#sec-500). |## $THREE only@@ -113667,22 +114097,22 @@ input and do not promote any specific token.## Related-- [Pump Launcher](#sec-326) — the full launch flow, inputs/outputs, and the free `symbol` → launch → `launches` funnel.-- [x402 protocol](#sec-506) — the challenge/settle mechanics.-- [x402 buyer client](#sec-498) — how to pay these endpoints in code.-- [x402 revenue & receipts](#sec-502) — where settled payments are recorded and how to read endpoint revenue.+- [Pump Launcher](#sec-327) — the full launch flow, inputs/outputs, and the free `symbol` → launch → `launches` funnel.+- [x402 protocol](#sec-507) — the challenge/settle mechanics.+- [x402 buyer client](#sec-499) — how to pay these endpoints in code.+- [x402 revenue & receipts](#sec-503) — where settled payments are recorded and how to read endpoint revenue.- [Autonomous x402 loop](#sec-103) — the scheduled buyer that drives volume through these endpoints.- [MCP tools](#sec-270) — the same capabilities exposed as paid MCP tools.----<a id="sec-502"></a>+<a id="sec-503"></a>> **Source:** `docs/x402-revenue.md` · [↑ table of contents](#table-of-contents)# x402 Revenue & Receipts-Every time someone pays one of three.ws's [paid endpoints](#sec-501), the+Every time someone pays one of three.ws's [paid endpoints](#sec-502), thesettlement is recorded. This page is the reference for **where that money isrecorded**, how to read endpoint revenue, and how the durable receipt is issued tothe buyer.@@ -113810,7 +114240,7 @@ LIMIT 10;## The revenue report — `/api/x402/analytics`You don't have to query SQL. The `analytics` endpoint serves the same numbers,-pre-aggregated. It is itself a [paid endpoint](#sec-501) ($0.005 default).+pre-aggregated. It is itself a [paid endpoint](#sec-502) ($0.005 default).It is a `POST` endpoint: pass `report` and `period` in the JSON body:```bash@@ -113886,7 +114316,7 @@ CREATE TABLE x402_receipts (```A buyer reads **their own** receipts at-[`/api/x402/my-receipts`](#sec-501) — that endpoint is free but gated by+[`/api/x402/my-receipts`](#sec-502) — that endpoint is free but gated bya wallet signature (SIWX), so a buyer proves ownership of the `payer` addressrather than paying again.@@ -114095,15 +114525,15 @@ settled activity (include it), and label it as such.## Related-- [x402 paid endpoints](#sec-501) — the catalog of what charges and how much.-- [x402 protocol](#sec-506) — the challenge / verify / settle mechanics.-- [x402 buyer client](#sec-498) — how to settle a 402 challenge in code.+- [x402 paid endpoints](#sec-502) — the catalog of what charges and how much.+- [x402 protocol](#sec-507) — the challenge / verify / settle mechanics.+- [x402 buyer client](#sec-499) — how to settle a 402 challenge in code.- [Autonomous x402 loop](#sec-103) — the scheduled buyer that drives volume, including the Volume Bootstrap Loop and the reconciliation job.- [Money feed](#sec-280) — the agent-spend side of the ledger (the Money Pulse), distinct from endpoint revenue.----<a id="sec-503"></a>+<a id="sec-504"></a>> **Source:** `docs/x402-ring-economy.md` · [↑ table of contents](#table-of-contents)@@ -115191,7 +115621,7 @@ activation runbook above is the fix.- [STRUCTURE.md](../STRUCTURE.md) — surface map- [/api/x402-revenue](../api/x402-revenue.js) — the **public** organic-revenuefeed (self-cycled ring volume is excluded from the "organic" framing here)-- [docs/x402-revenue.md](#sec-502) — revenue surface docs+- [docs/x402-revenue.md](#sec-503) — revenue surface docs- [api/_lib/x402/ring-allowlist.js](../api/_lib/x402/ring-allowlist.js) — thecontrolled-wallet set + spend invariants- [api/cron/x402-ring-leak-scan.js](../api/cron/x402-ring-leak-scan.js) — the@@ -115199,7 +115629,7 @@ activation runbook above is the fix.----<a id="sec-504"></a>+<a id="sec-505"></a>> **Source:** `docs/x402-solana-july-roundup-response.md` · [↑ table of contents](#table-of-contents)@@ -115258,7 +115688,7 @@ the specific claim the roundup credited us for. Second choice: the AR drop-in on----<a id="sec-505"></a>+<a id="sec-506"></a>> **Source:** `docs/x402-studio.md` · [↑ table of contents](#table-of-contents)@@ -115268,11 +115698,11 @@ x402 Studio is the merchant console for running a paid x402 business on three.wsPage: [/x402/studio](https://three.ws/x402/studio)-APIs: `/api/x402-merchant` (settings), `/api/x402-skus` (products), `/api/sns` (name resolution), `/api/x402/pay-by-name` (USDC send). See [x402: paid agent skills](#sec-506) for the underlying payment protocol.+APIs: `/api/x402-merchant` (settings), `/api/x402-skus` (products), `/api/sns` (name resolution), `/api/x402/pay-by-name` (USDC send). See [x402: paid agent skills](#sec-507) for the underlying payment protocol.## Why it exists-x402 turns any HTTP endpoint into a paid one: the server answers `402 Payment Required` with a manifest, the caller pays in USDC, and the call retries and settles. That primitive is powerful but low-level. Studio is the console on top of it, the difference between "you can hand-write a 402 challenge" and "you can run a storefront." A merchant configures once and gets hosted checkout links, a shareable storefront, a copy-paste pay button, revenue stats, and payouts to a wallet they control, without writing payment code. It is the seller-facing companion to the [x402 buyer client](#sec-498) and the [paid endpoint catalog](#sec-501).+x402 turns any HTTP endpoint into a paid one: the server answers `402 Payment Required` with a manifest, the caller pays in USDC, and the call retries and settles. That primitive is powerful but low-level. Studio is the console on top of it, the difference between "you can hand-write a 402 challenge" and "you can run a storefront." A merchant configures once and gets hosted checkout links, a shareable storefront, a copy-paste pay button, revenue stats, and payouts to a wallet they control, without writing payment code. It is the seller-facing companion to the [x402 buyer client](#sec-499) and the [paid endpoint catalog](#sec-502).## How it works@@ -115358,16 +115788,16 @@ const { tx_base64, blockhash } = await res.json();## Related-- [x402: paid agent skills](#sec-506): the payment protocol Studio sits on top of-- [x402 revenue and receipts](#sec-502): where settled payments are recorded-- [x402 paid endpoints](#sec-501): the platform's own catalog of paid endpoints-- [x402 buyer client](#sec-498): the caller side of a 402 challenge-- [x402 developer tools](#sec-499) and [x402 distribution](#sec-500)+- [x402: paid agent skills](#sec-507): the payment protocol Studio sits on top of+- [x402 revenue and receipts](#sec-503): where settled payments are recorded+- [x402 paid endpoints](#sec-502): the platform's own catalog of paid endpoints+- [x402 buyer client](#sec-499): the caller side of a 402 challenge+- [x402 developer tools](#sec-500) and [x402 distribution](#sec-501)- Pages: [/x402/studio](https://three.ws/x402/studio) · [/x402](https://three.ws/x402)----<a id="sec-506"></a>+<a id="sec-507"></a>> **Source:** `docs/x402.md` · [↑ table of contents](#table-of-contents)@@ -115381,7 +115811,7 @@ of Pump.fun agent payments: callers pay an agent in any SPL token to invoke askill, and the agent verifies the on-chain payment before dispatching thecall. It is written for developers wiring paid skills (server side) or payingfor them (client side); the platform's own catalog of paid endpoints lives at-[x402 paid endpoints](#sec-501).+[x402 paid endpoints](#sec-502).**Live activity:** [x402scan dashboard](https://www.x402scan.com/server/17cbd874-52ac-4920-a020-b22ff2489a07)— browse paid calls, revenue, and per-skill pricing for this server.@@ -115537,20 +115967,20 @@ Each package has its own repository with a full README, API reference, and examp## Tutorials-- [Pay for an x402 service](#sec-440) — settle a paid request end to end with `@three-ws/x402-fetch`.-- [Build a paid x402 endpoint](#sec-439) — stand up a seller endpoint with `@three-ws/x402-server`.+- [Pay for an x402 service](#sec-441) — settle a paid request end to end with `@three-ws/x402-fetch`.+- [Build a paid x402 endpoint](#sec-440) — stand up a seller endpoint with `@three-ws/x402-server`.## Related-- [x402 paid endpoints](#sec-501) — the catalog of the platform's own paid endpoints.-- [x402 revenue & receipts](#sec-502) — where settled payments are recorded and how to read endpoint revenue.-- [x402 buyer client](#sec-498) — how to settle a 402 challenge in code.+- [x402 paid endpoints](#sec-502) — the catalog of the platform's own paid endpoints.+- [x402 revenue & receipts](#sec-503) — where settled payments are recorded and how to read endpoint revenue.+- [x402 buyer client](#sec-499) — how to settle a 402 challenge in code.- [x402 bazaar over MCP](#sec-271) — discover and pay endpoints through the MCP bazaar.- [Autonomous x402](#sec-103) — agents paying for services on their own.----<a id="sec-507"></a>+<a id="sec-508"></a>> **Source:** `docs/zauth/database.md` · [↑ table of contents](#table-of-contents)@@ -115696,7 +116126,7 @@ Use this endpoint to browse all known x402 endpoints before your agents commit t----<a id="sec-508"></a>+<a id="sec-509"></a>> **Source:** `docs/zauth/index.md` · [↑ table of contents](#table-of-contents)@@ -115716,11 +116146,11 @@ zauth is the security and trust layer that allows agents to act with confidence,## Products-### [VectorAI-powered vulnerability scanner. Automated recon, multi-category exploit testing, and detailed security reports for your web applications.Vector](#sec-511)### [RepoScanAI-powered code analysis for crypto communities. Scan GitHub repos for red flags, get trust scores, and compare code similarity across millions of repositories.RepoScan](#sec-510)### [DatabaseLive registry of x402 endpoints. AI agents continuously test and verify endpoints, tracking success rates, pricing, and response data.Database](#sec-507)### [Provider HubManage your x402 endpoints. Monitor health, track agent interactions, configure refunds, and verify your services through our SDK.Provider Hub](#sec-509)+### [VectorAI-powered vulnerability scanner. Automated recon, multi-category exploit testing, and detailed security reports for your web applications.Vector](#sec-512)### [RepoScanAI-powered code analysis for crypto communities. Scan GitHub repos for red flags, get trust scores, and compare code similarity across millions of repositories.RepoScan](#sec-511)### [DatabaseLive registry of x402 endpoints. AI agents continuously test and verify endpoints, tracking success rates, pricing, and response data.Database](#sec-508)### [Provider HubManage your x402 endpoints. Monitor health, track agent interactions, configure refunds, and verify your services through our SDK.Provider Hub](#sec-510)----<a id="sec-509"></a>+<a id="sec-510"></a>> **Source:** `docs/zauth/provider-hub.md` · [↑ table of contents](#table-of-contents)@@ -115822,7 +116252,7 @@ Supply your EVM or Solana private keys to enable automatic refunds when your end----<a id="sec-510"></a>+<a id="sec-511"></a>> **Source:** `docs/zauth/reposcan.md` · [↑ table of contents](#table-of-contents)@@ -116148,7 +116578,7 @@ TypeScript -@x402/fetch----<a id="sec-511"></a>+<a id="sec-512"></a>> **Source:** `docs/zauth/vector.md` · [↑ table of contents](#table-of-contents)diff --git a/docs/animation-studio.md b/docs/animation-studio.mdindex 68bf981de..947f3367d 100644--- a/docs/animation-studio.md+++ b/docs/animation-studio.md@@ -69,12 +69,18 @@ The account clip API the studio drives:curl 'https://three.ws/api/animations/clips?include_public=true&limit=60' \-H 'cookie: <session>'-# Create a clip from a serialized keyframe document.+# Create a clip. `clip` is a baked THREE.AnimationClip.toJSON(): at least one+# track, each with its times and flattened values.curl -X POST 'https://three.ws/api/animations/clips' \-H 'content-type: application/json' -H 'cookie: <session>' \- -d '{"name":"wave-loop","visibility":"public","clip":{ "name":"wave-loop","duration":2,"tracks":[] }}'+ -d '{"name":"wave-loop","visibility":"public","clip":{"name":"wave-loop","duration":2,"tracks":[+ {"name":"mixamorigRightArm.quaternion","type":"quaternion",+ "times":[0,1,2],+ "values":[0,0,0,1, 0,0,0.38,0.92, 0,0,0,1]}]}}'```+An empty `tracks` array is rejected: a clip with no motion is not a clip. Track names are the standard three.js `<node>.<property>` form, so a document exported from Animation Studio posts as-is.+## States & limits- **IK requires limb chains.** On rigs without recognizable arm/leg chains the IK mode disables itself; FK posing always works.diff --git a/docs/api-reference.md b/docs/api-reference.mdindex 229dc8137..e3e763afe 100644--- a/docs/api-reference.md+++ b/docs/api-reference.md@@ -4888,8 +4888,9 @@ Scores are written exclusively by the authoritative game server (through the wor}```-An event nobody has played yet is an empty board (`top: []`, `players: 0`) with a `200`, not an error: render the "no runs yet" state rather than a failure. `404 no_event` means no event is configured at all.+An event nobody has played yet is an empty board (`top: []`, `players: 0`) with a `200`, not an error: render the "no runs yet" state rather than a failure. `404 no_event` means no event is configured at all, which is what the live deployment answers between events.+<!-- runnable: 404 answers no_event whenever no event window is open in public/event.json -->```bashcurl -s 'https://three.ws/api/play/event-leaderboard?limit=10'```diff --git a/docs/avatar-studio.md b/docs/avatar-studio.mdindex d5338b182..74e5ef15a 100644--- a/docs/avatar-studio.md+++ b/docs/avatar-studio.md@@ -22,7 +22,7 @@ Every edit updates the live scene graph, and a working "appearance" object track- **Proportions.** Above the morph sliders sits a bone-level build panel: Height, Leg Length, Torso Length, Neck Length, Arm Length, Shoulder Width, Hip Width, Head Size, Hand Size, Foot Size. Morphs reshape a limb; these re-proportion the skeleton, which is the only way to actually lengthen one (a morph is a fixed set of vertex deltas, so pulling the hand further from the elbow would drag the skin off the bone driving it). Each slider is a ratio around the base body, shown as a signed percentage, and double-clicking resets it. Lengthen the legs and the hips ride up so the feet stay on the floor, and the animation library re-measures itself against the new hip height so the walk does not foot-slide. Only parameters the loaded rig has bones for are offered.- **Accessories.** Hats, glasses, and earrings load from a preset catalog (`/accessories/presets.json`). Hovering a tile previews it live on the avatar; clicking commits it. Hats and glasses are single-slot; earrings stack. A chip row shows everything applied, each removable.- **Garment layers.** Outfit, glasses, and hair can be toggled visible/hidden, with bulk "Start minimal" and "Dress fully" actions, so you can strip to the base body and rebuild the look deliberately.-- **Animate.** Load the shared canonical clip library and drive the rig live with 16 emotes (idle, wave, cheer, flex, jump, pray, dance, shuffle, rumba, thriller, capoeira, and more). A looping emote becomes the avatar's resting idle and is baked in on save; one-shots play once and settle back to the current idle. This doubles as proof the avatar is fully rigged.+- **Animate.** Load the shared canonical clip library and drive the rig live with 17 emotes (idle, waiting, chill, wave, cheer, celebrate, flex, jump, pray, blow kiss, taunt, dance, shuffle, rumba, thriller, capoeira). A looping emote becomes the avatar's resting idle and is baked in on save; one-shots play once and settle back to the current idle. This doubles as proof the avatar is fully rigged.- **Randomize.** One button rolls a random swatch per color slot, a gentle draw on every proportion parameter, and a random hat and glasses, as a starting point. The proportion draw stays near neutral on purpose: two random avatars should read as different people, not different species.The studio has 50-deep undo/redo, a dirty-state indicator in the title bar, and a draft autosave to local storage that is offered back if you leave and return (in create mode).diff --git a/docs/crews.md b/docs/crews.mdindex 1c3d7b13c..f709326e5 100644--- a/docs/crews.md+++ b/docs/crews.md@@ -9,7 +9,7 @@ Every crew has:- a **tag**: 2 to 6 letters or digits, unique across the whole site, renderedover its members' avatars in the 3D world,-- a **name**: up to 32 characters, what people read,+- a **name**: 2 to 32 characters, what people read,- an **owner**: the founder, who can remove members; ownership passes to thelongest-standing member if the owner leaves,- a **roster**: one account belongs to at most one crew at a time.@@ -108,8 +108,13 @@ A malformed envelope answers with its own status rather than a guess at yourintent: `415` for a non-JSON content-type, `413` for an oversized body, `400bad_body` for anything that is not a JSON object.-Error codes you should handle: `bad_tag`, `tag_taken`, `tag_reserved`,-`already_in_crew`, `target_in_crew`, `no_invite`, `not_owner`, `not_member`.+Error codes you should handle: `bad_tag`, `bad_name`, `tag_taken`,+`tag_reserved`, `already_in_crew`, `target_in_crew`, `no_invite`, `not_owner`,+`not_member`, `self_invite`, `self_kick`.++`self_invite` and `self_kick` close the two loops a UI can otherwise walk a user+into: inviting yourself, and an owner removing themselves instead of leaving+(which is what hands ownership on).`tag_reserved` covers tags that would collide with a route segment (`SEARCH`,`INDEX`, `API`, `ADMIN`, `NEW`, `ME`, `ALL`, `NULL`). Both `/crews/:tag` anddiff --git a/docs/diorama.md b/docs/diorama.mdindex 5ec2d1bd4..e6797dee5 100644--- a/docs/diorama.md+++ b/docs/diorama.md@@ -57,19 +57,30 @@ curl 'https://three.ws/api/diorama?id=<uuid>'curl 'https://three.ws/api/diorama?list=featured&limit=12'```-The compose response shape (abridged):+The compose response shape (abridged). The plan always arrives under a+`diorama` key, and every read (`?id=`, the save and build actions) returns that+same object, so one renderer handles all of them. `id` and `createdAt` are empty+until the world is saved:```json{- "title": "Dusk Lighthouse",- "mood": "dusk",- "ground": "stone",- "island": "craggy",- "palette": { "sky": ["#2a2350", "#e0724a"], "ground": "#5b5347", "fog": "#3a3550", "accent": "#ffb066" },- "objects": [- { "label": "lighthouse", "prompt": "white stone lighthouse with red top", "position": [0, 0, 0], "scale": 2.2, "rotationY": 0, "status": "pending" },- { "label": "rock", "prompt": "grey jagged sea rock", "position": [-3.4, 0, 2.1], "scale": 1.1, "rotationY": 1.2, "status": "pending" }- ]+ "diorama": {+ "id": "",+ "prompt": "a lighthouse on a rocky islet at dusk",+ "title": "Lonely Beacon Watch",+ "mood": "dusk",+ "ground": "stone",+ "island": "craggy",+ "palette": { "sky": ["#2e3a59", "#d67850"], "ground": "#4a4a4a", "fog": "#332d40", "accent": "#ffcc00" },+ "objects": [+ { "id": "obj-0", "label": "lighthouse", "prompt": "tall lighthouse made of weathered white brick with a glass lantern room", "position": [0, 0, 0], "scale": 2.2, "rotationY": 0, "status": "pending", "glbUrl": null },+ { "id": "obj-1", "label": "boulder", "prompt": "jagged grey granite boulder with lichen patches", "position": [3.5, 0, 2], "scale": 1.2, "rotationY": 0.5, "status": "pending", "glbUrl": null }+ ],+ "author": null,+ "createdAt": "",+ "views": 0,+ "featured": false+ }}```diff --git a/docs/forge-pipeline.md b/docs/forge-pipeline.mdindex 1d0b62fec..be660982a 100644--- a/docs/forge-pipeline.md+++ b/docs/forge-pipeline.md@@ -198,7 +198,7 @@ The pipeline separates what a generation costs us from what it costs the user. D- **Direct x402** (`api/x402/forge.js`): per-tier USDC prices from the tier table, exact-settle on Solana mainnet. The order is verify, submit, settle: a failed submit never charges. The returned job token polls free on the standard endpoint.- **High-tier gate** (`api/_lib/forge-high-payment.js`): the high tier is $THREE hold-or-pay gated regardless of which free engine serves it. Non-holders pay per generation through the token rail in three phases: `assertForgePayment` validates at the gate, `redeemForgePayment` atomically claims single-use (primary-key race-safe), `releaseForgePayment` undoes the claim if dispatch fails. Settled consumption lands in `token_payments` with `ref_type: 'forge'`.-- **MCP pricing** (`mcp-server/src/payments.js`): the `paid()` wrapper prices each tool (`mesh_forge` $0.25, `rig_mesh` $0.20, `forge_avatar` $0.45, `refine_model` $0.25, `text_to_avatar` $0.15, `restyle_material` $0.05); `forge_free` needs no payment. The hosted MCP server sums per-tool prices for batched x402 challenges.+- **MCP pricing**: the `paid()` wrapper (`mcp-server/src/payments.js`) charges the `priceUsd` each tool module declares at its own call site (`mesh_forge` $0.25, `rig_mesh` $0.20, `forge_avatar` $0.45, `refine_model` $0.25, `text_to_avatar` $0.15, `restyle_material` $0.05, all under `mcp-server/src/tools/`); `forge_free` needs no payment. The hosted MCP server sums per-tool prices for batched x402 challenges.- **Quota upsell**: the free flagship API allows 10 generations per IP per day, then returns 429 with the x402 endpoint as the paid path.- **BYOK lanes** bill the caller's own vendor key and are never charged to a platform account.diff --git a/docs/how-forge-works.md b/docs/how-forge-works.mdindex 70b9a5322..db29b9871 100644--- a/docs/how-forge-works.md+++ b/docs/how-forge-works.md@@ -8,7 +8,7 @@ You type "a weathered brass diving helmet" at [three.ws/forge](https://three.ws/**2. The picture becomes a shape.** A 3D reconstruction model looks at the reference and infers the full object: the sides it can see and the sides it has to imagine. Out comes real geometry, a mesh with color and texture baked on.-**3. The best available engine does the work.** three.ws does not run one 3D model; it runs a grid of them. Microsoft's TRELLIS on NVIDIA's cloud, Tencent's Hunyuan3D and TRELLIS on our own GPUs, community models on Hugging Face, and premium engines like Meshy and Tripo if you bring your own key. Before your job starts, the Forge checks which engines are healthy right now and picks the best free one for your kind of prompt. Machines and vehicles route to the engine that is best at hard surfaces; people and creatures route to the one that is best at organic shapes.+**3. The best available engine does the work.** three.ws does not run one 3D model; it runs a grid of them. Microsoft's TRELLIS on NVIDIA's cloud, Tencent's Hunyuan3D and TRELLIS on our own GPUs, community models on Hugging Face, and premium engines like Meshy and Tripo if you bring your own key. Before your job starts, the Forge checks which engines are healthy right now and picks the best free one for your kind of prompt. At the top quality tier it goes further and reads your prompt: machines and vehicles route to the engine that is best at hard surfaces, while people and creatures route to the one that is best at organic shapes.**4. If an engine stumbles, your job quietly moves.** GPU services go down, queues fill, clouds have bad days. When that happens mid-generation, the Forge re-submits your job to the next engine in line automatically. You keep watching the same progress bar; you never find out. Only if every lane fails do you see an error, and even then it comes with one-click retry options.diff --git a/docs/image-to-3d.md b/docs/image-to-3d.mdindex 09204119b..696c02f0a 100644--- a/docs/image-to-3d.md+++ b/docs/image-to-3d.md@@ -1,6 +1,6 @@# Image to 3D: turn a photo into a downloadable 3D model-Image to 3D is Forge's photo lane, opened directly. Drop in one to four photos of an object, taken from different angles, and get back a textured, downloadable GLB you can orbit, view in AR, and take into any engine. It is the fastest way to go from a real thing on your desk, or a single reference image, to a real 3D model, with no account and no key on the free lane.+Image to 3D is Forge's photo lane, opened directly. Drop in one to six photos of an object, taken from different angles, and get back a textured, downloadable GLB you can orbit, view in AR, and take into any engine. It is the fastest way to go from a real thing on your desk, or a single reference image, to a real 3D model, with no account and no key on the free lane.Page: [/image-to-3d](https://three.ws/image-to-3d) · API: `/api/forge`@@ -8,7 +8,7 @@ Page: [/image-to-3d](https://three.ws/image-to-3d) · API: `/api/forge`Text-to-3D is great when you can describe a thing. But often you already have the thing, or a picture of it: a prop, a toy, a piece of furniture, a product shot. Reconstructing geometry from photos preserves the real proportions and surface that a text prompt can only approximate. Image to 3D gives that reconstruction its own entry point so a first-time visitor lands directly in photo mode instead of hunting for the tab, while everything else, the engine grid, the tiers, the live health status, the downloadable GLB, is the same Forge machinery underneath.-/ image-to-3d and [/forge](https://three.ws/forge) are the same application (`pages/forge.html`, driven by `src/forge.js`). The `/image-to-3d` route sets the page into photo mode and retitles it; the app is otherwise identical, so any engine, tier, or export you can reach from Forge you can reach here.+[/image-to-3d](https://three.ws/image-to-3d) and [/forge](https://three.ws/forge) are the same application (`pages/forge.html`, driven by `src/forge.js`). The `/image-to-3d` route sets the page into photo mode and retitles it; the app is otherwise identical, so any engine, tier, or export you can reach from Forge you can reach here.## How it works@@ -31,7 +31,7 @@ Image to 3D reconstructs whole objects: a prop, a product, a toy, a sculpture, a## Walkthrough1. Open [/image-to-3d](https://three.ws/image-to-3d). The page opens in photo mode.-2. Add one to four photos of the same object. For best results shoot the same object from different angles (front, side, back, three-quarter) on a plain background.+2. Add one to six photos of the same object, one per view slot (front, back, left, right, top, three-quarter). For best results shoot the same object from different angles on a plain background.3. Optionally pick a tier (Draft, Standard, High) and an engine. The default free reconstruction lane carries a **FREE** pill; down lanes are disabled with a reason.4. Click Generate. A real elapsed-driven progress line runs against the ETA for the resolved engine and tier; a cold self-host worker adds an honest spin-up estimate.5. When the model lands, orbit it, view it in AR, download the GLB, or run the post-generation tools (stylize, optimize, Game-Ready retopology).@@ -79,7 +79,7 @@ console.log(job.glb_url);## States and limits-- **Up to four views** per generation; more views mean tighter multi-view fusion.+- **Up to six views** per generation (`MAX_VIEWS` in `api/forge.js`); more views mean tighter multi-view fusion.- **Free lane** requires no account. The **High tier** is $THREE hold-or-pay gated (quality gate, not vendor-cost recovery); a verified $THREE pass also lifts the free-lane quota.- **Loading**: real elapsed counter; cold GPU workers surface an honest spin-up estimate.- **Down or unconfigured engine**: disabled with the real reason, or a clean `backend_unconfigured` error. No mock output, ever.diff --git a/docs/integrations.md b/docs/integrations.mdindex 3bd273d15..06479e263 100644--- a/docs/integrations.md+++ b/docs/integrations.md@@ -63,10 +63,10 @@ Avatar Viewer (web component):<script src="https://three.ws/embed.js" defer></script><!-- Drop anywhere in your HTML -->-<threews-avatar avatar-id="avatar_demo_disk_cz" hide-chrome pose="idle"></threews-avatar>+<threews-avatar avatar-id="a4bad2f5-8a07-43cf-82e5-b6ba1314441e" hide-chrome pose="idle"></threews-avatar>-<!-- Optional: JS control -->-<script>+<!-- Optional: JS control (type="module" so top-level await is allowed) -->+<script type="module">const el = document.querySelector('threews-avatar');await el.ready;el.play('wave');@@ -90,7 +90,7 @@ Walk Companion:```html<scriptsrc="https://three.ws/walk-embed-sdk.js"- data-avatar="avatar_demo_disk_cz"+ data-avatar="a4bad2f5-8a07-43cf-82e5-b6ba1314441e"data-position="bottom-right"data-env="studio"deferdiff --git a/docs/layers.md b/docs/layers.mdindex df67e8a3a..40af85df0 100644--- a/docs/layers.md+++ b/docs/layers.md@@ -140,7 +140,7 @@ If you're building a custom layer (a 2D sprite avatar, a vector-store memory bacThe same source tree produces three independent builds:- **App** — `npm run build`. The full SPA into `dist/`. Editor, agent pages, discover, studio, PWA manifest. Multi-page Rollup config with a Vercel-style dev middleware.-- **Library** — `npm run build:lib`. `src/lib.js` → `dist-lib/agent-3d.js` (ES module + UMD). Three.js and ethers stay bundled — the file is intentionally self-contained so a single `<script type="module">` is the only thing a third party needs.+- **Library**: `npm run build:lib`. `src/lib.js` → `dist-lib/agent-3d.js` (ES module). Add the UMD build (`dist-lib/agent-3d.umd.cjs`) with `npm run build:lib:full`, which is what the production deploy chain runs. Three.js and ethers stay bundled, so the file is intentionally self-contained: a single `<script type="module">` is the only thing a third party needs.- **Artifact** — `vite.config.artifact.js`. A zero-dependency bundle for Claude artifact embeds. Inlined everything, no external script tags, no dynamic imports.Versioned CDN bundles are published at `/agent-3d/<version>/agent-3d.js`. Use `latest` for auto-updates or pin to a version for stability. See [changelog.md](./changelog.md) for release history.diff --git a/docs/memory.md b/docs/memory.mdindex 3ea70911d..b61094c9e 100644--- a/docs/memory.md+++ b/docs/memory.md@@ -264,9 +264,10 @@ if (tone) {console.log(tone.body); // full body text}-// Substring search across all files-const hits = await ctx.memory.recall('how does the user prefer feedback');-// hits: [{ file, meta, body, score }, ...]+// Substring search across all files. The whole query must appear verbatim in a+// memory's name, description, or body, so pass a phrase, not a question.+const hits = await ctx.memory.recall('direct critique');+// hits: [{ file, meta, body, score }, ...] where score is the occurrence count```### Exporting and importingdiff --git a/docs/nav.json b/docs/nav.jsonindex 3217f3dd7..ba82754fe 100644--- a/docs/nav.json+++ b/docs/nav.json@@ -931,6 +931,14 @@"label": "MCP: x402 Bazaar server","path": "mcp-x402-bazaar"},+ {+ "label": "MCP: Scenes server",+ "path": "mcp-scenes"+ },+ {+ "label": "MCP: x402 Wallet server",+ "path": "mcp-x402"+ },{"label": "AR in ChatGPT","path": "chatgpt-ar"diff --git a/docs/news-rights.md b/docs/news-rights.mdindex 36f227736..15b10129a 100644--- a/docs/news-rights.md+++ b/docs/news-rights.md@@ -5,7 +5,7 @@ description: What three.ws may and may not show from a publisher's article, how# Publisher rights in the news reader-three.ws aggregates 191 crypto news feeds into [/markets/news](https://three.ws/markets/news), gives every story a permalink, and layers its own analysis on top (summary, key points, detected tickers with live prices, market context at publication, sentiment, related coverage).+three.ws aggregates every feed in its news source registry ([`api/_lib/news-sources.js`](../api/_lib/news-sources.js), just under 200 of them today) into [/markets/news](https://three.ws/markets/news), gives every story a permalink, and layers its own analysis on top (summary, key points, detected tickers with live prices, market context at publication, sentiment, related coverage).Aggregating headlines and linking out is lawful. Reproducing a publisher's article body under our own URL is not, however the text arrives — a scraped page, a reader proxy, or an RSS feed that ships the whole article in `content:encoded`. This page documents where that line sits and how it is enforced in code.@@ -57,7 +57,7 @@ The script rewrites each affected `gs://three-ws-news-archive/articles/<month>.jRights govern how *much* of a story we may show. Curation governs *which* stories appear at all. They are separate filters and live in separate files ([`api/_lib/news-curation.js`](../api/_lib/news-curation.js) is the curation one).-three.ws ingests ~190 feeds. Some are crypto-native — every article is on topic. Others are broad outlets (WSJ, CNBC, Seeking Alpha, the SEC, the Fed, world-news desks) that run crypto coverage *and* a great deal that isn't. We keep pulling the broad ones on purpose: their crypto reporting is high-value, and the macro and regulatory context enriches the archive and the agents' knowledge corpus. But a world-politics headline or a general-markets note should never land in a crypto feed.+Every registry feed is ingested. Some are crypto-native: every article is on topic. Others are broad outlets (WSJ, CNBC, Seeking Alpha, the SEC, the Fed, world-news desks) that run crypto coverage *and* a great deal that isn't. We keep pulling the broad ones on purpose: their crypto reporting is high-value, and the macro and regulatory context enriches the archive and the agents' knowledge corpus. But a world-politics headline or a general-markets note should never land in a crypto feed.So the human-facing feeds apply a display gate with two conditions:diff --git a/docs/token-gated-3d-embeds.md b/docs/token-gated-3d-embeds.mdindex 91814c93c..51d4558bc 100644--- a/docs/token-gated-3d-embeds.md+++ b/docs/token-gated-3d-embeds.md@@ -108,4 +108,5 @@ Every check that matters happens on the server:- Spec (wire formats, resolver contract, token format): [specs/EMBED_SPEC.md § Token Gating](../specs/EMBED_SPEC.md#token-gating)- MCP tool: [docs/mcp.md § create_gated_embed](./mcp.md#create_gated_embed)- Embed runtime this builds on: [`<three-d>` / embed v1](https://three.ws/embed/v1/preview), [Share & embed](./share-and-embed.md)+- Nothing rendering where you pasted the snippet? The [Embed Doctor](https://three.ws/embed-doctor) loads your page in a real browser and names the line to change. It checks a `<three-d>` gated snippet exactly like an ungated `<agent-3d>` one, and a locked embed reads as healthy: the lock is the product working, not a failure.- Related: [Hold-to-access tiers](./hold-to-access.md) (site-wide $THREE tiers, distinct from per-embed gates)diff --git a/public/docs/mcp-scenes.md b/public/docs/mcp-scenes.mdindex 47a55e668..734b5cc0f 100644--- a/public/docs/mcp-scenes.md+++ b/public/docs/mcp-scenes.md@@ -1,6 +1,6 @@# Scenes MCP — speak a 3D world into being-Turn one sentence into a placed 3D diorama plan, then forge and browse saved worlds — from inside any MCP client. Scenes is the "world" that goes with an agent's character: a lighthouse on a cliff, a neon alley, a desert outpost, composed object-by-object and rendered in an orbitable viewer.+Turn one sentence into a placed 3D diorama plan, forge and export it as a single GLB, and browse saved worlds, all from inside any MCP client. Scenes is the "world" that goes with an agent's character: a lighthouse on a cliff, a neon alley, a desert outpost, composed object-by-object and rendered in an orbitable viewer.Registered in the [official MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas) as **`io.github.nirholas/scene-mcp`**.@@ -34,6 +34,8 @@ Or in `.mcp.json` (Claude Code / Cursor / any stdio client):| `compose_scene` | `prompt` *(string, 3–1024 chars, required)* | Compose a diorama **plan** from one sentence: an evocative title, a mood (`dawn`/`day`/`dusk`/`night`), ground + island type, a color palette, and 2–8 placed objects — each with its own single-object forge prompt and a position, scale, and rotation. Runs a server-side LLM chain. No meshes are generated and nothing is saved yet. || `get_scene` | `id` *(string, required)* | Fetch one saved, fully-forged diorama by id — its title, mood, palette, ground, and placed objects with their GLB URLs, plus the orbitable viewer URL. Read-only. || `list_scenes` | `list` *(`recent`\|`featured`, default `recent`)*, `limit` *(1–50, default 24)* | Browse the public gallery — the newest saved worlds or the curated featured set. Returns cards (id, title, mood, preview, view count) and each world's viewer URL. Read-only. |+| `export_scene` | `diorama` *(object, required)* | Merge an already-forged diorama (the object `compose_scene` or `get_scene` returns, with each object carrying `status:"ready"` and a real `glbUrl`) into ONE glTF 2.0 binary: every object a named, selectable node, plus a real ground disc and mood-tuned lighting. Returns `glb_url` and a ready-to-open Scene Studio link. Objects that never forged are reported in `skipped` rather than failing the export, so a partial world still exports. |+| `build_world` | `prompt` *(string, 3-1024 chars, required)* | The whole pipeline in one call, entirely server-side: compose the plan, forge every object on the free text-to-3D lane, then merge and export. Returns the populated diorama, `glb_url`, and the Scene Studio link. This is the progressive `/diorama` browser flow collapsed into one call for clients with no browser to drive it, so it can take a couple of minutes for a full object set. |## Examples@@ -55,16 +57,32 @@ Browse the curated gallery:{ "list": "featured", "limit": 10 }```+Go from a sentence straight to a finished, openable world without touching a browser:++```json+{ "prompt": "a neon alley with a food cart and two streetlights" }+```++`build_world` returns `glb_url` plus `scene_studio_url`, and names anything that+did not forge in `skipped`. If you already have a forged diorama in hand (your+own forging after `compose_scene`, or one fetched with `get_scene`), skip+straight to the merge:++```json+{ "diorama": { "title": "Neon Alley", "mood": "night", "objects": [{ "status": "ready", "glbUrl": "https://…/cart.glb" }] } }+```+## Configuration| Env | Purpose | Default ||-----|---------|---------|| `THREE_WS_BASE` | Base URL of the three.ws API serving `/api/diorama`. Override only when self-hosting or targeting a preview deployment. | `https://three.ws` |-| `THREE_WS_TIMEOUT_MS` | Per-request timeout in ms. `compose_scene` runs an LLM chain, so the default is generous. | `45000` |+| `THREE_WS_TIMEOUT_MS` | Per-request timeout in ms for calls that do not set their own. `compose_scene` runs an LLM chain, so the default is generous. `export_scene` (60s) and `build_world` (300s) pin their own budgets, because they re-fetch every object GLB and, for `build_world`, forge the whole set first. | `45000` |## Notes-- **No auth, no key, no payment.** `compose_scene` runs live inference server-side; `get_scene` and `list_scenes` are read-only.+- **No auth, no key, no payment.** `compose_scene` and `build_world` run live inference and forging server-side, `export_scene` merges real GLBs server-side, and `get_scene` and `list_scenes` are read-only.+- `export_scene` and `build_world` need the target deployment to have object storage configured. three.ws does, so the default `THREE_WS_BASE` works as-is.- Errors are normalized with a `.code` of `timeout`, `network_error`, or `upstream_error` (the last carries `.status` and `.body`), so a client can react instead of parsing prose.## Source & publishingdiff --git a/public/docs/mcp-x402.md b/public/docs/mcp-x402.mdindex a722b7a0c..0daed0405 100644--- a/public/docs/mcp-x402.md+++ b/public/docs/mcp-x402.md@@ -5,9 +5,9 @@ Hand any AI assistant a **self-custodial Solana wallet** and four tools: find aRegistered in the [official MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas) as **`io.github.nirholas/x402-mcp`**.- **Install:** `npx -y @three-ws/x402-mcp`-- **npm:** [`@three-ws/x402-mcp`](https://www.npmjs.com/package/@three-ws/x402-mcp) · v0.1.0+- **npm:** [`@three-ws/x402-mcp`](https://www.npmjs.com/package/@three-ws/x402-mcp) (the package page carries the current version; `npx -y` always fetches it)- **Transport:** stdio-- **Money rail:** Solana USDC via the x402 `exact` scheme (real `@x402/*` settlement)+- **Money rail:** Solana USDC via the x402 `exact` scheme (real `@x402/*` settlement), or $THREE when the endpoint advertises it> **This server moves real money.** Read [Safety](#safety) before enabling spend. The read tools (`x402_wallet`, `find_services`, `inspect_endpoint`) never touch funds and need no signer.@@ -34,7 +34,7 @@ Or in `.mcp.json`:}```-Leave `SOLANA_SECRET_KEY` unset to run read-only (discovery + inspection only).+Leave `SOLANA_SECRET_KEY` unset to run read-only (discovery + inspection only), or unset it and pay through a three.ws Payment Session instead, which never needs a local key (see [How payment works](#how-payment-works)).## Tools@@ -43,13 +43,31 @@ Leave `SOLANA_SECRET_KEY` unset to run read-only (discovery + inspection only).| `x402_wallet` | `address` *(string, optional)* | Show a Solana wallet's address and live SOL + USDC balance. With no `address`, derives the wallet from `SOLANA_SECRET_KEY`. Call it before paying to confirm there's USDC. | No || `find_services` | `query` *(string, required)*, `type` *(`http`\|`mcp`, default `http`)*, `network` *(CAIP-2, optional)*, `max_price_usdc` *(number, optional)*, `limit` *(1–100, default 25)* | Search the live x402 facilitator network (PayAI + Coinbase CDP bazaar) for paid services. Returns each match with its price, networks, and resource URL. | No || `inspect_endpoint` | `url` *(URL, required)*, `method` *(`GET`\|`POST`, default `GET`)*, `body` *(object, optional)* | Fetch an x402 endpoint and return its **402 payment requirements** — every accepted scheme, network, asset, price, and pay-to address — **without paying**. If the endpoint is free, returns its result instead. | No |-| `pay_and_call` | `url` *(URL, required)*, `method` *(`GET`\|`POST`)*, `body` *(object)*, `max_usd` *(number)*, `secret` *(string)*, `confirm` *(boolean)* | Call a paid x402 endpoint and settle the USDC automatically from your wallet, then return the result. Bounded by `max_usd` and the `MAX_PAY_USD` cap; refuses before any money moves if the price is over the cap. | **Yes** |+| `pay_and_call` | `url` *(URL, required)*, `method` *(`GET`\|`POST`, default `GET`)*, `body` *(object)*, `session_token` *(string)*, `token` *(`usdc`\|`three`, default `usdc`)*, `max_usd` *(number)*, `secret` *(string)*, `confirm` *(boolean)*, `idempotency_key` *(string)* | Call a paid x402 endpoint and settle the payment automatically, then return the result. Bounded by `max_usd` and the `MAX_PAY_USD` cap; refuses before any money moves if the price is over the cap. | **Yes** |## How payment works-`pay_and_call` probes the endpoint, reads its 402 requirements, picks the Solana (`solana:*`) `exact`-scheme requirement, and settles USDC (6 decimals) from your signer — then retries the request with the payment header and returns the response.+`pay_and_call` has two modes, and the arguments you pass decide which one runs.-The spend ceiling for a call is `min(max_usd, MAX_PAY_USD)`. The `max_usd` argument can only **lower** the env cap, never raise it. If the quoted price exceeds the ceiling, the call returns `{ ok: false, error: "over_cap" }` and **no money moves**.+**Self-custodial (the default).** It probes the endpoint, reads its 402+requirements, picks the Solana (`solana:*`) `exact`-scheme requirement, and+settles from your own signer (`SOLANA_SECRET_KEY`, or a per-call `secret`), then+retries the request with the payment header and returns the response. Settlement+is USDC (6 decimals) unless you set `token: "three"`, which pays in $THREE on+endpoints that advertise it.++**Session-governed.** Pass a three.ws Payment Session token as `session_token`+(or set `PAYMENT_SESSION_TOKEN`) and the whole flow delegates to+`/api/pay/execute`: the platform wallet probes, signs, and settles, and the+session's own budget, allowlist, and per-transaction cap are enforced+server-side. No private key is involved, so `secret` and `token` are ignored in+this mode. Pass an `idempotency_key` so a retried call cannot double-charge the+session. Solana USDC sessions are the primary rail; Base USDC sessions work too.++The spend ceiling for a call is `min(max_usd, MAX_PAY_USD)` in both modes. The+`max_usd` argument can only **lower** the env cap, never raise it. If the quoted+price exceeds the ceiling, the call returns `{ ok: false, error: "over_cap" }`+and **no money moves**.## Safety@@ -57,6 +75,7 @@ The spend ceiling for a call is `min(max_usd, MAX_PAY_USD)`. The `max_usd` argum- **Per-call cap:** `MAX_PAY_USD` (default **$1**). A runaway or prompt-injected payment can't exceed it.- **Confirmation gate:** with `REQUIRE_CONFIRM` on (default), `pay_and_call` refuses until re-issued with `confirm: true`, returning `{ ok: false, error: "confirm_required", price_usd, url }` first so a human or policy layer can approve.- **Self-custodial:** the key in `SOLANA_SECRET_KEY` never leaves your machine. Treat it like cash; fund it with only what your agent should be able to spend.+- **Or no key at all:** a Payment Session (`session_token`) keeps the signer on the platform side and adds a second, server-enforced layer of governance (budget, allowlist, per-transaction cap) that the agent cannot talk its way past. Pair it with `idempotency_key` so a retry cannot pay twice.## Examples@@ -84,17 +103,24 @@ Pay and call (with confirmation):{ "url": "https://api.example.com/intel?mint=…", "max_usd": 0.10, "confirm": true }```+Pay through a Payment Session instead of a local key, safe to retry:++```json+{ "url": "https://api.example.com/intel?mint=…", "session_token": "pss_…", "idempotency_key": "intel-2026-08-13-a", "confirm": true }+```+## Configuration| Env | Purpose | Default ||-----|---------|---------|-| `SOLANA_SECRET_KEY` | Base58 (or JSON byte-array) Solana secret that signs payments and holds the USDC. Not needed for read tools. **Secret — treat like cash.** | *(none)* |+| `SOLANA_SECRET_KEY` | Base58 (or JSON byte-array) Solana secret that signs payments and holds the USDC. Not needed for read tools, and not needed at all in session-governed mode. `FUNDER_SECRET` is read as a fallback. **Secret, treat like cash.** | *(none)* |+| `PAYMENT_SESSION_TOKEN` | A three.ws Payment Session token used when a call omits `session_token`. Setting it makes session-governed mode the default for every `pay_and_call`. | *(none)* || `SOLANA_RPC_URL` | Solana mainnet RPC. Must be https (except localhost). Bring your own for production. | `https://api.mainnet-beta.solana.com` || `MAX_PAY_USD` | Hard ceiling for a single `pay_and_call`. | `1` || `REQUIRE_CONFIRM` | When on, `pay_and_call` refuses until re-issued with `confirm:true`. Set `0`/`false` to disable. | `true` || `THREE_WS_BASE` | three.ws API base serving `/api/bazaar/search` for `find_services`. | `https://three.ws` |-Errors are normalized with codes such as `no_signer`, `bad_secret`, `bad_rpc_url`, `over_cap`, `no_solana_requirement`, `confirm_required`, `timeout`, and `call_failed`.+Errors are normalized with codes such as `no_signer`, `bad_secret`, `bad_rpc_url`, `insecure_rpc_url`, `bad_policy_config`, `over_cap`, `no_solana_requirement`, `three_not_offered`, `session_execute_failed`, `confirm_required`, `timeout`, and `call_failed`.## Source & publishingdiff --git a/scripts/audit-docs.mjs b/scripts/audit-docs.mjsindex 2b153e4c0..35470f154 100644--- a/scripts/audit-docs.mjs+++ b/scripts/audit-docs.mjs@@ -356,21 +356,24 @@ if (!explicitFiles.length) {}}).filter(Boolean);- // server/shell-pages.mjs: the shell probes dist/docs/<slug>.md, built from- // docs/. A dot is excluded there, so it can never name an article here.+ // server/shell-pages.mjs: the shell probes dist/docs/<slug>.md. Two source+ // trees land there, docs/ and public/docs/ (which is copied verbatim), so an+ // article in either satisfies the route. A dot is excluded from the slug+ // there, so it can never name an article here.const ARTICLE_SLUG = /^[A-Za-z0-9][A-Za-z0-9_-]*(\/[A-Za-z0-9][A-Za-z0-9_-]*)*$/;+ const ARTICLE_ROOTS = ['docs', 'public/docs'];for (const declared of declaredPages) {if (!declared.startsWith('/docs/')) continue;const slug = declared.slice('/docs/'.length).replace(/\/+$/, '');if (!slug || !ARTICLE_SLUG.test(slug)) continue;const first = orderedRoutes.find((r) => r.re.test(declared));if (!first || !first.dest.startsWith('/docs/index.html')) continue;- if (existsSync(resolve(root, `docs/${slug}.md`))) continue;+ if (ARTICLE_ROOTS.some((base) => existsSync(resolve(root, `${base}/${slug}.md`)))) continue;findings.push({file: 'data/pages.json',line: 0,kind: 'declared-doc-without-article',- detail: `declares ${declared} but no docs/${slug}.md exists, so the route 404s while the sitemap and llms.txt advertise it. Write the doc, or remove the entry.`,+ detail: `declares ${declared} but neither docs/${slug}.md nor public/docs/${slug}.md exists, so the route 404s while the sitemap and llms.txt advertise it. Write the doc, or remove the entry.`,});}}diff --git a/specs/AVATAR_PARAMETERS.md b/specs/AVATAR_PARAMETERS.mdindex 8e9d02792..be633b5ac 100644--- a/specs/AVATAR_PARAMETERS.md+++ b/specs/AVATAR_PARAMETERS.md@@ -22,7 +22,8 @@ Every three.ws avatar keeps its parameters. The GLB is a *render* of the documen"proportions": { "legLength": 1.06, "shoulderWidth": 0.94 },"colors": { "skin": "#c99a70", "hair": "#241a12" },"hidden": ["hair"],- "garments": [{ "slot": "top", "id": "garment-id" }]+ "garments": [{ "slot": "top", "id": "garment-id" }],+ "attachments": [{ "bone": "mixamorig:Head", "url": "https://…/crown.glb", "name": "Horned crown" }]}```@@ -37,6 +38,7 @@ Every field is optional. An absent field means "default", and a document with no| `colors` | slot → hex | Per-slot material tint | `src/avatar-studio.js` || `hidden` | slot[] | Garment layers to drop | `src/avatar-wardrobe.js` || `garments` | {slot, id}[] | Additive catalog wearables | `specs/GARMENT_MANIFEST.md` |+| `attachments` | {bone, url, name?}[] | Custom bone-mounted props that are in no catalog | `src/agent-accessories.js` |## `morphs`: shape@@ -71,6 +73,19 @@ Three invariants any implementation MUST hold:Values outside a parameter's range are clamped, unknown ids are dropped, and a value within `1e-4` of `1.0` is removed entirely (`normalizeProportions`). A rig missing a parameter's bones simply does not offer that slider (`availableProportionParams`), so the panel never shows a dead control.+## `attachments`: custom bone-mounted props++`accessories` names entries in the curated preset catalog, which is what makes a hat portable: the id resolves to a GLB the platform ships. A prop generated on demand (Scene Composer forges one from a text prompt and parents it to a bone) is in no catalog, so it carries its own reference instead:++```json+{ "bone": "mixamorig:Head", "url": "https://…/crown.glb", "name": "Horned crown" }+```++- `bone` is matched the way every other bone lookup is: exact name first, then the canonical form with the rig prefix stripped (`mixamorig:`, `CC_Base_`, `rig_`), so an outfit saved on one rig lands on another rig's equivalent joint. A bone the loaded rig does not have is skipped, per the processing rules below.+- `url` MUST be https on a three.ws asset host, or a same-origin path. Producers and consumers BOTH enforce this (`isTrustedAttachmentUrl` in `api/_lib/accessories.js`, `isSafeQueryModelUrl` in `src/shared/safe-model-url.js`), because a stored attachment is fetched by every browser that renders the avatar, including viewers who do not own it. An unrestricted URL would make one owner's public avatar a relay for arbitrary third-party bytes.+- At most 8 per document, matching `accessories`.+- Attachments are applied at runtime rather than baked: `bakeAppearance()` merges catalog GLBs it can resolve from the pack it ships with, and does not fetch remote URLs server-side. `isBakeable()` therefore ignores this field, and an avatar whose only appearance is attachments keeps serving its base GLB.+## ReservedNamed here so implementations do not claim the keys for anything else: