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 orchestration ops and triage escalation
Steven Enamakel14c300c85ba3
diff --git a/crates/openhuman-core/src/agent/orchestration/ops.rs b/crates/openhuman-core/src/agent/orchestration/ops.rsindex 6bafc86d8b..74957d4777 100644--- a/crates/openhuman-core/src/agent/orchestration/ops.rs+++ b/crates/openhuman-core/src/agent/orchestration/ops.rs@@ -365,7 +365,8 @@ impl AgentOrchestrationSession {// only its route/usage observations are isolated by `child()` in the// subagent runner.let cancellation = CancellationToken::new();- let mut run_context = crate::agent::tinyagents::host::OpenHumanRunContext::new();+ let mut run_context = crate::agent::tinyagents::host::OpenHumanRunContext::new()+ .with_host_env(&parent.host_env);run_context.parent = Some(parent.clone());run_context.progress = parent.on_progress.clone().or(run_context.progress);run_context.workspace = parent_workspace_descriptordiff --git a/crates/openhuman-core/src/agent/orchestration/tools.rs b/crates/openhuman-core/src/agent/orchestration/tools.rsindex d7288faa40..f7f0ff4bf5 100644--- a/crates/openhuman-core/src/agent/orchestration/tools.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools.rs@@ -69,6 +69,7 @@ pub(crate) fn ambient_parent_run_context(> {crate::agent::harness::current_parent().map(|parent| {crate::agent::tinyagents::host::OpenHumanRunContext::new()+ .with_host_env(&parent.host_env).with_parent(parent).into_tinyagents(tinyagents_harness::context::RunConfig::new(kind))})diff --git a/crates/openhuman-core/src/agent/triage/escalation.rs b/crates/openhuman-core/src/agent/triage/escalation.rsindex 5dcf294725..bdc6d9bee2 100644--- a/crates/openhuman-core/src/agent/triage/escalation.rs+++ b/crates/openhuman-core/src/agent/triage/escalation.rs@@ -266,6 +266,7 @@ async fn dispatch_target_agent(agent_id: &str, prompt: &str) -> anyhow::Result<Sprompt,SubagentRunOptions {run_context: crate::agent::tinyagents::host::OpenHumanRunContext::new()+ .with_host_env(&parent_ctx.host_env).with_parent(parent_ctx),..Default::default()},