UNPKG

daggerai

Version:

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

21 lines (15 loc) 349 B
import { Input } from './input' import { Task } from './task' export class Node { id: string = '' graphId: string = '' type: string = '' // controls the order of execution adjacentTo: string[] = [] adjancentFrom: string[] = [] output: string | null = null nodeOutput() { return '' } } export type NodeTypes = Task | Input