Revert local uv quickstart
Browse files- .python-version +0 -1
- README.md +10 -25
- eval.toml +0 -18
- pyproject.toml +0 -3
- uv.lock +0 -0
.python-version
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
3.13
|
|
|
|
|
|
README.md
CHANGED
|
@@ -6,35 +6,20 @@ tags:
|
|
| 6 |
|
| 7 |
# general-agent
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
## Run a model
|
| 12 |
-
|
| 13 |
-
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and Git, and serve a tool-calling model at `http://localhost:8000/v1`. Replace `local-model` with the served model ID:
|
| 14 |
-
|
| 15 |
-
```sh
|
| 16 |
-
git clone https://huggingface.co/datasets/PrimeIntellect/general-agent
|
| 17 |
-
cd general-agent
|
| 18 |
-
uv run vf-eval @ eval.toml --model local-model
|
| 19 |
-
```
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
The supplied `eval.toml` runs one task once. The model receives only the task's tools, with no shell. The harness and tool server run locally; Docker and a Prime account are not required. Results are saved under `outputs/` and are not uploaded.
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
uv run vf-eval @ eval.toml --model local-model -n 20 -c 4
|
| 31 |
-
```
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
##
|
| 36 |
|
| 37 |
-
-
|
| 38 |
-
-
|
| 39 |
-
- **Code:** [PrimeIntellect-ai/prime-envs](https://github.com/PrimeIntellect-ai/prime-envs/tree/5732a4bbb7e454716608b5f8af51ec890892350f/environments/tool_use/general_agent).
|
| 40 |
-
- **Verifiers:** [pinned v1 revision](https://github.com/PrimeIntellect-ai/verifiers/tree/f2382d3c285ecb85578caf2948f24d0eeed84561), installed through `uv` using `pyproject.toml` and `uv.lock`.
|
|
|
|
| 6 |
|
| 7 |
# general-agent
|
| 8 |
|
| 9 |
+
Requires `verifiers[harbor]>=0.3.1`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
Multi-turn tool-use tasks from the self-growing general-agent toolbench, where each task ships its own tool world and a gold tool-call chain. Tasks are scored by replaying the gold chain and rewarding an exact final database-hash match or a passing `verify(db)` check.
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
## Taskset
|
| 14 |
|
| 15 |
+
- **Source:** [`general-agent` corpus](https://github.com/PrimeIntellect-ai/prime-envs) downloaded via the Harbor CLI (not vendored)
|
| 16 |
+
- **Size:** 4,417 tasks
|
| 17 |
|
| 18 |
+
## Notes
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
- The corpus is downloaded on first use (cached under `~/.cache/harbor/`) via the Harbor CLI, resolved through the legacy Harbor registry in `PrimeIntellect-ai/prime-envs`. Needs read access to those repos; point `--env.taskset.repo` / `--env.taskset.dataset` at a branch or pin for local or PR-branch validation.
|
| 21 |
|
| 22 |
+
## Changelog
|
| 23 |
|
| 24 |
+
- 2026-07-31: Migrated each task's dynamic tool server to the explicit `toolsets(config)` API required by `verifiers>=0.2.2.dev65`.
|
| 25 |
+
- 2026-07-10: Ported to the task-centric verifiers API: rewards and lifecycle hooks live on the `Task` (a `TaskData` row + behavior split), and task-facing config knobs (judges, tool/user placement, scoring parameters) moved from `--env.taskset.*` to `--env.taskset.task.*`. Requires `verifiers>=0.2.0` and Python `>=3.11`.
|
|
|
|
|
|
eval.toml
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
model = "local-model"
|
| 2 |
-
num_rollouts = 1
|
| 3 |
-
max_concurrent = 1
|
| 4 |
-
push = false
|
| 5 |
-
|
| 6 |
-
[select]
|
| 7 |
-
limit = 1
|
| 8 |
-
|
| 9 |
-
[client]
|
| 10 |
-
base_url = "http://localhost:8000/v1"
|
| 11 |
-
api_key_var = "LOCAL_MODEL_API_KEY"
|
| 12 |
-
|
| 13 |
-
[env.taskset]
|
| 14 |
-
id = "general-agent"
|
| 15 |
-
|
| 16 |
-
[env.agent]
|
| 17 |
-
runtime = { type = "subprocess" }
|
| 18 |
-
harness = { id = "null" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pyproject.toml
CHANGED
|
@@ -14,6 +14,3 @@ build-backend = "hatchling.build"
|
|
| 14 |
|
| 15 |
[tool.hatch.build.targets.wheel]
|
| 16 |
packages = ["general_agent"]
|
| 17 |
-
|
| 18 |
-
[tool.uv.sources]
|
| 19 |
-
verifiers = { git = "https://github.com/PrimeIntellect-ai/verifiers", rev = "f2382d3c285ecb85578caf2948f24d0eeed84561" }
|
|
|
|
| 14 |
|
| 15 |
[tool.hatch.build.targets.wheel]
|
| 16 |
packages = ["general_agent"]
|
|
|
|
|
|
|
|
|
uv.lock
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|