@ainulabs/ainu - v0.0.5
    Preparing search index...

    Interface AgentOptions<T>

    Options for configuring a Agent instance.

    interface AgentOptions<T extends Provider<any, any, any>> {
        clients?: MCP[];
        name?: string;
        provider: T;
        settings?: AgentSettings;
        tools?: Record<string, Tool> | Tool[];
    }

    Type Parameters

    • T extends Provider<any, any, any>

      A generic type that extends Provider.

    Index

    Properties

    clients?: MCP[]

    A list of MCP clients available to the agent.

    name?: string

    An optional name for the agent instance. Defaults to Agent

    provider: T

    The provider instance for the agent.

    settings?: AgentSettings

    The settings for the agent. These will override the default settings returned by Agent.defaultSettings. An empty object will result in no settings being applied. Providing undefined or not providing settings will use the default settings.

    tools?: Record<string, Tool> | Tool[]

    The tools available to the agent.