GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — BaseAgentConfig | ADK for TypeScript: API Reference - v2.5.0

  • BaseAgentConfig

Interface BaseAgentConfig

The config of a base agent.

Extends BaseNodeConfig, so every agent also accepts the node-level options — retryConfig, timeout, inputSchema, outputSchema, stateSchema, rerunOnResume, waitForOutput — which apply when the agent runs inside a workflow.

interface BaseAgentConfig {
    afterAgentCallback?: AfterAgentCallback;
    beforeAgentCallback?: BeforeAgentCallback;
    description?: string;
    inputSchema?: SchemaLike;
    isolationScope?: string | true;
    name: string;
    outputSchema?: SchemaLike;
    parentAgent?: BaseAgent<BaseAgentConfig>;
    rerunOnResume?: boolean;
    retryConfig?: RetryConfig;
    stateSchema?: SchemaLike;
    subAgents?: BaseAgent<BaseAgentConfig>[];
    timeout?: number;
    waitForOutput?: boolean;
}

Hierarchy (View Summary)

  • BaseNodeConfig
    • BaseAgentConfig
      • RemoteA2AAgentConfig
      • LangGraphAgentConfig
      • LlmAgentConfig
      • LoopAgentConfig
      • RoutedAgentConfig
  • Defined in core/src/agents/base_agent.ts:46

Properties

OptionalafterAgentCallback

afterAgentCallback?: AfterAgentCallback
  • Defined in core/src/agents/base_agent.ts:52

OptionalbeforeAgentCallback

beforeAgentCallback?: BeforeAgentCallback
  • Defined in core/src/agents/base_agent.ts:51

Optionaldescription

description?: string

Human-readable description (used when a node is exposed as a tool).

Overrides BaseNodeConfig.description

  • Defined in core/src/agents/base_agent.ts:48

OptionalinputSchema

inputSchema?: SchemaLike

Optional schema validating the node input (Zod v3/v4 or genai Schema).

Inherited from BaseNodeConfig.inputSchema

  • Defined in core/src/workflow/base_node.ts:62

OptionalisolationScope

isolationScope?: string | true

Runs this node's subtree in an isolated conversation scope: an agent inside it sees only session events carrying the same scope, plus untagged ones. true derives a scope per node run; a string is an explicit shared tag.

Inherited from BaseNodeConfig.isolationScope

  • Defined in core/src/workflow/base_node.ts:75

name

name: string

Canonical, unique-within-a-graph node name.

Overrides BaseNodeConfig.name

  • Defined in core/src/agents/base_agent.ts:47

OptionaloutputSchema

outputSchema?: SchemaLike

Optional schema validating the node output (Zod v3/v4 or genai Schema).

Inherited from BaseNodeConfig.outputSchema

  • Defined in core/src/workflow/base_node.ts:65

OptionalparentAgent

parentAgent?: BaseAgent<BaseAgentConfig>
  • Defined in core/src/agents/base_agent.ts:49

OptionalrerunOnResume

rerunOnResume?: boolean

If true, the node re-executes when a workflow resumes even if it already completed in a prior turn. Default false.

Inherited from BaseNodeConfig.rerunOnResume

  • Defined in core/src/workflow/base_node.ts:47

OptionalretryConfig

retryConfig?: RetryConfig

Optional retry configuration for transient failures.

Inherited from BaseNodeConfig.retryConfig

  • Defined in core/src/workflow/base_node.ts:56

OptionalstateSchema

stateSchema?: SchemaLike

Optional schema validating relevant session state (Zod v3/v4 or genai Schema).

Inherited from BaseNodeConfig.stateSchema

  • Defined in core/src/workflow/base_node.ts:68

OptionalsubAgents

subAgents?: BaseAgent<BaseAgentConfig>[]
  • Defined in core/src/agents/base_agent.ts:50

Optionaltimeout

timeout?: number

Maximum time, in seconds, for this node to complete.

Inherited from BaseNodeConfig.timeout

  • Defined in core/src/workflow/base_node.ts:59

OptionalwaitForOutput

waitForOutput?: boolean

If true, the node only produces its output once all of its predecessors have triggered it (fan-in / join semantics). Default false.

Inherited from BaseNodeConfig.waitForOutput

  • Defined in core/src/workflow/base_node.ts:53
Properties
afterAgentCallbackbeforeAgentCallbackdescriptioninputSchemaisolationScopenameoutputSchemaparentAgentrerunOnResumeretryConfigstateSchemasubAgentstimeoutwaitForOutput
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.