Skip to content

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

refactor(flows): remove flow agent module re-exports

Steven Enamakeled2dd6f475da
diff --git a/crates/openhuman-core/src/flows/agents/flow_discovery/mod.rs b/crates/openhuman-core/src/flows/agents/flow_discovery/mod.rs
deleted file mode 100644
index 8bf84783cb..0000000000
--- a/crates/openhuman-core/src/flows/agents/flow_discovery/mod.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod prompt;
diff --git a/crates/openhuman-core/src/flows/agents/mod.rs b/crates/openhuman-core/src/flows/agents/mod.rs
deleted file mode 100644
index 8f95780c1f..0000000000
--- a/crates/openhuman-core/src/flows/agents/mod.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-//! Flow-domain agents: the specialist agents that author and discover flows.
-//!
-//! These are first-class built-in agents (registered in the global
-//! `agent_registry` via [`crate::agent::registry::agents::loader`]),
-//! but their definitions live here — inside the flows high-level module —
-//! alongside the flows data model, tools, and RPCs they operate on, so the whole
-//! feature is one cohesive unit. The loader's `BUILTINS` slice points at these
-//! modules by path (the same cross-module pattern `reasoning_agent` uses from
-//! `orchestration/`), so registration stays centralized while ownership stays
-//! with the domain.
-//!
-//! - [`workflow_builder`] — authors tinyflows [`WorkflowGraph`](tinyflows::model::WorkflowGraph)s
-//! from natural language and returns a validated PROPOSAL by default. It
-//! also carries three narrow, deliberate persistence tools —
-//! `create_workflow`/`duplicate_flow` (always born DISABLED) and
-//! `save_workflow` (update-only, onto a flow that already exists) — each
-//! gated behind the user's explicit ask; it never enables a flow. See the
-//! module doc in `integrations::composio::builder_tools` for the full tool-by-tool table.
-//! - [`flow_discovery`] — the read-only "Flow Scout" that grounds buildable
-//! automation ideas from the user's data.
-
-pub mod flow_discovery;
-pub mod workflow_builder;
diff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs b/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs
deleted file mode 100644
index 43821aa333..0000000000
--- a/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-//! The `workflow_builder` built-in agent: this host's wiring of the tinyflows
-//! authoring copilot.
-//!
-//! `prompt` assembles the workflow-builder archetype with this host's runtime
-//! sections, while the asynchronous `flows.build` operation asks the compiled
-//! TinyFlows module to render per-turn builder briefs.
-
-pub mod prompt;