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 { createHash } from "node:crypto";
import { readdir, readFile } from "node:fs/promises";
import { relative, resolve } from "node:path";
const root = resolve(process.argv[2] ?? "lib-dist");
const hash = createHash("sha256");
async function walk(directory) {
const entries = await readdir(directory, { withFileTypes: true });
for (const entry of entries.sort((left, right) => left.name.localeCompare(right.name))) {
const path = resolve(directory, entry.name);
if (entry.isDirectory()) await walk(path);
else if (entry.isFile()) {
hash.update(relative(root, path));
hash.update("\0");
hash.update(await readFile(path));
hash.update("\0");
}
}
}
await walk(root);
console.log(hash.digest("hex"));