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
// Glyphs for dock, desktop and window chrome. 24px grid, stroke-based, no fills,
// so they inherit currentColor and stay crisp at every size.
const P = {
logo: '<path d="M12 3 3.5 8v8L12 21l8.5-5V8z"/><path d="M12 3v18M3.5 8 12 13l8.5-5"/>',
sparkle: '<path d="M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5 18 18M18 6l-2.5 2.5M8.5 15.5 6 18"/>',
cube: '<path d="M12 3 4 7.5v9L12 21l8-4.5v-9z"/><path d="M12 12 4 7.5M12 12l8-4.5M12 12v9"/>',
compass: '<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2 5-5 2 2-5z"/>',
chat: '<path d="M4 5h16v11H9l-5 4z"/>',
store: '<path d="M4 9 5.5 4h13L20 9M4 9v11h16V9M4 9c0 1.7 1.3 3 3 3s3-1.3 3-3c0 1.7 1.3 3 3 3s3-1.3 3-3c0 1.7 1.3 3 3 3"/>',
brain: '<path d="M9 4a3 3 0 0 0-3 3v1a3 3 0 0 0-2 2.8A3 3 0 0 0 6 14v1a3 3 0 0 0 3 3h1V4zM15 4a3 3 0 0 1 3 3v1a3 3 0 0 1 2 2.8 3 3 0 0 1-2 3.2v1a3 3 0 0 1-3 3h-1V4z"/>',
folder: '<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>',
image: '<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="9" cy="10" r="1.6"/><path d="m21 16-5-5-8 8"/>',
pulse: '<path d="M3 12h4l2.5-7 5 14L17 12h4"/>',
radar: '<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4.5"/><path d="M12 12 18 6"/>',
terminal: '<rect x="3" y="4" width="18" height="16" rx="2"/><path d="m7 9 3 3-3 3M13 15h4"/>',
play: '<circle cx="12" cy="12" r="9"/><path d="m10 8.5 6 3.5-6 3.5z"/>',
gear: '<circle cx="12" cy="12" r="3"/><path d="M12 3v2.5M12 18.5V21M3 12h2.5M18.5 12H21M5.6 5.6l1.8 1.8M16.6 16.6l1.8 1.8M18.4 5.6l-1.8 1.8M7.4 16.6l-1.8 1.8"/>',
grid: '<rect x="4" y="4" width="6" height="6" rx="1.2"/><rect x="14" y="4" width="6" height="6" rx="1.2"/><rect x="4" y="14" width="6" height="6" rx="1.2"/><rect x="14" y="14" width="6" height="6" rx="1.2"/>',
search: '<circle cx="11" cy="11" r="6.5"/><path d="m20 20-4.2-4.2"/>',
sun: '<circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M19.1 4.9l-1.4 1.4M6.3 17.7l-1.4 1.4"/>',
moon: '<path d="M20 14.5A8 8 0 1 1 9.5 4 6.5 6.5 0 0 0 20 14.5z"/>',
external: '<path d="M14 4h6v6M20 4 10 14M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>',
reload: '<path d="M20 11a8 8 0 1 0-2.3 5.7M20 4v7h-7"/>',
classic: '<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M3 9h18"/>',
desktop: '<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>',
user: '<circle cx="12" cy="8" r="3.5"/><path d="M5 20c0-3.6 3.1-6 7-6s7 2.4 7 6"/>',
minimize: '<path d="M5 12h14"/>',
maximize: '<rect x="5" y="5" width="14" height="14" rx="1.5"/>',
restore: '<rect x="4.5" y="8.5" width="11" height="11" rx="1.5"/><path d="M8.5 8.5V5.5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-3"/>',
widgets: '<rect x="3.5" y="3.5" width="7" height="7" rx="1.5"/><rect x="13.5" y="3.5" width="7" height="7" rx="1.5"/><rect x="3.5" y="13.5" width="7" height="7" rx="1.5"/><path d="M17 13.5v7M13.5 17h7"/>',
power: '<path d="M12 3v8M6.3 6.8a8 8 0 1 0 11.4 0"/>',
chevron: '<path d="m9 6 6 6-6 6"/>',
world: '<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.8 3 4.2 6 4.2 9s-1.4 6-4.2 9c-2.8-3-4.2-6-4.2-9S9.2 6 12 3z"/>',
gem: '<path d="M7 3h10l4 6-9 12L3 9z"/><path d="M3 9h18M7 3l5 18L17 3M9.5 9l2.5-6 2.5 6"/>',
camera: '<path d="M4 8h3l2-3h6l2 3h3v11H4z"/><circle cx="12" cy="13" r="3.5"/>',
vr: '<path d="M3 8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4l-2-2.5-1 .01L10 17H5a2 2 0 0 1-2-2z"/><circle cx="8.5" cy="11.5" r="1.5"/><circle cx="15.5" cy="11.5" r="1.5"/>',
phone: '<rect x="7" y="3" width="10" height="18" rx="2"/><path d="M11 17.5h2"/>',
rocket: '<path d="M12 3c3 2.5 4.5 6 4.5 10L12 16l-4.5-3C7.5 9 9 5.5 12 3z"/><path d="M7.5 13 5 17l3.5-.5M16.5 13 19 17l-3.5-.5M12 16v5"/><circle cx="12" cy="9.5" r="1.5"/>',
close: '<path d="m6 6 12 12M18 6 6 18"/>',
files: '<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M3 11h18"/>',
note: '<path d="M6 3h9l4 4v14H6z"/><path d="M14 3v5h5M9 12h7M9 16h7"/>',
calc: '<rect x="5" y="3" width="14" height="18" rx="2"/><path d="M8 7h8M8.5 11h1M12 11h1M15.5 11h.5M8.5 14.5h1M12 14.5h1M15.5 14.5h.5M8.5 18h1M12 18h1M15.5 18h.5"/>',
taskmgr: '<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M6 15l3-4 3 2 3-5 3 3"/>',
paint: '<path d="M12 3a9 9 0 1 0 0 18c1.4 0 2-1 2-2s-.6-1.6-.6-2.5S14.3 15 15.5 15H17a4 4 0 0 0 4-4c0-4.4-4-8-9-8z"/><circle cx="7.5" cy="11" r="1"/><circle cx="10" cy="7" r="1"/><circle cx="15" cy="7.5" r="1"/>',
clock: '<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3.5 2"/>',
cloud: '<path d="M7 18a4.5 4.5 0 0 1-.6-8.96A6 6 0 0 1 18 10.5a3.8 3.8 0 0 1-.5 7.5z"/>',
music: '<path d="M9 18V6l11-2v12"/><circle cx="6.5" cy="18" r="2.5"/><circle cx="17.5" cy="16" r="2.5"/>',
video: '<rect x="3" y="5" width="13" height="14" rx="2"/><path d="m16 10 5-3v10l-5-3"/>',
trash: '<path d="M4 7h16M10 7V4h4v3M6 7l1 13h10l1-13M10 11v6M14 11v6"/>',
pc: '<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>',
lock: '<rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/>',
wifi: '<path d="M2.5 9a14 14 0 0 1 19 0M5.5 12.5a9.5 9.5 0 0 1 13 0M8.8 16a5 5 0 0 1 6.4 0"/><circle cx="12" cy="19" r=".8"/>',
battery: '<rect x="2.5" y="8" width="16" height="9" rx="2"/><path d="M21 11v3M5.5 11v3M8.5 11v3"/>',
bell: '<path d="M6 17V11a6 6 0 0 1 12 0v6l1.5 2h-15zM10 21h4"/>',
volume: '<path d="M4 9h3.5L12 5v14l-4.5-4H4zM15.5 9a4 4 0 0 1 0 6M18 6.5a8 8 0 0 1 0 11"/>',
bluetooth: '<path d="m7 7 10 10-5 4V3l5 4L7 17"/>',
plane: '<path d="M21 15.5 13.5 11V5a1.5 1.5 0 0 0-3 0v6L3 15.5V18l7.5-2v3L9 20.5V22l3-1 3 1v-1.5L13.5 19v-3l7.5 2z"/>',
focus: '<circle cx="12" cy="12" r="8"/><circle cx="12" cy="12" r="3"/>',
fullscreen: '<path d="M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5"/>',
eye: '<path d="M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12z"/><circle cx="12" cy="12" r="3"/>',
plus: '<path d="M12 5v14M5 12h14"/>',
check: '<path d="m5 12.5 4.5 4.5L19 7.5"/>',
edit: '<path d="M4 20h4L19 9l-4-4L4 16zM13.5 6.5l4 4"/>',
download: '<path d="M12 4v11M7 11l5 5 5-5M5 20h14"/>',
upload: '<path d="M12 16V5M7 9l5-5 5 5M5 20h14"/>',
save: '<path d="M5 4h11l3 3v13H5z"/><path d="M8 4v5h7V4M8 20v-6h8v6"/>',
sleep: '<path d="M20 14.5A8 8 0 1 1 9.5 4 6.5 6.5 0 0 0 20 14.5z"/><path d="M15 4h4l-4 4h4"/>',
restart: '<path d="M20 11a8 8 0 1 0-2.3 5.7M20 4v7h-7"/>',
pin: '<path d="m15 4 5 5-3 1-3 3 .5 4-2 2-3.5-3.5L4 20l5-5.5L5.5 11l2-2 4 .5 3-3z"/>',
star: '<path d="m12 3.5 2.6 5.4 5.9.8-4.3 4.1 1 5.9L12 16.9 6.8 19.7l1-5.9L3.5 9.7l5.9-.8z"/>',
home: '<path d="M4 11 12 4l8 7v9h-5v-6H9v6H4z"/>',
arrowLeft: '<path d="M19 12H5M11 6l-6 6 6 6"/>',
arrowUp: '<path d="M12 19V5M6 11l6-6 6 6"/>',
list: '<path d="M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01"/>',
more: '<path d="M5 12h.01M12 12h.01M19 12h.01"/>',
pause: '<path d="M8 5v14M16 5v14"/>',
next: '<path d="M6 5v14l9-7zM18 5v14"/>',
prev: '<path d="M18 5v14l-9-7zM6 5v14"/>',
mic: '<rect x="9" y="3" width="6" height="11" rx="3"/><path d="M5 11a7 7 0 0 0 14 0M12 18v3"/>',
shield: '<path d="M12 3 4.5 6v6c0 4.4 3 7.5 7.5 9 4.5-1.5 7.5-4.6 7.5-9V6z"/>',
cpu: '<rect x="6" y="6" width="12" height="12" rx="2"/><path d="M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4"/>',
};
/** Apps ship their own glyphs: registerGlyph('name', '<path d="..."/>') on a 24px stroke grid. */
export function registerGlyph(name, body) {
if (!P[name]) P[name] = body;
}
export function icon(name, size = 20) {
const body = P[name] || P.logo;
return (
`<svg class="ico" width="${size}" height="${size}" viewBox="0 0 24 24" fill="none" ` +
`stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" ` +
`aria-hidden="true" focusable="false">${body}</svg>`
);
}