← Back to research
CLI

Workcell

One agent starts a test on a phone. Another installs a build on that phone before the test finishes. Workcell gives commands a first-in, first-out queue for shared hardware, so each job can finish before the next takes over.

Resource queue example

Pause the queue example to read a state, or restart it and announce the release and automatic handoff.

Agent A is running. Agents B and C are waiting in FIFO order. Agent D is running on a different resource.

Three agents share one Mac in FIFO order. A GPU job runs at the same time.

Locks stay with the running job

The queue and operating-system lock live on the resource’s host. The launched process inherits the lock, so stopping the wrapper cannot release the device while its test is still running. Commands using other resources continue independently.

Project wrappers supply a shared resource name and state directory. Workcell rejects attempts to acquire the same resource twice or acquire nested resources in the wrong order.

Use it

Ask your agent to install Workcell:

install https://workcell-137.pages.dev/llms.txt

Use the project’s wrapper when one exists. A direct command looks like this:

workcell run macos-xcode --wait --json -- xcodebuild test

--wait joins the queue; without it, a busy resource returns immediately. JSON output includes the owner, queue position, log path, and a command to wait for completion.