{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "ufo-ai-ufo-core--hand-coding-task-to-hosted-sandbox",
 "repo": "ufo-ai/ufo-core",
 "repo_url": "https://github.com/ufo-ai/ufo-core",
 "repo_slug": "ufo-ai-ufo-core",
 "title": "Hand a task to an agent in a hosted sandbox",
 "page_title": "How to hand a task to an agent in a hosted sandbox with Ufo Core",
 "summary": "Give an agent a task from the terminal that keeps running in a sandbox after the client exits.",
 "who": "A developer who wants an agent to do a longer task, such as a repo change, without tying up a laptop.",
 "problem": "Local agent runs stop when the terminal closes, and running them on a laptop exposes local files to the agent.",
 "outcome": "An agent working in the workspace sandbox, with the turn continuing after ufo exits and the result readable later with --resume.",
 "steps": [
  "Run `curl -fsSL https://ufo.ai/ufo | sh`",
  "Run `ufo` and sign in",
  "Run `ufo --remote` followed by your task in quotes (inferred, check the README)",
  "Run `ufo --remote --resume ID` with the turn ID to read the rest of the output (inferred, check the README)"
 ],
 "agent_prompt": "Use the ufo client from the ufo-core repo to send the task <task description> with `ufo --remote`. Expected output: a turn ID and a sandbox result under /workspace. Verify the turn ID by running the resume command before you report the result.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The hosted service needs a workspace created at ufo.ai, and the README does not say what the --wait flag is measured against beyond its seconds value.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python with uv installed (https://docs.astral.sh/uv/)",
  "API keys for the three model providers, set in .env",
  "For remote sandbox use: a hosted UFO workspace, or a self-hosted server with a configured sandbox carrier",
  "For Postgres or the debugger: make and pnpm"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The install step pipes a remote script from ufo.ai into sh, so check the script or the source before you run it on a machine that holds other credentials."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ufo-ai-ufo-core/hand-coding-task-to-hosted-sandbox/",
 "md": "https://dedupedai.com/use-cases/ufo-ai-ufo-core/hand-coding-task-to-hosted-sandbox/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ufo-ai-ufo-core--hand-coding-task-to-hosted-sandbox.json",
 "api_version": "v1"
}
