session_id, the session automatically stays alive between tasks. Each task runs a new agent that reuses the same browser — the agents don’t share context, but the browser state (page, cookies, tabs) carries over.
sessions.create() returns a live_url you can embed to watch each task execute — see Live preview. To stream messages as each task runs, use client.run() with for await — see Live messages.
Sessions time out after 15 minutes of inactivity by default. The maximum session duration is 4 hours.