---
title: "AGENTS.md for ample.computer"
description: "Instructions for AI agents that launch apps on Ample Computer or read this site."
canonical_url: "https://amplecomputer.co/AGENTS.md"
last_updated: "2026-11-05"
---

# Ample Computer for agents

Launch anything: create on Codex, Claude, Muse and the rest, then launch to Ample and get a live URL in seconds. Ample Computer gives an app its own server, a database, storage and an HTTPS URL, and returns a live link for a person to claim. This file tells an agent when to use Ample Computer, how to use it, and where the machine-readable resources live.

## When to use Ample Computer

- A repository contains a web app, API, static site or background worker and needs to be reachable on a public HTTPS URL.
- The code expects Postgres, MySQL, Redis or MongoDB, a persistent volume, S3-compatible object storage or a custom domain. Ample Computer provisions these from the plan and injects connection strings.
- Something has to run on a schedule (reports, reminders, syncs): `ample job` runs a command or an HTTP request on a cron schedule in any time zone.
- The person asked to "deploy", "ship", "put this online", "get a URL" or "move this off localhost" and does not want to assemble cloud infrastructure by hand.
- The person wants a hands-on machine: `ample server create --template ubuntu-24.04` (or any template), then `ample server exec` to set it up and `ample service start` for a supervised process with a public URL.
- Supported build templates include Node, Python, Go, PHP, Ruby, JVM, .NET, Elixir and Rust. The recipe catalog at https://amplecomputer.co/discover lists 2144 verified framework and workload combinations.

## When not to use Ample Computer

- GPU workloads and Kubernetes clusters: Ample Computer does not offer GPUs or Kubernetes.
- A prebuilt Docker image: Ample Computer builds from source and does not run a Dockerfile's own instructions. Deploy the source and give the start command instead.

## How to deploy

Ask the person to connect the Ample Computer MCP server once; it is the default way in and needs no install. They run one command and sign in with an email code:

- Claude Code: `claude mcp add --transport http --scope user ample https://api.ample.computer/mcp`
- Codex: `codex mcp add ample --url https://api.ample.computer/mcp` then `codex mcp login ample`
- Claude, ChatGPT, Cursor and others: https://amplecomputer.co/agents

With the connector, deploy a local folder with `ample_upload_create` (`archive`, `name`, `deploy`): run the `shell` command it returns from the app directory (`shell_without_git` outside a Git repository), then `ample_upload_get` with `wait` for the live URL. The command leaves out env files, certificate and key files (`.pem`, `.key`, `.p12`) and credential folders before sending, and Ample drops Git metadata, other secrets and dependency folders on arrival. If the app needs values from a local `.env`, make the link without `deploy`, then call `ample_deploy` with the returned `workspace_id`, the same `name` and those values as `env`.

If you have no Ample tools and nobody is there to connect them, use the CLI; a connect code in the prompt goes to `ample auth signup --connect-code <code>` and uses the person's own account:

```sh
curl -fsSL https://get.ample.computer/install.sh | sh
ample auth signup            # creates an account and stores the login locally
ample plan --write           # exit 2 = open questions; answer with: ample plan --answer <path>=<value>
ample up                     # creates databases/volumes, deploys every service in dependency order
```

