@agentdao/core
Version:
Core functionality, skills, and ready-made UI components for AgentDAO - Web3 subscriptions, content generation, social media, help support, live chat, RSS fetching, web search, and agent pricing integration
18 lines (17 loc) • 530 B
TypeScript
import { AgentConfig, AgentInput, AgentOutput, AgentMetadata } from './types';
export declare class Agent {
private name;
private description?;
private version?;
private handler;
private validateInput?;
private validateOutput?;
private metadata;
constructor(config: AgentConfig);
execute(input: AgentInput): Promise<AgentOutput>;
getName(): string;
getDescription(): string | undefined;
getVersion(): string | undefined;
getMetadata(): AgentMetadata;
private createError;
}