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

# For coding agents

> Give your coding agent the documentation and a starting task.

Use these docs with the coding agent you already work with. Start with the [documentation index](https://www.agent37.com/docs/llms.txt), then let your agent fetch the pages it needs.

## Give your agent a starting task

Copy this prompt into your coding agent:

```text theme={null}
Read https://www.agent37.com/docs/llms.txt and the quickstart linked there.
Use the relevant API reference pages to build a script that creates an
Agent37 sandbox, runs a shell command, and reaches a service over HTTPS.
Read the API key from a server-side environment variable.
Include a cleanup command to delete the instance when I am finished.
```

Replace the task with what you want to build, such as hosting a harness or running your own Docker image.

If the agent has no API key, point it at [Sign up](https://www.agent37.com/docs/agents-api/signup.md): one unauthenticated `POST /v1/signup` returns a workspace, a key, and a payment link, so it can onboard itself and then [fund the wallet](https://www.agent37.com/docs/agents-api/billing.md#fund-the-wallet-from-the-api) without a person in the loop.

If something does not work the way these docs say, or a capability is missing, have the agent tell us with [`POST /v1/feedback`](https://www.agent37.com/docs/agents-api/feedback). A person on our team reads every report.

## Choose the runtime for your task

| Your workload | Tell your coding agent |
| - | - |
| Light use: a harness that chats, small scripts, light computer use, mostly idle | Omit `type` to get a default instance, the cheapest. Turn on [auto-sleep](https://www.agent37.com/docs/agents-api/instance-auto-sleep.md) so idle time bills disk alone. |
| Steady CPU use, such as heavier computer use (driving a browser or a desktop for long stretches) | Create with `"type": "vm"`, at 2.5x the default compute rate. See [Instance types](https://www.agent37.com/docs/agents-api/billing.md#default-and-performance-instances). |
| Builds, compiles, and other sustained heavy CPU | Create with `"type": "performance"`, at 4x the default compute rate: its cores are held for it, so it runs at the same speed every hour. |
| Full Linux VM, Docker-in-Docker, or Compose | Read [VM instances](https://www.agent37.com/docs/agents-api/vm-instances.md). Create with `"template": "agent37-ubuntu"` and `"type": "vm"`; Docker is already running. |
| Android phone automation | Read [Host an Android phone](https://www.agent37.com/docs/agents-api/android.md). Create with `"template": "agent37-android"` and `"type": "vm"`; wait with `android-wait`, then use ADB and `android-shot` through exec. |
| Linux desktop automation | Read [Browser and desktop](https://www.agent37.com/docs/agents-api/desktop.md). Ubuntu VMs include an XFCE desktop; bring your own screenshot, click, and recording tools. |

The Android template includes Android 14, ADB, and a browser screen on port `6901`. The guides include the exact requests and current limits.

## Choose the documentation format

| Resource | Use it for |
| - | - |
| [Documentation index](https://www.agent37.com/docs/llms.txt) | Find the relevant pages without loading the entire reference. |
| [Complete documentation](https://www.agent37.com/docs/llms-full.txt) | Read the guides and reference in one text file when your agent has room for the full context. |
| **Copy page** on any docs page | Give your agent the specific page you are reading. |
| [MCP server](https://www.agent37.com/docs/mcp) | Let your agent search these docs as a tool: `claude mcp add --transport http agent37-docs https://www.agent37.com/docs/mcp`. |
| [Agent skill](https://www.agent37.com/docs/skill.md) | Install it with `npx skills add https://www.agent37.com/docs` so your agent loads Agent37 knowledge when the task needs it. |
| [CLI](https://www.npmjs.com/package/agent37) | Build templates and SSH into instances from your terminal with `npx agent37`. |

For endpoint examples, start with the [REST API reference](https://www.agent37.com/docs/agents-api/overview.md). For the sandbox walkthrough, use the [Quickstart](https://www.agent37.com/docs/quickstart.md).


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