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.

266 B
Raw Blame
const FEE_BPS = parseInt(process.env.PLATFORM_FEE_BPS ?? '250', 10);

export function getFeeBps() {
	return FEE_BPS;
}

export function calculateFee(grossAmount) {
	const fee = Math.floor((grossAmount * FEE_BPS) / 10_000);
	return { fee, net: grossAmount - fee };
}