For AI agents

Let your coding agent ship it

Paste one prompt into Claude Code, Cursor or Codex. It sets up Slasha on your server, deploys your app and fixes failed builds, all with the slasha CLI.

Where are you starting?

1Step 1 of 3Get a server and a domain
  1. 1

    Rent a small Linux server (Ubuntu, 2 GB RAM) from Hetzner, DigitalOcean or similar. Add your SSH key when you create it.

  2. 2

    Get a domain where you can add DNS records.

  3. 3

    Enter the server’s IP and the domain you want Slasha on.

2Step 2 of 3Let your agent install Slasha

Set up Slasha on my server. SSH in with `ssh root@203.0.113.10` and run `curl -fsSL https://slasha.com/setup.sh | SLASHA_DOMAIN=ship.acme.dev bash`. It runs without prompts and takes a few minutes. When it finishes, check that `systemctl is-active slasha` says active. Then tell me the two DNS records to add (an A record for ship.acme.dev and one for *.ship.acme.dev, both pointing at 203.0.113.10) and install the slasha CLI on this machine with `curl -fsSL https://slasha.com/install.sh | bash`.

3Step 3 of 3Point your domain and log in
  1. 1

    Add the two DNS records the agent gives you: ship.acme.dev and *.ship.acme.dev, both pointing at your server.

  2. 2

    Create your admin account. The agent never sees your password.

    $slasha auth login --server-url https://ship.acme.dev
  3. 3

    Go to

Works with Claude Code, Cursor, Codex, Windsurf, Aider and Zed. Plain-text docs for agents: /llms.txt

Every session

Teach the repo how to deploy

Paste this into AGENTS.md, CLAUDE.md or your Cursor rules. Every future session then knows how to deploy, read logs and fix a failed build, without you explaining it again.

  • Commit .slasha/config.toml so the agent targets the right app
  • Say which commands need your approval
Full agent setup guide
AGENTS.md
## Deploying (Slasha)

This app runs on Slasha. Use the `slasha` CLI.
The repo is linked to the app in .slasha/config.toml.
Docs: https://slasha.com/llms.txt

Deploy:
1. Commit and run `git push slasha main`.
2. `timeout 600 slasha deploy -f` streams the build and exits
   non-zero if the deploy fails.
3. If it fails, read `slasha logs -n 200`, fix, commit, repeat.
   A failed deploy never replaces the running version.

Never run delete or restore commands unless I ask.
Never print secrets from `slasha env list`.

Guardrails

Mistakes don't reach your users

Agents get things wrong. Slasha is built so a wrong move costs you a retry, not an outage.

  • New versions only take traffic after passing a health check
  • A failed deploy leaves the running version untouched
  • Roll back to any of the last 10 builds without rebuilding
  • Give the agent its own user with only the permissions it needs
  • Deletes and restores ask for confirmation
  • Get a Slack or email alert when a deploy fails
Members and permissions
Member permissions · agent@acme.dev

Questions about agents

Have another question? Ask on GitHub.

What does the agent need access to?
To install Slasha, SSH access to your server. To deploy, only the slasha CLI, logged in as a Slasha user. You add DNS records and create the admin account yourself, so the agent never sees your password.
Can the agent break production?
A bad build can’t take traffic: new versions must pass a health check first, and a failed deploy leaves the current version running. Deletes and restores ask for confirmation, and you can give the agent a user with only the permissions you choose.
How does the agent log in?
Log the CLI in once yourself on the machine the agent uses, or set the SLASHA_TOKEN environment variable in CI and cloud sandboxes. Tokens last 30 days. See Config & auth.
Which agents work?
Anything that can run terminal commands: Claude Code, Cursor, Codex, Windsurf, Aider, Zed and your own scripts.

Hand your next deploy to your agent

Free and open source. Your first app can be live in ten minutes.

$curl -fsSL https://slasha.com/setup.sh | bash