ADK TypeScript Documentation - v0.0.4
    Preparing search index...

    Class BaseAgentAbstract

    Base class for all agents in the Agent Development Kit

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    description: string

    Description about the agent's capability The LLM uses this to determine whether to delegate control to the agent

    name: string

    The agent's name Agent name must be a unique identifier within the agent tree

    parentAgent?: BaseAgent

    The parent agent of this agent Note that an agent can ONLY be added as sub-agent once

    subAgents: BaseAgent[]

    The sub-agents of this agent

    Accessors

    Methods

    • Runs the agent with streaming support

      Parameters

      Returns AsyncIterable<any>