Amp
Install, authenticate, and resume Sourcegraph's Amp inside Daintree, including OAuth tokens, AMP_API_KEY, and thread resume.
Amp
Amp is Sourcegraph's agentic coding tool. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | amp |
|---|---|
| Shortcut | — |
| Color | Red (#F34E3F) |
| Platforms | macOS and Linux native; on Windows use the npm package or WSL (no native Windows binary) |
Install & Authenticate
curl -fsSL https://ampcode.com/install.sh | bash
# or
npm install -g @sourcegraph/ampnpm install -g @sourcegraph/amp No native Windows binary is published. Use the npm package on Windows, or run the curl installer inside WSL.
curl -fsSL https://ampcode.com/install.sh | bash
# or
npm install -g @sourcegraph/ampRun amp login to authenticate. The CLI writes OAuth tokens to ~/.amp/oauth/. On headless machines and in CI, set AMP_API_KEY instead. The installer drops the binary at ~/.amp/bin/amp with a symlink to ~/.local/bin/amp, and Daintree probes both paths.
/quit command. Exit a session with Ctrl+C.Resuming Sessions
Daintree resumes Amp with amp threads continue <id>, a named-target resume against the thread ID. Amp has no /quit command, so exit a session with Ctrl+C. For the resume mechanics across all agents, see Session Resume.
amp isn't detected after install, confirm it's on your PATH (which amp on macOS/Linux, where amp on Windows), then restart Daintree. See Agent Availability for the five detection states, and Presets for launch configuration.