evalrouter 0.4.2__tar.gz → 0.4.4a1__tar.gz
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.
- evalrouter-0.4.4a1/PKG-INFO +247 -0
- evalrouter-0.4.4a1/README.md +214 -0
- evalrouter-0.4.4a1/pyproject.toml +59 -0
- evalrouter-0.4.4a1/src/evalrouter_reports/__init__.py +1 -0
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_brand.py → evalrouter-0.4.4a1/src/evalrouter_reports/brand.py +2 -2
- evalrouter-0.4.4a1/src/evalrouter_reports/data/__init__.py +1 -0
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_chart_data.py → evalrouter-0.4.4a1/src/evalrouter_reports/data/chart_data.py +6 -6
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_document.py → evalrouter-0.4.4a1/src/evalrouter_reports/data/document.py +3 -42
- evalrouter-0.4.4a1/src/evalrouter_reports/data/metrics.py +66 -0
- evalrouter-0.4.4a1/src/evalrouter_reports/data/native.py +104 -0
- evalrouter-0.4.4a1/src/evalrouter_reports/data/pareto.py +336 -0
- evalrouter-0.4.4a1/src/evalrouter_reports/html/__init__.py +1 -0
- evalrouter-0.4.2/src/kimpton_evalrouter/_chart_select.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/chart_select.py +7 -5
- evalrouter-0.4.2/src/kimpton_evalrouter/_chart_specs.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/chart_specs.py +101 -26
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_charts.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/charts.py +141 -23
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_document_html.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/document.py +1 -1
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_pareto.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/pareto.py +4 -325
- evalrouter-0.4.2/src/kimpton_evalrouter/_report_theme.py → evalrouter-0.4.4a1/src/evalrouter_reports/html/theme.py +5 -64
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_account.py +2 -1
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_artifacts.py +3 -3
- evalrouter-0.4.4a1/src/kimpton_evalrouter/_client_run_cli.py +456 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_comparison.py +116 -74
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_comparison_html.py +14 -65
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_environment_publishing.py +61 -23
- evalrouter-0.4.4a1/src/kimpton_evalrouter/_evaluation_jobs_cli.py +325 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_failure_guidance.py +18 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_group_review.py +12 -3
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_group_summary_prefetch.py +0 -9
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_groups.py +81 -22
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_guided.py +354 -477
- evalrouter-0.4.4a1/src/kimpton_evalrouter/_install_repair.py +142 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_listing.py +8 -113
- evalrouter-0.4.4a1/src/kimpton_evalrouter/_result_groups.py +220 -0
- evalrouter-0.4.4a1/src/kimpton_evalrouter/_task_recommendation_cli.py +176 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tui_port.py +6 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tui_session.py +2 -2
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_update_notice.py +2 -2
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_workload_cli.py +24 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/cli.py +549 -266
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/screens.py +16 -6
- evalrouter-0.4.2/PKG-INFO +0 -465
- evalrouter-0.4.2/README.md +0 -426
- evalrouter-0.4.2/pyproject.toml +0 -57
- evalrouter-0.4.2/src/evalrouter/__init__.py +0 -26
- evalrouter-0.4.2/src/evalrouter/agents.py +0 -63
- evalrouter-0.4.2/src/evalrouter/langsmith.py +0 -18
- evalrouter-0.4.2/src/evalrouter/py.typed +0 -0
- evalrouter-0.4.2/src/evalrouter/tracing.py +0 -5
- evalrouter-0.4.2/src/evalrouter/types.py +0 -9
- evalrouter-0.4.2/src/evalrouter_contracts/__init__.py +0 -11
- evalrouter-0.4.2/src/evalrouter_contracts/bundle.py +0 -46
- evalrouter-0.4.2/src/evalrouter_contracts/components.py +0 -181
- evalrouter-0.4.2/src/evalrouter_contracts/models.py +0 -288
- evalrouter-0.4.2/src/evalrouter_contracts/protocol.py +0 -221
- evalrouter-0.4.2/src/evalrouter_contracts/py.typed +0 -0
- evalrouter-0.4.2/src/evalrouter_contracts/templates.py +0 -136
- evalrouter-0.4.2/src/evalrouter_contracts/validation.py +0 -329
- evalrouter-0.4.2/src/kimpton_evalrouter/__init__.py +0 -244
- evalrouter-0.4.2/src/kimpton_evalrouter/_acp_agents.py +0 -702
- evalrouter-0.4.2/src/kimpton_evalrouter/_acp_controller.py +0 -706
- evalrouter-0.4.2/src/kimpton_evalrouter/_acp_launch.py +0 -230
- evalrouter-0.4.2/src/kimpton_evalrouter/_acp_registry/LICENSE +0 -176
- evalrouter-0.4.2/src/kimpton_evalrouter/_acp_registry/registry-2026-10-06.json +0 -1547
- evalrouter-0.4.2/src/kimpton_evalrouter/_boundary.py +0 -274
- evalrouter-0.4.2/src/kimpton_evalrouter/_client_run.py +0 -1307
- evalrouter-0.4.2/src/kimpton_evalrouter/_evaluation_jobs_cli.py +0 -181
- evalrouter-0.4.2/src/kimpton_evalrouter/_forecasts.py +0 -100
- evalrouter-0.4.2/src/kimpton_evalrouter/_helpers.py +0 -101
- evalrouter-0.4.2/src/kimpton_evalrouter/_in_code.py +0 -434
- evalrouter-0.4.2/src/kimpton_evalrouter/_progress.py +0 -191
- evalrouter-0.4.2/src/kimpton_evalrouter/_repository_checkout.py +0 -331
- evalrouter-0.4.2/src/kimpton_evalrouter/_resources.py +0 -2467
- evalrouter-0.4.2/src/kimpton_evalrouter/_result_groups.py +0 -42
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_adapters/__init__.py +0 -90
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_adapters/a1_prompt_answer.py +0 -44
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_adapters/a2_environment.py +0 -62
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_adapters/a3_file_task.py +0 -237
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_adapters/a4_repository.py +0 -115
- evalrouter-0.4.2/src/kimpton_evalrouter/_task_mcp.py +0 -290
- evalrouter-0.4.2/src/kimpton_evalrouter/_transport.py +0 -527
- evalrouter-0.4.2/src/kimpton_evalrouter/_web_routes.py +0 -69
- evalrouter-0.4.2/src/kimpton_evalrouter/agents.py +0 -633
- evalrouter-0.4.2/src/kimpton_evalrouter/langsmith.py +0 -1214
- evalrouter-0.4.2/src/kimpton_evalrouter/py.typed +0 -0
- evalrouter-0.4.2/src/kimpton_evalrouter/tracing.py +0 -836
- evalrouter-0.4.2/src/kimpton_evalrouter/types.py +0 -4988
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/LICENSE +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/evalrouter/__main__.py +0 -0
- /evalrouter-0.4.2/src/kimpton_evalrouter/_chart_format.py → /evalrouter-0.4.4a1/src/evalrouter_reports/html/chart_format.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/__main__.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_chain_prefetch.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_comparison_checkpoint.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_group_results.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_history_labels.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_read_cache.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_reasoning_controls.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_release_cli.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tui.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tui_table.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tui_views.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/_tune.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/__init__.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/_console.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/_theme.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/_widgets.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/live.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/picker.py +0 -0
- {evalrouter-0.4.2 → evalrouter-0.4.4a1}/src/kimpton_evalrouter/render/tables.py +0 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: evalrouter
|
|
3
|
+
Version: 0.4.4a1
|
|
4
|
+
Summary: The EvalRouter command line and interactive terminal workspace
|
|
5
|
+
Project-URL: Homepage, https://evalrouter.ai
|
|
6
|
+
Project-URL: Documentation, https://evalrouter.ai/developers/docs/cli
|
|
7
|
+
License-Expression: LicenseRef-Kimpton-EvalRouter-SDK
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Keywords: benchmarks,cli,evalrouter,llm,model-evaluation
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Requires-Python: <3.14,>=3.12
|
|
17
|
+
Requires-Dist: evalrouter-sdk==0.4.4a1
|
|
18
|
+
Requires-Dist: rich==15.0.0
|
|
19
|
+
Requires-Dist: textual==8.2.8
|
|
20
|
+
Provides-Extra: agents
|
|
21
|
+
Requires-Dist: evalrouter-sdk[agents]==0.4.4a1; extra == 'agents'
|
|
22
|
+
Provides-Extra: benchmark
|
|
23
|
+
Requires-Dist: evalrouter-sdk[benchmark]==0.4.4a1; extra == 'benchmark'
|
|
24
|
+
Provides-Extra: keyring
|
|
25
|
+
Requires-Dist: keyring==25.7.0; extra == 'keyring'
|
|
26
|
+
Provides-Extra: langsmith
|
|
27
|
+
Requires-Dist: evalrouter-sdk[langsmith]==0.4.4a1; extra == 'langsmith'
|
|
28
|
+
Provides-Extra: strands
|
|
29
|
+
Requires-Dist: evalrouter-sdk[strands]==0.4.4a1; extra == 'strands'
|
|
30
|
+
Provides-Extra: tracing
|
|
31
|
+
Requires-Dist: evalrouter-sdk[tracing]==0.4.4a1; extra == 'tracing'
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# EvalRouter CLI
|
|
35
|
+
|
|
36
|
+
Evaluate models in a full-screen terminal workspace or from scripts. Browse
|
|
37
|
+
benchmarks, choose models, start work using available wallet credit, follow runs,
|
|
38
|
+
compare or export their results, and author your own benchmarks. The CLI is
|
|
39
|
+
built on the [`evalrouter-sdk`](https://pypi.org/project/evalrouter-sdk/) Python SDK, which
|
|
40
|
+
it installs at exactly the same version.
|
|
41
|
+
|
|
42
|
+
Requires Python 3.12 or 3.13. Distributed under the proprietary Kimpton EvalRouter
|
|
43
|
+
SDK License, included as `LICENSE` in the package.
|
|
44
|
+
|
|
45
|
+
## Install and create your account
|
|
46
|
+
|
|
47
|
+
We recommend [uv](https://docs.astral.sh/uv/getting-started/installation/) to install the CLI in its own Python environment:
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
uv tool install --prerelease allow evalrouter
|
|
51
|
+
evalrouter
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
For this alpha, use `python -m pip install --pre evalrouter` in a Python 3.12 or 3.13 environment.
|
|
55
|
+
uv selects a compatible Python for the CLI and downloads one if needed. If
|
|
56
|
+
your shell cannot find `evalrouter`, run `uv tool update-shell` and restart your
|
|
57
|
+
terminal. Upgrade an existing installation with `evalrouter upgrade` (or
|
|
58
|
+
`evalrouter --upgrade`). Alpha, beta and rc installations include prereleases
|
|
59
|
+
automatically; stable installations stay on stable unless you pass `--pre`.
|
|
60
|
+
The command uses uv, pipx or pip in the current virtual environment. Source
|
|
61
|
+
installs, system Python and installer-pinned versions need their original installer.
|
|
62
|
+
Check the installed version with `evalrouter --version`. Use `evalrouter --help`
|
|
63
|
+
for explicit commands, or see the [CLI guide](https://evalrouter.ai/developers/docs/cli).
|
|
64
|
+
|
|
65
|
+
The interactive workspace checks for newer releases in the background and shows
|
|
66
|
+
an update notice when one is available. The check never installs an update or
|
|
67
|
+
delays opening the workspace. Set `EVALROUTER_NO_UPDATE_CHECK=1` to disable it.
|
|
68
|
+
Scripts, editable installs and explicitly pinned installations skip update checks.
|
|
69
|
+
|
|
70
|
+
### Complete command names with Tab
|
|
71
|
+
|
|
72
|
+
For zsh, add this line to `~/.zshrc` after your `compinit` setup, then start a new
|
|
73
|
+
terminal:
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
eval "$(evalrouter completion zsh)"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
For bash, add this line to `~/.bashrc`:
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
eval "$(evalrouter completion bash)"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Type `evalrouter ru` and press Tab to complete `run`. With `evalrouter r`, Tab
|
|
86
|
+
shows matching commands such as `run`, `resume` and `results`. The shell setup
|
|
87
|
+
only completes top-level command names and makes no API request. It does not
|
|
88
|
+
change interactive prompts or run an evaluation.
|
|
89
|
+
|
|
90
|
+
This package was previously published as `kimpton-evalrouter-sdk`. The command
|
|
91
|
+
stays `evalrouter`. Use `from evalrouter import Client` for new integrations;
|
|
92
|
+
legacy `kimpton_evalrouter` imports remain compatible and refer to the same
|
|
93
|
+
public classes. To switch, run
|
|
94
|
+
`uv tool uninstall kimpton-evalrouter-sdk` (or
|
|
95
|
+
`pip uninstall -y kimpton-evalrouter-sdk evalrouter`) and install `evalrouter`.
|
|
96
|
+
|
|
97
|
+
The package supplies the `evalrouter` command; no repository checkout is needed.
|
|
98
|
+
[Create an EvalRouter account](https://evalrouter.ai/register), verify your email,
|
|
99
|
+
and follow the browser sign-in below.
|
|
100
|
+
Package installation does not grant account access or evaluation credit.
|
|
101
|
+
|
|
102
|
+
Sign in with your account:
|
|
103
|
+
|
|
104
|
+
```sh
|
|
105
|
+
evalrouter login
|
|
106
|
+
evalrouter whoami
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Follow the browser sign-in; on a local computer the browser returns to the
|
|
110
|
+
waiting CLI. For a remote terminal, use `evalrouter login --no-browser` and
|
|
111
|
+
approve the code on a device with a browser. New accounts finish setup there.
|
|
112
|
+
The CLI selects your only workspace automatically, or lets you choose one.
|
|
113
|
+
Production is the default API; `evalrouter options` lists `--base-url` and the other
|
|
114
|
+
settings that apply to every command.
|
|
115
|
+
No API key or credential-storage setup is needed for a normal sign-in.
|
|
116
|
+
The optional `evalrouter[keyring]` extra enables a compatible OS keychain
|
|
117
|
+
backend; otherwise credentials use a private file readable only by your user.
|
|
118
|
+
In the workspace, **Account and workspace → Sign in** starts the same flow.
|
|
119
|
+
See the [sign-in guide](https://evalrouter.ai/developers/docs/cli-login) for
|
|
120
|
+
workspace switching, stored API keys and signing out.
|
|
121
|
+
|
|
122
|
+
CI and services can use `EVALROUTER_API_KEY` and `EVALROUTER_WORKSPACE_ID` supplied
|
|
123
|
+
privately by a secret manager. Never put credentials in arguments, URLs, request
|
|
124
|
+
files or logs.
|
|
125
|
+
|
|
126
|
+
## Interactive workspace
|
|
127
|
+
|
|
128
|
+
Run `evalrouter` without arguments in a terminal to open the full-screen
|
|
129
|
+
workspace. Choose **Account and workspace → Sign in** to connect your account.
|
|
130
|
+
Local sign-in returns from the browser to the waiting CLI; for a remote terminal,
|
|
131
|
+
use `evalrouter login --no-browser` and approve the code on a device with a browser.
|
|
132
|
+
|
|
133
|
+
**Run a benchmark** guides you through the benchmark, your selected compatible models, each
|
|
134
|
+
model's reasoning settings and coverage. Type to filter lists; Space or Enter
|
|
135
|
+
toggles a model and Tab continues. A supported native one-model evaluation
|
|
136
|
+
starts directly using available wallet credit. With several models or benchmarks,
|
|
137
|
+
the CLI previews each pair and starts one evaluation job for the compatible
|
|
138
|
+
pairs. Matched mode requires every pair to be compatible and runs the same
|
|
139
|
+
sampled tasks across models. No customer spending cap is set on new work.
|
|
140
|
+
|
|
141
|
+
Choose a suggested sample, **Custom sample size**, or **Full benchmark** for
|
|
142
|
+
coverage. A custom sample accepts 1 to 1,000 tasks, limited to the benchmark's
|
|
143
|
+
task count when known. Full benchmark includes every task.
|
|
144
|
+
|
|
145
|
+
Home includes **Run history**, **Run groups**, and **Results**, plus model and
|
|
146
|
+
benchmark browsing, billing and account settings. **Results** offers **Single
|
|
147
|
+
run**, **Group run**, then **Compare runs**. Group status shows each model's state;
|
|
148
|
+
open a member run, return to its group, or keep watching live progress.
|
|
149
|
+
While watching, choose **Open live run in browser** or **Open live group in
|
|
150
|
+
browser** with Enter, B or a click. Live status continues in the terminal.
|
|
151
|
+
|
|
152
|
+
Escape goes back; Left also goes back when you are not editing text. Backspace
|
|
153
|
+
edits text and filters. Back controls stay on Home at the root, and returning
|
|
154
|
+
to Home preserves its selection. Ctrl+Q or the **Exit** action exits. Leaving a
|
|
155
|
+
live run stops watching only: submitted server work continues. Use
|
|
156
|
+
PgUp/PgDn for long reviews and results, and F1 for keyboard help. Select output
|
|
157
|
+
with the mouse and press Ctrl+C to copy; with no selection, Ctrl+C goes back.
|
|
158
|
+
Password fields cannot be copied. `EVALROUTER_TUI=off` selects the older interactive
|
|
159
|
+
shell; explicit commands, plain output and JSON remain available.
|
|
160
|
+
|
|
161
|
+
## Run a model benchmark
|
|
162
|
+
|
|
163
|
+
For a shared native benchmark, the single-benchmark model picker lists the
|
|
164
|
+
routes accepted by that exact version's catalog checks. Its explanation names
|
|
165
|
+
fixed sampling or native continuation scoring requirements where applicable;
|
|
166
|
+
the listed models are alternatives. A named excluded route reports the API's
|
|
167
|
+
reason. Unavailable or unknown discovery remains explicit, and launch checks
|
|
168
|
+
current eligibility again. Private benchmarks and registry evals without this
|
|
169
|
+
scoped catalog check retain their qualification step before launch.
|
|
170
|
+
|
|
171
|
+
Sign in, choose a ready benchmark and compatible model, then run:
|
|
172
|
+
|
|
173
|
+
```sh
|
|
174
|
+
evalrouter login
|
|
175
|
+
evalrouter catalog
|
|
176
|
+
evalrouter catalog --models
|
|
177
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --sample 3
|
|
178
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --task TASK_ID --task OTHER_TASK_ID
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Supported native single-model benchmarks start directly using available wallet
|
|
182
|
+
credit. Native matched comparisons start one run with the same sampled tasks
|
|
183
|
+
for every model. Separate mode starts one evaluation job with a run for each
|
|
184
|
+
compatible model–benchmark pair. Use `--pairs compatible` in scripts when you
|
|
185
|
+
intend to skip incompatible pairs. `--max-cost` is rejected for new evaluations.
|
|
186
|
+
Native actual-usage routes charge recorded usage, including
|
|
187
|
+
usage above a live-call hold for work already sent. A negative wallet stops new
|
|
188
|
+
dispatches until credit is added. Accepted historical quotes keep their terms.
|
|
189
|
+
|
|
190
|
+
For scripts, approve paid work explicitly and retain the operation identity:
|
|
191
|
+
|
|
192
|
+
```sh
|
|
193
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --sample 3 --yes --json
|
|
194
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_A --model MODEL_B --mode matched --sample 3 --yes --json
|
|
195
|
+
evalrouter status
|
|
196
|
+
evalrouter wait RUN_ID
|
|
197
|
+
evalrouter results RUN_ID
|
|
198
|
+
evalrouter export RUN_ID --format json --output result.json
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
A sample is not a full-benchmark score. A local timeout or interrupted watcher
|
|
202
|
+
does not stop server work. Reuse the saved request identity when recovering an
|
|
203
|
+
uncertain submission; a new identity can start another evaluation.
|
|
204
|
+
|
|
205
|
+
Use repeatable `--task ID` flags to run exact task IDs. In an interactive run,
|
|
206
|
+
choose **Specific tasks** to browse the selected source. Required dependencies
|
|
207
|
+
are added automatically and included in the displayed task count. The service
|
|
208
|
+
checks direct task IDs during preflight before starting work.
|
|
209
|
+
|
|
210
|
+
Use `evalrouter --help` and each command's `--help` for supported options.
|
|
211
|
+
Account commands include `login`, `whoami`, `workspace` and `logout`;
|
|
212
|
+
`credits` reads balance and holds. Payments take place on the website.
|
|
213
|
+
|
|
214
|
+
## Author your own benchmark
|
|
215
|
+
|
|
216
|
+
`benchmark init`, `benchmark validate` and `benchmark bundle` run entirely on
|
|
217
|
+
your machine: no account, no network request, and nothing from your package is
|
|
218
|
+
imported or executed. The normative validator ships inside `evalrouter-sdk`, and
|
|
219
|
+
its one dependency (pydantic) is an optional extra. The base installation uses
|
|
220
|
+
httpx, Rich and Textual. With pip, use `pip install 'evalrouter[benchmark]'`:
|
|
221
|
+
|
|
222
|
+
```sh
|
|
223
|
+
uv tool install "evalrouter[benchmark]"
|
|
224
|
+
evalrouter benchmark init ./my-benchmark --namespace example --name my-benchmark
|
|
225
|
+
evalrouter benchmark validate ./my-benchmark
|
|
226
|
+
evalrouter benchmark bundle ./my-benchmark # evalrouter-bundle-example-my-benchmark-<version>.zip
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Without the extra these three commands stop before reading your package and
|
|
230
|
+
report `benchmark_extra_required` with the exact install string; `--help` and
|
|
231
|
+
every network command keep working. `init` writes an explicitly synthetic draft
|
|
232
|
+
and claims no license: replace the tasks, rights, references and limits before
|
|
233
|
+
submitting. Local validation is not platform admission — EvalRouter revalidates
|
|
234
|
+
every submission on its own servers.
|
|
235
|
+
|
|
236
|
+
Where private benchmark imports are enabled, `benchmark upload`, `import` and
|
|
237
|
+
`create` use workspace-private data with the service's built-in graders. These
|
|
238
|
+
are account-backed operations, separate from local package validation. See the
|
|
239
|
+
[private benchmark guide](https://evalrouter.ai/developers/docs/byob) for manifests,
|
|
240
|
+
supported formats, source management and permissions.
|
|
241
|
+
|
|
242
|
+
## Python SDK
|
|
243
|
+
|
|
244
|
+
Applications and scripts use the SDK directly: `python -m pip install --pre evalrouter-sdk`
|
|
245
|
+
installs the typed client, `evalrouter.agents`, trace capture and the LangSmith
|
|
246
|
+
connector without the terminal application. See the
|
|
247
|
+
[Python guide](https://evalrouter.ai/developers/docs/python).
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# EvalRouter CLI
|
|
2
|
+
|
|
3
|
+
Evaluate models in a full-screen terminal workspace or from scripts. Browse
|
|
4
|
+
benchmarks, choose models, start work using available wallet credit, follow runs,
|
|
5
|
+
compare or export their results, and author your own benchmarks. The CLI is
|
|
6
|
+
built on the [`evalrouter-sdk`](https://pypi.org/project/evalrouter-sdk/) Python SDK, which
|
|
7
|
+
it installs at exactly the same version.
|
|
8
|
+
|
|
9
|
+
Requires Python 3.12 or 3.13. Distributed under the proprietary Kimpton EvalRouter
|
|
10
|
+
SDK License, included as `LICENSE` in the package.
|
|
11
|
+
|
|
12
|
+
## Install and create your account
|
|
13
|
+
|
|
14
|
+
We recommend [uv](https://docs.astral.sh/uv/getting-started/installation/) to install the CLI in its own Python environment:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
uv tool install --prerelease allow evalrouter
|
|
18
|
+
evalrouter
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For this alpha, use `python -m pip install --pre evalrouter` in a Python 3.12 or 3.13 environment.
|
|
22
|
+
uv selects a compatible Python for the CLI and downloads one if needed. If
|
|
23
|
+
your shell cannot find `evalrouter`, run `uv tool update-shell` and restart your
|
|
24
|
+
terminal. Upgrade an existing installation with `evalrouter upgrade` (or
|
|
25
|
+
`evalrouter --upgrade`). Alpha, beta and rc installations include prereleases
|
|
26
|
+
automatically; stable installations stay on stable unless you pass `--pre`.
|
|
27
|
+
The command uses uv, pipx or pip in the current virtual environment. Source
|
|
28
|
+
installs, system Python and installer-pinned versions need their original installer.
|
|
29
|
+
Check the installed version with `evalrouter --version`. Use `evalrouter --help`
|
|
30
|
+
for explicit commands, or see the [CLI guide](https://evalrouter.ai/developers/docs/cli).
|
|
31
|
+
|
|
32
|
+
The interactive workspace checks for newer releases in the background and shows
|
|
33
|
+
an update notice when one is available. The check never installs an update or
|
|
34
|
+
delays opening the workspace. Set `EVALROUTER_NO_UPDATE_CHECK=1` to disable it.
|
|
35
|
+
Scripts, editable installs and explicitly pinned installations skip update checks.
|
|
36
|
+
|
|
37
|
+
### Complete command names with Tab
|
|
38
|
+
|
|
39
|
+
For zsh, add this line to `~/.zshrc` after your `compinit` setup, then start a new
|
|
40
|
+
terminal:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
eval "$(evalrouter completion zsh)"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For bash, add this line to `~/.bashrc`:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
eval "$(evalrouter completion bash)"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Type `evalrouter ru` and press Tab to complete `run`. With `evalrouter r`, Tab
|
|
53
|
+
shows matching commands such as `run`, `resume` and `results`. The shell setup
|
|
54
|
+
only completes top-level command names and makes no API request. It does not
|
|
55
|
+
change interactive prompts or run an evaluation.
|
|
56
|
+
|
|
57
|
+
This package was previously published as `kimpton-evalrouter-sdk`. The command
|
|
58
|
+
stays `evalrouter`. Use `from evalrouter import Client` for new integrations;
|
|
59
|
+
legacy `kimpton_evalrouter` imports remain compatible and refer to the same
|
|
60
|
+
public classes. To switch, run
|
|
61
|
+
`uv tool uninstall kimpton-evalrouter-sdk` (or
|
|
62
|
+
`pip uninstall -y kimpton-evalrouter-sdk evalrouter`) and install `evalrouter`.
|
|
63
|
+
|
|
64
|
+
The package supplies the `evalrouter` command; no repository checkout is needed.
|
|
65
|
+
[Create an EvalRouter account](https://evalrouter.ai/register), verify your email,
|
|
66
|
+
and follow the browser sign-in below.
|
|
67
|
+
Package installation does not grant account access or evaluation credit.
|
|
68
|
+
|
|
69
|
+
Sign in with your account:
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
evalrouter login
|
|
73
|
+
evalrouter whoami
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Follow the browser sign-in; on a local computer the browser returns to the
|
|
77
|
+
waiting CLI. For a remote terminal, use `evalrouter login --no-browser` and
|
|
78
|
+
approve the code on a device with a browser. New accounts finish setup there.
|
|
79
|
+
The CLI selects your only workspace automatically, or lets you choose one.
|
|
80
|
+
Production is the default API; `evalrouter options` lists `--base-url` and the other
|
|
81
|
+
settings that apply to every command.
|
|
82
|
+
No API key or credential-storage setup is needed for a normal sign-in.
|
|
83
|
+
The optional `evalrouter[keyring]` extra enables a compatible OS keychain
|
|
84
|
+
backend; otherwise credentials use a private file readable only by your user.
|
|
85
|
+
In the workspace, **Account and workspace → Sign in** starts the same flow.
|
|
86
|
+
See the [sign-in guide](https://evalrouter.ai/developers/docs/cli-login) for
|
|
87
|
+
workspace switching, stored API keys and signing out.
|
|
88
|
+
|
|
89
|
+
CI and services can use `EVALROUTER_API_KEY` and `EVALROUTER_WORKSPACE_ID` supplied
|
|
90
|
+
privately by a secret manager. Never put credentials in arguments, URLs, request
|
|
91
|
+
files or logs.
|
|
92
|
+
|
|
93
|
+
## Interactive workspace
|
|
94
|
+
|
|
95
|
+
Run `evalrouter` without arguments in a terminal to open the full-screen
|
|
96
|
+
workspace. Choose **Account and workspace → Sign in** to connect your account.
|
|
97
|
+
Local sign-in returns from the browser to the waiting CLI; for a remote terminal,
|
|
98
|
+
use `evalrouter login --no-browser` and approve the code on a device with a browser.
|
|
99
|
+
|
|
100
|
+
**Run a benchmark** guides you through the benchmark, your selected compatible models, each
|
|
101
|
+
model's reasoning settings and coverage. Type to filter lists; Space or Enter
|
|
102
|
+
toggles a model and Tab continues. A supported native one-model evaluation
|
|
103
|
+
starts directly using available wallet credit. With several models or benchmarks,
|
|
104
|
+
the CLI previews each pair and starts one evaluation job for the compatible
|
|
105
|
+
pairs. Matched mode requires every pair to be compatible and runs the same
|
|
106
|
+
sampled tasks across models. No customer spending cap is set on new work.
|
|
107
|
+
|
|
108
|
+
Choose a suggested sample, **Custom sample size**, or **Full benchmark** for
|
|
109
|
+
coverage. A custom sample accepts 1 to 1,000 tasks, limited to the benchmark's
|
|
110
|
+
task count when known. Full benchmark includes every task.
|
|
111
|
+
|
|
112
|
+
Home includes **Run history**, **Run groups**, and **Results**, plus model and
|
|
113
|
+
benchmark browsing, billing and account settings. **Results** offers **Single
|
|
114
|
+
run**, **Group run**, then **Compare runs**. Group status shows each model's state;
|
|
115
|
+
open a member run, return to its group, or keep watching live progress.
|
|
116
|
+
While watching, choose **Open live run in browser** or **Open live group in
|
|
117
|
+
browser** with Enter, B or a click. Live status continues in the terminal.
|
|
118
|
+
|
|
119
|
+
Escape goes back; Left also goes back when you are not editing text. Backspace
|
|
120
|
+
edits text and filters. Back controls stay on Home at the root, and returning
|
|
121
|
+
to Home preserves its selection. Ctrl+Q or the **Exit** action exits. Leaving a
|
|
122
|
+
live run stops watching only: submitted server work continues. Use
|
|
123
|
+
PgUp/PgDn for long reviews and results, and F1 for keyboard help. Select output
|
|
124
|
+
with the mouse and press Ctrl+C to copy; with no selection, Ctrl+C goes back.
|
|
125
|
+
Password fields cannot be copied. `EVALROUTER_TUI=off` selects the older interactive
|
|
126
|
+
shell; explicit commands, plain output and JSON remain available.
|
|
127
|
+
|
|
128
|
+
## Run a model benchmark
|
|
129
|
+
|
|
130
|
+
For a shared native benchmark, the single-benchmark model picker lists the
|
|
131
|
+
routes accepted by that exact version's catalog checks. Its explanation names
|
|
132
|
+
fixed sampling or native continuation scoring requirements where applicable;
|
|
133
|
+
the listed models are alternatives. A named excluded route reports the API's
|
|
134
|
+
reason. Unavailable or unknown discovery remains explicit, and launch checks
|
|
135
|
+
current eligibility again. Private benchmarks and registry evals without this
|
|
136
|
+
scoped catalog check retain their qualification step before launch.
|
|
137
|
+
|
|
138
|
+
Sign in, choose a ready benchmark and compatible model, then run:
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
evalrouter login
|
|
142
|
+
evalrouter catalog
|
|
143
|
+
evalrouter catalog --models
|
|
144
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --sample 3
|
|
145
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --task TASK_ID --task OTHER_TASK_ID
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Supported native single-model benchmarks start directly using available wallet
|
|
149
|
+
credit. Native matched comparisons start one run with the same sampled tasks
|
|
150
|
+
for every model. Separate mode starts one evaluation job with a run for each
|
|
151
|
+
compatible model–benchmark pair. Use `--pairs compatible` in scripts when you
|
|
152
|
+
intend to skip incompatible pairs. `--max-cost` is rejected for new evaluations.
|
|
153
|
+
Native actual-usage routes charge recorded usage, including
|
|
154
|
+
usage above a live-call hold for work already sent. A negative wallet stops new
|
|
155
|
+
dispatches until credit is added. Accepted historical quotes keep their terms.
|
|
156
|
+
|
|
157
|
+
For scripts, approve paid work explicitly and retain the operation identity:
|
|
158
|
+
|
|
159
|
+
```sh
|
|
160
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_ID --sample 3 --yes --json
|
|
161
|
+
evalrouter run BENCHMARK_SLUG --model MODEL_A --model MODEL_B --mode matched --sample 3 --yes --json
|
|
162
|
+
evalrouter status
|
|
163
|
+
evalrouter wait RUN_ID
|
|
164
|
+
evalrouter results RUN_ID
|
|
165
|
+
evalrouter export RUN_ID --format json --output result.json
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
A sample is not a full-benchmark score. A local timeout or interrupted watcher
|
|
169
|
+
does not stop server work. Reuse the saved request identity when recovering an
|
|
170
|
+
uncertain submission; a new identity can start another evaluation.
|
|
171
|
+
|
|
172
|
+
Use repeatable `--task ID` flags to run exact task IDs. In an interactive run,
|
|
173
|
+
choose **Specific tasks** to browse the selected source. Required dependencies
|
|
174
|
+
are added automatically and included in the displayed task count. The service
|
|
175
|
+
checks direct task IDs during preflight before starting work.
|
|
176
|
+
|
|
177
|
+
Use `evalrouter --help` and each command's `--help` for supported options.
|
|
178
|
+
Account commands include `login`, `whoami`, `workspace` and `logout`;
|
|
179
|
+
`credits` reads balance and holds. Payments take place on the website.
|
|
180
|
+
|
|
181
|
+
## Author your own benchmark
|
|
182
|
+
|
|
183
|
+
`benchmark init`, `benchmark validate` and `benchmark bundle` run entirely on
|
|
184
|
+
your machine: no account, no network request, and nothing from your package is
|
|
185
|
+
imported or executed. The normative validator ships inside `evalrouter-sdk`, and
|
|
186
|
+
its one dependency (pydantic) is an optional extra. The base installation uses
|
|
187
|
+
httpx, Rich and Textual. With pip, use `pip install 'evalrouter[benchmark]'`:
|
|
188
|
+
|
|
189
|
+
```sh
|
|
190
|
+
uv tool install "evalrouter[benchmark]"
|
|
191
|
+
evalrouter benchmark init ./my-benchmark --namespace example --name my-benchmark
|
|
192
|
+
evalrouter benchmark validate ./my-benchmark
|
|
193
|
+
evalrouter benchmark bundle ./my-benchmark # evalrouter-bundle-example-my-benchmark-<version>.zip
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Without the extra these three commands stop before reading your package and
|
|
197
|
+
report `benchmark_extra_required` with the exact install string; `--help` and
|
|
198
|
+
every network command keep working. `init` writes an explicitly synthetic draft
|
|
199
|
+
and claims no license: replace the tasks, rights, references and limits before
|
|
200
|
+
submitting. Local validation is not platform admission — EvalRouter revalidates
|
|
201
|
+
every submission on its own servers.
|
|
202
|
+
|
|
203
|
+
Where private benchmark imports are enabled, `benchmark upload`, `import` and
|
|
204
|
+
`create` use workspace-private data with the service's built-in graders. These
|
|
205
|
+
are account-backed operations, separate from local package validation. See the
|
|
206
|
+
[private benchmark guide](https://evalrouter.ai/developers/docs/byob) for manifests,
|
|
207
|
+
supported formats, source management and permissions.
|
|
208
|
+
|
|
209
|
+
## Python SDK
|
|
210
|
+
|
|
211
|
+
Applications and scripts use the SDK directly: `python -m pip install --pre evalrouter-sdk`
|
|
212
|
+
installs the typed client, `evalrouter.agents`, trace capture and the LangSmith
|
|
213
|
+
connector without the terminal application. See the
|
|
214
|
+
[Python guide](https://evalrouter.ai/developers/docs/python).
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling==1.27.0"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
# The `evalrouter` command and its interactive workspace, a client of the
|
|
6
|
+
# `evalrouter-sdk` SDK at exactly the same version (build_packages.py refuses
|
|
7
|
+
# any drift). It keeps the PyPI name existing users installed the command
|
|
8
|
+
# under, so `uv tool upgrade evalrouter` and `pipx upgrade evalrouter` keep
|
|
9
|
+
# working. Its modules live in src/kimpton_evalrouter and install into the
|
|
10
|
+
# same `kimpton_evalrouter` package as the SDK (the internal SDK `__init__.py`
|
|
11
|
+
# extends the package path to this tree in the editable workspace).
|
|
12
|
+
# scripts/release/build_packages.py (`python_manifest("cli")`) stages them,
|
|
13
|
+
# with the reviewed public cli.py from public/, for release.
|
|
14
|
+
[project]
|
|
15
|
+
name = "evalrouter"
|
|
16
|
+
version = "0.4.4a1"
|
|
17
|
+
description = "The EvalRouter command line and interactive terminal workspace"
|
|
18
|
+
readme = "README.md"
|
|
19
|
+
license = "LicenseRef-Kimpton-EvalRouter-SDK"
|
|
20
|
+
license-files = ["LICENSE"]
|
|
21
|
+
requires-python = ">=3.12,<3.14"
|
|
22
|
+
keywords = ["evalrouter", "model-evaluation", "benchmarks", "cli", "llm"]
|
|
23
|
+
classifiers = [
|
|
24
|
+
"Environment :: Console",
|
|
25
|
+
"Intended Audience :: Developers",
|
|
26
|
+
"Intended Audience :: Science/Research",
|
|
27
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
28
|
+
"Programming Language :: Python :: 3.12",
|
|
29
|
+
"Programming Language :: Python :: 3.13",
|
|
30
|
+
]
|
|
31
|
+
# The SDK at the same version, plus terminal rendering: rich for human output
|
|
32
|
+
# and Textual for the interactive workspace. Exact pins; rich 15.0.0 matches
|
|
33
|
+
# deploy/experiments/requirements.lock.
|
|
34
|
+
dependencies = ["evalrouter-sdk==0.4.4a1", "rich==15.0.0", "textual==8.2.8"]
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Homepage = "https://evalrouter.ai"
|
|
38
|
+
Documentation = "https://evalrouter.ai/developers/docs/cli"
|
|
39
|
+
|
|
40
|
+
[project.optional-dependencies]
|
|
41
|
+
# Every extra the combined `evalrouter` 0.4.x offered keeps resolving, so an
|
|
42
|
+
# existing `evalrouter[tracing]` requirement still installs what it named. The
|
|
43
|
+
# SDK's own extras forward to `evalrouter-sdk` at the same version.
|
|
44
|
+
tracing = ["evalrouter-sdk[tracing]==0.4.4a1"]
|
|
45
|
+
strands = ["evalrouter-sdk[strands]==0.4.4a1"]
|
|
46
|
+
langsmith = ["evalrouter-sdk[langsmith]==0.4.4a1"]
|
|
47
|
+
# Offline `benchmark init/validate/bundle`: the SDK's validation extra.
|
|
48
|
+
benchmark = ["evalrouter-sdk[benchmark]==0.4.4a1"]
|
|
49
|
+
# Account sign-in stores tokens in the OS keychain when this extra is
|
|
50
|
+
# installed; otherwise it uses a private 0600 file.
|
|
51
|
+
keyring = ["keyring==25.7.0"]
|
|
52
|
+
# `evalrouter run --agent`: the SDK's client-run ACP controller dependencies.
|
|
53
|
+
agents = ["evalrouter-sdk[agents]==0.4.4a1"]
|
|
54
|
+
|
|
55
|
+
[project.scripts]
|
|
56
|
+
evalrouter = "kimpton_evalrouter.cli:main"
|
|
57
|
+
|
|
58
|
+
[tool.hatch.build.targets.wheel]
|
|
59
|
+
packages = ["src/evalrouter", "src/kimpton_evalrouter", "src/evalrouter_reports"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""EvalRouter report data (`data`) and its offline HTML/SVG renderer (`html`)."""
|