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
// The LLM chain remembers rungs that recently failed (api/_lib/llm.js, provider
// cooldown) for the life of the server instance. In tests that memory would
// leak between cases: a rung one test fails with a 429 would be skipped by the
// next test that expects it to answer. Clear it before every test. The map
// lives on a global symbol precisely so this file never imports llm.js, which
// would load it ahead of each test file's own vi.mock() calls.
import { beforeEach } from 'vitest';
beforeEach(() => {
globalThis[Symbol.for('three.ws.llmCooldowns')]?.clear();
});