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 async subagent spawn execution tool
Steven Enamakelc05aa1769e97
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rsindex cb29bed7ce..33bf5cc8bf 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs@@ -489,8 +489,7 @@ impl SpawnAsyncSubagentTool {delivery_summary,).await;- // Terminal status is published only after the completion is durably- // recorded, so a racing cancel that sees `already_finished` can rely on it.+ // Status is published only after the completion is recorded (a racing cancel relies on it).let _ = status_tx.send(DetachedSubagentStatus::Completed {output: outcome.output.clone(),iterations: outcome.iterations,@@ -565,8 +564,6 @@ impl SpawnAsyncSubagentTool {completion_target.completed(&outcome.task_id, &outcome.agent_id, framed).await;- // Terminal status is published only after the completion is durably- // recorded, so a racing cancel that sees `already_finished` can rely on it.let _ = status_tx.send(DetachedSubagentStatus::Completed {output: framed.clone(),iterations: outcome.iterations,@@ -623,8 +620,6 @@ impl SpawnAsyncSubagentTool {completion_target.failed(&outcome.task_id, &outcome.agent_id, &error).await;- // Terminal status is published only after the completion is durably- // recorded, so a racing cancel that sees `already_finished` can rely on it.let _ = status_tx.send(DetachedSubagentStatus::Failed {error: error.clone(),});@@ -677,8 +672,6 @@ impl SpawnAsyncSubagentTool {checkpoint.is_some(),).await;- // Terminal status is published only after the completion is durably- // recorded, so a racing cancel that sees `already_finished` can rely on it.let _ = status_tx.send(DetachedSubagentStatus::AwaitingUser {question: question.clone(),});@@ -728,8 +721,6 @@ impl SpawnAsyncSubagentTool {completion_target.failed(&background_task_id, &background_agent_id, &error).await;- // Terminal status is published only after the completion is durably- // recorded, so a racing cancel that sees `already_finished` can rely on it.let _ = status_tx.send(DetachedSubagentStatus::Failed {error: error.clone(),});