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
// wave: starter skill. Composes two built-in runtime tools into one new tool:
// the `wave` gesture (src/runtime/tools.js) and `ctx.speak` TTS. Use this as
// the template for your own skills: same four-file layout as the siblings.

export async function waveAndGreet(args, ctx) {
	await ctx.call('wave', {});
	const greeting = args?.greeting ?? ctx?.skillConfig?.greeting ?? 'Hey there!';
	await ctx.speak(greeting);
	return { ok: true, data: { waved: true, greeting } };
}