Run AI coding agents overnight
Use an always-on remote cloud computer and persistent session so long-running AI coding work does not require your laptop to stay awake overnight.
On this page
SHORT ANSWER
How can I run an AI coding agent overnight without leaving my laptop open?
Start the agent on an always-on remote Linux cloud computer, place long-running terminal work inside a Persistent Agent Session, and disconnect your local client. The remote cloud computer and session keep running independently from your laptop, so you can reconnect later to inspect the result.
Key takeaways
- Move the workload off the laptop before the long-running task starts.
- Use Persistent Agent Sessions for terminal persistence.
- Disconnect the client without stopping the remote session.
- Reconnect from the Web Terminal, SSH or a compatible Remote SSH desktop tool.
1. Start the task remotely
Open the remote cloud computer using your preferred client and start the coding harness in the repository where the work should happen.
codex2. Keep it inside a persistent session
The persistent session should live on the remote cloud computer. This separates the lifespan of the work from the lifespan of the browser tab or SSH connection used to start it.
3. Disconnect your laptop
Once the task is inside a Persistent Agent Session, disconnecting the client does not require you to stop the session.
4. Reconnect later
Come back from your laptop, phone browser or another compatible client and reattach to the session.
For the product workflow, see Persistent Agent Sessions. When you are ready to choose a computer for the workload, compare the current plans on the pricing page.
Why it works
The workload, the persistent session and the client are separate. The remote cloud computer owns the running process, Persistent Agent Sessions preserve terminal-session continuity, and your laptop or phone is only the client used to connect. Closing that client therefore does not require the session to stop.
Frequently asked questions
Does the browser have to stay open overnight?
No, not when the long-running work is already inside a Persistent Agent Session on the remote cloud computer. A normal Web Terminal connection can end; the session is what keeps the terminal work available for a later reconnect.
Can I check the work from another device?
Yes. You can reconnect through the Web Terminal or SSH, and a compatible desktop harness can use the same machine when it supports a remote SSH environment.
Does TermSquad decide what the agent does while I am away?
No. TermSquad provides and manages the cloud computer foundation. The agent process, prompts, repository and application work remain under your control.
TermSquad gives them an always-on remote Linux cloud computer with Web Terminal and SSH access.
