Remote script. 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.
Who it is forA developer who wants an agent to do a longer task, such as a repo change, without tying up a laptop.
The problemLocal agent runs stop when the terminal closes, and running them on a laptop exposes local files to the agent.
The outcomeAn agent working in the workspace sandbox, with the turn continuing after ufo exits and the result readable later with --resume.
What you need first
- 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
Steps
- Run
curl -fsSL https://ufo.ai/ufo | sh - Run
ufoand sign in - Run
ufo --remotefollowed by your task in quotes (inferred, check the README) - Run
ufo --remote --resume IDwith the turn ID to read the rest of the output (inferred, check the README)
Prompt for your agent
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.
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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ufo-ai/ufo-core and "Hand a task to an agent in a hosted sandbox"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer