Skip to content

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

fix(embed): the fleet example builds with the SQLite storage driver

M3gA-Mindbd6570a1780f
diff --git a/crates/openhuman-embed/examples/README.md b/crates/openhuman-embed/examples/README.md
index 32967b925d..7f02a825f9 100644
--- a/crates/openhuman-embed/examples/README.md
+++ b/crates/openhuman-embed/examples/README.md
@@ -13,7 +13,7 @@
- [A per-agent post-turn hook observes completed turns](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/hooks.rs): A per-agent post-turn hook observes completed turns. (offline; optional live via OPENHUMAN_EXAMPLE_LIVE=1 and BASE_URL/API_KEY/MODEL.)
- [Host tools and HostOnly keep the advertised tool catalog exact](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/host_tools.rs): Host tools and HostOnly keep the advertised tool catalog exact. (offline with loopback stubs; no live path.)
- [Lean runtime without background services](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/lean_headless.rs): Lean runtime without background services. (offline with loopback stubs; optional live via OPENHUMAN_EXAMPLE_LIVE.)
-- [Linux agent fleet memory and latency](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/linux_fleet.rs): Measure retained runtime-owned agents using loopback inference and two worker threads. (offline on Linux; use a fresh constrained cgroup for release measurements.)
+- [Linux agent fleet memory and latency](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/linux_fleet.rs): Measure retained runtime-owned agents using loopback inference and two worker threads. (offline on Linux; use a fresh constrained cgroup for release measurements.; feature: storage-sqlite)
- [Connect an actual MCP protocol stub over loopback](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/mcp.rs): Connect an actual MCP protocol stub over loopback. (offline with loopback stubs; no live path.; feature: mcp)
- [Tenant scoped memory facade with an in-memory engine](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/memory.rs): Tenant scoped memory facade with an in-memory engine. (offline with loopback stubs; no live path.)
- [SaaS profiles isolate conversation history](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/profiles.rs): SaaS profiles isolate conversation history. (offline with loopback stubs; no live path.; feature: channels)
diff --git a/crates/openhuman-embed/examples/linux_fleet.rs b/crates/openhuman-embed/examples/linux_fleet.rs
index 19b218b246..a8b888b37f 100644
--- a/crates/openhuman-embed/examples/linux_fleet.rs
+++ b/crates/openhuman-embed/examples/linux_fleet.rs
@@ -2,7 +2,7 @@
//! Summary: Measure retained runtime-owned agents using loopback inference and two worker threads.
//! Run: offline on Linux; use a fresh constrained cgroup for release measurements.
//! Profile: release
-//! Feature: default
+//! Feature: storage-sqlite
//! Default features: disabled
#![recursion_limit = "512"]
diff --git a/docs/gitbooks/en/developing/embed/cookbook.md b/docs/gitbooks/en/developing/embed/cookbook.md
index ddfd086037..f691f125ef 100644
--- a/docs/gitbooks/en/developing/embed/cookbook.md
+++ b/docs/gitbooks/en/developing/embed/cookbook.md
@@ -80,9 +80,9 @@ Run: `cargo run -p openhuman-embed --example lean_headless`
Measure retained runtime-owned agents using loopback inference and two worker threads.
-[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/linux_fleet.rs) · offline on Linux; use a fresh constrained cgroup for release measurements.
+[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/linux_fleet.rs) · offline on Linux; use a fresh constrained cgroup for release measurements. · feature: storage-sqlite
-Run: `cargo run -p openhuman-embed --release --example linux_fleet --no-default-features`
+Run: `cargo run -p openhuman-embed --release --example linux_fleet --no-default-features --features storage-sqlite`
## Connect an actual MCP protocol stub over loopback
diff --git a/docs/gitbooks/en/developing/performance.md b/docs/gitbooks/en/developing/performance.md
index 81037bb291..899b6b61b6 100644
--- a/docs/gitbooks/en/developing/performance.md
+++ b/docs/gitbooks/en/developing/performance.md
@@ -156,7 +156,7 @@ sizing a production fleet.
To reproduce from the OpenHuman repository root:
```sh
-cargo build -p openhuman-embed --locked --release --no-default-features --example linux_fleet
+cargo build -p openhuman-embed --locked --release --no-default-features --features storage-sqlite --example linux_fleet
systemd-run --user --scope -p MemoryMax=2G -p CPUQuota=200% --quiet \
python3 crates/openhuman-embed/examples/linux_fleet_cgroup.py 500
```