@sourcegraph/amp

0.0.1747556843-ga48ec8 • Public • Published

Amp CLI

Amp is an agentic coding tool, in research preview from Sourcegraph. This is the CLI for Amp. You can also use Amp in VS Code.

Usage

npm install -g @sourcegraph/amp
# or
yarn global add @sourcegraph/amp
# or
pnpm add -g @sourcegraph/amp

Then run:

amp

See Amp Owner's Manual for more information about Amp.

Authentication

The first time you run amp, you'll authenticate via ampcode.com. Your threads will be synced and shareable, and you don't need to provide your own API keys for LLM inference.

If you can't sign in with the web-based flow, you may also use an Amp API key as an environment variable:

  1. Go to ampcode.com/settings to get your Amp API key.
  2. Set it as an environment variable:
export AMP_API_KEY=your_amp_api_key_here

Configuration

Settings are read from ~/.config/amp/settings.json (or $XDG_CONFIG_HOME/amp/settings.json if defined). This is a JSON file that uses the same properties as in the Amp VS Code extension. See the Amp Owner's Manual for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @sourcegraph/amp

Homepage

ampcode.com/

Weekly Downloads

3,781

Version

0.0.1747556843-ga48ec8

License

none

Unpacked Size

11.4 MB

Total Files

36

Last publish

Collaborators

  • sourcegraph-bot
  • sqs
  • beyang
  • slimsag
  • andreeleuterio
  • techopsadmin