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.

376 B
Raw Blame
// Shared X402Error type, kept in its own module so that the BSC direct-payment
// verifier (api/_lib/x402-bsc-direct.js) can throw it without creating an
// import cycle with x402-spec.js (which itself imports the verifier).
export class X402Error extends Error {
	constructor(code, message, status = 402) {
		super(message);
		this.code = code;
		this.status = status;
	}
}