Skip to content

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

docs(mcp): clarify agent cleanup runtime requirements

Steven Enamakel0311a4281ec8
diff --git a/crates/openhuman-core/src/mcp/agent_cleanup.rs b/crates/openhuman-core/src/mcp/agent_cleanup.rs
index 688993c59c..98c909ec2c 100644
--- a/crates/openhuman-core/src/mcp/agent_cleanup.rs
+++ b/crates/openhuman-core/src/mcp/agent_cleanup.rs
@@ -70,7 +70,8 @@ impl AgentMcpCleanup {
}
}
-/// Run captured cleanup independently of the caller's Tokio runtime.
+/// Run captured cleanup on the process module executor when modules are enabled.
+/// Without modules, the caller must keep its current Tokio runtime alive.
/// This creates no configured client and loads no MCP artifact.
pub fn spawn_agent_cleanup<F>(
future: F,