Amp
Install, authenticate, and resume Sourcegraph's Amp inside Daintree, including the @ampcode/cli package, OAuth tokens, AMP_API_KEY, and thread resume.
Amp
Amp (ampcode.com) is an agentic coding tool, originally built at Sourcegraph. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | amp |
|---|---|
| Shortcut | None by default; assign one in Keyboard Shortcuts |
| Rendering | Amp's own; Daintree passes no screen-mode flag |
| Resume | None in practice; see Resuming Sessions |
| Quit command | None; Daintree sends Ctrl+C |
| Permission bypass | --dangerously-allow-all (per agent or preset only) |
| Platforms | macOS and Linux; provider-supported Windows use is through WSL |
Install & Authenticate
See Amp's current setup instructions for installation and sign-in.
curl -fsSL https://ampcode.com/install.sh | bash
# or
npm install -g @ampcode/clinpm install -g @ampcode/cli Amp's docs support Windows through WSL: run the curl installer inside your WSL distribution. Daintree's in-app install prompt offers the npm package for native Windows, but that route is not documented in Amp's current support guidance. A WSL-only installation is visible in Daintree's diagnostics and cannot launch directly from the Windows app.
curl -fsSL https://ampcode.com/install.sh | bash
# or
npm install -g @ampcode/cliAmp needs an ampcode.com account. Run amp login (or just amp) to sign in. On headless machines and in CI, set AMP_API_KEY; while it is set it takes precedence over saved accounts. Daintree shows Amp as ready when it finds ~/.amp/oauth or AMP_API_KEY; a login stored only in the keychain leaves the badge on No credentials detected while Amp still launches.
The installer drops the binary at ~/.amp/bin/amp with a symlink at ~/.local/bin/amp, and Daintree probes both paths because the symlink isn't always on PATH for a GUI-launched process. Daintree also finds an npm global install.
How Daintree Launches It
Daintree passes no screen-mode flag, and strips Amp's mouse-reporting requests so native text selection keeps working. Turning on permission bypass adds --dangerously-allow-all; the global Skip permission prompts switch doesn't reach Amp, because the agent doesn't declare bypass support.
Daintree hasn't calibrated patterns for Amp's working output yet, so working-state detection falls back to the broad patterns shared across agents; its startup banner and prompt are recognized directly.
Daintree MCP servers
When the MCP server is on (Settings > MCP server) and the project's Agent integrations setting is Core or Full, or the project has turned on a plugin's agent tools, each new Amp launch gets those servers through --mcp-config <file>. The file is written with owner-only permissions under Daintree's data folder and deleted when the terminal exits; nothing is written into your Amp settings or the repository.
Resuming Sessions
Amp resumes by thread rather than by session ID, and Amp prints no thread ID when it quits. Daintree's registry declares amp threads continue <id> as the resume command, but with no ID to fill in, a restored or restarted Amp panel launches fresh, and closing one writes no entry to the Resume Sessions list. To pick an earlier conversation back up, run amp threads continue <thread-id> yourself in the panel.
Amp has no slash-quit command, so Daintree sends Ctrl+C as the graceful exit signal on shutdown. The panel's scrollback is still serialized and replayed on restart. See Session Management for what persists.
Launch flags, custom presets and display titles are covered in Agent Presets. What the working, waiting and exited badges on a running agent mean is covered in Agent States.
amp isn't detected after install, confirm it's on your PATH (command -v amp on macOS/Linux, where.exe amp on Windows), then restart Daintree. Daintree also surfaces WSL installations in its availability diagnostics, so a Windows machine with Amp only inside WSL reports that rather than reporting nothing.Integration reference
This guide describes Daintree's checked-in integration. Its agent definition records the launch command, install guidance, authentication probes, rendering capabilities, MCP wiring, and resume support. Authentication badges report local evidence; the CLI still owns sign-in and provider access. After changing an installation, use Re-check in Settings > CLI agents; restart Daintree if its inherited PATH has changed.