Don't want to read all this? Give this link to your agent: https://astrodock.ai/llms.txt
ASTRODOCK Get Started

For Agents

Hosting your AI agent can use on its own.

A coding agent can write a working app in an afternoon. Then it needs a server, an address, a certificate, a database and sign-in, and it can't set any of those up by itself. Astrodock has them ready, with instructions and commands written for an agent to follow.

Why This Is Hard Today

Most hosting is built for people, not agents.

Docs Written for People

Most hosting docs are written for a person to read. An agent has to guess at the details, and often guesses wrong.

Results on a Web Page

Many platforms show whether a deploy worked on a web page. An agent can't see it, so it can't tell whether the deploy succeeded.

Keys That Can Do Everything

A key that lets an agent deploy usually lets it do everything else too, including managing your users.

1 · Instructions

Instructions written for agents.

Astrodock comes with AGENTS.md, a set of instructions for agents. The layout a deployable app must have, the rules its server must follow, the manifest schema, the full list of variables it will be handed, and the commands that drive a deploy.

Point Claude Code or Cursor at it, and it has everything it needs.

AGENTS.md
### Hard rules for the server
1. Bind ASTRODOCK_PORT
2. Namespace every route under /api
3. Add GET /health → 200
4. Read config from injected env.
   Never hardcode. Never commit secrets.

## 7. Definition of done
apply && deploy:watch ends in success,
the URL serves the app, and a granted
user can log in.
app.json
{
  "slug": "oncall",
  "subdomain": "oncall",
  "runtime":  { "type": "node" },
  "auth":     { "mode": "platform" },
  "database": { "mode": "internal" },
  "storage":  { "mode": "none" },
  "env": [
    { "key": "SLACK_WEBHOOK",
      "secret": true, "required": true }
  ]
}

2 · app.json

One file that says what the app needs.

The agent writes an app.json declaring what the app is and what it wants: a database, storage, sign-in, and the names of any secrets. Astrodock reads it and provisions accordingly.

It names the secrets the app needs but never holds their values, so the file is safe to commit, even to a public repository.

If the file has a mistake, Astrodock stops right away with an error that says what's wrong.

3 · Settings

Everything the app needs, given to it.

At deploy the app receives a documented set of variables. The agent doesn't have to invent connection strings or work out its own URL. It reads them.

Where It Is

ASTRODOCK_APP_URL and the port to bind. The app can build its own callback URLs without being told what domain it lives on.

What It Can Use

A database connection string and storage credentials, present only if the manifest asked for them.

How to Authenticate People

The address to send a browser to, the internal address for exchanging the code, and the app's own identifiers.

4 · Deploy Results

A deploy that ends in pass or fail.

Many platforms answer a deploy with "queued", which leaves an agent unsure what happened. deploy:watch streams the build and exits on success or failure, so the agent knows, and can fix and retry without a person in the loop.

a deploy session
$ astrodock apply
  Created "oncall" · internal database ready · Caddy reconfigured

$ astrodock deploy:watch
  Deploy blocked — set these first:
    - SLACK_WEBHOOK (required app variable has no value)

$ astrodock set-secret SLACK_WEBHOOK
  Set SLACK_WEBHOOK for "oncall".

$ astrodock deploy:watch
  Installing… building… publishing…
  ✓ deploy success

Failures Are Specific

"Deploy blocked — SLACK_WEBHOOK has no value" is something an agent can act on. "Something went wrong" is not.

Logs Are Readable After the Fact

Every build is kept with its full output, so an agent (or you) can diagnose a failure that happened while nobody was looking.

5 · Keys

Keys limited to one app.

An agent gets its own key, for one app unless you choose more. It can deploy that app, set its secrets and read its logs. It cannot mint more keys, delete apps or change settings.

Anything that reaches past its app waits for you: creating another app, adding a custom domain, or giving someone who already has an account access to an app. The CLI prints a link, and you approve it with your passkey or an authenticator code. A password doesn't count, so an agent driving your browser can't click it through.

That boundary is enforced by the platform, not by the agent's good behavior. If something goes wrong while it works unattended, it can only affect the app it was given.

The Full Agent Guide →

Getting Started

What to tell your agent.

Point your agent at the docs and describe what you want. It runs npx @astrodock/cli login, which opens the Astrodock Cloud sign-up page. You pick a plan and approve its key, and it deploys.

Running your own? The agent runs astrodock login --url with your dashboard's address, and you approve it the same way.

to your agent
Read AGENTS.md at docs.astrodock.ai.
Build a tool that tracks who's on call,
with sign-in, and host it on Astrodock.

Point your agent at it.