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
fix(embed): the profiles example runs on a storage-backed host
M3gA-Mind3291036c2352
diff --git a/crates/openhuman-embed/examples/README.md b/crates/openhuman-embed/examples/README.mdindex 7f02a825f9..6c3f68146c 100644--- a/crates/openhuman-embed/examples/README.md+++ b/crates/openhuman-embed/examples/README.md@@ -16,7 +16,7 @@- [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)+- [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,storage-sqlite)- [Hello agent: a prompt in and a reply out](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/run_turn.rs): Hello agent: a prompt in and a reply out. (offline; optional live via OPENHUMAN_EXAMPLE_LIVE=1 and BASE_URL/API_KEY/MODEL.)- [Runtime lifecycle events and live hook registration](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/runtime_events.rs): Observe ordered metadata and add/remove a runtime-wide hook while agents keep running. (offline with a loopback provider; no live path.)- [Access tiers and explicit sandbox choices](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/sandbox_access.rs): Access tiers and explicit sandbox choices. (offline with loopback stubs; no live path.)diff --git a/crates/openhuman-embed/examples/profiles.rs b/crates/openhuman-embed/examples/profiles.rsindex d29c65945d..74c2386167 100644--- a/crates/openhuman-embed/examples/profiles.rs+++ b/crates/openhuman-embed/examples/profiles.rs@@ -1,12 +1,18 @@//! Title: SaaS profiles isolate conversation history//! Summary: SaaS profiles isolate conversation history.//! Run: offline with loopback stubs; no live path.-//! Feature: channels+//! Feature: channels,storage-sqlitemod support;fn main() -> anyhow::Result<()> {let root = tempfile::tempdir()?;- let config = openhuman_embed::SaasConfig::new(root.path());+ let mut config = openhuman_embed::SaasConfig::new(root.path());+ // A storage-backed host: profile leases then carry the atomic write+ // condition the fenced cron store requires (file leases are refused).+ config.storage_url = Some(format!(+ "sqlite:{}",+ root.path().join("storage.db").display()+ ));let workspace = config.operator_config().workspace_dir;support::run_with_workspace(run(config), &workspace)}diff --git a/docs/gitbooks/en/developing/embed/cookbook.md b/docs/gitbooks/en/developing/embed/cookbook.mdindex f691f125ef..9a7f8fd3f2 100644--- a/docs/gitbooks/en/developing/embed/cookbook.md+++ b/docs/gitbooks/en/developing/embed/cookbook.md@@ -104,9 +104,9 @@ Run: `cargo run -p openhuman-embed --example memory`SaaS profiles isolate conversation history.-[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/profiles.rs) · offline with loopback stubs; no live path. · feature: channels+[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/profiles.rs) · offline with loopback stubs; no live path. · feature: channels,storage-sqlite-Run: `cargo run -p openhuman-embed --example profiles --features channels`+Run: `cargo run -p openhuman-embed --example profiles --features channels,storage-sqlite`## Hello agent: a prompt in and a reply outdiff --git a/llms-full.txt b/llms-full.txtindex 7592d41e2a..60871a1f71 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -2714,9 +2714,9 @@ Run: `cargo run -p openhuman-embed --example memory`SaaS profiles isolate conversation history.-[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/profiles.rs) · offline with loopback stubs; no live path. · feature: channels+[Source](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/profiles.rs) · offline with loopback stubs; no live path. · feature: channels,storage-sqlite-Run: `cargo run -p openhuman-embed --example profiles --features channels`+Run: `cargo run -p openhuman-embed --example profiles --features channels,storage-sqlite`## Hello agent: a prompt in and a reply out@@ -3202,7 +3202,7 @@ The compiled capability report describes this build:- [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)+- [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,storage-sqlite)- [Hello agent: a prompt in and a reply out](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/run_turn.rs): Hello agent: a prompt in and a reply out. (offline; optional live via OPENHUMAN_EXAMPLE_LIVE=1 and BASE_URL/API_KEY/MODEL.)- [Runtime lifecycle events and live hook registration](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/runtime_events.rs): Observe ordered metadata and add/remove a runtime-wide hook while agents keep running. (offline with a loopback provider; no live path.)- [Access tiers and explicit sandbox choices](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/examples/sandbox_access.rs): Access tiers and explicit sandbox choices. (offline with loopback stubs; no live path.)