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: fix CDN URLs across changelog and guides
nirholasc430240504d0
diff --git a/docs/changelog.md b/docs/changelog.mdindex 7cd3ea128..b0df454c9 100644--- a/docs/changelog.md+++ b/docs/changelog.md@@ -165,10 +165,10 @@ 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://[email protected]"></script>+<script type="module" src="https://three.ws/agent-3d/1.5.1/agent-3d.js"></script><!-- Always latest stable — convenient for development, risky for production -->-<script type="module" src="https://cdn.three.wsagent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>```The CDN also maintains rolling channel aliases:@@ -185,7 +185,7 @@ The CDN also maintains rolling channel aliases:Each versioned bundle ships with a `integrity.json` sidecar for [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) verification:```-https://[email protected]/integrity.json+https://three.ws/agent-3d/1.5.1/integrity.json```---@@ -311,4 +311,4 @@ cd sdk && npm publish- **GitHub Releases** — Watch the repository and select "Releases only" to get an email for each new release.- **npm outdated** — Add `npm outdated @nirholas/agent-kit` to your CI pipeline to detect available upgrades automatically.-- **`versions.json`** — The CDN publishes a machine-readable index at `https://cdn.three.wsagent-3d/versions.json` listing all available versions, channel aliases, and SRI hashes.+- **`versions.json`** — The CDN publishes a machine-readable index at `https://three.ws/agent-3d/versions.json` listing all available versions, channel aliases, and SRI hashes.diff --git a/docs/examples.md b/docs/examples.mdindex 988f8f9c6..fa1b7c4d6 100644--- a/docs/examples.md+++ b/docs/examples.md@@ -38,7 +38,7 @@ The absolute simplest setup: one script tag, one custom element.></agent-3d></main>- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script></body></html>```@@ -81,7 +81,7 @@ A pinned chatbot bubble that stays fixed in the viewport corner — like a suppobrain="claude-opus-4-6"></agent-3d>- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script></body></html>```@@ -157,7 +157,7 @@ A full AI-powered agent with a text input. The agent reads your messages, reason</div><script type="module">- import 'https://cdn.three.wsagent-3d.js';+ import 'https://three.ws/agent-3d/latest/agent-3d.js';const aria = document.getElementById('aria');const input = document.getElementById('input');@@ -238,7 +238,7 @@ Two agents sharing a single WebGL canvas via `<agent-stage>`. Each keeps its own<div class="log" id="log"></div><script type="module">- import 'https://cdn.three.wsagent-3d.js';+ import 'https://three.ws/agent-3d/latest/agent-3d.js';const log = document.getElementById('log');const stage = document.getElementById('stage');@@ -306,7 +306,7 @@ A reusable React component that wraps `<agent-3d>` and surfaces the `agent:readyimport { useEffect, useRef, useState } from 'react';// Load the web component once at module level-import 'https://cdn.three.wsagent-3d.js';+import 'https://three.ws/agent-3d/latest/agent-3d.js';export function AgentViewer({ body, name, instructions, brain = 'claude-opus-4-6', mode = 'inline', onMessage, style }) {const ref = useRef(null);@@ -384,7 +384,7 @@ Listen to the agent's event stream to drive a custom transcript UI — no built-></div><script type="module">- import 'https://cdn.three.wsagent-3d.js';+ import 'https://three.ws/agent-3d/latest/agent-3d.js';const agent = document.getElementById('agent');const transcript = document.getElementById('transcript');@@ -453,7 +453,7 @@ Load different GLB models at runtime by calling `say()` or by swapping the `body</div><script type="module">- import 'https://cdn.three.wsagent-3d.js';+ import 'https://three.ws/agent-3d/latest/agent-3d.js';window.load = (url) => {// Setting the body attribute triggers a re-boot with the new model.@@ -485,7 +485,7 @@ Take a PNG snapshot of the current viewer state. The viewer renders a fresh fram<button id="capture" style="margin-top:12px">Download Screenshot</button><script type="module">- import 'https://cdn.three.wsagent-3d.js';+ import 'https://three.ws/agent-3d/latest/agent-3d.js';document.getElementById('capture').addEventListener('click', () => {// window.VIEWER is a debug global exposed by the runtime.@@ -679,7 +679,7 @@ genuinely invested in the user's progress.style="display:block;width:400px;height:500px"></agent-3d>-<script type="module" src="https://cdn.three.wsagent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>```### Design decisionsdiff --git a/docs/introduction.md b/docs/introduction.mdindex 44e0f9fc3..15aa314ca 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 library:** `https://assets.three.wsagent-3d.js`+- **CDN library:** `https://three.ws/agent-3d/latest/agent-3d.js`- **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 box- **AWS Partner** — three.ws is a verified AWS Partner and available on [AWS Marketplace](https://aws.amazon.com/marketplace) as a SaaS product@@ -178,7 +178,7 @@ Game engine WebGL exports ship a large runtime (~10–50 MB) and require their oThe minimum to get a three.ws on screen is two lines of HTML:```html-<script type="module" src="https://assets.three.wsagent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-3d body="https://example.com/avatar.glb"></agent-3d>```diff --git a/docs/multi-agent.md b/docs/multi-agent.mdindex 4e4c63fbb..e35e8ec1a 100644--- a/docs/multi-agent.md+++ b/docs/multi-agent.md@@ -17,7 +17,7 @@ This guide covers the two main approaches — a **shared stage** (one WebGL contThe `<agent-stage>` element is a shared scene host. All `<agent-3d>` children render inside a single WebGL canvas — one renderer, one context, positioned automatically in a named formation.```html-<script type="module" src="https://cdn.three.ws/agent-3d.js"></script>+<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-stage id="stage" formation="row" style="width:100%;height:540px"><agent-3ddiff --git a/docs/quick-start.md b/docs/quick-start.mdindex 7993cd965..0f3de51ec 100644--- a/docs/quick-start.md+++ b/docs/quick-start.md@@ -27,7 +27,7 @@ The fastest path. No npm, no bundler, no build step.</style></head><body>- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-3d body="https://cdn.three.wsmodels/sample-avatar.glb"></agent-3d></body></html>diff --git a/docs/tutorials/first-agent.md b/docs/tutorials/first-agent.mdindex 8bde412e0..2d01cd97f 100644--- a/docs/tutorials/first-agent.md+++ b/docs/tutorials/first-agent.md@@ -81,7 +81,7 @@ Create a new folder somewhere on your computer. Inside it, create a file called</style></head><body>- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-3dbody="https://cdn.three.wsmodels/sample-avatar.glb"@@ -429,7 +429,7 @@ Here's the complete `index.html` all in one place:</style></head><body>- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-3dmanifest="./agent.json"diff --git a/docs/tutorials/personal-ai-site.md b/docs/tutorials/personal-ai-site.mdindex 18368fe67..0bda7ed0c 100644--- a/docs/tutorials/personal-ai-site.md+++ b/docs/tutorials/personal-ai-site.md@@ -257,7 +257,7 @@ Here is the full page. Replace the placeholder values in brackets and swap in yo</div><div class="agent-panel">- <script type="module" src="https://cdn.three.wsagent-3d.js"></script>+ <script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script><agent-3did="maya"body="https://yourname.com/avatars/maya.glb"