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
feat(agent): add host agent session support
Steven Enamakel8e9ce366799a
diff --git a/crates/openhuman-core/src/agent/host_agents.rs b/crates/openhuman-core/src/agent/host_agents.rsindex 836b215295..038dbbe2ca 100644--- a/crates/openhuman-core/src/agent/host_agents.rs+++ b/crates/openhuman-core/src/agent/host_agents.rs@@ -69,8 +69,7 @@ impl HostAgent {host_tools = self.host_tools.is_some(),"[host_agents] building session for host agent");- self.hooks.clone().sync_scope(|| {- CoreContext::sync_scope(Arc::clone(&self.context), || {+ let mut session = CoreContext::sync_scope(Arc::clone(&self.context), || {if crate::profiles::capabilities::ProfileCapabilities::current().is_some() {return OpenHumanSessionHost::from_config_host_only(config,diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex f62fa8a615..2425c416ef 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -389,7 +389,7 @@ impl OpenHumanSessionHost {None => SystemPromptBuilder::with_defaults(),};let post_turn_hooks: Vec<Arc<dyn crate::agent::hooks::PostTurnHook>> =- crate::agent::hooks::turn_post_turn_hooks();+ crate::agent::hooks::embedder_post_turn_hooks();// Best-effort prewarm from the shared Composio cache. This avoids// building the session with a knowingly stale `&[]` integration view