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.

803 B
Raw Blame
/** The reminder a runtime hands the model to persist anything worth keeping. */
export declare const MEMORY_NUDGE: string;
/** Default cadence: a nudge every this many user turns. */
export declare const DEFAULT_NUDGE_EVERY_TURNS = 6;
/** How many user messages a transcript holds (the current one included). */
export declare function countUserTurns(messages: Array<{ role: string }> | null | undefined): number;
/** True every `every` user turns (never on turn 1). */
export declare function shouldNudge(userTurns: number, every?: number): boolean;
/** The nudge as a system message, or null when this turn should not carry it. */
export declare function memoryNudgeMessage(o?: {
	messages?: Array<{ role: string }>;
	every?: number;
	final?: boolean;
}): { role: 'system'; content: string } | null;