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.

598 B
Raw Blame
// agent-mm — structured, single-line JSON logging. Keypairs/secrets never reach
// here; callers pass only ids, mints, amounts, and reasons.

function emit(level, msg, meta) {
	const rec = { t: new Date().toISOString(), level, msg, ...(meta || {}) };
	const line = JSON.stringify(rec);
	if (level === 'error' || level === 'warn') console.error(line);
	else console.log(line);
}

export const log = {
	info: (msg, meta) => emit('info', msg, meta),
	warn: (msg, meta) => emit('warn', msg, meta),
	error: (msg, meta) => emit('error', msg, meta),
	trade: (msg, meta) => emit('trade', msg, meta),
};