/** * AutoAgents - Automatic agent generation from task descriptions */ export interface AgentConfig { name: string; role: string; goal: string; backstory?: string; instructions?: string; tools?: string[]; } export interface TaskConfig { description: string; expectedOutput?: string; agent?: string; } export interface TeamStructure { agents: AgentConfig[]; tasks: TaskConfig[]; pattern: 'sequential' | 'parallel' | 'hierarchical'; } export interface AutoAgentsConfig { llm?: string; pattern?: 'sequential' | 'parallel' | 'routing' | 'orchestrator-workers' | 'evaluator-optimizer'; singleAgent?: boolean; verbose?: boolean; } /** * AutoAgents - Generate agent configurations from task descriptions */ export declare class AutoAgents { private provider; private providerPromise; private llmModel; private pattern; private singleAgent; private verbose; constructor(config?: AutoAgentsConfig); /** * Get the LLM provider (lazy initialization with AI SDK backend) */ private getProvider; /** * Generate agent configuration from task description */ generate(taskDescription: string): Promise; /** * Recommend a pattern for the task */ recommendPattern(taskDescription: string): string; /** * Analyze task complexity */ analyzeComplexity(taskDescription: string): 'simple' | 'moderate' | 'complex'; private getSystemPrompt; private buildPrompt; private parseResponse; } /** * Create an AutoAgents instance */ export declare function createAutoAgents(config?: AutoAgentsConfig): AutoAgents;