@nestbox-ai/cli
Version:
The cli tools that helps developers to build agents
24 lines (23 loc) • 838 B
TypeScript
export interface DocProcAgentOptions {
/** 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;
/** Maximum tokens per model response */
maxTokens?: number;
/** Called on each status update (for spinner / logging) */
onProgress?: (message: string) => void;
}
export interface DocProcAgentResult {
configYaml: string;
evalYaml: string;
iterations: number;
configValid: boolean;
evalValid: boolean;
}
export declare const DEFAULT_MODEL = "claude-sonnet-4-6";
export declare function runDocProcAgent(options: DocProcAgentOptions): Promise<DocProcAgentResult>;