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
Release agent-3d 1.5.2 — ship the no-skeleton avatar loading state
nirholas57c315696ce8
diff --git a/docs/changelog.md b/docs/changelog.mdindex e475be333..e828b4994 100644--- a/docs/changelog.md+++ b/docs/changelog.md@@ -165,7 +165,7 @@ The CDN bundle is served from Vercel. The URL includes the version so you can pi```html<!-- Pinned to 1.5.1 — safe for production; won't break when 2.0.0 releases -->-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><!-- Always latest stable — convenient for development, risky for production --><script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>diff --git a/docs/content/use-cases/brand-marketer.md b/docs/content/use-cases/brand-marketer.mdindex e251fef67..094363492 100644--- a/docs/content/use-cases/brand-marketer.md+++ b/docs/content/use-cases/brand-marketer.md@@ -26,7 +26,7 @@ Four real capabilities cover embodiment, reach, and trust:1. Lyra opens [Widget Studio](https://three.ws/studio), picks a branded avatar, and chooses the talking-agent widget. She sets instructions: *"You are Lyra-bot, the official assistant for [brand]. Answer product questions, link to pricing, stay on-brand and concise."*2. She copies the floating-bubble snippet and pastes it into the marketing site:```html- <script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dbody="https://cdn.three.ws/models/brand-agent.glb"brain="claude-sonnet-4-6"diff --git a/docs/content/use-cases/indie-creator.md b/docs/content/use-cases/indie-creator.mdindex a475bf007..da90092b4 100644--- a/docs/content/use-cases/indie-creator.md+++ b/docs/content/use-cases/indie-creator.md@@ -28,7 +28,7 @@ Together: your face (or your prompt) becomes a model, the model becomes a talkin2. They open the [Embed Editor](https://three.ws/embed-editor), pick the avatar, choose an idle animation and a transparent background, and frame it.3. They set a brain and personality inline, copying the snippet the editor produces:```html- <script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dbody="https://cdn.three.ws/models/procyon-fox.glb"brain="claude-sonnet-4-6"diff --git a/docs/embedding.md b/docs/embedding.mdindex 716d8f99b..4a0e65fd6 100644--- a/docs/embedding.md+++ b/docs/embedding.md@@ -40,7 +40,7 @@ Or load via CDN:<!-- 1. Load the library (pinned version + SRI) --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>@@ -243,7 +243,7 @@ The RAF loop pauses when the element is fully off-screen and resumes on re-entry| URL | Cache | Use when ||-----|-------|---------|-| `/agent-3d/1.5.1/agent-3d.js` | immutable | **Production** — pin exact bytes |+| `/agent-3d/1.5.2/agent-3d.js` | immutable | **Production** — pin exact bytes || `/agent-3d/1.5/agent-3d.js` | 5 min | Follow patch releases automatically || `/agent-3d/1/agent-3d.js` | 5 min | Follow minor + patch releases || `/agent-3d/latest/agent-3d.js` | 5 min | Demos and prototypes only |@@ -582,7 +582,7 @@ Load the library script once in your app's `index.html` or root layout:```html<script type="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script>```@@ -617,7 +617,7 @@ Also add the script tag to `pages/_document.js` or your root layout:```jsx<Script- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"type="module"strategy="beforeInteractive"/>@@ -629,7 +629,7 @@ Use an **Embed** block with the iframe method — Webflow's custom code can load```html<script type="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js">+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```diff --git a/docs/introduction.md b/docs/introduction.mdindex 0e4f0df06..f2ac52e84 100644--- a/docs/introduction.md+++ b/docs/introduction.md@@ -10,7 +10,7 @@ The result is an agent that doesn't just respond in a chat box. It occupies a th- **License:** Apache-2.0 — use it, fork it, self-host it- **Hosted platform:** [https://three.ws](https://three.ws)-- **CDN bundle:** `https://three.ws/agent-3d/latest/agent-3d.js` (also pinnable to a version, e.g. `/agent-3d/1.5.1/agent-3d.js`)+- **CDN bundle:** `https://three.ws/agent-3d/latest/agent-3d.js` (also pinnable to a version, e.g. `/agent-3d/1.5.2/agent-3d.js`)- **npm packages:** [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk), [`@three-ws/agent-ui`](https://www.npmjs.com/package/@three-ws/agent-ui), [`@three-ws/avatar`](https://www.npmjs.com/package/@three-ws/avatar), [`@three-ws/solana-agent`](https://www.npmjs.com/package/@three-ws/solana-agent), [`@three-ws/mcp-server`](https://www.npmjs.com/package/@three-ws/mcp-server)- **No server required** for basic use — the viewer, agent runtime, and skill system all run in the browser via WebGL 2.0- **glTF 2.0 / GLB** with Draco, KTX2, and Meshopt decompression supported out of the boxdiff --git a/docs/security.md b/docs/security.mdindex 647b6e703..fa4d13ca6 100644--- a/docs/security.md+++ b/docs/security.md@@ -117,7 +117,7 @@ Pin the exact bundle version and validate with Subresource Integrity:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>diff --git a/docs/tutorials/embed-on-website.md b/docs/tutorials/embed-on-website.mdindex 8f66c35b0..9c39adcf3 100644--- a/docs/tutorials/embed-on-website.md+++ b/docs/tutorials/embed-on-website.md@@ -46,7 +46,7 @@ The Studio offers two snippet formats. Here's what each one looks like and when<!-- One-time: add to <head> --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script>@@ -72,7 +72,7 @@ The complete setup for a static site — no build tool, no framework, no npm.<!-- 1. Load the agent runtime once, in <head> --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script></head>@@ -229,7 +229,7 @@ declare namespace JSX {```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"@@ -250,7 +250,7 @@ To show a floating agent on every page of your site:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```3. In **Footer Code** (before `</body>`), add the element:@@ -276,7 +276,7 @@ To show a floating agent on every page of your site:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```4. Save@@ -307,7 +307,7 @@ Add to your child theme's `functions.php`:```phpfunction add_3dagent_script() {- echo '<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>';+ echo '<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>';}add_action('wp_head', 'add_3dagent_script');```@@ -326,7 +326,7 @@ Then add a **Custom HTML** block in the Gutenberg editor wherever you want the a1. Edit the page, click **Add Block**, choose **Code**2. Paste the complete snippet (script + element together — Squarespace Code blocks don't share scope):```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"chain-id="8453"@@ -341,7 +341,7 @@ Then add a **Custom HTML** block in the Gutenberg editor wherever you want the a1. Go to **Settings → Advanced → Code Injection**2. In the **Footer** field, paste:```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"chain-id="8453"diff --git a/docs/web-component.md b/docs/web-component.mdindex 68a2013a5..d81fe2fc8 100644--- a/docs/web-component.md+++ b/docs/web-component.md@@ -3,7 +3,7 @@`<agent-3d>` is a custom HTML element that ships the entire three.ws stack in a single script tag. Drop the loader, use the element — no build step, no framework required.```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…" crossorigin="anonymous"></script><agent-3d src="agent://base/42" style="width:400px;height:500px"></agent-3d>@@ -826,7 +826,7 @@ Svelte handles custom elements natively. No configuration needed.### Vanilla JS (ESM)```js-import 'https://three.ws/agent-3d/1.5.1/agent-3d.js';+import 'https://three.ws/agent-3d/1.5.2/agent-3d.js';const el = document.querySelector('agent-3d');el.addEventListener('agent:ready', async () => {@@ -905,7 +905,7 @@ Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full release```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>@@ -918,7 +918,7 @@ Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full releaseIf you need to ship the element under your own brand name, call `defineElement` with a custom tag:```js-import { defineElement } from 'https://three.ws/agent-3d/1.5.1/agent-3d.js';+import { defineElement } from 'https://three.ws/agent-3d/1.5.2/agent-3d.js';defineElement('my-agent');// <my-agent src="agent://base/42"></my-agent>diff --git a/package.json b/package.jsonindex 2e23b8576..ef6f2de87 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"private": true,"type": "module",- "version": "1.5.1",+ "version": "1.5.2","name": "3d-agent","description": "AI-powered 3D model viewer — drag-and-drop glTF/GLB preview tool.","author": "nirholas",diff --git a/public/docs/changelog.md b/public/docs/changelog.mdindex e475be333..e828b4994 100644--- a/public/docs/changelog.md+++ b/public/docs/changelog.md@@ -165,7 +165,7 @@ The CDN bundle is served from Vercel. The URL includes the version so you can pi```html<!-- Pinned to 1.5.1 — safe for production; won't break when 2.0.0 releases -->-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><!-- Always latest stable — convenient for development, risky for production --><script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>diff --git a/public/docs/embedding.md b/public/docs/embedding.mdindex aa7aa57f5..f8dc012f6 100644--- a/public/docs/embedding.md+++ b/public/docs/embedding.md@@ -40,7 +40,7 @@ Or load via CDN:<!-- 1. Load the library (pinned version + SRI) --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>@@ -243,7 +243,7 @@ The RAF loop pauses when the element is fully off-screen and resumes on re-entry| URL | Cache | Use when ||-----|-------|---------|-| `/agent-3d/1.5.1/agent-3d.js` | immutable | **Production** — pin exact bytes |+| `/agent-3d/1.5.2/agent-3d.js` | immutable | **Production** — pin exact bytes || `/agent-3d/1.5/agent-3d.js` | 5 min | Follow patch releases automatically || `/agent-3d/1/agent-3d.js` | 5 min | Follow minor + patch releases || `/agent-3d/latest/agent-3d.js` | 5 min | Demos and prototypes only |@@ -580,7 +580,7 @@ Load the library script once in your app's `index.html` or root layout:```html<script type="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script>```@@ -615,7 +615,7 @@ Also add the script tag to `pages/_document.js` or your root layout:```jsx<Script- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"type="module"strategy="beforeInteractive"/>@@ -627,7 +627,7 @@ Use an **Embed** block with the iframe method — Webflow's custom code can load```html<script type="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js">+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```diff --git a/public/docs/introduction.md b/public/docs/introduction.mdindex 5a63f8e1b..de2957b31 100644--- a/public/docs/introduction.md+++ b/public/docs/introduction.md@@ -10,7 +10,7 @@ The result is an agent that doesn't just respond in a chat box. It occupies a th- **License:** Apache-2.0 — use it, fork it, self-host it- **Hosted platform:** [https://three.ws](https://three.ws)-- **CDN bundle:** `https://three.ws/agent-3d/latest/agent-3d.js` (also pinnable to a version, e.g. `/agent-3d/1.5.1/agent-3d.js`)+- **CDN bundle:** `https://three.ws/agent-3d/latest/agent-3d.js` (also pinnable to a version, e.g. `/agent-3d/1.5.2/agent-3d.js`)- **npm packages:** [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk), [`@three-ws/agent-ui`](https://www.npmjs.com/package/@three-ws/agent-ui), [`@three-ws/avatar`](https://www.npmjs.com/package/@three-ws/avatar), [`@three-ws/solana-agent`](https://www.npmjs.com/package/@three-ws/solana-agent), [`@three-ws/mcp-server`](https://www.npmjs.com/package/@three-ws/mcp-server)- **No server required** for basic use — the viewer, agent runtime, and skill system all run in the browser via WebGL 2.0- **glTF 2.0 / GLB** with Draco, KTX2, and Meshopt decompression supported out of the boxdiff --git a/public/docs/security.md b/public/docs/security.mdindex 647b6e703..fa4d13ca6 100644--- a/public/docs/security.md+++ b/public/docs/security.md@@ -117,7 +117,7 @@ Pin the exact bundle version and validate with Subresource Integrity:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>diff --git a/public/docs/tutorials/embed-on-website.md b/public/docs/tutorials/embed-on-website.mdindex 8f66c35b0..9c39adcf3 100644--- a/public/docs/tutorials/embed-on-website.md+++ b/public/docs/tutorials/embed-on-website.md@@ -46,7 +46,7 @@ The Studio offers two snippet formats. Here's what each one looks like and when<!-- One-time: add to <head> --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script>@@ -72,7 +72,7 @@ The complete setup for a static site — no build tool, no framework, no npm.<!-- 1. Load the agent runtime once, in <head> --><scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"crossorigin="anonymous"></script></head>@@ -229,7 +229,7 @@ declare namespace JSX {```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"@@ -250,7 +250,7 @@ To show a floating agent on every page of your site:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```3. In **Footer Code** (before `</body>`), add the element:@@ -276,7 +276,7 @@ To show a floating agent on every page of your site:```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>```4. Save@@ -307,7 +307,7 @@ Add to your child theme's `functions.php`:```phpfunction add_3dagent_script() {- echo '<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>';+ echo '<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>';}add_action('wp_head', 'add_3dagent_script');```@@ -326,7 +326,7 @@ Then add a **Custom HTML** block in the Gutenberg editor wherever you want the a1. Edit the page, click **Add Block**, choose **Code**2. Paste the complete snippet (script + element together — Squarespace Code blocks don't share scope):```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"chain-id="8453"@@ -341,7 +341,7 @@ Then add a **Custom HTML** block in the Gutenberg editor wherever you want the a1. Go to **Settings → Advanced → Code Injection**2. In the **Footer** field, paste:```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script><agent-3dagent-id="42"chain-id="8453"diff --git a/public/docs/web-component.md b/public/docs/web-component.mdindex 3ce71f182..1718d7970 100644--- a/public/docs/web-component.md+++ b/public/docs/web-component.md@@ -3,7 +3,7 @@`<agent-3d>` is a custom HTML element that ships the entire three.ws stack in a single script tag. Drop the loader, use the element — no build step, no framework required.```html-<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…" crossorigin="anonymous"></script><agent-3d src="agent://base/42" style="width:400px;height:500px"></agent-3d>@@ -808,7 +808,7 @@ Svelte handles custom elements natively. No configuration needed.### Vanilla JS (ESM)```js-import 'https://three.ws/agent-3d/1.5.1/agent-3d.js';+import 'https://three.ws/agent-3d/1.5.2/agent-3d.js';const el = document.querySelector('agent-3d');el.addEventListener('agent:ready', async () => {@@ -887,7 +887,7 @@ Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full release```html<scripttype="module"- src="https://three.ws/agent-3d/1.5.1/agent-3d.js"+ src="https://three.ws/agent-3d/1.5.2/agent-3d.js"integrity="sha384-…"crossorigin="anonymous"></script>@@ -900,7 +900,7 @@ Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full releaseIf you need to ship the element under your own brand name, call `defineElement` with a custom tag:```js-import { defineElement } from 'https://three.ws/agent-3d/1.5.1/agent-3d.js';+import { defineElement } from 'https://three.ws/agent-3d/1.5.2/agent-3d.js';defineElement('my-agent');// <my-agent src="agent://base/42"></my-agent>diff --git a/src/editor/launchpad-studio.js b/src/editor/launchpad-studio.jsindex 5b999eec5..636914c41 100644--- a/src/editor/launchpad-studio.js+++ b/src/editor/launchpad-studio.js@@ -52,7 +52,7 @@ const TEMPLATES = [];const DEFAULT_AVATAR_SRC = '/avatars/default.glb';-const AGENT_3D_VERSION = '1.5.1';+const AGENT_3D_VERSION = '1.5.2';const AGENT_3D_HOST = 'https://three.ws';const DRAFT_KEY = 'launchpadStudio:draft';const SECRETS_KEY = 'launchpadStudio:secrets'; // { [slug]: ownerSecret }