UNPKG

tinyagent-ts

Version:

Modern TypeScript framework for building AI agents with pluggable tools and ReAct reasoning

11 lines (10 loc) 354 B
import { Agent } from './agent'; import { FinalAnswerArgs } from './final-answer.tool'; export interface MultiStepOptions { maxSteps?: number; } export interface ToolResultStep { tool: string; output: string; } export declare function runMultiStep<I = string>(agent: Agent<I>, input: I, options?: MultiStepOptions): Promise<FinalAnswerArgs>;