
# What Agent Cloud is

Agent Cloud runs the apps your coding agent (Claude Code, Codex or Cursor) builds. Your agent ships with one command, and Agent Cloud tries each release on a copy of your data and asks you before a change that could lose it. It's free during the beta.

```bash
agc ship
```

A release has shipped when `agc ship` exits 0 with `"outcome": "live"`.

## What is Agent Cloud?

Agent Cloud hosts web apps that coding agents build and ship themselves. You describe the app, and your agent writes the code and runs `agc ship`.

Agent Cloud then:

1. builds the app;
2. rehearses a release with checks, migrations or a worker on a fresh copy of production, so mistakes fail there;
3. asks a person when the release needs one;
4. switches traffic to the new version and records a receipt.

A ship that fails before migrating leaves production as it was.

## Ask your agent

```text
Build me a small app for booking spots in our kids' summer camps and run it on Agent Cloud.
```

You get a private preview link to try it and a publish link that signs you up and puts it live. Started from a console prompt, the app goes live on its first ship.

## How it works

The platform, not the agent, enforces three promises:

- **Rehearse on a branch of production.** A release with checks, migrations or a worker runs them first on a fresh, unmasked branch of production. If one fails, production is untouched and the agent gets only the check's name and a fixed sentence, never rows.
- **Ask a person before a release that could lose data.** A migration that drops or empties data, a sign-in change or a loosened held check waits for a person; under the default `routine` autonomy the rest goes live on its own. A person only sees releases whose rehearsal passed.
- **A receipt for every live release** (`rcp_…`). Failed operations have no receipt. Only exit 0 with `"outcome": "live"` means shipped.

Each app gets its own Postgres and a private GitHub repo with one commit per live release. It runs at `<name>.ac0.app` or on an organization's private AWS target ([Where apps run](/docs/concepts/where-apps-run.md)). The product is before 1.0 ([Changelog](/docs/reference/changelog-and-release-notes.md)).

## Is Agent Cloud free?

Yes. Agent Cloud is free during the beta: the app's web server and worker, its Postgres database, every agent's mirror, rehearsals and releases. There are no plans, prices or paid tier; when the beta ends, this page will say what changes.

Each app still has a monthly budget (5 to 1000, default 25) that nothing is charged against and that never refuses a ship. The app's owner or an organization owner changes it under "Releases and cost" in the app's settings; an agent asks with `agc limits set --budget <n>`, which answers exit 10 with an approval link.

## What are Docs?

These docs are an Agent Cloud app that keeps itself up to date. Agents report a wrong page with `agc feedback docs "<what is wrong>" --body <file>`. The pages are checked against the code production runs, open reports are read, and fixes ship once the docs checks pass.

## When not to use it

Agent Cloud is built for web apps with a server, Postgres and an optional worker. A static site gets nothing from rehearsals, so host it wherever is simplest.

## Glossary

Words you'll see in agc output, AGENTS.md and the console. **Relay** and **doctor** each have two meanings.

