Where does your AI live? The multi-device problem
AI coding sessions are stateful objects. When you work across a laptop, desktop, and tablet, the session context does not follow you.
An AI coding session isn’t just a conversation. It’s a stateful object: the history of what you’ve built, the decisions you’ve made, the context the AI has accumulated about your codebase and your intentions. That context is the value. Lose it and you’re starting over.
I work on a desktop at home, a laptop when I’m out, and occasionally a tablet on the train. The code follows me fine. GitHub handles that. The AI session doesn’t.
The naive solution
Check out the repo on each device. This works for the code. It does nothing for the AI context. When I open a new session on my laptop, the AI knows nothing about the decisions I made that morning on the desktop. I have to re-explain the architecture, re-establish the constraints, re-describe what I’m trying to build.
For short sessions this is manageable. For a project I’ve been working on for two weeks, re-establishing context takes 10 to 15 minutes every time I switch devices. That’s not a workflow, it’s a tax.
What I tried
The first thing I tried was Daytona cloud sandboxes. The idea is architecturally correct: the AI session and the code both live in a cloud environment, and you connect to that environment from any device. No context loss between devices because the session never moves. You’re always connecting to the same running environment.
In practice, Daytona worked well for this. I provisioned a sandbox, pointed it at my repository, and could pick up exactly where I left off from any device with a browser. The session history was intact. The AI remembered what we’d been building.
The tradeoff is that you’re sending your work through someone else’s infrastructure. For client work or anything commercially sensitive, that’s a real consideration. For personal projects, I found it acceptable.
The second thing I tried was running OpenCode on my Android tablet via Termux with an Ubuntu environment. This technically works. You get a full Linux development environment on a tablet, ARM architecture and all. The performance is limited by the hardware, and managing context windows on a small screen is genuinely difficult. I used it twice and stopped.
The deeper question
Local or cloud? It’s not a technical question, it’s a trust question.
Local means the session lives on your machine. Private, no latency, no dependency on external services. But it’s tied to that machine. If you want to work from a different device, you’re starting a new session.
Cloud means the session is accessible from anywhere. Persistent across devices. But you’re sending your code, your prompts, and your architectural decisions through infrastructure you don’t control. The AI provider sees your work. The cloud sandbox provider sees your work.
For most personal projects, I’ve decided the convenience outweighs the privacy cost. For anything I’d be uncomfortable having a third party read, I keep it local and accept the device constraint.
What I actually use
My main machine handles most AI sessions. I accept that I can’t pick up those sessions on other devices without re-establishing context. For projects where portability matters more than privacy, I use Daytona. The sandbox runs in a region I choose, the session persists, and I can connect from the laptop or the tablet without losing the thread.
The thing I haven’t found a good solution for is the middle case: a project that’s sensitive enough that I don’t want it in a cloud sandbox, but complex enough that re-establishing context every time I switch devices is genuinely painful. For that, I’ve started writing explicit context documents. A markdown file in the repo that describes the current state of the project, the decisions made, the constraints in place. I paste it into a new session when I switch devices. It’s manual, but it works.
The session as artifact
The AI session is becoming a first-class artifact of software development, alongside the code itself. We have good tools for versioning and syncing code. We don’t have good tools for versioning and syncing AI context.
That gap will close. Some combination of session export, cloud sync, and structured context files will eventually make this a solved problem. For now, it’s a workflow constraint you have to design around deliberately, or you’ll keep losing context and wondering why your AI assistant seems to forget everything overnight.