Skip to content

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

feat(tinyagents): expose host graph topologies helper

Steven Enamakel635eb4d4fea6
diff --git a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
index cde5af829c..3d1dc61f2c 100644
--- a/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/tool_registration.rs
@@ -666,6 +666,18 @@ pub(crate) fn capability_diagnostics(
diagnostics
}
+/// Graph descriptors that remain part of OpenHuman's host capability surface.
+/// Team and workflow graphs were used only by the retired graph-workflow
+/// feature; delegation remains live for sub-agent orchestration.
+pub(crate) fn host_graph_topologies() -> Vec<tinyagents_orchestration::topology::GraphTopologyReport> {
+ tinyagents_orchestration::topology::all_graph_topologies()
+ .into_iter()
+ .filter(|report| {
+ !report.name.starts_with("agent_teams:") && !report.name.starts_with("workflow_runs:")
+ })
+ .collect()
+}
+
#[cfg(test)]
#[path = "tool_registration_tests.rs"]
mod tests;