amp template supports AMP_API_KEY.
Run Amp
Create a machine from theamp template, run Amp headlessly, and clean up. The
SDK and CLI paths are equivalent — use the one that matches your workflow.
Interactive terminal
Open a PTY instead of a headless run to drive Amp interactively:session_id from machine pty create with --session-id.
Work on a cloned repository
Streaming JSON
Thread continuation
Amp manages threads through its CLI. Keep the machine alive when you want to continue a thread with follow-up tasks, then inspect the resulting diff throughmachine.git.diff().