Skip to content

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

refactor(integrations): drop hosted integration client from core

Steven Enamakel92cd4fe8a2bb
diff --git a/crates/openhuman-core/src/integrations/mod.rs b/crates/openhuman-core/src/integrations/mod.rs
index 939ac1b3f9..9e13338af6 100644
--- a/crates/openhuman-core/src/integrations/mod.rs
+++ b/crates/openhuman-core/src/integrations/mod.rs
@@ -1,23 +1,12 @@
-//! Agent integration tools.
+//! Agent integrations that run through the core itself.
//!
-//! Most integrations proxy through backend endpoints authenticated with the
-//! user's session token, so billing, rate limiting, and provider markup stay
-//! server-side. Some integrations, such as SearXNG, call user-configured
-//! endpoints directly when enabled; those callers must keep configured base URLs
-//! trusted because requests leave the local core process.
+//! Composio connectors ([`composio`]) and task sources ([`task_sources`]) live
+//! here. The hosted `/agent-integrations/*` client, its managed tools (Google
+//! Places, stock data, file storage, media generation) and the web3 crypto
+//! client are not part of the core: a host that has such a service plugs them
+//! in through the generic registries (tool sources, the Composio route
+//! builders, the wallet-backend hook). With none registered the core runs
+//! without them.
-pub mod client;
pub mod composio;
-pub mod file_storage;
pub mod task_sources;
-pub mod tools;
-pub mod types;
-
-pub use client::{build_client, pricing_for_config, IntegrationClient};
-pub use types::{
- BackendResponse, IntegrationPricing, IntegrationPricingEntry, PricingIntegrations,
-};
-
-#[cfg(test)]
-#[path = "mod_tests.rs"]
-mod tests;
diff --git a/crates/openhuman-core/src/web3/mod.rs b/crates/openhuman-core/src/web3/mod.rs
index 716ec64008..d59271d89e 100644
--- a/crates/openhuman-core/src/web3/mod.rs
+++ b/crates/openhuman-core/src/web3/mod.rs
@@ -5,8 +5,9 @@
//! Quote preparation, signing, calldata encoding, provider algorithms, and the
//! confirm-then-execute quote store run inside the compiled TinyWallet module.
//! This host layer keeps product RPC controllers and schemas (their namespace
-//! strings are wire contracts), the [`client`] for the backend deBridge proxy
-//! (`/agent-integrations/crypto/*`), and adapters for configuration, custody,
+//! strings are wire contracts), the wallet-backend hook
+//! (`modules::wallet_backend`, answered by a host that has a swap/bridge
+//! service), and adapters for configuration, custody,
//! approval, and generic network transport.
//! Three sub-modules expose distinct RPC namespaces:
//! - [`swap`] (`web3_swap`) — single-chain swaps (cross-chain → `web3_bridge`).
@@ -26,8 +27,6 @@
#[cfg(feature = "web3")]
pub mod bridge;
#[cfg(feature = "web3")]
-pub mod client;
-#[cfg(feature = "web3")]
pub mod dapp;
#[cfg(feature = "web3")]
mod module_tools;