Skip to content

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.

476 B
Raw Blame
// Local API server with .env.local + .env loaded, for exercising handlers.
import { readFileSync } from 'node:fs';
for (const f of ['.env.local', '.env']) {
	try {
		for (const line of readFileSync(f, 'utf8').split('\n')) {
			const m = line.match(/^\s*([A-Z0-9_]+)\s*=\s*(.*)$/);
			if (m && !process.env[m[1]]) process.env[m[1]] = m[2].trim().replace(/^["']|["']$/g, '');
		}
	} catch {}
}
process.env.PORT = process.env.PORT || '3099';
await import('./server/index.mjs');