# 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 by | Amp |
| Command | `amp` |
| Version checked | 0.0.1790438457-ge61352, in EnvHaven v1.9.0 |
| Documentation | [ampcode.com/docs/cli](https://ampcode.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:

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

Homebrew:

```bash
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):

```json
{
  "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](https://envhaven.com/yolo/amp).

## 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

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

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

The [MCP config converter](https://envhaven.com/mcp-config) writes the same server for every agent at once.

## Run it from scripts

```bash
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 in the browser](https://envhaven.com/agents/amp/browser)
- [Amp on iPhone](https://envhaven.com/agents/amp/iphone)
- [Amp on iPad](https://envhaven.com/agents/amp/ipad)
- [Amp on Android](https://envhaven.com/agents/amp/android)
- [Amp on a Chromebook](https://envhaven.com/agents/amp/chromebook)
- [Amp on Windows](https://envhaven.com/agents/amp/windows)
- [Amp on a VPS](https://envhaven.com/agents/amp/vps)
- [Amp in Docker](https://envhaven.com/agents/amp/docker)
- [Amp on a Raspberry Pi](https://envhaven.com/agents/amp/raspberry-pi)
- [Amp 24/7](https://envhaven.com/agents/amp/24-7)

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

- [Amp: No API key found. Starting login flow...](https://envhaven.com/errors/amp/no-api-key-found)
- [Is Amp down?](https://envhaven.com/status/amp) Live status of the providers it depends on.

## Keep reading

- [Amp full-access mode](https://envhaven.com/yolo/amp)
- [Amp in the browser](https://envhaven.com/agents/amp/browser)
- [Amp on iPhone](https://envhaven.com/agents/amp/iphone)
- [Amp on iPad](https://envhaven.com/agents/amp/ipad)

Source: https://envhaven.com/agents/amp
