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
import { cp, mkdir, readFile } from "node:fs/promises";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
const root = resolve(dirname(fileURLToPath(import.meta.url)), "..");
const output = resolve(root, "lib-dist/assets");
const report = JSON.parse(await readFile(resolve(root, "public/community-sync-report.json"), "utf8"));
const communityIds = new Set(report.components.map((component) => component.id));
await mkdir(output, { recursive: true });
const runtimeFiles = [
"japanese-tower.html",
"landscape.html",
"spark-badge.html",
"synthralos-halftone.html",
"landing-pages",
"sketchbook",
];
if (communityIds.has("hypnotic-loops")) runtimeFiles.push("hypnotic-loops.html");
for (const name of runtimeFiles) {
await cp(resolve(root, "public", name), resolve(output, name), { recursive: true });
}
console.log("Copied Community runtime documents and assets to lib-dist/assets.");