agentis
Version:
A TypeScript framework for building sophisticated multi-agent systems
15 lines (14 loc) • 510 B
TypeScript
import { ITool, ToolOutput } from './ITool';
export declare class OpenRouterTool implements ITool {
name: string;
description: string;
private client;
private agentId?;
private agentName?;
private agentLore?;
private agentRole?;
constructor();
setAgentContext(id: string, name: string, lore: string, role: string): void;
ensureAgentExists(agentId: string, name: string, lore?: string, goals?: string[]): Promise<void>;
execute(input: string): Promise<ToolOutput>;
}