Skip to content

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

feat(agent): add run_workflow tool for executing workflows

Steven Enamakel9fffe376ead9
diff --git a/crates/openhuman-core/src/agent/tools/run_workflow.rs b/crates/openhuman-core/src/agent/tools/run_workflow.rs
index d043d939b7..c2f95599ba 100644
--- a/crates/openhuman-core/src/agent/tools/run_workflow.rs
+++ b/crates/openhuman-core/src/agent/tools/run_workflow.rs
@@ -56,6 +56,7 @@ mod guard {
use std::collections::HashSet;
use std::sync::atomic::{AtomicU64, Ordering};
use std::sync::{Arc, Mutex};
+ use crate::core::runtime::DispatchCtx;
/// Per-agent lifetime backstop against a runaway spawn loop.
const TOTAL_SPAWN_BACKSTOP: u64 = 500;