Keep AI coding agents running after you close your laptop

person using laptop computer

AI coding agents die when your laptop sleeps. If you’re running long autonomous sessions, that’s a real problem. Gonzalo at White Prompt published a practical setup that solves it.

Table of Contents

The Setup

The approach pairs T3 Code with Tailscale to keep agent sessions alive on an always-on machine. You connect from your desktop or mobile whenever you need to check in, and the agent keeps running in the middle regardless of what your local device is doing.

Why It Matters

Long-running agent tasks, think multi-file refactors, test suite runs, or background code generation, don’t fit neatly into a single work session. Tying them to your laptop’s uptime is a bottleneck. Moving the session to a persistent host and tunneling in with Tailscale is a clean workaround that doesn’t require opening ports or managing a VPN from scratch.

If you’re already deep in AI-assisted development workflows, this is a low-friction way to extend how long your agents can actually work unsupervised.

Stay on top of AI & Automation with BizStack Newsletter
BizStack  —  Entrepreneur’s Business Stack
Logo