Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                

Sessions overview

An agent that works across apps needs to find the right tools, connect your user's accounts, and keep track of its work across turns. A session brings those pieces together for one task. For example, an agent can find an email in Gmail and post a summary to Slack using the same user's connections.

A session scopes the agent's tools, authentication, connected accounts, and execution state to one user. Create a session for a task, then reuse it across turns.

How a session works

By default, your agent gets meta tools: tools that discover app tools, manage connections, and execute actions. This lets the agent find tools as the task develops without loading the full catalog of tool definitions into the model's context.

The agent searches, connects when needed, and executes through the same session. By default, every toolkit in the catalog is discoverable. You can restrict tool access to fit the task. If you already know which tools the agent needs, load them directly.

Store the session ID and reuse it across conversation turns to keep the task's execution state. Connected accounts belong to the user and can be reused in future sessions. See Create and reuse for session creation and reuse, and Select connections for account selection.

Choose a task