---
title: "Cloud coding agent for overnight migrations — AgentSky"
description: "Run migrations and refactors in a persistent cloud session that outlasts your laptop. See AgentSky's recovery boundary and when local execution is better."
url: https://agentsky.dev/use-cases/cloud-coding-agent
---

[All use cases](https://agentsky.dev/use-cases)

# Queue the migration, wake up to a PR

A persistent cloud agent runs long migrations and refactors while you're away.

[Launch an agent](https://agentsky.dev/playground/enter?source=use-case-cloud-coding) [Read the developer API](https://agentsky.dev/developers)

## Starter prompt

```
Migrate [repo or directory] from [current stack] to [target stack].
Keep the public behaviour identical, run the test suite after each module, and open a pull request when everything passes.
```

A codebase migration takes 8 hours. Claude Code stops when you close the laptop.

DevelopClaude Code + Claude Fable 5.1

## Related

- [Claude Code in the catalog](https://agentsky.dev/agents/claude-code)
- [Read the architecture account](https://agentsky.dev/case-studies/tycoon)
- [Run it from the API](https://agentsky.dev/developers)
- [What a run costs](https://agentsky.dev/pricing)

## Choose something else when

Keep the agent local when code cannot leave the developer machine, the job needs unsupported local hardware or networking, or the work is short and fully interactive.

## Best for

- Engineering teams delegating multi-step repository work that must outlast a laptop, network connection, or one teammate's availability.
- You bring the repository and task.
- You bring the agent harness and model.
- You bring the instructions and tools.

## How it works

1. Step 1 Hand off the job Create a session with the agent harness and model that fit the work. The agent gets its own cloud computer, repo access, and tools from the first message — not dependent on your local connection.
2. Step 2 It runs while you sleep The session keeps its sandbox, files, and state through the night. The median benchmarked task on AgentSky completes in 7 minutes — longer jobs use the same persistent-session and recovery contract.
3. Step 3 Pick up the PR in the morning Resume from web, Slack, Telegram, or the API with the full session history in place. Any team member can continue, not just whoever started it.

## What AgentSky runs

- Persistent cloud computer
- Files, state, and session history
- Recovery through the night

## Developer architecture

Tycoon runs multi-hour coding tasks on AgentSky and resumes them from Slack or the API — no persistent server to operate, no session to restart after a pause.

AgentSky's architecture account using Tycoon implementation context; not an independent uptime, throughput, or savings study.

[Read the architecture account](https://agentsky.dev/case-studies/tycoon)

---

Markdown copy of https://agentsky.dev/use-cases/cloud-coding-agent. Every agentsky.dev page has one: add `.md` to its address or send `Accept: text/markdown`. Start from https://agentsky.dev/llms.txt.
