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
/**
* Server-side widget type registry — single source of truth for the API layer.
*
* Keep aligned with `src/widget-types.js` (which adds zod schemas + brand
* defaults for the runtime). The arrays here are the authoritative enum the DB
* CHECK constraint enforces and what `/api/widgets` accepts in POST/PATCH.
*/
export const WIDGET_TYPES = [
'turntable',
'animation-gallery',
'talking-agent',
'passport',
'hotspot-tour',
'pumpfun-feed',
'kol-trades',
'live-trades-canvas',
'bonding-curve',
'walking-avatar',
];
export const WIDGET_TYPE_SET = new Set(WIDGET_TYPES);
export function isWidgetType(t) {
return typeof t === 'string' && WIDGET_TYPE_SET.has(t);
}