dd-trace
    Preparing search index...

    Interface Agent

    Declares the agent an agent span represents, reported as the agent's manifest. Only applies to agent spans. Unreportable values are dropped with a warning, and unset values (undefined, null, '', []) leave what an earlier annotation declared in place.

    interface Agent {
        instructions?: string;
        model?: string;
        modelSettings?: AgentModelSettings;
        name?: string;
        tools?: AgentTool[];
    }
    Index
    instructions?: string

    The system instructions the agent runs with.

    model?: string

    The model the agent is configured to call.

    modelSettings?: AgentModelSettings

    Inference parameters. Replaces the settings an earlier annotation declared as a whole.

    name?: string

    The agent's name. Defaults to the agent span's name.

    tools?: AgentTool[]

    The tools the agent can call. Replaces tools declared by an earlier annotation.