UNPKG

@nestbox-ai/cli

Version:

The cli tools that helps developers to build agents

20 lines (19 loc) 758 B
export interface ReportComposerAgentOptions { /** Full instruction text (from the instructions file) */ instructions: string; /** Anthropic API key */ anthropicApiKey: string; /** Claude model ID, e.g. "claude-sonnet-4-6" */ model?: string; /** Maximum agentic iterations before giving up */ maxIterations?: number; /** Called on each status update (for spinner / logging) */ onProgress?: (message: string) => void; } export interface ReportComposerAgentResult { reportYaml: string; iterations: number; reportValid: boolean; } export declare const DEFAULT_MODEL = "claude-sonnet-4-6"; export declare function runReportComposerAgent(options: ReportComposerAgentOptions): Promise<ReportComposerAgentResult>;