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

    Interface AgentConfig

    Configuration for Agent

    interface AgentConfig {
        appName?: string;
        description: string;
        instructions?: string;
        maxMemoryItems?: number;
        maxToolExecutionSteps?: number;
        memoryRelevanceThreshold?: number;
        memoryService?: BaseMemoryService;
        model: string;
        name: string;
        sessionService?: SessionService;
        tools?: BaseTool[];
        useMemoryAugmentation?: boolean;
        userId?: string;
    }
    Index

    Properties

    appName?: string

    Application name (for multi-app environments)

    description: string

    Description of the agent

    instructions?: string

    Instructions for the agent

    maxMemoryItems?: number

    The maximum number of memory items to include in augmentation

    maxToolExecutionSteps?: number

    Maximum number of tool execution steps

    memoryRelevanceThreshold?: number

    The minimum relevance score for memory augmentation (0-1)

    memoryService?: BaseMemoryService

    Memory service for long-term storage and retrieval

    model: string

    The LLM model to use

    name: string

    Name of the agent

    sessionService?: SessionService

    Session service for managing conversations

    tools?: BaseTool[]

    Tools available to the agent

    useMemoryAugmentation?: boolean

    Whether to automatically augment prompts with relevant memory

    userId?: string

    User ID for the session (required for session persistence)