llmwire - v2.2.0
    Preparing search index...

    Interface AgentConfig

    interface AgentConfig {
        factory?: AIFactory;
        maxSteps?: number;
        maxTokens?: number;
        model?: string;
        name: string;
        onStep?: (step: Step, agent: Agent) => void | Promise<void>;
        system?: string;
        temperature?: number;
        tools?: Tool[];
    }
    Index
    factory?: AIFactory

    Factory to run on. Default: the shared aiFactory from the main entry.

    maxSteps?: number

    Rounds of model call + tool execution per run (default 8).

    maxTokens?: number
    model?: string

    Routed like AIRequest.modelId (claude-sonnet-4-5, openai/gpt-4o, ...).

    name: string
    onStep?: (step: Step, agent: Agent) => void | Promise<void>

    Observe each round of the tool loop.

    system?: string

    System prompt.

    temperature?: number
    tools?: Tool[]