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.

636 B
Raw Blame
// agora-citizens — structured, single-line JSON logging. Keypairs/secrets never
// reach here; callers pass only ids, pubkeys, tx signatures, amounts, reasons.

function emit(level, msg, meta) {
	const rec = { t: new Date().toISOString(), w: 'agora-citizens', 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),
	loop: (msg, meta) => emit('loop', msg, meta),
};