| Term | Meaning |
|---|---|
| **app** | One repository plus one `agentcloud.toml`, with its own Postgres, a private GitHub repo and a target. Its internal name is fixed; its public address can change |
| [**`agentcloud.toml`**](/docs/reference/agentcloud-toml-reference.md) | The manifest: services, database, checks, secrets by name. Never a secret value, budget or autonomy |
| [**starter**](/docs/build/recommended-stack.md#starters) | The small `typescript` or `python` app `agc init` writes into an empty folder |
| [**mirror**](/docs/concepts/mirror-vs-production.md) | Your own copy of the app on your machine: its `dev` command, against a masked branch of production. Yours to break |
| [**production**](/docs/concepts/mirror-vs-production.md) | The live app, running the image built from your code. No shell; changes arrive only through `agc ship` |
| [**snapshot**](/docs/build/what-goes-into-a-snapshot.md) | The packed working tree `agc ship` uploads, named by its sha256 |
| [**op**](/docs/concepts/operations-and-waiting.md) | One unit of platform work (`op_…`), such as a ship. It runs without the agent; `agc wait <op>` reattaches |
| [**rehearsal**](/docs/concepts/rehearsals.md) | A trial run of the release on a fresh, unmasked branch of production. The agent sees only pass or fail |
| [**check**](/docs/checks/checks-overview.md) | An invariant (SQL that must return no rows) or a smoke flow (HTTP steps). The only tests Agent Cloud runs |
| [**held check**](/docs/checks/invariants.md#held-checks-and-fixes) | A check that stopped a bad release or arrived with `--fixes`; changing it needs a person |
| [**approval**](/docs/concepts/approvals.md) | A person's single-use decision on one release, expiring after 24 hours |
| [**autonomy**](/docs/owners/release-governance.md#autonomy-and-budget) | `routine` (code goes live after its checks) or `watch` (every release asks); platform state, never in the repo |
| [**release**](/docs/getting-started/the-life-of-a-release.md) | A version going live (`v<N>`); one commit in the app's GitHub repo |
| [**outcome**](/docs/concepts/operations-and-waiting.md#outcomes-and-receipts) | `live`, `preview`, `failed`, `waiting_approval`, `denied`, `rolled_back` or `cancelled`, set only by the platform |
| [**receipt**](/docs/concepts/operations-and-waiting.md#outcomes-and-receipts) | A live release's permanent record (`rcp_…`, `/r/<id>`): what shipped, what was checked, who decided |
| [**agent**](/docs/owners/managing-agents.md#agent-identities-and-purposes) | One agc installation's identity (one `AGC_HOME`), acting for one person. Its label is a description, not proof |
| [**purpose**](/docs/owners/managing-agents.md#agent-identities-and-purposes) | What an agent may do: Builder (ships), Mirror-only or Read-only |
| [**claim link**](/docs/getting-started/working-with-your-coding-agent.md#claiming-an-app-and-connecting-your-agent) | `data.claim_url`, where a person makes an unclaimed app theirs and connects the agent. After the first ship it's the **publish link** (`data.publish_url`), which also puts the private preview live |
| [**join code**](/docs/getting-started/quickstart-new-app.md#start-from-the-console) | `agcj_…` in a console prompt: `agc init --join <code>` puts the agent and app in that organization |
| [**deploy key**](/docs/ship/ci-cd-with-deploy-keys.md) | `agcd_…` for CI: one app, one purpose, an expiry, read from `AGC_TOKEN` |
| [**organization**](/docs/owners/setting-up-an-organization.md#organizations-and-roles) | Where apps, targets, connections and approvals live; **owners** manage it and approve any app's releases, **builders** their own apps' |
| **relay** | In an organization, how a join code brings its settings to AGENTS.md's "Your organization" part. On a private target, [`relay.agent.cloud`](/docs/targets/network-and-egress.md), the tunnel its egress proxy uses |
| [**target**](/docs/concepts/where-apps-run.md) | Where apps run: Agent Cloud's GCP node, or a k3s node in an organization's AWS account, run by a [**runner**](/docs/targets/architecture-of-a-private-target.md). Its [**manifests**](/docs/targets/manifests-and-updates.md) are the versioned Kubernetes objects installed there, not `agentcloud.toml` |
| [**connection**](/docs/owners/connections.md) | An organization's data source or tool, credentials sealed; a **grant** lets one app read or write it |
| [**work**, **task**](/docs/ship/work-tab-and-builders.md) | An app's changes as numbered items, each owned by one agent at a time |
| **doctor** | [`agc doctor`](/docs/getting-started/installing-agc.md) checks this machine and the app's wiring; [`agc-doctor`](/docs/targets/the-doctor.md) prints a private target's health |

## Agent notes

- Exit 10 isn't a failure to retry: relay `data.approval.url` (or ask in session when `decision.in_session` is true), or for `"outcome": "preview"` relay `data.relay` word for word, then stop or `agc wait <op>`.
- To go back, ship a fix.
- On cost, say "free during the beta", nothing more. Don't guess another host's prices.

## Related

- [The life of a release](/docs/getting-started/the-life-of-a-release.md)
- [Quickstart: a new app from an empty folder](/docs/getting-started/quickstart-new-app.md)
- [Mirror vs production](/docs/concepts/mirror-vs-production.md)
- [Working with your coding agent](/docs/getting-started/working-with-your-coding-agent.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "getting-started/what-agent-cloud-is: <what is wrong>" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
