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: document Anthropic request normalisation and refresh the brain roster
nirholasdfcee919bf56
diff --git a/docs/api-reference.md b/docs/api-reference.mdindex b8b90f8b5..2eeff96a8 100644--- a/docs/api-reference.md+++ b/docs/api-reference.md@@ -3598,6 +3598,72 @@ wire format); pay in USDC and the identical upstream call runs.---+## Web Search API++```+GET /api/web-search?q=<query>&sources=<n>+```++Open-web search with cited sources. This is distinct from [`/api/search`](#search-api),+which federates three.ws's own entities (avatars, agents, models, worlds, coins)+and never leaves the platform. This endpoint answers questions about the live+web and returns the sources the answer is grounded in.++Backed by Gemini on Vertex AI with Google Search grounding, authenticated with+the platform's GCP service account. No API key, no signup, and no per-seat+quota: it rides the same credits-funded surface as the chat reliability anchor.++No auth required. Rate limited to 20 requests per 10 minutes per IP (each call+is a billed inference request, so it does not share the generic public bucket).++**Parameters**++| Name | Type | Default | Description |+|---|---|---|---|+| `q` | string | — | Required. The search query. Truncated to 400 characters. |+| `sources` | integer | `8` | Maximum grounding sources to return, clamped to 1–20. |++**Response**++```json+{+ "enabled": true,+ "q": "Who founded Solana and in what year?",+ "answer": "Solana was founded by Anatoly Yakovenko in 2017. Raj Gokal and Greg Fitzgerald later joined as co-founders...",+ "sources": [+ {+ "title": "wikipedia.org",+ "url": "https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQ...",+ "domain": "wikipedia.org"+ }+ ],+ "queries": ["who founded Solana", "when was Solana founded"]+}+```++`queries` are the searches Google actually ran for your question, so you can see+how it was interpreted rather than guessing from the results.++**Source URLs are attribution redirects.** Each `url` points at+`vertexaisearch.cloud.google.com/grounding-api-redirect/...` rather than the+publisher, which is how Google's grounding attribution works; the link resolves+to the real page. Use `domain` when you need the publishing host itself (for+display, filtering, or authority weighting) — parsing the hostname out of `url`+returns `vertexaisearch.cloud.google.com` for every result.++**Degraded and error states**++- `200 { "enabled": false, "q": "...", "sources": [] }` — the deployment has no+ GCP project configured (local dev without credentials). A designed "not+ available here" state, not an error.+- `400 missing_query` — `q` was absent or empty.+- `502` — the upstream grounded call failed (auth, quota, safety block, or+ timeout). Retryable.++Results are edge-cached for 60 seconds (`stale-while-revalidate` 300).++---+## Animations Library API```diff --git a/docs/brain.md b/docs/brain.mdindex b2d7b9d5d..7201f1434 100644--- a/docs/brain.md+++ b/docs/brain.md@@ -42,7 +42,7 @@ outage through the mirrored OpenRouter id. If the mirror fails too, a free-tiersafety net answers before any error is surfaced: Groq Llama 3.3, then the OpenRouter`:free` route across every configured key, then NVIDIA NIM. A route only errors onceno free provider can answer, and each handoff emits an `event: fallback` frame. The-roster spans Anthropic (Claude Fable 5, Mythos 5, Opus 4.7, Sonnet 4.6, Haiku 4.5),+roster spans Anthropic (Claude Fable 5, Opus 5, Sonnet 5, Opus 4.7, Sonnet 4.6, Haiku 4.5),OpenAI (GPT-OSS 120B, the GPT-5.x family, o3 family), xAI (Grok 4.x), Groq (Llama3.3 70B), DashScope (Qwen Plus), ModelScope (Qwen3-Coder 480B), DeepSeek R1, IBMGranite on watsonx.ai, and a free NVIDIA NIM lineup (Nemotron 3 Super 120B,