evals 2.2.8 → 2.3.0
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 +55 -53
- package/cli.js +379 -246
- package/onboarding-prompt.md +355 -0
- package/package.json +35 -27
- package/start.ps1 +128 -0
- package/start.sh +186 -0
- package/spawn-interactive.js +0 -51
package/README.md
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
|
-
# evals
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
# evals
|
|
2
|
+
|
|
3
|
+
Go from zero to your first [Arize AX](https://arize.com/docs/ax) traces in one command. `evals` launches your coding agent, seeded with a guided onboarding prompt that walks you through signing up, instrumenting your app, and confirming traces land.
|
|
4
|
+
|
|
5
|
+
## Quick start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx evals
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
You'll see a picker of the coding agents installed on your machine (Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI). Pick one and it launches in your current directory, seeded with the onboarding prompt — so run `npx evals` from the project you want to instrument.
|
|
12
|
+
|
|
13
|
+
No coding agent installed? The picker shows install links instead.
|
|
14
|
+
|
|
15
|
+
### Without Node
|
|
16
|
+
|
|
17
|
+
If you don't have Node, use the shell launchers (they detect an agent and fetch the prompt from this published package via jsDelivr):
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# macOS / Linux
|
|
21
|
+
bash <(curl -fsSL https://cdn.jsdelivr.net/npm/evals/start.sh)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
# Windows (PowerShell)
|
|
26
|
+
irm https://cdn.jsdelivr.net/npm/evals/start.ps1 | iex
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
When Node **is** present, these hand off to `npx evals` for the richer UI.
|
|
30
|
+
|
|
31
|
+
## What it does
|
|
32
|
+
|
|
33
|
+
1. Detects an installed coding agent (never executes it — just a PATH lookup).
|
|
34
|
+
2. Launches the agent in your current directory, seeded with the bundled onboarding prompt ([`onboarding-prompt.md`](./onboarding-prompt.md)).
|
|
35
|
+
3. The agent walks you through: create/sign in to Arize AX → detect your stack → instrument it → verify your first traces.
|
|
36
|
+
|
|
37
|
+
The agent runs with its **normal permission model** — `evals` never passes skip-permissions, so you approve each step, and the prompt itself gates real changes on your confirmation.
|
|
38
|
+
|
|
39
|
+
## Options
|
|
40
|
+
|
|
41
|
+
| Variable | Applies to | Effect |
|
|
42
|
+
|----------|-----------|--------|
|
|
43
|
+
| `ARIZE_AGENT=<id>` | `start.sh` / `start.ps1` | Skip the picker and use this agent (`claude`, `codex`, `cursor-agent`, `copilot`, `gemini`). |
|
|
44
|
+
| `ARIZE_SKIP_NPX=1` | `start.sh` / `start.ps1` | Force the shell path even when Node/npx is available. |
|
|
45
|
+
| `ARIZE_PROMPT_URL=<url>` | `start.sh` / `start.ps1` | Fetch the onboarding prompt from a custom URL (supports `file://`). |
|
|
46
|
+
|
|
47
|
+
The shell launchers also accept `--agent <id>`.
|
|
48
|
+
|
|
49
|
+
## About Arize
|
|
50
|
+
|
|
51
|
+
[Arize AX](https://arize.com/docs/ax) is the AI engineering platform for tracing, evaluating, and observing LLM and agent applications. Learn more at [arize.com](https://arize.com).
|
|
52
|
+
|
|
53
|
+
## Contributing
|
|
54
|
+
|
|
55
|
+
Development setup and the release process live in [CONTRIBUTING.md](https://github.com/Arize-ai/npm-evals/blob/main/CONTRIBUTING.md).
|