Skip to content

Hello World

The simplest arpi worker — spawns, completes a task, and exits.

Save as hello-world.toml:

template_version = "1.0"
[worker]
name = "hello-world"
[workstation]
model = "claude-sonnet-4-20250514"
task = "Say hello and explain what arpi workers are in 3 sentences."
[workstation.capabilities]
mcps = []
Terminal window
arpi spawn hello-world.toml
  1. Create — arpi creates the worker record and transitions to Pending
  2. Provision — Resources are allocated, worker moves to Spawned
  3. Execute — The model receives the task, generates a response, and records it as a trajectory
  4. Complete — Worker transitions to Completed
Terminal window
arpi trajectory <worker-id>

The trajectory contains the full conversation: the task prompt, the model’s response, token counts, duration, and cost.

You can also view it in the web dashboard at Space > Track.