The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs: point benchmark references at openhuman-benchmarks
Steven Enamakeldf97a4d7a9b7
diff --git a/AGENTS.md b/AGENTS.mdindex e259cfa727..4ed855ae70 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -17,7 +17,7 @@ Architecture: [overview](gitbooks/developing/architecture.md),| `crates/openhuman-core/` | Package `openhuman`: business domains under `src/<domain>/`, the controller contract, dispatch and auth under `src/core/` || `crates/openhuman-core/src/<domain>/` | Flat business-domain modules (agent, memory, tools, security, channels, ...) || `crates/openhuman-core/src/core/` | CLI, controller contract (`Outcome`, schemas) and in-process dispatch, controller registry, event bus, runtime composition; no business logic and no JSON-RPC server |-| `crates/openhuman-cli/` | The `openhuman-core` binary (`src/main.rs`), the developer/benchmark bins (`src/bin/`), and every root `tests/*.rs` / `examples/*.rs` target; depends on `openhuman-tinyhumans` for the backend transport the core does not carry |+| `crates/openhuman-cli/` | The `openhuman-core` binary (`src/main.rs`), the developer bins (`src/bin/`), and every root `tests/*.rs` / `examples/*.rs` target; depends on `openhuman-tinyhumans` for the backend transport the core does not carry || `crates/openhuman-embed/` | Typed library facade for embedding the core in another product || `crates/openhuman-rpc/` | JSON-RPC 2.0 over the core: envelopes, HTTP client, and the server (router, Socket.IO, listener, `run_server*`) used by app, CLI and TUI; plus `session_store` (`session-store` feature), the on-disk session store (`session_raw/`, `session_db/`, `tinyagents_store/`, turn states) behind TinyAgents' session store port, which the app, CLI and TUI install. Core and embed reach session state through the port (`agent::session_store`); a few legacy paths still fall back to workspace files when no store is installed. With a storage URL (`OPENHUMAN_STORAGE_URL` / `[storage] url`), `install_for_host` installs TinyAgents' `DriverSessionStores` over that backend instead (core `storage` domain) || `crates/openhuman-tinyhumans/` | The TinyHumans layer above embed: SDK-backed backend transport, a `RuntimeBuilder` that boots connected, and the host-side login/session owner (login-token exchange, `/auth/me`, current-user cache, credential handoff) used by app and TUI |diff --git a/crates/openhuman-app/profiling/README.md b/crates/openhuman-app/profiling/README.mdindex a8c82227a0..c14b90708b 100644--- a/crates/openhuman-app/profiling/README.md+++ b/crates/openhuman-app/profiling/README.md@@ -82,10 +82,11 @@ 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`](../../openhuman-cli/):+`rss-bench` binary in the `profile/` crate of+[openhuman-benchmarks](https://github.com/tinyhumansai/openhuman-benchmarks), from a checkout of that repository:```bash-cargo build --release -p openhuman-cli --features rss-bench --bin rss-bench+./profile/scripts/rss-bench.sh```## Layoutdiff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex 69c52dcaf1..ca41ac13d5 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -1033,11 +1033,12 @@ whatsapp-web = ["channels", "tinychannels/whatsapp-web"]# this feature so the wipe RPC isn't even registered, let alone reachable.e2e-test-support = []# Library-side gate for the embedded-RSS benchmark (#5046): the one prompt-# renderer hook in `agent/prompts/render_helpers` that the benchmark bins in-# `crates/openhuman-cli` need. Default-OFF and absent from+# renderer hook in `agent/prompts/render_helpers` (and the mock provider) that+# the benchmark bins need. Default-OFF and absent from# `scripts/ci/product-features.txt`, so nothing shipped enables it. The# `rss-bench` / `library-profile` binaries and the `rss-bench-dhat` profiling-# variant live in `crates/openhuman-cli`.+# variant live in tinyhumansai/openhuman-benchmarks (`profile/`), which+# enables this gate on the core directly.rss-bench = []# Battery/AC probe feeding the scheduler's throttle decision. Default-ON.# When off there is no hardware probe: `sample_power` reports "on AC, no chargediff --git a/crates/openhuman-core/README.md b/crates/openhuman-core/README.mdindex 991c4fae6e..eccfcca02e 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` / `library-profile` profiling bins in openhuman-benchmarks |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,9 +248,11 @@ enabled and disabled builds.## Boundaries- No binaries. [`crates/openhuman-cli`](../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).+ The benchmark and profiling binaries live in+ [openhuman-benchmarks](https://github.com/tinyhumansai/openhuman-benchmarks) (`profile/`).- No JSON-RPC server, no HTTP client for RPC, no session store:[`crates/openhuman-rpc`](../openhuman-rpc/).- No backend URLs, SDK, login, or `/auth/*` calls: [`crates/openhuman-tinyhumans`](../openhuman-tinyhumans/).diff --git a/crates/openhuman-core/src/platform/README.md b/crates/openhuman-core/src/platform/README.mdindex fc7ffa948c..89a8f33f4b 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. Used by the `rss-bench` and `library-profile` bins in openhuman-benchmarks (`profile/`). 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.mdindex edc95539dc..e4f7202e68 100644--- a/crates/openhuman-core/src/platform/proc_metrics/README.md+++ b/crates/openhuman-core/src/platform/proc_metrics/README.md@@ -47,10 +47,10 @@ 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- built for.-- [`docs/library-benchmarking.md`](../../../../../docs/library-benchmarking.md)+- `profile/src/bin/rss_bench.rs` and `profile/src/bin/library_profile/` in+ [openhuman-benchmarks](https://github.com/tinyhumansai/openhuman-benchmarks) (feature `rss-bench`): the RSS/memory+ benchmark binaries this module was built for.+- [`profile/docs/library-benchmarking.md`](https://github.com/tinyhumansai/openhuman-benchmarks/blob/main/profile/docs/library-benchmarking.md): documents the benchmark methodology and points readers here for thesampling implementation.diff --git a/crates/openhuman-embed/src/harness/workspace.rs b/crates/openhuman-embed/src/harness/workspace.rsindex 7cfac8ee19..1062790a0e 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+ /// `profile/src/bin/library_profile/harness.rs::fixture()` in openhuman-benchmarks, 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.rsindex 6d17383d67..c127ce2d86 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 `profile/src/bin/library_profile/harness.rs::fixture()` in openhuman-benchmarks,/// 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.mdindex 6701fab819..d25fee1eea 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`](ranker_tests.rs), [`route_tests.rs`](route_tests.rs) and [`evaluator_tests.rs`](evaluator_tests.rs) sit beside theirmodules 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 is a separate binary, `tool-search-bench`, in+the `profile/` crate of [openhuman-benchmarks](https://github.com/tinyhumansai/openhuman-benchmarks)+(`cargo run --manifest-path profile/Cargo.toml --bin tool-search-bench`).```bashcargo test -p openhuman-tinyhumans jev::