@waldzellai/adk-typescript
Version:
TypeScript SDK for Google Agent Development Kit (ADK) - A comprehensive framework for building AI agents
40 lines (39 loc) • 1.5 kB
TypeScript
import { LlmAgent } from '../agents/llm_agent';
import { BaseArtifactService } from '../artifacts';
import { BaseSessionService, Session } from '../sessions';
/**
* Runs an agent with queries from an input file
*
* @param appName The application name
* @param rootAgent The root agent to run
* @param artifactService The artifact service to use
* @param session The session to use
* @param sessionService The session service to use
* @param inputPath The path to the input file
*/
export declare function runInputFile(appName: string, rootAgent: LlmAgent, artifactService: BaseArtifactService, session: Session, sessionService: BaseSessionService, inputPath: string): Promise<void>;
/**
* Runs an agent interactively
*
* @param appName The application name
* @param rootAgent The root agent to run
* @param artifactService The artifact service to use
* @param session The session to use
* @param sessionService The session service to use
*/
export declare function runInteractively(appName: string, rootAgent: LlmAgent, artifactService: BaseArtifactService, session: Session, sessionService: BaseSessionService): Promise<void>;
/**
* Interface for run CLI options
*/
export interface RunCliOptions {
agentParentDir: string;
agentFolderName: string;
jsonFilePath?: string;
saveSession: boolean;
}
/**
* Runs the CLI with the given options
*
* @param options The options for running the CLI
*/
export declare function runCli(options: RunCliOptions): Promise<void>;