Skip to content

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

docs(profiles): document ambient tenant accessor

Steven Enamakel81e5a33c58dc
diff --git a/crates/openhuman-core/src/profiles/README.md b/crates/openhuman-core/src/profiles/README.md
index 496a1928c2..152b51c356 100644
--- a/crates/openhuman-core/src/profiles/README.md
+++ b/crates/openhuman-core/src/profiles/README.md
@@ -433,7 +433,7 @@ opt-ins, the profile lease fence and channel permission ceilings remain
stronger than the callback. With no callback, execution is denied.
The factory receives the exact durable chat or relay thread through
-`TurnContext::session_id`; its ambient tenant is the owning profile. During
+`TurnContext::session_id`; its ambient tenant (`openhuman_embed::current_tenant`) is the owning profile. During
execution, `openhuman_embed::current_turn_origin` exposes the task's original
`AgentTurnOrigin`, including channel sender and reply target. Concurrent
messages do not mutate another turn's routing context.
diff --git a/crates/openhuman-embed/src/lib.rs b/crates/openhuman-embed/src/lib.rs
index 765559b187..a19529cbda 100644
--- a/crates/openhuman-embed/src/lib.rs
+++ b/crates/openhuman-embed/src/lib.rs
@@ -83,7 +83,7 @@ pub use openhuman_core::backend::{
pub use openhuman_core::config::ComposioHostCredential;
pub use openhuman_core::config::Config as RuntimeConfig;
/// The exact ambient tenant, inherited across profile turns and their scoped tasks.
-pub use openhuman_core::core::runtime::{current_tenant, TenantKey};
+pub use openhuman_core::core::runtime::{current_tenant, NoTenant, Tenant};
pub use openhuman_core::security::TrustedAccess;
pub use openhuman_core::tools::toolpacks::{GroupMode, ToolGroups};
// The seam `AgentSpec::tools` needs: the belt types, and `Tool` itself from the