adk-typescript
Version:
TypeScript port of Google's Agent Development Kit (ADK)
57 lines (56 loc) • 2.01 kB
TypeScript
import { Content } from '../models/types';
import { InvocationContext } from './InvocationContext';
import { BaseAgent } from './BaseAgent';
import { Event } from '../events/Event';
/**
* Legacy agent implementation that extends BaseAgent rather than implementing
* a partial interface. This ensures we meet all the required interface requirements.
* @deprecated Use the new agent architecture instead
*/
export declare class ReasoningAgent extends BaseAgent {
constructor(config: any);
/**
* Run the agent with a specific task
* @param task The task description or query
* @returns Result of the agent's execution
*/
run(task: string): Promise<any>;
/**
* Required abstract method implementation
*/
protected runAsyncImpl(): AsyncGenerator<Event, void, unknown>;
/**
* Required abstract method implementation
*/
protected runLiveImpl(): AsyncGenerator<Event, void, unknown>;
/**
* Required abstract method implementation
*/
setUserContent(content: Content, invocationContext: InvocationContext): void;
}
/**
* Legacy agent implementation that extends BaseAgent rather than implementing
* a partial interface. This ensures we meet all the required interface requirements.
* @deprecated Use the new agent architecture instead
*/
export declare class PlanningAgent extends BaseAgent {
constructor(config: any);
/**
* Run the agent with a specific task
* @param task The task description or query
* @returns Result of the agent's execution
*/
run(task: string): Promise<any>;
/**
* Required abstract method implementation
*/
protected runAsyncImpl(): AsyncGenerator<Event, void, unknown>;
/**
* Required abstract method implementation
*/
protected runLiveImpl(): AsyncGenerator<Event, void, unknown>;
/**
* Required abstract method implementation
*/
setUserContent(content: Content, invocationContext: InvocationContext): void;
}