@sourcegraph/amp
v0.0.1766332871-gf7f645
Published
CLI for Amp, the frontier coding agent.
Keywords
Readme
Amp CLI
Amp is the frontier coding agent for your terminal and editor.
- Multi-Model: Claude Opus 4.5, GPT-5.1, fast models—Amp uses them all, for what each model is best at.
- Opinionated: You're always using the good parts of Amp. If we don't use and love a feature, we kill it.
- On the Frontier: Amp goes where the models take it. No backcompat, no legacy features.
- Threads: You can save and share your interactions with Amp. You wouldn't code without version control, would you?
Amp's agent has 2 modes:
smart: unconstrained state-of-the-art model use (Claude Opus 4.5, GPT-5.1, and more)rush: fast and efficient models for narrowly defined tasks (Claude Haiku 4.5)free: free of charge, using fast basic models
Get Started
- Sign into ampcode.com/install and follow the instructions to install the Amp CLI.
- Run
ampand ask Amp to do something in your codebase.
See the Amp Owner's Manual and Switch to Amp for more information, and see ampcode.com/news for what we've recently shipped.
Recommended Installation
We recommend using our install script for macOS, Linux and WSL. It supports auto-updating and fast launch via Bun:
curl -fsSL https://ampcode.com/install.sh | bashAlternative Installation (npm)
If necessary, you can install via npm instead:
npm install -g @sourcegraph/amp@latest
# or
yarn global add @sourcegraph/amp@latestOr run without installing:
npx -y @sourcegraph/amp@latestUsage
After installation, run amp.
For non-interactive environments (e.g. scripts, CI/CD pipelines), set your API key in the AMP_API_KEY environment variable.
See amp --help and the Amp CLI documentation for more information.
Support
For help and feedback: mention @AmpCode on X, or email [email protected]. You can also join our community Build Crew.
For account and billing help, contact [email protected].
Development
Binary Distribution (Experimental)
Pre-compiled binaries for platforms without Node.js/Bun. Version must match npm for update checks.
# Build all platforms
LATEST_VERSION=$(npm view @sourcegraph/amp version)
AMP_BUILD_VERSION="$LATEST_VERSION" ./scripts/build-all-binaries.sh
# Test
./scripts/test-binary-release.shSee scripts: build-all-binaries.sh, upload-binaries.sh, test-binary-release.sh
