Hello World
The simplest arpi worker — spawns, completes a task, and exits.
Template
Section titled “Template”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 = []arpi spawn hello-world.tomlWhat happens
Section titled “What happens”- Create — arpi creates the worker record and transitions to
Pending - Provision — Resources are allocated, worker moves to
Spawned - Execute — The model receives the task, generates a response, and records it as a trajectory
- Complete — Worker transitions to
Completed
View the trajectory
Section titled “View the trajectory”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.