Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs: note benchmark tooling moved to openhuman-benchmarks

Steven Enamakelea800535e558
diff --git a/crates/openhuman-app/profiling/README.md b/crates/openhuman-app/profiling/README.md
index 3373e1aa4d..f720cf13d1 100644
--- a/crates/openhuman-app/profiling/README.md
+++ b/crates/openhuman-app/profiling/README.md
@@ -82,11 +82,8 @@ pnpm profile:tauri --pid <PID> --duration 15
| `--stacks`, `--no-stacks` | on for macOS | Turn the `/usr/bin/sample` capture on or off. |
For the smaller embedded-core-only Linux RSS and PSS benchmark, use the
-`rss-bench` binary in `crates/openhuman-cli`:
-
-```bash
-cargo build --release -p openhuman-cli --features rss-bench --bin rss-bench
-```
+`rss-bench` binary in the openhuman-benchmarks repository (#6944); it no
+longer builds from `crates/openhuman-cli`.
## Layout
diff --git a/crates/openhuman-core/README.md b/crates/openhuman-core/README.md
index 4026b28be6..26e9612b66 100644
--- a/crates/openhuman-core/README.md
+++ b/crates/openhuman-core/README.md
@@ -231,7 +231,7 @@ forwarding, and the library chain (`openhuman-embed`, then
| `crash-reporting` | no | yes | Sentry |
| `whatsapp-web` | no | no | WhatsApp Web channel provider |
| `e2e-test-support` | no | no | `openhuman::test_support` |
-| `rss-bench` | no | no | Hooks for the `rss-bench` profiling bin |
+| `rss-bench` | no | no | Hooks for the `rss-bench` profiling bin (now in openhuman-benchmarks, #6944) |
Gates come in two shapes. A leaf gate removes the module (`hosting`, `media`,
`flows`, `modules`). A facade gate keeps the module declared and gates most
@@ -248,8 +248,8 @@ enabled and disabled builds.
## Boundaries
- No binaries. `crates/openhuman-cli` declares `openhuman-core`,
- `test-mcp-stub`, `openhuman-fleet`, `rss-bench`, `library-profile`, and the
- tool benches, plus every root `tests/*.rs` and `examples/*.rs` target. See
+ `test-mcp-stub` and `openhuman-fleet`, plus every root `tests/*.rs` and
+ `examples/*.rs` target. See
[`../openhuman-cli/src/bin/README.md`](../openhuman-cli/src/bin/README.md).
- No JSON-RPC server, no HTTP client for RPC, no session store:
`crates/openhuman-rpc`.
diff --git a/crates/openhuman-core/src/platform/README.md b/crates/openhuman-core/src/platform/README.md
index 0fdb93a011..99a1194d2a 100644
--- a/crates/openhuman-core/src/platform/README.md
+++ b/crates/openhuman-core/src/platform/README.md
@@ -65,7 +65,7 @@ the frontend which of its connection channels is broken.
| [`cost/`](cost/README.md) | Token usage and USD cost: an append-only `costs.jsonl` ledger, day and month aggregates, the 7-day dashboard, the static pricing and context-window catalog (`catalog.rs`), and managed vs BYOK route classification (`route.rs`). |
| [`doctor/`](doctor/README.md) | Self-checks over config, workspace, the daemon state file, the environment, the memory engine, and the embedding model, aggregated into a severity-tagged `DoctorReport`. Powers `openhuman doctor` and the Settings health view. |
| [`health/`](health/README.md) | The in-process component health registry, the `HealthVerdict` behind `GET /health`, and static system info. |
-| [`proc_metrics/`](proc_metrics/README.md) | Cross-platform RSS and peak-RSS sampling for this process and its tree. Used by the `rss_bench` and `library_profile` bins in `crates/openhuman-cli`. No RPC. |
+| [`proc_metrics/`](proc_metrics/README.md) | Cross-platform RSS and peak-RSS sampling for this process and its tree. Written for the `rss-bench` / `library-profile` bins, now in the openhuman-benchmarks repository (#6944). No RPC. |
| [`service/`](service/README.md) | Installs the core as a per-user OS service (LaunchAgent, systemd user unit, Windows scheduled task), self-restart and graceful shutdown over the bus, daemon-host tray preferences, and a file-backed mock for E2E (`OPENHUMAN_SERVICE_MOCK`). |
| [`socket/`](socket/README.md) | The persistent Socket.IO client to the backend: hand-rolled Engine.IO and Socket.IO handshakes over a WebSocket, reconnect with backoff, a token provider re-read on every reconnect, redirect following, and inbound event dispatch. |
| [`startup/`](startup/README.md) | One-shot workspace migrations run during boot (session layout, welcome-agent artifacts). Errors are logged and never abort startup. |
diff --git a/crates/openhuman-core/src/platform/proc_metrics/README.md b/crates/openhuman-core/src/platform/proc_metrics/README.md
index 027c26d0ee..5b8e4af42c 100644
--- a/crates/openhuman-core/src/platform/proc_metrics/README.md
+++ b/crates/openhuman-core/src/platform/proc_metrics/README.md
@@ -47,8 +47,8 @@ are skipped with a stderr note rather than aborting the sample.
## Used by
-- `crates/openhuman-cli/src/bin/rss_bench.rs` and `bin/library_profile/`
- (feature `rss-bench`): the RSS/memory benchmark binaries this module was
+- The `rss-bench` and `library-profile` binaries (feature `rss-bench`), now
+ in the openhuman-benchmarks repository (#6944): the RSS/memory benchmark binaries this module was
built for.
- [`docs/library-benchmarking.md`](../../../../../docs/library-benchmarking.md)
: documents the benchmark methodology and points readers here for the
diff --git a/crates/openhuman-embed/src/harness/workspace.rs b/crates/openhuman-embed/src/harness/workspace.rs
index 7cfac8ee19..a219c1a21d 100644
--- a/crates/openhuman-embed/src/harness/workspace.rs
+++ b/crates/openhuman-embed/src/harness/workspace.rs
@@ -99,7 +99,7 @@ impl ResolvedWorkspace {
/// Materialize `workspace`, creating directories as needed.
///
/// The layout for the harness-owned variants mirrors
- /// `crates/openhuman-core/src/bin/library_profile/harness.rs::fixture()`, which is the recipe
+ /// the former `library-profile` harness `fixture()` (now in openhuman-benchmarks, #6944), which is the recipe
/// already proven against real turns: a `workspace/` for internal state and
/// a sibling `action/` for the agent's read/write root. Keeping them
/// siblings rather than nesting matters — `is_workspace_internal_path`
diff --git a/crates/openhuman-embed/tests/common/mod.rs b/crates/openhuman-embed/tests/common/mod.rs
index 6d17383d67..1af9fa5215 100644
--- a/crates/openhuman-embed/tests/common/mod.rs
+++ b/crates/openhuman-embed/tests/common/mod.rs
@@ -38,7 +38,7 @@ pub fn chat_completion(content: &str) -> serde_json::Value {
}
/// A config that keeps the turn offline: no local runtimes and no
-/// conversation memory. Mirrors `crates/openhuman-core/src/bin/library_profile/harness.rs::fixture()`,
+/// conversation memory. Mirrors the former `library-profile` harness `fixture()` (now in openhuman-benchmarks, #6944),
/// which is the recipe already proven against real turns.
pub fn offline_config() -> Config {
let mut config = Config::default();
diff --git a/crates/openhuman-tinyhumans/src/jev/README.md b/crates/openhuman-tinyhumans/src/jev/README.md
index 1c839aaade..f8240eb994 100644
--- a/crates/openhuman-tinyhumans/src/jev/README.md
+++ b/crates/openhuman-tinyhumans/src/jev/README.md
@@ -125,9 +125,9 @@ default is 3 s.
`ranker_tests.rs`, `route_tests.rs` and `evaluator_tests.rs` sit beside their
modules and use the config and env seams rather than the process
-environment. The ranker comparison harness is a separate binary:
-`cargo run -p openhuman-cli --bin tool-search-bench`, described in
-[`../../../openhuman-cli/src/bin/README.md`](../../../openhuman-cli/src/bin/README.md).
+environment. The ranker comparison harness (`tool-search-bench`) moved out of
+`openhuman-cli` with the other benchmarks, to the openhuman-benchmarks
+repository (#6944).
```bash
cargo test -p openhuman-tinyhumans jev::
diff --git a/docs/README.md b/docs/README.md
index bfe64865d3..57a41a2ab6 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -44,10 +44,9 @@ The first two are referenced from `.github/PULL_REQUEST_TEMPLATE.md`.
## Engineering notes
-Resource-footprint work for the embeddable core. Drivers live in
-`scripts/profile/`; the scenario binary is
-`crates/openhuman-cli/src/bin/library_profile/main.rs` (`library-profile`,
-behind the `rss-bench` feature).
+Resource-footprint work for the embeddable core. The drivers
+(`scripts/profile/`) and the scenario binary (`library-profile`) moved to the
+openhuman-benchmarks repository (#6944); these notes are kept for reference.
- `library-benchmarking.md` — the benchmark environment: scenarios, driver
scripts, and default/slim baselines.
diff --git a/docs/harness-comparison-2026-07-22.md b/docs/harness-comparison-2026-07-22.md
index 36585b4b79..73f4adb8f1 100644
--- a/docs/harness-comparison-2026-07-22.md
+++ b/docs/harness-comparison-2026-07-22.md
@@ -1,5 +1,8 @@
# Agent harness resource-footprint comparison
+> **Note.** The `scripts/profile/` drivers cited below moved to the
+> openhuman-benchmarks repository (#6944).
+
Date: 2026-07-22
Method: web research against primary sources where they exist (GitHub repos and
issue trackers, official docs), with every weakly-sourced figure flagged. Our
diff --git a/docs/library-benchmarking.md b/docs/library-benchmarking.md
index 21543d946e..88437aca4f 100644
--- a/docs/library-benchmarking.md
+++ b/docs/library-benchmarking.md
@@ -1,5 +1,10 @@
# Library benchmarking environment
+> **Moved.** The `library-profile` and `rss-bench` binaries and the
+> `scripts/profile/` drivers this document describes now live in the
+> openhuman-benchmarks repository (#6944); `crates/openhuman-cli` no longer
+> builds them. The methodology and results below are kept for reference.
+
## Purpose
"opencompany" wants to embed the OpenHuman Rust core as a library: no always-on
diff --git a/docs/library-minimal-recipe.md b/docs/library-minimal-recipe.md
index d26d679d43..7fdc4ac67d 100644
--- a/docs/library-minimal-recipe.md
+++ b/docs/library-minimal-recipe.md
@@ -1,5 +1,10 @@
# Library-minimal feature recipe
+> **Note.** The bench bins (`library-profile`, `rss-bench`) referenced below
+> moved to the openhuman-benchmarks repository (#6944). The `openhuman-cli`
+> `rss-bench` / `rss-bench-dhat` gates are gone; the core keeps its own
+> `rss-bench` hook for that repository.
+
A **supported, measured** compile-time feature recipe for embedding the OpenHuman
Rust core as a library in "opencompany" — headless, no RPC server, no Tauri
shell, targeting 100-1000 live agents in a 2 GB RAM / 2 vCPU box.
@@ -32,15 +37,9 @@ registers the hosted controllers when it builds the runtime. This connects the
API key to managed inference, integrations, channel relay and cloud voice when
their feature and runtime gates are enabled.
-- To build the profiling harness against the same recipe, add the dev-only
- `rss-bench` feature and the two bench bins:
-
- ```bash
- cargo build --release \
- -p openhuman-cli \
- --no-default-features --features "rss-bench,skills,flows" \
- --bin library-profile --bin rss-bench
- ```
+- The profiling harness that used to build against the same recipe
+ (`library-profile`, `rss-bench`) lives in the openhuman-benchmarks
+ repository (#6944).
There is **no** `library-minimal` meta-feature in `Cargo.toml`, on purpose — see
[Why no alias](#why-no-cargotoml-alias) below.
diff --git a/gitbooks/developing/jev.md b/gitbooks/developing/jev.md
index c5238a3ca5..4345b3cb74 100644
--- a/gitbooks/developing/jev.md
+++ b/gitbooks/developing/jev.md
@@ -185,10 +185,14 @@ a TypeSafe or OpenRouter key.
## Running the benchmark
+The `tool-search-bench` binary now lives in the openhuman-benchmarks
+repository (#6944), with the rest of the bench rig; `openhuman-cli` no longer
+builds it. Its flags are unchanged:
+
```bash
-cargo run -p openhuman-cli --bin tool-search-bench -- --ranker all --misses
-cargo run -p openhuman-cli --bin tool-search-bench -- --ranker jev --family --embedding
-cargo run -p openhuman-cli --bin tool-search-bench -- --dump-catalogue
+tool-search-bench --ranker all --misses
+tool-search-bench --ranker jev --family --embedding
+tool-search-bench --dump-catalogue
```
`OPENHUMAN_BACKEND_API_KEY` (or `TYPESAFE_API_KEY`) selects the credential;
diff --git a/gitbooks/developing/performance.md b/gitbooks/developing/performance.md
index f4a5b11c90..9d7b4500f9 100644
--- a/gitbooks/developing/performance.md
+++ b/gitbooks/developing/performance.md
@@ -136,31 +136,17 @@ effort sheds crates from it.
## How to reproduce
-Every number above comes from the driver scripts under `scripts/profile/`,
-built around `crates/openhuman-cli/src/bin/library_profile/main.rs`
-(scenario implementations) and the `library-profile` / `rss-bench` binaries.
-Benchmarks run from these scripts, not in CI.
+Every number above came from the `library-profile` / `rss-bench` binaries and
+their `scripts/profile/` drivers. Those now live in the openhuman-benchmarks
+repository (#6944), which builds the core directly; this repository no longer
+carries them. Benchmarks never ran in CI.
```bash
-# RSS/duration medians across fresh processes, all scenarios
-./scripts/profile/library-bench.sh
-
-# Same, against the slim (--no-default-features) recipe
-./scripts/profile/library-bench.sh --slim
-
-# Fleet sweep + the 2 GB / 2 vCPU budget gate
-./scripts/profile/library-fleet.sh --agents "50,100,500" --target 1000 --budget-mib 2048
-
-# Many-processes counterpart to the fleet sweep
-./scripts/profile/library-instances.sh --instances "10,25,50" --hold-secs 30
-
-# Dependency-floor ratchet
+# Dependency-floor ratchet (still here)
scripts/kernel-floor.sh flows
```
-`scripts/profile/README.md` documents the remaining scripts (`library-cpu.sh`
-for CPU profiling via samply, `library-heap.sh` for live-heap attribution via
-dhat). Full methodology, caveats, and the per-scenario breakdown live in
+Full methodology, caveats, and the per-scenario breakdown live in
[`docs/library-benchmarking.md`](https://github.com/tinyhumansai/openhuman/blob/main/docs/library-benchmarking.md) and
[`docs/library-minimal-recipe.md`](https://github.com/tinyhumansai/openhuman/blob/main/docs/library-minimal-recipe.md).
diff --git a/scripts/bench/README.md b/scripts/bench/README.md
index ffd3a66e54..2f16137318 100644
--- a/scripts/bench/README.md
+++ b/scripts/bench/README.md
@@ -6,6 +6,10 @@ verdict.
## How this differs from `scripts/profile/`
+(`scripts/profile/` and its `library-profile` / `rss-bench` binaries moved to
+the openhuman-benchmarks repository, #6944. The comparison is kept because it
+still explains what this tier does and does not see.)
+
Both measure resources; they answer different questions, and the difference is
the reason this directory exists rather than another scenario in the old one.