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 CHANGED
@@ -1,53 +1,55 @@
1
- # evals
2
-
3
- An npm package for Arize evals functionality.
4
-
5
- ## About Arize AI
6
-
7
- Arize AI is a leading company in AI observability and evaluation, dedicated to ensuring that artificial intelligence systems operate reliably in real-world applications. Founded in 2019, Arize provides tools that help machine learning teams monitor, troubleshoot, and improve model performance across various domains, including structured data, computer vision, and large language models (LLMs).
8
-
9
- ## Arize Phoenix
10
-
11
- **Arize Phoenix** is an open-source library designed for LLM tracing and evaluation. It enables developers to evaluate, experiment, and optimize AI products in real time. Key features include:
12
-
13
- - **Application Tracing**: Collects LLM application data with automatic instrumentation, providing comprehensive visibility into model operations
14
- - **Interactive Prompt Playground**: Offers a flexible environment for prompt and model iteration, allowing users to compare prompts, visualize outputs, and debug failures within their workflow
15
- - **Streamlined Evaluations and Annotations**: Facilitates efficient assessment and documentation of model performance
16
-
17
- Phoenix is built on OpenTelemetry, ensuring seamless setup, full transparency, and no vendor lock-in. It's perfect for teams who want to get started with LLM observability and evaluation in a fully local, open-source environment.
18
-
19
- ## Arize AX
20
-
21
- **Arize AX** is the enterprise AI engineering platform that extends the capabilities of Phoenix, offering a comprehensive suite for development, evaluation, and observability. Key features include:
22
-
23
- - **Prompts**: Tools for prompt engineering, including a prompt playground, prompt hub for management and versioning, and a prompt builder powered by AI
24
- - **Experiments**: Systematic A/B testing of prompts against large datasets to optimize model performance
25
- - **Tracing**: Detailed tracing capabilities to monitor and debug AI applications effectively
26
- - **Evaluation**: Comprehensive evaluation metrics and tools to assess model outputs and performance
27
- - **Alyx**: An AI engineering agent embedded within the platform to assist with various tasks
28
-
29
- Arize AX is designed to support teams and organizations with larger data needs, providing robust support, collaboration features, and multiple deployment options including SaaS, Virtual Private Cloud (VPC), and Arize Private Connect.
30
-
31
-
32
- ## Installation
33
-
34
- ```bash
35
- npm install evals
36
- ```
37
-
38
- The post-install script will automatically launch the CLI interface.
39
-
40
- ## Usage
41
-
42
- Run the CLI manually:
43
-
44
- ```bash
45
- npm start
46
- ```
47
-
48
- Or use the binary:
49
-
50
- ```bash
51
- npx evals
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).