> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> Connect Claude Code, Codex or Cursor to box

XenoCI Box is made to be driven by a coding agent. Connect it once and Claude Code, Codex or Cursor build, test and screenshot your app through box

## The easy way

Paste this line into your agent. It installs box, signs you in and connects itself

```bash theme={"system"}
Set up box with https://xenoci.com/setup
```

## Pick your agent

> [card] [Claude Code](https://docs.xenoci.com/agents/claude-code.md)
>
> box setup, the MCP server or the plugin

> [card] [Codex](https://docs.xenoci.com/agents/codex.md)
>
> box setup or codex mcp add

> [card] [Cursor](https://docs.xenoci.com/agents/cursor.md)
>
> A rule and the MCP server per repository

> [card] [Cloud agents](https://docs.xenoci.com/agents/cloud.md)
>
> No browser: an API key as BOX\_API\_KEY

## What your agent uses

> [card] [MCP tools](https://docs.xenoci.com/agents/mcp.md)
>
> 26 tools, from build to topup

> [card] [Skills](https://docs.xenoci.com/agents/skills.md)
>
> The box skill and the note box setup writes

> [card] [Agent runbook](https://docs.xenoci.com/agents/runbook.md)
>
> The step by step agent.md your agent follows

## What your agent gets back

The `screenshot` tool runs the same job as this command and hands the agent the picture. The last lines of a real run

<video controls muted loop playsInline autoPlay preload="metadata" poster="/media/docs/agents-poster.webp" src="https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/media/docs/agents.mp4?fit=max&auto=format&n=ZFKGlbE4Q2bw14Om&q=85&s=e5cbc900e1ea5a0063d506f92f4be202" width="1280" height="778" />

Claude Code asked to build the app and show a screenshot: it calls box build and box screenshot over MCP

```text theme={"system"}
$ box screenshot screen.png
box: queue: job bj_M0e9kfQmt9bDowhN (screenshot, ios, $0.05/min) submitted
…
[box] 19:21:40 screenshot box-out/screen.png
box: status: succeeded
box: results: saved to ./.box/out/bj_M0e9kfQmt9bDowhN/ (build.log, screen.png)
box: bj_M0e9kfQmt9bDowhN succeeded, 120s billed, $0.10
```

![The example app's first screen, Hello from box with a counter, as box saved it from an iPhone simulator](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-agents-screen.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=57a2bab0b30da73118373c050fedae7c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.