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
refactor(agent_runs): expose agent_chat from its new module path
Steven Enamakel9a778cf35f7b
diff --git a/crates/openhuman-core/src/agent/session_host/runtime/accessors/runtime.rs b/crates/openhuman-core/src/agent/session_host/runtime/accessors/runtime.rsindex 3f244ff73c..5d9c98d53a 100644--- a/crates/openhuman-core/src/agent/session_host/runtime/accessors/runtime.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime/accessors/runtime.rs@@ -175,7 +175,7 @@ impl OpenHumanSessionHost {/// for callers that construct the agent through/// [`OpenHumanSessionHost::from_config`](crate::agent::OpenHumanSessionHost::from_config) and/// therefore never see the builder — notably the per-turn `cwd` of- /// [`agent_chat`](crate::inference::host_runtime::ops::agent_chat).+ /// [`agent_chat`](crate::agent_runs::agent_chat::agent_chat).////// The descriptor is threaded onto the turn's run context, so it also/// propagates to sub-agents spawned from this session. `None` restores thediff --git a/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs b/crates/openhuman-core/src/agent_runs/agent_chat/mod.rsindex 0ee0220f94..e4925d548f 100644--- a/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs+++ b/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs@@ -5,7 +5,7 @@ mod controllers;pub(crate) mod params;mod session_turn;-pub(crate) use session_turn::{+pub use session_turn::{agent_chat, agent_chat_for, agent_chat_reply_for, AgentChatEnv, AgentChatReply,AgentChatTarget,};diff --git a/crates/openhuman-core/src/agent_runs/mod.rs b/crates/openhuman-core/src/agent_runs/mod.rsindex f67404da1f..31052bc0a8 100644--- a/crates/openhuman-core/src/agent_runs/mod.rs+++ b/crates/openhuman-core/src/agent_runs/mod.rs@@ -1,7 +1,7 @@//! Product-facing RPC surfaces for agent runs, teams, workflows, replay, and tools.pub(crate) mod agent_teams;-pub(crate) mod agent_chat;+pub mod agent_chat;pub(crate) mod command_center;pub(crate) mod context_breakdown;pub(crate) mod replay;diff --git a/crates/openhuman-embed/src/turn.rs b/crates/openhuman-embed/src/turn.rsindex d17710fe34..97b2b44b0d 100644--- a/crates/openhuman-embed/src/turn.rs+++ b/crates/openhuman-embed/src/turn.rs@@ -43,7 +43,7 @@ use std::sync::Arc;use super::error::CoreError;use openhuman_core::core::runtime::CoreRuntime;-use openhuman_core::inference::INFERENCE_AGENT_CHAT as AGENT_CHAT;+use openhuman_core::agent_runs::INFERENCE_AGENT_CHAT as AGENT_CHAT;use openhuman_core::progress::AgentProgress;use openhuman_core::security::turn_origin::AgentTurnOrigin;@@ -545,7 +545,7 @@ struct AgentTurnOptions {attachments: Vec<openhuman_core::agent::HostAttachment>,/// The explicit per-turn values the core honours: live progress and the/// host environment (budget, depth, cancellation, hooks, tool-belt authority).- chat_env: openhuman_core::inference::host_runtime::ops::AgentChatEnv,+ chat_env: openhuman_core::agent_runs::agent_chat::AgentChatEnv,}async fn dispatch(diff --git a/crates/openhuman-embed/src/turn_control.rs b/crates/openhuman-embed/src/turn_control.rsindex 3f5bcfee9c..714f534ac4 100644--- a/crates/openhuman-embed/src/turn_control.rs+++ b/crates/openhuman-embed/src/turn_control.rs@@ -361,7 +361,7 @@ impl Turn {});// Everything the core honours for this turn rides one explicit value;// nothing is recovered from an ambient scope below this point.- let chat_env = openhuman_core::inference::host_runtime::ops::AgentChatEnv {+ let chat_env = openhuman_core::agent_runs::agent_chat::AgentChatEnv {progress: self.progress.take(),host: openhuman_core::agent::turn_env::HostTurnEnv {command_environment: self.tool_env.take(),diff --git a/tests/in_process/agent_prompt_comprehension_e2e.rs b/tests/in_process/agent_prompt_comprehension_e2e.rsindex ccaf916b17..2cd31b15da 100644--- a/tests/in_process/agent_prompt_comprehension_e2e.rs+++ b/tests/in_process/agent_prompt_comprehension_e2e.rs@@ -652,7 +652,7 @@ async fn run_case_inner(case: Case) {None,None,None,- openhuman_core::inference::host_runtime::ops::AgentChatEnv::default(),+ openhuman_core::agent_runs::agent_chat::AgentChatEnv::default(),).await.expect("summarizer turn must finish");