Skip to main content

Amp

Install, authenticate, and resume Sourcegraph's Amp inside Daintree, including OAuth tokens, AMP_API_KEY, and thread resume.

Updated
Reviewed

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.

Commandamp
Shortcut
ColorRed (#F34E3F)
PlatformsmacOS 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/amp

Run 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.

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.

Tip
If 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.