Sessions overview
A session scopes an agent's tools, authentication, connected accounts, and execution state to one user. Create a session for a task, then reuse it across turns.
Choose a task
- Create and reuse: Create a session, continue it across turns, and delete it when the task is finished.
- Restrict tool access: Choose which toolkits and tools the agent can use.
- Saved session policies: Apply a named policy to new sessions.
- Load tools: Load meta tools, preload tools, or use the direct tools preset.
- Select connections: Choose connected accounts and configure authentication.
- Set sandbox options: Choose the sandbox compute tier or turn the sandbox off.
- Update a session: Change a running session's configuration and inspect its history.
- Execute session tools: Run tools, read results, and handle requests for user input.