tinyagent-ts
Version:
Modern TypeScript framework for building AI agents with pluggable tools and ReAct reasoning
16 lines (15 loc) • 570 B
TypeScript
import "reflect-metadata";
import { Agent } from "./agent";
import { FinalAnswerArgs } from "./final-answer.tool";
/**
* A minimal agent that simply lists available tools and prompts the user
* to choose which one to run. This can be used as an initial triage step
* before invoking a more capable agent.
*/
export declare class TriageAgent extends Agent<string> {
/**
* Returns a message listing all tools defined on this agent class.
* The user can then pick the best tool for their task.
*/
run(_input: string): Promise<FinalAnswerArgs>;
}