Topic 5 of 5 · 4 min read
Task types that suit cloud agents
Goal: Sort a backlog into tasks to delegate to a cloud agent and tasks to keep local, with a reason for each.
Send a task to a cloud agent when it is well specified, testable inside the sandbox and small enough to review in one sitting; keep it local when you need to steer, see or decide as it goes. A cloud agent is good at finishing a clear job alone. It is poor at discovering what the job is.
Check yourself · 1 of 3
Which task is the best fit for a cloud agent?
Why it matters
Delegating costs you an issue to write, a run to wait for and a pull request to review. For a good fit that is far cheaper than doing it yourself. For a bad fit you pay all of it and then do the work anyway.
Signs a task fits
- Clear done check. A failing test to fix, a lint rule to satisfy, an output to match.
- Contained. A few files in one area, with an obvious starting point.
- Runs in the sandbox. Everything needed to build and test is in the repository or the setup script.
- Low risk if wrong. The pull request is reviewed and nothing ships until you merge.
- Not urgent to the minute. You can wait for the run and the review.
Typical fits: fixing a reproducible bug with a failing test, adding tests for a documented function, upgrading a dependency with a clear changelog, small feature slices behind a spec, updating docs after an API change, mechanical clean-ups.
Signs a task does not fit
- Ambiguous design. "Decide how we should handle multi-tenancy." Needs a conversation, not a diff.
- Wide refactors. Hundreds of files across many modules produce a review nobody can do.
- Needs local services. A task that needs a device, a licensed tool, a VPN or live customer data cannot run in a sandbox.
- Needs fast feedback. Exploring a UI with you looking at it works better in your editor or terminal.
- Security-sensitive. Changes to auth or payments need your hands and a careful reviewer, even if an agent drafts them.
Before and after
Before: the whole backlog goes to the agent on Friday afternoon: "improve the app, fix the flaky tests, redesign settings, migrate the database".
After, the same backlog sorted:
| Task | Where | Reason |
|---|---|---|
| Fix the date bug, failing test attached | Cloud agent | Clear check, one module |
Add tests for slugify() |
Cloud agent | Contained, verifiable |
| Redesign the settings page | Local | Needs your eyes and decisions |
| Migrate the production database | Human | Risk, live data |
What goes wrong
- Delegating to avoid thinking. If you cannot say what done looks like, the agent cannot either.
- Too many runs at once. Ten pull requests at the same time overwhelm the reviewer, which is you.
- Using the cloud for exploration. A throwaway question is cheaper in a local session.
- Never delegating. Safe, boring tasks pile up while people do them by hand.
Examples
Sorting five tickets
Fix a reproducible crash with a failing test: cloud. Add missing unit tests for a pure function: cloud. Pick a payment provider: human decision. Rewrite the whole routing layer: local, in slices. Debug a bug that only shows on one device: local.
A fit that turned into a miss
A ticket said "update the SDK". The new version changed three APIs, and the app used a staging service the sandbox could not reach. The agent opened a pull request that compiled but was never run end to end. It was a local task that looked mechanical.
Key points
- Delegate tasks that have a clear check, a contained scope and everything they need inside the sandbox.
- Keep ambiguous design, wide refactors and tasks needing live or local resources out of the cloud queue.
- Review capacity is the limit; do not start more pull requests than you can read.
- If you cannot say what done looks like, clarify the task before delegating it.
- Security-sensitive changes need a careful human even when an agent drafts them.
Common mistakes
- Sending open-ended design questions to an agent that needs a spec.
- Starting more agent runs than the team can review.
- Delegating tasks that need a service, device or data the sandbox does not have.
- Skipping the sort and sending the whole backlog.
Check yourself · 2 of 3
A task needs a physical test device and a licensed desktop tool. Where should it run?
Check yourself · 3 of 3
Why not start twenty cloud agent runs at the same time?
Practice items, not counted towards your mastery.
Start here
- About GitHub Copilot cloud agent (opens in a new tab)DocsFree
How an agent is assigned an issue, works in a sandbox, opens a draft pull request and waits for human review.
- Codex cloud (OpenAI) (opens in a new tab)DocsFree
How Codex runs tasks in a cloud environment with a setup script, and what network access it has.
- Claude Code on the web (opens in a new tab)DocsFree
How Claude Code runs sessions in a remote environment, how setup scripts and network rules work, and how changes come back as a branch.