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(tools): add deferred tool search support
Steven Enamakel86509872706e
diff --git a/src/openhuman/agent/harness/session/builder/setters.rs b/src/openhuman/agent/harness/session/builder/setters.rsindex a82b601358..40e585bb80 100644--- a/src/openhuman/agent/harness/session/builder/setters.rs+++ b/src/openhuman/agent/harness/session/builder/setters.rs@@ -491,6 +491,13 @@ impl AgentBuilder {"[tools] withheld deferred tool schemas; reachable via tool_search");}+ // Index them where the model can find them again. Done here rather than+ // at registration because which tools are deferred depends on the belt,+ // and the belt is only known now.+ crate::openhuman::tools::implementations::meta::bind_tool_search_index(+ tools.as_slice(),+ deferred,+ );let config = self.config.clone().unwrap_or_default();let event_session_id = self.event_session_iddiff --git a/src/openhuman/tools/ops.rs b/src/openhuman/tools/ops.rsindex bbe20fbb03..8145b688f0 100644--- a/src/openhuman/tools/ops.rs+++ b/src/openhuman/tools/ops.rs@@ -1182,6 +1182,17 @@ pub fn all_tools_with_runtime(// `orchestrator_tools::collect_orchestrator_tools` — which never pass// through this function.crate::openhuman::tools::toolpacks::append_pack_tools(&mut tools);++ // The lookup half of `ToolExposure::Deferred`. Always registered, for the+ // same reason `load_skill` / `use_skill` are: whether anything is actually+ // deferred depends on the agent's belt, which is resolved later in the+ // session builder, and a search tool that arrived *after* the tools it+ // searches were hidden would be one release of silently unreachable+ // capabilities. Its index starts empty and costs one small schema; the+ // builder fills it via `bind_tool_search_index`.+ tools.push(Box::new(+ crate::openhuman::tools::implementations::meta::ToolSearchTool::new(),+ ));tools}