UNPKG

daggerai

Version:

A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.

31 lines 873 B
import { SquadEventEmitter } from './events'; import { InputValue } from './input'; import { Node, NodeTypes } from './node'; export interface SquadEvaluateParams { inputs: InputValue[]; instructions?: string; } export interface SquadParams { verbose?: boolean; } export declare class Squad { private graph; private env; private queue; private order; private nodes; private history; inputs: InputValue[]; instructions: string; events: SquadEventEmitter; verbose: boolean; constructor(params?: SquadParams); evaluate(params: SquadEvaluateParams): Promise<Record<string, string>>; private recalculateInDegree; private findNextNode; connect(from: Node, to: Node): void; add(node: Node): void; sortedNodes(): Node[]; nodesById(ids: string[]): NodeTypes[]; } //# sourceMappingURL=squad.d.ts.map