Skip to content

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.

fix(forge,llm): move the free image lane to FLUX.1-dev and every free chat rung to models that still exist

nirholas8f16c071b5c6
diff --git a/api/_lib/chat-models.js b/api/_lib/chat-models.js
index 99fa13890..bf6ed5ee6 100644
--- a/api/_lib/chat-models.js
+++ b/api/_lib/chat-models.js
@@ -57,6 +57,8 @@ export const MODEL_CATALOG = {
'claude-haiku-4-5-20251001': { provider: 'anthropic', tools: true },
// ── Groq free tier — fast (sub-second) and first-attempt-reliable ─────────
+ 'qwen/qwen3.8-27b': { provider: 'groq', tools: true },
+ 'openai/gpt-oss-20b': { provider: 'groq', tools: true },
'llama-3.3-70b-versatile': { provider: 'groq', tools: true },
'llama-3.1-8b-instant': { provider: 'groq', tools: true },
@@ -103,6 +105,8 @@ export const MODEL_CATALOG = {
'ibm-granite/granite-4.1-8b': { provider: 'openrouter', tools: true, paid: true },
// ── NVIDIA NIM free tier — one nvapi key, OpenAI-compatible ───────────────
+ 'nvidia/nemotron-3-super-120b-a12b': { provider: 'nvidia', tools: true },
+ 'nvidia/nemotron-3-nano-30b-a3b': { provider: 'nvidia', tools: true },
'meta/llama-3.3-70b-instruct': { provider: 'nvidia', tools: true },
'nvidia/llama-3.3-nemotron-super-49b-v1.5': { provider: 'nvidia', tools: true },
@@ -297,8 +301,8 @@ export const DEFAULT_FREE_MODEL = 'openai/gpt-oss-20b:free';
export const PROVIDER_MODEL_DEFAULTS = {
anthropic: 'claude-sonnet-5',
openrouter: DEFAULT_FREE_MODEL,
- groq: 'llama-3.3-70b-versatile',
- nvidia: 'meta/llama-3.3-70b-instruct',
+ groq: 'qwen/qwen3.8-27b',
+ nvidia: 'nvidia/nemotron-3-super-120b-a12b',
sambanova: 'Meta-Llama-3.3-70B-Instruct',
mistral: 'mistral-small-latest',
zai: 'glm-4.7-flash',
diff --git a/api/_lib/llm-tool-chain.js b/api/_lib/llm-tool-chain.js
index 9fd99ed17..eb0e58a4a 100644
--- a/api/_lib/llm-tool-chain.js
+++ b/api/_lib/llm-tool-chain.js
@@ -32,7 +32,7 @@ import {
export function providerChain() {
const chain = [];
if (env.GROQ_API_KEY) {
- chain.push({ name: 'groq', url: 'https://api.groq.com/openai/v1/chat/completions', key: env.GROQ_API_KEY, model: 'llama-3.3-70b-versatile' });
+ chain.push({ name: 'groq', url: 'https://api.groq.com/openai/v1/chat/completions', key: env.GROQ_API_KEY, model: 'qwen/qwen3.8-27b' });
}
// Same Llama 3.3 70B on Cerebras' free tier: a second independent quota pool
// for the 70B class, so a throttled Groq does not take the whole class down.
@@ -56,7 +56,7 @@ export function providerChain() {
});
});
if (env.NVIDIA_API_KEY) {
- chain.push({ name: 'nvidia', url: 'https://integrate.api.nvidia.com/v1/chat/completions', key: env.NVIDIA_API_KEY, model: 'meta/llama-3.3-70b-instruct' });
+ chain.push({ name: 'nvidia', url: 'https://integrate.api.nvidia.com/v1/chat/completions', key: env.NVIDIA_API_KEY, model: 'nvidia/nemotron-3-super-120b-a12b' });
}
// Three more free lanes, same OpenAI wire format including tools + streamed
// tool_calls: SambaNova (Llama 3.3 70B, own quota pool), Mistral (Experiment
diff --git a/api/_lib/llm.js b/api/_lib/llm.js
index 74537337b..432241e3d 100644
--- a/api/_lib/llm.js
+++ b/api/_lib/llm.js
@@ -54,12 +54,14 @@ import {
import { vertexGeminiBudget } from './vertex-gemini.js';
import { DEFAULT_FREE_MODEL, promptCacheMinChars, isPaidModel } from './chat-models.js';
-const GROQ_MODEL = 'llama-3.3-70b-versatile';
+// Llama 3.x left Groq's catalog in 2026-08 (404 on every call); qwen3.8-27b is
+// the fastest non-reasoning model there and returns clean content.
+const GROQ_MODEL = 'qwen/qwen3.8-27b';
// Second Groq rung on a different model: Groq free-tier quotas are PER MODEL,
// so when the 70B lane is exhausted the instant lane usually still has budget.
// Smaller model, so it sits at the END of the free section — every 70B-class
// provider gets tried before the chain steps down in capability.
-const GROQ_INSTANT_MODEL = 'llama-3.1-8b-instant';
+const GROQ_INSTANT_MODEL = 'openai/gpt-oss-20b';
// Same Llama 3.3 70B on Cerebras' free tier (cloud.cerebras.ai) — optional
// rung, active when CEREBRAS_API_KEY is configured.
const CEREBRAS_MODEL = 'llama-3.3-70b';
@@ -81,12 +83,18 @@ const VERTEX_GEMINI_MODEL = process.env.VERTEX_GEMINI_MODEL || 'google/gemini-2.
// Same Llama 3.3 70B family on NVIDIA NIM (build.nvidia.com) — one free nvapi
// key, OpenAI-compatible, so the chain degrades across providers without
// changing model behavior.
-const NVIDIA_MODEL = 'meta/llama-3.3-70b-instruct';
+// meta/llama-3.x on NIM reached end of life 2026-08-26 (HTTP 410). The
+// nemotron-3 family is what serves now; it is a reasoning family, so the
+// provider entries below disable thinking to keep content clean.
+const NVIDIA_MODEL = 'nvidia/nemotron-3-super-120b-a12b';
// Compact, reasoning-tuned Nemotron a caller can opt into when it wants the
// NVIDIA-native model to lead (see `preferNvidia`/`nvidiaModel` below). Fast
// enough for a single prompt-refine turn; the rest of the free chain still
// backs it up if the NIM lane is down.
-const NVIDIA_NEMOTRON_MODEL = 'nvidia/nvidia-nemotron-nano-9b-v2';
+const NVIDIA_NEMOTRON_MODEL = 'nvidia/nemotron-3-nano-30b-a3b';
+// nemotron-3 puts its reasoning in a separate field only when thinking is off;
+// with it on, the chain of thought leaks into `content` (verified 2026-08-27).
+const NVIDIA_NO_THINK = Object.freeze({ chat_template_kwargs: { enable_thinking: false } });
// OVH AI Endpoints anonymous tier: no key, no account, no signup — Llama 3.3
// 70B served free by OVHcloud's officially documented trial lane (not a ToS
// workaround). The tradeoff for needing zero setup is a tight 2 req/min per
@@ -452,6 +460,7 @@ export function providerChain({ anthropicKey, anthropicModel, grokKey = null, gr
key: env.NVIDIA_API_KEY,
url: 'https://integrate.api.nvidia.com/v1/chat/completions',
model: nvidiaModel || NVIDIA_NEMOTRON_MODEL,
+ extraBody: NVIDIA_NO_THINK,
// When a caller opts to LEAD with NVIDIA it wants that model to produce
// the result, so give the lane a longer leash than the fallback rung —
// but still bounded so a NIM queue stall can't hang the whole request.
@@ -521,6 +530,7 @@ export function providerChain({ anthropicKey, anthropicModel, grokKey = null, gr
key: env.NVIDIA_API_KEY,
url: 'https://integrate.api.nvidia.com/v1/chat/completions',
model: NVIDIA_MODEL,
+ extraBody: NVIDIA_NO_THINK,
// NIM free tier queues under load (observed hanging 25s on a 900-token
// prompt while every other free lane failed fast); cap it tight so the
// chain reaches the reliable Vertex anchor in seconds instead of blocking.
diff --git a/api/_mcp3d/text-to-image.js b/api/_mcp3d/text-to-image.js
index 529e0e7cd..27d809006 100644
--- a/api/_mcp3d/text-to-image.js
+++ b/api/_mcp3d/text-to-image.js
@@ -93,8 +93,15 @@ function isNimLaneDegraded(err) {
// { artifacts: [{ base64, finishReason }] }. flux-schnell is the fast 4-step
// distilled model, so a tight per-attempt timeout is safe: a hung free lane must
// hand off to the paid lanes, never stall the whole text→3D pipeline.
-const NIM_FLUX_URL = 'https://ai.api.nvidia.com/v1/genai/black-forest-labs/flux.1-schnell';
-const NIM_FLUX_MODEL = 'black-forest-labs/flux.1-schnell';
+// FLUX.1-dev, not schnell. On 2026-08-27 the schnell endpoint stopped
+// answering at all (every call hung to the client timeout for hours) while
+// flux.1-dev on the same gateway served a real 1024x1024 image in ~5 s. dev
+// is guidance-trained: it wants steps >= 5 (the endpoint 422s below that) and
+// accepts a cfg_scale, both of which schnell refused.
+const NIM_FLUX_URL = 'https://ai.api.nvidia.com/v1/genai/black-forest-labs/flux.1-dev';
+const NIM_FLUX_MODEL = 'black-forest-labs/flux.1-dev';
+const NIM_FLUX_STEPS = 20;
+const NIM_FLUX_CFG_SCALE = 3.5;
const NIM_TIMEOUT_MS = 60_000;
// NVCF fronts the free NIM lane with a gateway that answers a cold model or a
@@ -252,15 +259,14 @@ async function nimFluxImage(prompt, aspectRatio, seed = 0, { timeoutMs = NIM_TIM
accept: 'application/json',
'content-type': 'application/json',
},
- // No cfg_scale: schnell is guidance-distilled and the endpoint enforces
- // cfg_scale <= 0 for it (sending 3.5 422s — verified live 2026-06-11).
body: JSON.stringify({
prompt,
mode: 'base',
width,
height,
seed,
- steps: 4,
+ steps: NIM_FLUX_STEPS,
+ cfg_scale: NIM_FLUX_CFG_SCALE,
}),
signal: controller.signal,
});
diff --git a/docs/ALL.md b/docs/ALL.md
index c40c04894..c0bdf9965 100644
--- a/docs/ALL.md
+++ b/docs/ALL.md
@@ -71871,7 +71871,7 @@ Everything on npm is installable today. Grouped by what it does:
**Make and move 3D**
- @three-ws/forge, text, image, or sketch to a textured rig-ready GLB in one call, with a free TRELLIS lane.
- @three-ws/glb-tools, inspect, re-theme, and bake GLB models from a shell or CI.
-- @three-ws/retarget, retarget any animation onto any humanoid GLB (Mixamo, Avaturn, VRM, Daz, MMD, and more).
+- @three-ws/retarget, retarget any animation onto any humanoid GLB (Mixamo, VRM, Daz, MMD, and more).
- @three-ws/pose, deterministic named pose seeds for rigged avatars.
- @three-ws/mocap, webcam or video to face, pose, and hand animation clips.
- @three-ws/sign-language, compile text into one continuous American Sign Language clip.
@@ -72545,7 +72545,7 @@ So "optimize this idea, generate it, rig it, and make it wave" is `direct_prompt
Anyone who has shipped 3D characters knows this pain: a model rigged in one ecosystem rarely animates correctly in another. I treated it as an infrastructure problem.
-- **Skeleton canonicalization.** A pure-JS canonicalizer (runs in Node and the browser) rewrites joint names in an uploaded humanoid GLB to one canonical skeleton and repacks the GLB in place. Conventions it maps today: Mixamo (all three prefix spellings), Blender `.L/.R` and `Armature_` prefixes, Rigify `DEF-/ORG-/MCH-`, CharacterStudio `CH_`, HumanIK/Maya namespaces, the Unreal mannequin (`pelvis`, `clavicle_l`, `calf_l`), VRM 0.x/VRoid `J_Bip_*`, VRM 1.0 camelCase, MMD's Japanese bone names, Daz/Genesis, MakeHuman, SMPL/SMPL-X, Roblox R15/R6, Second Life `mPelvis`-style, anatomical scan-kit names (`humerus.L`, `femur.L`), Reallusion CC3/CC4 twist joints, and plain `shoulderL` rigs. There is deliberately no allowlist. A new convention is a bone-name mapping plus a test case, not a feature to request. Two things fall through on purpose: non-humanoid skeletons (quadrupeds, props), and constraint-driven control rigs (the Auto-Rig-Pro family), whose deform bones hang off tracker nodes rather than forming a chain; Blender's constraints have no glTF equivalent, so mapping that layer would tear the arm apart, and the fix for those uploads is re-rigging.
+- **Skeleton canonicalization.** A pure-JS canonicalizer (runs in Node and the browser) rewrites joint names in an uploaded humanoid GLB to one canonical skeleton and repacks the GLB in place. Conventions it maps today: Mixamo (all three prefix spellings), Blender `.L/.R` and `Armature_` prefixes, Rigify `DEF-/ORG-/MCH-`, `CH_`-prefixed rigs, HumanIK/Maya namespaces, the Unreal mannequin (`pelvis`, `clavicle_l`, `calf_l`), VRM 0.x/VRoid `J_Bip_*`, VRM 1.0 camelCase, MMD's Japanese bone names, Daz/Genesis, MakeHuman, SMPL/SMPL-X, Roblox R15/R6, Second Life `mPelvis`-style, anatomical scan-kit names (`humerus.L`, `femur.L`), Reallusion CC3/CC4 twist joints, and plain `shoulderL` rigs. There is deliberately no allowlist. A new convention is a bone-name mapping plus a test case, not a feature to request. Two things fall through on purpose: non-humanoid skeletons (quadrupeds, props), and constraint-driven control rigs (the Auto-Rig-Pro family), whose deform bones hang off tracker nodes rather than forming a chain; Blender's constraints have no glTF equivalent, so mapping that layer would tear the arm apart, and the fix for those uploads is re-rigging.
- **Fingers are load-bearing.** 30 of the 53 tracks in every library clip address a finger joint. A rig whose hands do not name-map scores around 40 percent coverage, falls under the 50 percent minimum, and gets no animation built at all rather than a twitching partial one. So the finger spellings of every convention above are mapped too, and a sweep script measures coverage per rig.
- **Retargeting.** The library is 112 pre-baked clips (idle, walk, run, gestures, dances, a seated idle for chat mode, an emote family, a farm-task family). Retargeting rewrites each track's bone name to the target's node, drops tracks the rig lacks, rescales hip translation so root motion lands at the new rig's height, and retargets only true-motion channels (joint rotations and root translation), skipping per-bone position and scale channels that encode the authoring rig's bone lengths and would crush a differently-proportioned avatar into a heap. Bind-pose correction handles the A-pose versus T-pose difference and the Mixamo/FBX up-axis bake on Hips; retargeting the reference rig onto itself yields identity corrections per bone, so a matching rig round-trips byte-for-byte. It binds in `THREE.AnimationMixer` for preview and `THREE.GLTFExporter` for animated-GLB export, and ships standalone as `@three-ws/retarget`. A rig that genuinely cannot be skeleton-driven falls back to the default body rather than a bind-pose T-pose.
- **Slot-based animation manager.** Clips are decoupled from rigs and blended per slot (idle, gesture, locomotion) with crossfades, driven by a state machine that listens to protocol events. A new clip is authored against any rig in Blender, exported, and dropped into the library; the runtime picks it up and the agent can invoke it by name.
@@ -72565,7 +72565,7 @@ A generated model is not a dead end. Each of these is a live page that consumes
- **Material Studio** (`/restyle`): PBR restyling, colorway variants, and an LLM-generated glTF 2.0 PBR material from a text description.
- **Parts Studio** (`/segment`): the segmentation worker with a viewer for each part.
- **Pose Studio** (`/pose`), **Mocap Studio** (`/mocap-studio`), **Voice Lab** (`/voice`): author poses, capture and retarget motion from video into reusable clips, bind voices.
-- **Avatar Studio**: a vendored, web-first character creator (based on the MIT-licensed CharacterStudio) for building a humanoid from parts.
+- **Avatar Studio**: a vendored, web-first character creator (built on an MIT-licensed open-source character creator) for building a humanoid from parts.
- **Selfie to avatar** (`/create`): three shots (frontal, left, right) with real-time quality gates for lighting, framing and blur, reconstructed, rigged, stored, and delivered as a rigged GLB in under a minute. If rigging is unavailable the bare mesh is delivered tagged `unrigged`; the user is never left empty-handed. A server-side sweep finishes the job if the tab is closed mid-poll.
- **Model pages** (`/m/:id`): every finished model is a first-class page with an interactive viewer, AR and fullscreen, live triangle/vertex stats, the full prompt, likes, a comment thread, embed/share/download, paid remix, and a same-category suggested rail. Creators get a public portfolio at `/u/:username` with a Creations tab merging forged models, Scene Studio worlds and Material Studio restyles, all rendered as live spinning `<model-viewer>` cards.
- **Forge-Off**: community voting on fresh generations, feeding a "top this week" strip on `/forge`.
diff --git a/docs/open-source-ecosystem.md b/docs/open-source-ecosystem.md
index f2765971d..aaf29c1dc 100644
--- a/docs/open-source-ecosystem.md
+++ b/docs/open-source-ecosystem.md
@@ -54,7 +54,7 @@ Everything on npm is installable today. Grouped by what it does:
**Make and move 3D**
- @three-ws/forge, text, image, or sketch to a textured rig-ready GLB in one call, with a free TRELLIS lane.
- @three-ws/glb-tools, inspect, re-theme, and bake GLB models from a shell or CI.
-- @three-ws/retarget, retarget any animation onto any humanoid GLB (Mixamo, Avaturn, VRM, Daz, MMD, and more).
+- @three-ws/retarget, retarget any animation onto any humanoid GLB (Mixamo, VRM, Daz, MMD, and more).
- @three-ws/pose, deterministic named pose seeds for rigged avatars.
- @three-ws/mocap, webcam or video to face, pose, and hand animation clips.
- @three-ws/sign-language, compile text into one continuous American Sign Language clip.
diff --git a/docs/openai-community-3d-studio-post.md b/docs/openai-community-3d-studio-post.md
index 040b4a6ba..79a8a6cd8 100644
--- a/docs/openai-community-3d-studio-post.md
+++ b/docs/openai-community-3d-studio-post.md
@@ -170,7 +170,7 @@ So "optimize this idea, generate it, rig it, and make it wave" is `direct_prompt
Anyone who has shipped 3D characters knows this pain: a model rigged in one ecosystem rarely animates correctly in another. I treated it as an infrastructure problem.
-- **Skeleton canonicalization.** A pure-JS canonicalizer (runs in Node and the browser) rewrites joint names in an uploaded humanoid GLB to one canonical skeleton and repacks the GLB in place. Conventions it maps today: Mixamo (all three prefix spellings), Blender `.L/.R` and `Armature_` prefixes, Rigify `DEF-/ORG-/MCH-`, CharacterStudio `CH_`, HumanIK/Maya namespaces, the Unreal mannequin (`pelvis`, `clavicle_l`, `calf_l`), VRM 0.x/VRoid `J_Bip_*`, VRM 1.0 camelCase, MMD's Japanese bone names, Daz/Genesis, MakeHuman, SMPL/SMPL-X, Roblox R15/R6, Second Life `mPelvis`-style, anatomical scan-kit names (`humerus.L`, `femur.L`), Reallusion CC3/CC4 twist joints, and plain `shoulderL` rigs. There is deliberately no allowlist. A new convention is a bone-name mapping plus a test case, not a feature to request. Two things fall through on purpose: non-humanoid skeletons (quadrupeds, props), and constraint-driven control rigs (the Auto-Rig-Pro family), whose deform bones hang off tracker nodes rather than forming a chain; Blender's constraints have no glTF equivalent, so mapping that layer would tear the arm apart, and the fix for those uploads is re-rigging.
+- **Skeleton canonicalization.** A pure-JS canonicalizer (runs in Node and the browser) rewrites joint names in an uploaded humanoid GLB to one canonical skeleton and repacks the GLB in place. Conventions it maps today: Mixamo (all three prefix spellings), Blender `.L/.R` and `Armature_` prefixes, Rigify `DEF-/ORG-/MCH-`, `CH_`-prefixed rigs, HumanIK/Maya namespaces, the Unreal mannequin (`pelvis`, `clavicle_l`, `calf_l`), VRM 0.x/VRoid `J_Bip_*`, VRM 1.0 camelCase, MMD's Japanese bone names, Daz/Genesis, MakeHuman, SMPL/SMPL-X, Roblox R15/R6, Second Life `mPelvis`-style, anatomical scan-kit names (`humerus.L`, `femur.L`), Reallusion CC3/CC4 twist joints, and plain `shoulderL` rigs. There is deliberately no allowlist. A new convention is a bone-name mapping plus a test case, not a feature to request. Two things fall through on purpose: non-humanoid skeletons (quadrupeds, props), and constraint-driven control rigs (the Auto-Rig-Pro family), whose deform bones hang off tracker nodes rather than forming a chain; Blender's constraints have no glTF equivalent, so mapping that layer would tear the arm apart, and the fix for those uploads is re-rigging.
- **Fingers are load-bearing.** 30 of the 53 tracks in every library clip address a finger joint. A rig whose hands do not name-map scores around 40 percent coverage, falls under the 50 percent minimum, and gets no animation built at all rather than a twitching partial one. So the finger spellings of every convention above are mapped too, and a sweep script measures coverage per rig.
- **Retargeting.** The library is 112 pre-baked clips (idle, walk, run, gestures, dances, a seated idle for chat mode, an emote family, a farm-task family). Retargeting rewrites each track's bone name to the target's node, drops tracks the rig lacks, rescales hip translation so root motion lands at the new rig's height, and retargets only true-motion channels (joint rotations and root translation), skipping per-bone position and scale channels that encode the authoring rig's bone lengths and would crush a differently-proportioned avatar into a heap. Bind-pose correction handles the A-pose versus T-pose difference and the Mixamo/FBX up-axis bake on Hips; retargeting the reference rig onto itself yields identity corrections per bone, so a matching rig round-trips byte-for-byte. It binds in `THREE.AnimationMixer` for preview and `THREE.GLTFExporter` for animated-GLB export, and ships standalone as `@three-ws/retarget`. A rig that genuinely cannot be skeleton-driven falls back to the default body rather than a bind-pose T-pose.
- **Slot-based animation manager.** Clips are decoupled from rigs and blended per slot (idle, gesture, locomotion) with crossfades, driven by a state machine that listens to protocol events. A new clip is authored against any rig in Blender, exported, and dropped into the library; the runtime picks it up and the agent can invoke it by name.
@@ -190,7 +190,7 @@ A generated model is not a dead end. Each of these is a live page that consumes
- **Material Studio** (`/restyle`): PBR restyling, colorway variants, and an LLM-generated glTF 2.0 PBR material from a text description.
- **Parts Studio** (`/segment`): the segmentation worker with a viewer for each part.
- **Pose Studio** (`/pose`), **Mocap Studio** (`/mocap-studio`), **Voice Lab** (`/voice`): author poses, capture and retarget motion from video into reusable clips, bind voices.
-- **Avatar Studio**: a vendored, web-first character creator (based on the MIT-licensed CharacterStudio) for building a humanoid from parts.
+- **Avatar Studio**: a vendored, web-first character creator (built on an MIT-licensed open-source character creator) for building a humanoid from parts.
- **Selfie to avatar** (`/create`): three shots (frontal, left, right) with real-time quality gates for lighting, framing and blur, reconstructed, rigged, stored, and delivered as a rigged GLB in under a minute. If rigging is unavailable the bare mesh is delivered tagged `unrigged`; the user is never left empty-handed. A server-side sweep finishes the job if the tab is closed mid-poll.
- **Model pages** (`/m/:id`): every finished model is a first-class page with an interactive viewer, AR and fullscreen, live triangle/vertex stats, the full prompt, likes, a comment thread, embed/share/download, paid remix, and a same-category suggested rail. Creators get a public portfolio at `/u/:username` with a Creations tab merging forged models, Scene Studio worlds and Material Studio restyles, all rendered as live spinning `<model-viewer>` cards.
- **Forge-Off**: community voting on fresh generations, feeding a "top this week" strip on `/forge`.
diff --git a/prompts/okx-ai/PROGRESS.md b/prompts/okx-ai/PROGRESS.md
index b48d264ab..d296b6fc0 100644
--- a/prompts/okx-ai/PROGRESS.md
+++ b/prompts/okx-ai/PROGRESS.md
@@ -157,7 +157,9 @@ lane because it reads the static tier matrix.
### Still owner-gated (unchanged, and unchanged by this rebuild)
-Funding. Relayer `0x1F4a753c61b54Bdec7AE0AF338A887E63Cdbbb74` needs native OKB on X Layer
+Funding. (Correction 2026-08-27: the live relayer is `0xe81DE501Dd5D9299E2bA8964498858d3fAD0415B`,
+rotated 2026-07-12, and it already holds 0.02 OKB; the `0x1F4a…bb74` address below is the
+retired one.) Relayer `0x1F4a753c61b54Bdec7AE0AF338A887E63Cdbbb74` needs native OKB on X Layer
for settle gas, and buyer `0x75d00a2713565171f33216e5aa2a375e076ecf69` needs USD₮0
(`0x779ded0c9e1022225f8e0630b35a9b54be713736`). Re-checked live on 2026-08-22: **all three
balances are 0**. That gates a real settlement, which gates the resubmission.
diff --git a/public/mcp-catalog.json b/public/mcp-catalog.json
index c8f93cab2..d94966d05 100644
--- a/public/mcp-catalog.json
+++ b/public/mcp-catalog.json
@@ -2,15 +2,15 @@
"$comment": "Generated by scripts/build-mcp-catalog.mjs from the tool definitions and price maps in this repo. Do not edit by hand: npm run build:mcp-catalog regenerates it and npm run audit:mcp-catalog fails the build when it is stale.",
"docs": "https://three.ws/docs/mcp-safety",
"counts": {
- "tools": 276,
- "servers": 36,
- "free": 248,
+ "tools": 285,
+ "servers": 37,
+ "free": 257,
"paid": 28,
- "read": 185,
+ "read": 191,
"write": 72,
- "irreversible": 19,
- "withSchema": 276,
- "withArguments": 254
+ "irreversible": 22,
+ "withSchema": 285,
+ "withArguments": 263
},
"servers": [
{
@@ -91,7 +91,7 @@
"endpoint": "npx -y @three-ws/billing-mcp",
"transport": "stdio",
"auth": "api-key",
- "tools": 6
+ "tools": 5
},
{
"id": "brain-mcp",
@@ -165,6 +165,14 @@
"auth": "api-key",
"tools": 5
},
+ {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key",
+ "tools": 9
+ },
{
"id": "naming-mcp",
"title": "@three-ws/naming-mcp",
@@ -6511,6 +6519,628 @@
},
"source": "packages/marketplace-mcp/src/tools/skill-categories.js"
},
+ {
+ "name": "agent_wallet",
+ "title": "An agent's built-in wallet, or the signer wallet, with balance",
+ "description": "Show a wallet address and its live SOL balance. Pass `asset` to derive an on-chain agent's built-in wallet (the Metaplex Core Asset Signer PDA, the wallet shown on metaplex.com/agents). Pass `address` to inspect any wallet. Pass neither to see the configured signing wallet, e.g. to confirm it is funded before mint_onchain_agent. On mainnet it also reports the wallet $THREE balance and the deploy-fee tier that balance earns (see three_status). Read-only; never moves funds.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "A Core asset address: derives that agent's built-in wallet."
+ },
+ "address": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "A wallet address to inspect verbatim."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Cluster. Defaults to the configured network."
+ }
+ },
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/agent-wallet.js"
+ },
+ {
+ "name": "build_registration",
+ "title": "Build an EIP-8004 registration document (no chain access)",
+ "description": "Build the Genesis-style EIP-8004 registration-v1 JSON document and its self-contained data:application/json;base64 URI, without touching Solana. Use it to preview exactly what mint_onchain_agent / register_agent_identity will write on-chain, or to host the document yourself and pass it back as registration_uri.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": true,
+ "openWorldHint": false
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 60,
+ "description": "Agent name."
+ },
+ "description": {
+ "type": "string",
+ "maxLength": 2000,
+ "description": "Agent description."
+ },
+ "image": {
+ "type": "string",
+ "format": "uri",
+ "description": "Thumbnail image URL."
+ },
+ "model_url": {
+ "type": "string",
+ "format": "uri",
+ "description": "3D model URL (GLB), written as model.uri."
+ },
+ "services": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 64
+ },
+ "endpoint": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "name",
+ "endpoint"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 16,
+ "description": "Services the agent offers."
+ },
+ "x402_support": {
+ "type": "boolean",
+ "description": "Advertise x402 payment support. Default false."
+ },
+ "active": {
+ "type": "boolean",
+ "description": "Registration active flag. Default true."
+ },
+ "supported_trust": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 64
+ },
+ "maxItems": 8,
+ "description": "Default ['reputation']."
+ },
+ "registrations": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "agent_id": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 128
+ },
+ "agent_registry": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 256
+ }
+ },
+ "required": [
+ "agent_id",
+ "agent_registry"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 8,
+ "description": "External registry entries."
+ },
+ "threews_agent_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "three.ws agent UUID for the Genesis-exact three.ws entry."
+ },
+ "asset": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "Asset address for the default chain-registry entry when no registrations are given."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Network for the default chain-registry entry. Defaults to the configured network."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/build-registration.js"
+ },
+ {
+ "name": "get_onchain_agent",
+ "title": "Read an on-chain agent (asset, registration, wallet)",
+ "description": "Fetch a Metaplex Agent Registry agent by its Core asset address: name, owner, update authority, plugins (royalties, verified creators, immutable metadata, attributes), the decoded asset metadata and EIP-8004 registration documents, whether the identity PDA exists, and the built-in agent wallet (Asset Signer PDA) with its live SOL balance. Read-only. Works on any registered agent, e.g. the three.ws Genesis mints.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "The Core asset address (base58)."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Cluster. Defaults to the configured network."
+ }
+ },
+ "required": [
+ "asset"
+ ],
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/get-onchain-agent.js"
+ },
+ {
+ "name": "list_onchain_agents",
+ "title": "List the latest on-chain agent registrations",
+ "description": "The latest agents to land on-chain in the Metaplex Agent Registry, newest first, from the live three.ws /api/deployments feed (which also indexes registrations minted outside three.ws). Each entry carries the Core asset address, name, description, image, owner, 3D and x402 flags, and explorer links. Set all_chains:true to include EVM ERC-8004 registrations in the same stream. Read-only.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 60,
+ "description": "How many registrations to return. Default 12."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Solana cluster. Defaults to the configured network."
+ },
+ "all_chains": {
+ "type": "boolean",
+ "description": "Include EVM ERC-8004 registrations too. Default false (Solana only)."
+ },
+ "cursor": {
+ "type": "string",
+ "description": "Pagination cursor from a previous call."
+ }
+ },
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/list-onchain-agents.js"
+ },
+ {
+ "name": "mint_onchain_agent",
+ "title": "Mint an on-chain agent into the Metaplex Agent Registry",
+ "description": "Deploy an AI agent on-chain, Genesis-333 style: mints a Metaplex Core asset (data: URI metadata, verified creator, royalties, immutable metadata) AND registers its EIP-8004 Agent Identity, so it appears on metaplex.com/agents with its own built-in wallet. Runs as ONE atomic transaction when it fits Solana's 1232-byte limit, otherwise as create followed by register (how the Genesis 333 landed). Signs with the configured SOLANA_SECRET_KEY (or a per-call secret) and spends ~0.007 SOL in rent + fees, plus a flat SOL deploy fee on mainnet that funds $THREE buybacks (holding $THREE halves it, then waives it; devnet is free; see three_status). The fee rides in the same transaction as the mint, so a failed mint pays nothing. Without confirm:true it returns a full preview (both JSON documents, the paying wallet, every cost line including the fee and its recipient) and broadcasts NOTHING. For Phantom/Solflare users, use prepare_agent_mint.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "irreversible",
+ "annotations": {
+ "readOnlyHint": false,
+ "destructiveHint": true,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "secret": {
+ "type": "string",
+ "description": "Per-call signing key (base58 secret key or JSON byte array). Overrides SOLANA_SECRET_KEY."
+ },
+ "confirm": {
+ "type": "boolean",
+ "description": "Must be true to broadcast. Anything else returns a spend-nothing preview."
+ }
+ },
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/mint-onchain-agent.js"
+ },
+ {
+ "name": "prepare_agent_mint",
+ "title": "Prepare an agent mint for a Phantom/Solflare wallet to sign",
+ "description": "Build the exact Genesis-style mint+register flow (Metaplex Core asset + Agent Identity) for an EXTERNAL Solana wallet: Phantom, Solflare, Backpack, Ledger, anything. Needs no secret key. Returns unsigned transactions base64 in txs_base64 (already co-signed by the new asset keypair) with `wallet` as the fee payer: one atomic tx when it fits Solana's size limit, else create + register to sign together via signAllTransactions. The wallet signs and broadcasts, or hands the signed array to send_signed_transaction. Includes the same mainnet deploy fee as mint_onchain_agent, priced against the wallet's live $THREE balance and returned as deploy_fee_sol/deploy_fee_to before anything is signed. Broadcasts nothing itself. The blockhash expires after roughly a minute, so sign promptly and re-prepare if a wallet reports an expired transaction.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "wallet": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "The base58 address of the wallet that will sign, pay, and own the agent."
+ }
+ },
+ "required": [
+ "wallet"
+ ],
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/prepare-agent-mint.js"
+ },
+ {
+ "name": "register_agent_identity",
+ "title": "Register an existing Core asset in the Metaplex Agent Registry",
+ "description": "Give an ALREADY-MINTED Metaplex Core asset its Agent Identity: writes the EIP-8004 registration document (as a self-contained data: URI) onto the asset and creates its identity PDA, after which it appears on metaplex.com/agents. The signing wallet must be the asset authority (or the collection authority for collection-bound assets). Registration is one-time per asset and costs ~0.003 SOL; an already-registered asset returns already_registered without spending. Without confirm:true it returns a spend-nothing preview. To mint a NEW agent, use mint_onchain_agent or prepare_agent_mint instead.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "irreversible",
+ "annotations": {
+ "readOnlyHint": false,
+ "destructiveHint": true,
+ "idempotentHint": true,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "asset": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "The Core asset address to register."
+ },
+ "collection": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "The collection address, required for collection-bound assets."
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 60,
+ "description": "Agent name for the registration document."
+ },
+ "description": {
+ "type": "string",
+ "maxLength": 2000,
+ "description": "Agent description."
+ },
+ "image": {
+ "type": "string",
+ "format": "uri",
+ "description": "Thumbnail image URL."
+ },
+ "model_url": {
+ "type": "string",
+ "format": "uri",
+ "description": "3D model URL (GLB), written as model.uri."
+ },
+ "services": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 64
+ },
+ "endpoint": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "name",
+ "endpoint"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 16,
+ "description": "Services the agent offers."
+ },
+ "x402_support": {
+ "type": "boolean",
+ "description": "Advertise x402 payment support. Default false."
+ },
+ "active": {
+ "type": "boolean",
+ "description": "Registration active flag. Default true."
+ },
+ "supported_trust": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 64
+ },
+ "maxItems": 8,
+ "description": "Default ['reputation']."
+ },
+ "registrations": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "agent_id": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 128
+ },
+ "agent_registry": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 256
+ }
+ },
+ "required": [
+ "agent_id",
+ "agent_registry"
+ ],
+ "additionalProperties": false
+ },
+ "maxItems": 8,
+ "description": "External registry entries. Defaults to the chain registry entry."
+ },
+ "threews_agent_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "three.ws agent UUID for the Genesis-exact three.ws registration entry."
+ },
+ "registration_uri": {
+ "type": "string",
+ "description": "Full override for the registration URI (https or data:)."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Cluster. Defaults to the configured network."
+ },
+ "secret": {
+ "type": "string",
+ "description": "Per-call signing key. Overrides SOLANA_SECRET_KEY."
+ },
+ "confirm": {
+ "type": "boolean",
+ "description": "Must be true to broadcast. Anything else returns a preview."
+ }
+ },
+ "required": [
+ "asset",
+ "name"
+ ],
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/register-agent-identity.js"
+ },
+ {
+ "name": "send_signed_transaction",
+ "title": "Broadcast signed Solana transactions in order and confirm them",
+ "description": "Broadcast one or more fully signed Solana transactions (base64) IN ORDER, polling each to confirmation before the next. Use it to complete the prepare_agent_mint flow: pass the wallet-signed txs_base64 array and the create/register sequencing (including the propagation race) is handled. Whatever the transactions do on-chain happens for real, so only send bytes you built and inspected.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "irreversible",
+ "annotations": {
+ "readOnlyHint": false,
+ "destructiveHint": true,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "tx_base64": {
+ "type": "string",
+ "minLength": 64,
+ "description": "A single fully signed transaction, base64 encoded."
+ },
+ "txs_base64": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 64
+ },
+ "minItems": 1,
+ "maxItems": 4,
+ "description": "Fully signed transactions to broadcast in order (e.g. create then register)."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Cluster to broadcast on. Defaults to the configured network."
+ }
+ },
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/send-signed-transaction.js"
+ },
+ {
+ "name": "three_status",
+ "title": "Deploy fee, $THREE holder tier, and the live buyback ledger",
+ "description": "What the next on-chain deploy costs and why. Returns the deploy-fee schedule (a flat SOL fee on mainnet, free on devnet), the live $THREE balance of a wallet and the tier it earns (half price, then free), the wallet the fee is paid to, and the live $THREE market + buyback figures from the public three.ws ledger. Pass `wallet` to price a specific payer, or omit it to price the configured signer. Read-only: it moves nothing and needs no key.",
+ "server": {
+ "id": "metaplex-agent-mcp",
+ "title": "@three-ws/metaplex-agent-mcp",
+ "endpoint": "npx -y @three-ws/metaplex-agent-mcp",
+ "transport": "stdio",
+ "auth": "api-key"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": null,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "wallet": {
+ "type": "string",
+ "minLength": 32,
+ "maxLength": 44,
+ "description": "Price the deploy fee for this wallet. Defaults to the configured signer."
+ },
+ "network": {
+ "type": "string",
+ "enum": [
+ "mainnet",
+ "devnet"
+ ],
+ "description": "Cluster. Defaults to the configured network. Devnet deploys are always free."
+ }
+ },
+ "additionalProperties": false
+ },
+ "source": "packages/metaplex-agent-mcp/src/tools/three-status.js"
+ },
{
"name": "sns_resolve",
"title": "Resolve a .sol name to its owner wallet",
diff --git a/tests/api/llm-openrouter-claude-mirror.test.js b/tests/api/llm-openrouter-claude-mirror.test.js
index e9e04db69..fe8aa07fe 100644
--- a/tests/api/llm-openrouter-claude-mirror.test.js
+++ b/tests/api/llm-openrouter-claude-mirror.test.js
@@ -124,7 +124,7 @@ describe('when on, it rides in the paid tail and never leads', () => {
expect(out.provider).toBe('openrouter:claude-mirror');
expect(out.text).toBe('claude via the mirror');
// The free lanes were all tried first.
- expect(calls[0]).toBe('llama-3.3-70b-versatile');
+ expect(calls[0]).toBe('qwen/qwen3.8-27b');
expect(calls[calls.length - 1]).toBe('anthropic/claude-sonnet-5');
}, 20_000);
});