1.6 KiB
1.6 KiB
description, args, section
| description | args | section |
|---|---|---|
| Delegate a research task to a remote Agent Computer machine for cloud execution. | <task> | Internal |
Delegate the following task to a remote Agent Computer machine: $@
Workflow
- Check CLI — Verify
computeroraicomputeris installed and authenticated. If not, install withnpm install -g aicomputerand runcomputer login. - Pick a machine — Run
computer ls --jsonand choose an appropriate machine. If none are running, tell the user to create one withcomputer create. - Pick an agent — Run
computer agent agents <machine> --jsonand choose an installed agent with credentials (prefer Claude). - Create a session — Use
computer agent sessions new <machine> --agent claude --name research --json. - Send the task — Translate the user's research task into a self-contained prompt and send it via
computer agent prompt. The prompt must include:- The full research objective
- Where to write outputs (default:
/workspace/outputs/) - What artifact to produce when done (summary file)
- Any tools or data sources to use
- Monitor — Use
computer agent watch <machine> --session <session_id>to stream progress. Report status to the user at meaningful milestones. - Retrieve results — When the remote agent finishes, pull the results back with
computer agent prompt <machine> "cat /workspace/outputs/<slug>.md" --session <session_id>(derive the slug from the task topic). Present results to the user. - Clean up — Close the session with
computer agent close <machine> --session <session_id>unless the user wants to continue.