AI Agents & Sessions

Keep Agent Sessions Running After You Disconnect

By TermSquad · Last reviewed

AI work running inside a persistent Herdr session can continue after you close the TermSquad browser tab, lose your network connection, or switch devices. The process runs on the remote computer.

Conditions for continued work

  • The computer remains running.
  • The agent process remains open inside its session.
  • The provider continues serving requests.
  • The task does not need an unanswered permission or login prompt.
  • Resources remain sufficient for the work.

Closing the browser only disconnects your view. It does not guarantee task completion or remove the need for input.

Leave a task running

  1. Start the agent in the normal agent terminal.
  2. Give it a clear task and a way to check the result.
  3. Resolve any initial sign-in or permission request.
  4. Confirm that it has started working.
  5. Close the browser or detach from Herdr.
  6. Reopen the same computer and user later to inspect the result.

Provider login terminals are short-lived and should stay open until sign-in completes.

What interrupts a session?

A reboot, power stop, reset, process crash, or deliberate session closure can end running work. A billing suspension can also make the computer unavailable. Saved files may survive a reboot, but the running process does not.

An AI tool’s saved conversation may help you resume after a process exits; that is a separate provider feature.

See Resume or Stop an Agent Session and Run Long Tasks Overnight.