@sourcegraph/amp 0.0.1761451289-g59a6f7 → 0.0.1761465679-g52ec3c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -34
- package/dist/main.js +9 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Amp CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Amp is a frontier coding agent for your terminal and editor, built by Sourcegraph.
|
|
4
|
+
|
|
5
|
+
- **Multi-Model:** Sonnet, GPT-5, fast models—Amp uses them all, for what each model is best at.
|
|
6
|
+
- **Opinionated:** You're always using the good parts of Amp. If we don't use and love a feature, we kill it.
|
|
7
|
+
- **On the Frontier:** Amp goes where the models take it. No backcompat, no legacy features.
|
|
8
|
+
- **Threads:** You can save and share your interactions with Amp. You wouldn't code without version control, would you?
|
|
9
|
+
|
|
10
|
+
Amp's agent has 2 modes:
|
|
11
|
+
|
|
12
|
+
- `smart`: unconstrained state-of-the-art model use (Claude Sonnet 4.5, GPT-5, and more)
|
|
13
|
+
- `free`: [free of charge](https://ampcode.com/free), using fast basic models
|
|
14
|
+
|
|
15
|
+
<br/>
|
|
16
|
+
|
|
17
|
+
<img src="https://static.ampcode.com/content/amp-cli-20251026-1.gif" width="800" height="463" alt="Amp CLI">
|
|
18
|
+
|
|
19
|
+
## Get Started
|
|
20
|
+
|
|
21
|
+
1. Sign into [ampcode.com/install](https://ampcode.com/install) and follow the instructions to install the Amp CLI.
|
|
22
|
+
2. Run `amp` and ask Amp to do something in your codebase.
|
|
23
|
+
|
|
24
|
+
See the [Amp Owner's Manual](https://ampcode.com/manual) and [Switch to Amp](https://ampcode.com/manual/switch-from) for more information, and see [ampcode.com/news](https://ampcode.com/news) for what we've recently shipped.
|
|
4
25
|
|
|
5
26
|
## Installation
|
|
6
27
|
|
|
@@ -22,41 +43,14 @@ npx @sourcegraph/amp
|
|
|
22
43
|
|
|
23
44
|
## Usage
|
|
24
45
|
|
|
25
|
-
After installation, run
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
amp
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
See [**Amp Owner's Manual**](https://ampcode.com/manual) for more information about Amp.
|
|
46
|
+
After installation, run `amp`.
|
|
32
47
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
**Option 1: Interactive Login (Recommended)**
|
|
36
|
-
|
|
37
|
-
The first time you run `amp`, use the login command to authenticate via [ampcode.com](https://ampcode.com):
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
amp login
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
This opens your browser to complete authentication. Your threads will be synced and shareable across all clients.
|
|
44
|
-
|
|
45
|
-
**Option 2: API Key Environment Variable**
|
|
46
|
-
|
|
47
|
-
If you can't use the interactive flow, set your API key as an environment variable:
|
|
48
|
-
|
|
49
|
-
1. Go to [ampcode.com/settings](https://ampcode.com/settings) to get your API key
|
|
50
|
-
2. Set it in your environment:
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
export AMP_API_KEY=your-api-key-here
|
|
54
|
-
```
|
|
48
|
+
For non-interactive environments (e.g. scripts, CI/CD pipelines), set your API key in the `AMP_API_KEY` environment variable.
|
|
55
49
|
|
|
56
|
-
|
|
50
|
+
See `amp --help` and the [Amp CLI documentation](https://ampcode.com/manual#cli) for more information.
|
|
57
51
|
|
|
58
|
-
|
|
52
|
+
## Support
|
|
59
53
|
|
|
60
|
-
|
|
54
|
+
For help and feedback: mention [@AmpCode](https://x.com/AmpCode) on X, or email [amp-devs@sourcegraph.com](mailto:amp-devs@sourcegraph.com). You can also join our community [Build Crew](https://buildcrew.team).
|
|
61
55
|
|
|
62
|
-
For
|
|
56
|
+
For account and billing help, contact [support@sourcegraph.com](mailto:support@sourcegraph.com).
|