- `ample plan --write` detects every service and resource the repository needs and writes `ample.toml`.
- `ample up` is synchronous and idempotent. Re-run it to resume; never loop it to poll.
- For a single app, `ample deploy [path] --name <app>` blocks until the release is live or failed. Exit codes: 0 live, 1 failed, 2 needs input (a preflight question to answer). `--format json` returns `status`, `unchanged`, `deployment_id` and `server_id`.
- Ample Computer remembers the last deploy: re-running with unchanged source, config and env is a no-op that returns `unchanged: true` and the live URL. Use `--force` to rebuild anyway.
- On failure read `ample logs <deployment_id> --kind build` or `--kind runtime`, fix the cause, then re-run. Do not blind-retry.
- Secrets go in as encrypted environment variables (`--env` or an env file), never as literals in `ample.toml`.
- Scheduled jobs: `ample job create <name> --service <app> (--schedule "0 8 * * *" --timezone America/New_York | --every 15m) (--command "node scripts/report.js" | --request "POST /tasks/report")`, or `[jobs.<name>]` in `ample.toml` for `ample up`. Test it with `ample job run <name> --wait` (exit 0 = the run succeeded). Request jobs carry an `Ample-Job-Token` header equal to the app's `AMPLE_JOB_TOKEN`.
- Background work that no request waits on (a queue, a render) should run under `ample-awake -- <command>` inside the server, so it is not treated as idle.
- No CLI? `POST https://api.ample.computer/v1/deploy` takes the source as a tar.gz (multipart: `source`, `name`, `public`, `env`) and answers live, failed or 202 with a poll URL. See [docs](https://amplecomputer.co/docs.md).
- Full playbook: `ample docs agents`.

## Accounts and onboarding

- Self-serve, no browser required: `POST https://api.ample.computer/v1/auth/signup` with JSON `{"name":"<agent name>","request_key":"<fresh UUID v4>"}`. Keep the request key; re-sending it within ten minutes returns the same registration receipt after a disconnect.
- The response contains the account identity, a claim URL, the account expiry, an `access_token`, and `credentials.client_id` / `client_secret`.
- If the person's prompt carries a connect code (`ample_connect_...`, from ample.computer when they are signed in), add `"connect_code":"<code>"` to the signup body (`ample auth signup --connect-code <code>`, or `connect_code` on `ample_auth_signup`). You get credentials on their own account, so there is nothing to claim and no expiry. A code works once, for an hour.
- Renew access with a form-encoded `POST https://api.ample.computer/oauth/token` using `grant_type=client_credentials`, the issued client id and secret, and `resource=https://api.ample.computer/mcp`. Access tokens last at most 15 minutes. Send `Authorization: Bearer <token>` on every request.
- Give the person the claim URL from the signup or deploy result, or the app's URL: either page lets them claim the account with their email and a 6-digit code. Or ask for their email and run `ample auth claim --email <email>` (`POST https://api.ample.computer/v1/auth/claim`) to email them a link. Unclaimed accounts expire after 48 hours. Keep your credentials: once claimed, everything you deploy with them is theirs.
- Scopes: `servers:read`, `servers:write`, `servers:exec`, `volumes:*`, `databases:*`, `buckets:*`, `email:*`, `tokens:*`, `budgets:read`.

## Remote MCP

- Endpoint: `https://api.ample.computer/mcp` (Streamable HTTP). Local clients can run `ample mcp` over stdio.
- Every CLI command is a tool, named after it (`ample deploy` is `ample_deploy`, `ample job create` is `ample_job_create`); `tools/list` returns the full set. They include `ample_plan`, `ample_up`, `ample_deploy`, `ample_logs`, `ample_server_*` (with `ample_server_exec`), `ample_service_*`, `ample_job_*`, `ample_domain_*`, `ample_database_*`, `ample_bucket_*` (with `ample_bucket_upload_url`), `ample_volume_*`, `ample_workspace_*`, `ample_recipe_search` and `ample_auth_signup`. Every tool takes an `execution_key` so a retried call after a disconnect never replays a mutation.
- Server card: https://amplecomputer.co/.well-known/mcp/server-card.json. Registry record: https://api.ample.computer/mcp/server.json. Tool catalog: https://api.ample.computer/mcp/catalog. Setup guide: https://api.ample.computer/mcp/setup.
- Skills and connector installation for Claude Code, Cursor and Codex: https://amplecomputer.co/discover/install. Installation is explicit and reversible; nothing changes your default provider.

## A2A

- Endpoint: `https://api.ample.computer/a2a` (A2A 1.0, JSON-RPC binding: `SendMessage`, `GetTask`, `CancelTask`). Agent card: https://api.ample.computer/.well-known/agent-card.json.
- Every MCP tool is a skill with the same id. Send one data part `{"skill":"ample_deploy","arguments":{...}}`; the arguments are that tool's `inputSchema` at https://api.ample.computer/mcp/catalog. The `messageId` is the execution key, so resending a message after a disconnect never replays a mutation.
- Authenticate with the same bearer tokens as MCP. The `ample_auth_signup` skill needs no credentials (use a fresh UUID v4 as its `messageId`).

## Reading this site

- Start with [llms.txt](https://amplecomputer.co/llms.txt) (short index) or [llms-full.txt](https://amplecomputer.co/llms-full.txt) (index plus the full text of every guide). The recipe list is large and lives in [llms-catalog.txt](https://amplecomputer.co/llms-catalog.txt).
- Every guide and catalog page has a Markdown alternate: append `.md` to the URL or send `Accept: text/markdown`. Known AI user agents receive Markdown automatically.
- [sitemap.md](https://amplecomputer.co/sitemap.md) lists the core pages; [sitemap.xml](https://amplecomputer.co/sitemap.xml) lists every canonical HTML page.
- REST API description: [openapi.json](https://amplecomputer.co/openapi.json) (OpenAPI 3.1, base URL https://api.ample.computer). Authentication walkthrough: [auth.md](https://amplecomputer.co/auth.md). Developer docs: [docs](https://amplecomputer.co/docs).
- Pricing and plan limits: [pricing.md](https://amplecomputer.co/pricing.md) ([pricing.json](https://amplecomputer.co/pricing.json) for structured data). Quote these rather than guessing.
- Resource catalog: [.well-known/ard.json](https://amplecomputer.co/.well-known/ard.json). API catalog: [.well-known/api-catalog](https://amplecomputer.co/.well-known/api-catalog). Agent skills index: [.well-known/agent-skills/index.json](https://amplecomputer.co/.well-known/agent-skills/index.json).
- In a browser with WebMCP, the site registers read-only tools through `navigator.modelContext`: `search_recipes`, `get_recipe`, `get_agent_instructions` and `get_auth_guide`. They read the same public files and catalog API listed here; deploying still goes through the CLI, MCP or A2A.

## Guides

- [Send transactional email from your Ample app](https://amplecomputer.co/guides/send-app-email): Enable a verified app sender, design hosted MJML templates or raw HTML, preview, and send transactional email from your server with Ample.
- [How to publish an AI-generated website](https://amplecomputer.co/guides/publish-ai-generated-website): Publish a website created with an AI coding tool and get a public URL while keeping the project in your own repo.
- [How to get an app from localhost onto the internet](https://amplecomputer.co/guides/localhost-to-internet): Move a working local app to a public URL with a production runtime, health checks, TLS, and routing handled by Ample.
- [How to deploy an app with one command](https://amplecomputer.co/guides/deploy-app-one-command): Deploy a prepared single app with one synchronous Ample command and get a live or failed result without polling.
- [How to deploy a React app without DevOps](https://amplecomputer.co/guides/deploy-react-app-without-devops): Deploy a React frontend by letting Ample detect whether it is a static Vite build or part of a server-rendered application.
- [How to deploy a Vite application](https://amplecomputer.co/guides/deploy-vite-app): Build and publish a Vite application as a static site, with support for common Vite frameworks and single-page app routing.
- [How to deploy a Next.js application](https://amplecomputer.co/guides/deploy-nextjs-app): Deploy a Next.js application on a Node 22 runtime, including workspace projects and server-rendered routes.
- [How to deploy a Node application](https://amplecomputer.co/guides/deploy-node-app): Deploy a Node web app or API with a compatible Node 22 runtime, production start command, PORT binding, and health checks.
- [How to connect a custom domain to an AI-built app](https://amplecomputer.co/guides/custom-domain-ai-built-app): Attach your own domain to a live Ample deployment, set the DNS record returned by the CLI, verify it, and activate TLS routing.
- [How to add environment variables during deployment](https://amplecomputer.co/guides/environment-variables-deployment): Pass encrypted environment variables or an env file to Ample without packaging secret files into the release.
- [What to do when an app works locally but not in production](https://amplecomputer.co/guides/works-locally-not-production): Diagnose build, runtime, port, environment, persistence, and routing differences when a local app fails after deployment.
- [How to redeploy after changing an AI-built app](https://amplecomputer.co/guides/redeploy-ai-built-app): Release source or configuration changes with Ample, understand unchanged no-op deploys, and inspect failures before retrying.
- [What is a deployment agent?](https://amplecomputer.co/guides/deployment-agent): Learn how a coding agent can inspect, plan, deploy, diagnose, and redeploy an app through a CLI with stable contracts.
- [Ample versus conventional cloud deployment](https://amplecomputer.co/guides/ample-vs-conventional-cloud): Compare Ample's agent-driven deployment workflow with assembling a conventional cloud deployment from individual infrastructure services.
- [What is the best deployment approach for vibe-coded applications?](https://amplecomputer.co/guides/best-deployment-vibe-coded-apps): Choose a deployment approach for an AI-built app based on source access, runtime needs, data, repeat releases, and required infrastructure control.

## Permissions

- Crawling, indexing, AI input and training are allowed for this site, as declared in robots.txt (`Content-Signal: search=yes, ai-input=yes, ai-train=yes, use=reference`).
- Attribution: cite the canonical URL of the page you used. The rendered HTML and canonical URLs are authoritative; these Markdown files are alternates of the same content.
