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.

1.0 KB
Raw Blame
export interface WalletConnection {
	provider: unknown;
	signer: unknown;
	address: string;
	chainId: number;
}

export declare function connectWallet(): Promise<WalletConnection>;
export declare function getSigner(): unknown | null;

export declare function pinToIPFS(blob: Blob | File, apiToken?: string): Promise<string>;

export interface BuildRegistrationJSONOptions {
	name: string;
	description: string;
	imageCID: string | null;
	agentId: number;
	chainId: number;
	registryAddr: string;
	services?: unknown[];
}
export declare function buildRegistrationJSON(opts: BuildRegistrationJSONOptions): object;

export declare function getIdentityRegistry(chainId: number, signer: unknown): unknown;

export interface RegisterAgentOptions {
	name: string;
	description: string;
	endpoint: string;
	imageFile?: File;
	services?: unknown[];
	apiToken?: string;
	onStatus?: (message: string) => void;
}
export declare function registerAgent(opts: RegisterAgentOptions): Promise<{
	agentId: number;
	registrationCID: string;
	txHash: string;
}>;