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(subagent_host): add lifecycle management for subagent hosts
Steven Enamakel98cbbd1cfda4
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rsindex 949f842805..8caaa1c483 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs@@ -488,17 +488,18 @@ impl SubagentPlanner<crate::agent::tinyagents::host::OpenHumanRunContext, HostRedefinition: request.host_request.definition.clone(),options,});- Ok(PreparedSubagent {- task_id: request.task_key.task_id,- agent_key: request.host_request.definition.id,- input: planned_input,- // The host execution leaf resolves the exact filtered tool snapshot- // together with its executable instances and policy. A neutral- // empty declaration prevents this transport plan from advertising- // an authority it has not resolved.- tools: ToolSnapshot::default(),- run_context: request.run_context,- })+ // The host execution leaf resolves the exact filtered tool snapshot+ // together with its executable instances and policy. A neutral+ // empty declaration prevents this transport plan from advertising+ // an authority it has not resolved. Role, ceiling, retry and result+ // policy stay at the harness defaults: the host applies its own.+ Ok(PreparedSubagent::new(+ request.task_key.task_id,+ request.host_request.definition.id,+ planned_input,+ ToolSnapshot::default(),+ request.run_context,+ ))}}@@ -1175,7 +1176,7 @@ fn host_outcome_to_neutral(})}SubagentRunStatus::Incomplete { reason } => {- SubagentStatus::Incomplete(SubagentIncomplete { reason })+ SubagentStatus::Incomplete(SubagentIncomplete::new(reason))}SubagentRunStatus::Cancelled => SubagentStatus::Cancelled,};