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.

2.4 KB
Raw Blame
export interface AttestationResult {
	signature: string;
	memo: object;
}

export interface AttestFeedbackOptions {
	agentAsset: string;
	score: number;
	taskId?: string;
	uri?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function attestFeedback(opts?: AttestFeedbackOptions): Promise<AttestationResult>;

export interface AttestValidationOptions {
	agentAsset: string;
	taskHash: string;
	passed: boolean;
	uri?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function attestValidation(opts?: AttestValidationOptions): Promise<AttestationResult>;

export interface CreateTaskOptions {
	agentAsset: string;
	taskId: string;
	scopeHash: string;
	uri?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function createTask(opts?: CreateTaskOptions): Promise<AttestationResult>;

export interface AcceptTaskOptions {
	agentAsset: string;
	taskId: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function acceptTask(opts?: AcceptTaskOptions): Promise<AttestationResult>;

export interface AttestRevokeOptions {
	agentAsset: string;
	targetSignature: string;
	reason?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function attestRevoke(opts?: AttestRevokeOptions): Promise<AttestationResult>;

export interface AttestDisputeOptions {
	agentAsset: string;
	targetSignature: string;
	reason?: string;
	uri?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
}
export declare function attestDispute(opts?: AttestDisputeOptions): Promise<AttestationResult>;

export interface ListAttestationsOptions {
	agentAsset: string;
	kind?: 'feedback' | 'validation' | 'all';
	limit?: number;
	network?: 'mainnet' | 'devnet';
}
export declare function listAttestations(opts?: ListAttestationsOptions): Promise<
	Array<{ signature: string; slot: number; attester: string; memo: object }>
>;

export interface FetchAttestationsOptions {
	agentAsset: string;
	kind?: string;
	network?: 'mainnet' | 'devnet';
	apiOrigin?: string;
}
export declare function fetchAttestations(opts?: FetchAttestationsOptions): Promise<unknown>;

export interface FetchReputationOptions {
	agentAsset: string;
	network?: 'mainnet' | 'devnet';
	apiOrigin?: string;
}
export declare function fetchReputation(opts?: FetchReputationOptions): Promise<unknown>;