Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(agent): add parallel subagent graph orchestration

Steven Enamakel363c055966f0
diff --git a/crates/openhuman-core/src/agent/orchestration/ops.rs b/crates/openhuman-core/src/agent/orchestration/ops.rs
index bdff6d130e..74c4aa9a87 100644
--- a/crates/openhuman-core/src/agent/orchestration/ops.rs
+++ b/crates/openhuman-core/src/agent/orchestration/ops.rs
@@ -519,6 +519,7 @@ impl AgentOrchestrationSession {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
diff --git a/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/collect.rs b/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/collect.rs
index 977cffac07..337a29bded 100644
--- a/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/collect.rs
+++ b/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/collect.rs
@@ -115,6 +115,7 @@ pub(crate) async fn project_spawn_parallel_result(
worktree_path: worktree_path.clone(),
changed_files: changed_files.clone(),
dirty_status: *dirty_status,
+ stop: None,
})
.await
{
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs
index 04255ca5c8..a3e0368a6e 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/continue_subagent.rs
@@ -553,6 +553,7 @@ impl ContinueSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
@@ -597,6 +598,7 @@ impl ContinueSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
index 357e2d3744..148330c152 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch.rs
@@ -503,6 +503,7 @@ pub(crate) async fn dispatch_subagent_with_live_parent(
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
@@ -571,6 +572,7 @@ pub(crate) async fn dispatch_subagent_with_live_parent(
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
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.rs
index 5006e5c60b..5178a8b627 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
@@ -522,6 +522,7 @@ impl SpawnAsyncSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
@@ -597,6 +598,7 @@ impl SpawnAsyncSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
index 3180ef9023..4e05020954 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
@@ -403,6 +403,7 @@ impl SpawnSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}
@@ -481,6 +482,7 @@ impl SpawnSubagentTool {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ stop: None,
})
.await;
}