Amp

A coding agent with a terminal CLI, a web app and native apps, whose threads run on your machine, on an Amp-hosted cloud machine, or on a runner you connect. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.

Updated November 23, 2026 · Checked against Amp 0.0.1790438457-ge61352 in EnvHaven v1.9.0

At a glance
Made byAmp
Commandamp
Version checked0.0.1790438457-ge61352, in EnvHaven v1.9.0
Documentationampcode.com/docs/cli

Use Amp in EnvHaven

  1. Open your workspace in any browser, on a laptop, a tablet or a phone.
  2. Tap Launch, choose Amp and tap Sign in: it runs amp login for you in the terminal. For an API key, choose Set key instead and paste AMP_API_KEY; the workspace keeps it write-only.
  3. Start it with one tap: signed in, Amp gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (0.0.1790438457-ge61352), so there is nothing to install or update.
  4. Give it a task. Runs unchanged; set the option if a confirmation stops an unattended run.
  5. Close the tab whenever you like. The workspace is an always-on Linux machine, so Amp keeps working, and every device you open it from shows the same session.

Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.

Install Amp on another machine

macOS, Linux, WSL:

curl -fsSL https://ampcode.com/install.sh | bash

Homebrew:

brew install ampcode/tap/ampcode

Sign in from the terminal

In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:

  • Run amp login; on a machine without a browser it prints a device URL to open on any device.
  • Or set AMP_API_KEY to an access token from Amp’s settings (it starts with sgamp_) for scripts and CI.
  • Amp has a free Hobby tier with pay-as-you-go credits and paid plans, and can also use a ChatGPT, Claude or GitHub Copilot subscription. Model requests go out from Amp’s servers, even with your own keys.

Run Amp without permission prompts

Turn off command confirmations (Amp settings):

{
  "amp.dangerouslyAllowAll": true
}

Current Amp runs its built-in tools and shell commands without asking, so there is little to switch off; the build in EnvHaven 1.9.0 documents amp.dangerouslyAllowAll to disable the command confirmations it still has. MCP servers defined in a repository still need explicit approval.

In EnvHaven: Runs unchanged; set the option if a confirmation stops an unattended run. The details, and when full access is safe, are on the Amp full-access page.

Instructions file

Amp reads AGENTS.md, ~/.config/amp/AGENTS.md. In a folder without AGENTS.md it falls back to AGENT.md or CLAUDE.md.

Add MCP servers

amp mcp add <name> -- <command> [args...]

Servers live under amp.mcpServers in ~/.config/amp/settings.json.

The MCP config converter writes the same server for every agent at once.

Run it from scripts

amp -x "<prompt>"

Headless runs cannot stop to ask, so they need the full-access setting above.

Amp away from your desk

Amp keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.

Amp’s own options:

  • Continue a running CLI thread from ampcode.com in a desktop or phone browser, or from the iPhone, iPad and Android apps.
  • Orbs: Amp-hosted machines per thread that keep working after you close the laptop.

When Amp misbehaves