Member Junction
    Preparing search index...

    The agent's private working memory — not shared with parent or sub-agents.

    Processed inline on the same turn as other response fields (zero turn cost). Follows the same pattern as payloadChangeRequest.

    // In a LoopAgentResponse:
    {
    taskComplete: false,
    message: "Starting analysis of 5 data sources",
    scratchpad: {
    notes: "User wants YoY comparison. Sales DB has data back to 2019.",
    taskList: {
    upsert: [
    { id: "t1", title: "Analyze sales data", status: "in_progress" },
    { id: "t2", title: "Analyze marketing data", status: "pending" }
    ]
    }
    }
    }
    interface AgentScratchpad {
        notes?: string;
        taskList?: TaskListChanges;
    }
    Index

    Properties

    Properties

    notes?: string

    Free-form text for reasoning notes, intermediate conclusions, reminders for future turns, or any internal context the agent wants to persist across iterations. No hard character limit — the agent is prompted to be mindful of token cost.

    taskList?: TaskListChanges

    Structured task tracking with upsert/remove operations. Maximum task count is configurable via AgentTypePromptParams (default: 50).