UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

16 lines (15 loc) 596 B
import { BaseAgent } from '../agents/BaseAgent'; /** * Type for highlight pairs in the graph */ type HighlightPair = [string, string]; /** * Generate an agent graph visualization * * @param rootAgent The root agent to visualize * @param highlightPairs Optional pairs of node names to highlight * @param asImage Whether to return the graph as an image (PNG) or as a graphviz object * @returns The graph as PNG binary data or as a graphviz object */ export declare function getAgentGraph(rootAgent: BaseAgent, highlightPairs?: HighlightPair[], asImage?: boolean): Buffer | any; export {};