UNPKG

jcrewai

Version:

Multi-agent automation framework written in TypeScript. Patterned after CrewAI.

16 lines (15 loc) 533 B
import { Crew } from '../Crew'; import { BaseLlm } from '../llms/BaseLlm'; import { BaseAgent } from './BaseAgent'; export declare class CrewAgentExecutor { readonly agent: BaseAgent; readonly crew: Crew; readonly prompt: any; readonly llm: BaseLlm; messages: Record<string, string>[]; constructor(agent: BaseAgent, crew: Crew, prompt: any, llm: BaseLlm); invoke(inputs: Record<string, string>): Promise<Record<string, any>>; private invokeLoop; private showStartLogs; private formatPrompt; }