UNPKG

adk-typescript

Version:

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

57 lines (56 loc) 1.94 kB
/** * ADK TypeScript - Agent Development Kit * A TypeScript port of Google's ADK Python library * * This is the main entry point for the ADK library. * Provides both flat direct exports and namespaced exports, * similar to Python's import structure. * * Users can import in different ways: * * 1. Default import: * import ADK from 'adk-typescript'; * const agent = new ADK.agents.LlmAgent({...}); * * 2. Named module import (like Python): * import { agents, tools } from 'adk-typescript'; * const agent = new agents.LlmAgent({...}); * const tool = new tools.FunctionTool({...}); * * 3. Direct component import: * import { LlmAgent } from 'adk-typescript/agents'; * import { FunctionTool } from 'adk-typescript/tools'; */ export declare const VERSION = "0.1.1"; import * as agentsModule from './agents'; import * as toolsModule from './tools'; import * as modelsModule from './models'; import * as flowsModule from './flows/llm_flows'; import * as runnersModule from './runners'; import * as sessionsModule from './sessions'; import * as memoryModule from './memory'; import * as utilsModule from './utils'; export declare const agents: typeof agentsModule; export declare const tools: typeof toolsModule; export declare const models: typeof modelsModule; export declare const flows: { llm_flows: typeof flowsModule; }; export declare const runners: typeof runnersModule; export declare const sessions: typeof sessionsModule; export declare const memory: typeof memoryModule; export declare const utils: typeof utilsModule; declare const _default: { VERSION: string; agents: typeof agentsModule; tools: typeof toolsModule; models: typeof modelsModule; flows: { llm_flows: typeof flowsModule; }; runners: typeof runnersModule; sessions: typeof sessionsModule; memory: typeof memoryModule; utils: typeof utilsModule; }; export default _default;