Prepare an Agent
You can now get an agent ready before your user is. Start a session with a source_id, and Deck sends the agent to that source’s login page right away. When your user submits their credentials, run the task on that session, and the login starts with the agent already in place. This cuts latency on the first run.
Pass source_id to POST /v2/sessions, then pass the returned session_id when you run the task.
source_id is a hint, not a constraint. A run on the session can still target any source, and the agent goes wherever the run needs.
The Auth Component does this for you. When a user picks a source, the component prepares a session, and the verification run uses it.