box docs
How to set up box, sign in, connect it to your agent, every command and what it costs
Install
The easiest way is to paste one line into your agent. It installs box and walks you through the rest
Set up box with https://xenoci.com/setup
To install it yourself on Linux (x86_64, arm64) or a Mac with Apple silicon, run this. On Windows, run it inside WSL. It checks the file against the server’s checksums and puts it at ~/.local/bin/box
curl -fsSL https://xenoci.com/install.sh | sh
Sign in
box signs you in with your personal GitHub account. It only learns who you are and gets no access to your repositories or organizations
box login
Open the link it prints, enter the code and approve. box status shows your account, balance, about how many Mac minutes it buys and the minutes used today. Your first sign-in with a GitHub account adds $10 (200 Mac minutes) once
Connect your agent
Write the project notes so your agent knows about box, then add the MCP server
box setup claude mcp add box -- box mcp codex mcp add box -- box mcp
box setup adds a short box section to CLAUDE.md and AGENTS.md, skill files and a Cursor rule. Your agent reads its own instructions at xenoci.com/setup
The MCP server offers these tools
buildtestscreenshotrundebugexecdescribetaptypeswipepress_buttonlookstopreport_problemstatuslogsusagetopup
Build and test
From the root of an iOS project
box build --dry-run # lists what would be sent box build box test box test --only-testing AppTests/LoginTests box screenshot out.png
The log streams while the job runs and results land in .box/out/<job>/. A failed build prints each compile error as file:line:col with the nearby lines, using your local paths. box build --device-build makes an unsigned Release build for a device, saved as device-build.zip
Drive the app
box run builds the app and keeps it open on a simulator. box ui acts on it until the next build, test, run or stop
box run box ui describe # one element per line with a tap point box ui tap --label "Sign in" box ui type "hello" box ui swipe 200 600 200 200 box ui button home box ui screen now.png box stop
box ui tap also takes --id ID or a point X Y. box ui type works in Korean and any other language
More commands
box debug --break File.swift:42 | Launch the app under LLDB on the Mac and print the stack and variables at each breakpoint stop. Up to 10 --break, --print VAR (default: all locals), --tap-label or --tap-id to reach code behind a button, --stops up to 20 |
box exec -- <command> | Run one shell command in the project folder on the Mac |
box logs | Follow the last job again, or a job by id |
box stop | Stop a job or the open app session |
box cancel | Cancel the job running now. The command that followed it exits 130 |
box purge --yes | Empty this project’s workspace on the Mac |
box usage --csv | Save your jobs and what each one cost as a CSV, with --from and --to (KST dates, up to 92 days, the last 3 months) |
box balance --csv | Save every balance change (top-ups, the signup credit, job charges) with the balance after each, same dates |
box topup | Open the wallet top-up page |
box feedback "..." | Send a note about box to the team, with your last job attached |
--json | One JSON event per line, ending with a result that has billed_seconds |
Exit codes
| 0 | Done |
| 1 | The build or tests failed. Fix the code and run again |
| 2 | Wrong usage or a problem on your machine |
| 3 | The account or box itself, like signing in or the balance. The message says which. Don’t retry it in a loop |
What gets sent
- Only the project folder, and only files that changed since the last time
- Anything
.gitignoreleaves out is not sent, and.envfiles never are box build --dry-runlists exactly what would go- A workspace that goes unused for 7 days is deleted
Pricing
- $0.05 per Mac minute, prepaid in US dollars. $10 of credit when you first sign up
- Each job pays for every started minute it ran on the Mac, rounded up: 1 to 60 s is one minute ($0.05), 61 to 120 s two ($0.10), so 90 s = 2 minutes = $0.10. Upload, queue and Mac start are not counted
- No daily usage limit
- Jobs that fail because of us cost nothing
- The workspace and build cache are included
box usage --csvandbox balance --csvsave your jobs and balance changes as CSV files that open in Excel. When the balance runs out, box shows the top-up link
Not available yet
- Windows without WSL
- Picking an Xcode or iOS version
- Physical iPhones (simulators only)
- Team or organization accounts