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
docs: align backend transport wording with host registrations
Steven Enamakel9f7b42b75c78
diff --git a/crates/openhuman-core/src/agent/tinyagents/README.md b/crates/openhuman-core/src/agent/tinyagents/README.mdindex feb35c5a28..4380227f5a 100644--- a/crates/openhuman-core/src/agent/tinyagents/README.md+++ b/crates/openhuman-core/src/agent/tinyagents/README.md@@ -61,7 +61,7 @@ ranker when a decision-model credential is present. `discovery_policy` readsthat installed ranker together with `agent.tool_search`(`ToolSearchConfig` in `crate::config::schema`) and builds the`ToolDiscoveryPolicy` the harness runs with for that turn. The slot is-process-wide, like the backend transport, because the credential a+process-wide, like the other host registrations, because the credential adecision-model ranker needs belongs to the process's signed-in user ratherthan to any one agent config. See[the Jev page](../../../../../docs/gitbooks/en/developing/jev.md) for the rankingdiff --git a/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs b/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rsindex 1554910acf..0af7d7278f 100644--- a/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs+++ b/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs@@ -9,7 +9,7 @@//! to use it. [`discovery_policy`] turns the two into the//! [`ToolDiscoveryPolicy`] every turn harness runs with.//!-//! Process-wide, like the backend transport, because the credential a+//! Process-wide, like the other host registrations, because the credential a//! decision-model ranker needs is a property of the process's signed-in//! user, and the harness is assembled per turn without a config in hand.diff --git a/crates/openhuman-core/src/channels/README.md b/crates/openhuman-core/src/channels/README.mdindex b5b1791615..44d33865ed 100644--- a/crates/openhuman-core/src/channels/README.md+++ b/crates/openhuman-core/src/channels/README.md@@ -49,7 +49,7 @@ or shell-based substitute.| --- | --- || [`mod.rs`](./mod.rs) | Feature gates and the public channel contract exports. Concrete provider exports are test-only. || [`traits.rs`](./traits.rs) | Portable message and send contracts re-exported from `tinychannels-bus`. |-| [`controllers/`](./controllers/) | OpenHuman `channels.*` operations and host-side backend transport adaptation. |+| [`controllers/`](./controllers/) | OpenHuman `channels.*` operations and host-side adaptation of the registered channel callback. || [`host/`](./host/) | Typed module callbacks, event subscribers, and remote-control host operations. || [`runtime/`](./runtime/README.md) | Module lease startup, account lifetime, and the OpenHuman dispatch pipeline. || [`bus/`](./bus/) | Hosted-channel inbound and durable progressive delivery integration. |diff --git a/crates/openhuman-core/src/channels/callback_slot.rs b/crates/openhuman-core/src/channels/callback_slot.rsindex b36d0fb011..594084a3eb 100644--- a/crates/openhuman-core/src/channels/callback_slot.rs+++ b/crates/openhuman-core/src/channels/callback_slot.rs@@ -8,8 +8,8 @@//! built-in managed path. The callback is a plain closure over the vendor//! contract types: the core defines no trait for it.//!-//! With nothing registered [`bus::delivery`](super::bus) uses its built-in-//! managed transport, unchanged.+//! With nothing registered [`bus::delivery`](super::bus) has no progressive+//! delivery transport and answers `BACKEND_UNAVAILABLE:`.use std::future::Future;use std::pin::Pin;diff --git a/crates/openhuman-core/src/config/README.md b/crates/openhuman-core/src/config/README.mdindex e7dd1b4a60..a646b42964 100644--- a/crates/openhuman-core/src/config/README.md+++ b/crates/openhuman-core/src/config/README.md@@ -210,7 +210,7 @@ The `workspace` namespace (`file_read`, `file_write`, `file_reset`) is registereare secrets and when to encrypt or decrypt them.- The autonomy policy is defined here as data (`AutonomyConfig`, `[autonomy] enabled = false` bydefault) but enforced by [`crates/openhuman-core/src/security/`](../security/) (`SecurityPolicy::from_config`).-- Hosted backend URLs and their environment overrides belong to the installed backend transport+- Hosted backend URLs and their environment overrides belong to the host crate that registers the config enricher([`crates/openhuman-tinyhumans/src/backend/url.rs`](../../../openhuman-tinyhumans/src/backend/url.rs)). `config.api_url` is only the user's stored value.- Credentials and sign-in are not config. The core receives a credential through `auth.set_credential`;login and `/auth/me` live in the host's session owner (`openhuman_tinyhumans::session`).diff --git a/crates/openhuman-core/src/config/ops/model.rs b/crates/openhuman-core/src/config/ops/model.rsindex 515157cd90..dfe467d345 100644--- a/crates/openhuman-core/src/config/ops/model.rs+++ b/crates/openhuman-core/src/config/ops/model.rs@@ -685,10 +685,10 @@ pub async fn get_composio_trigger_settings())}-/// Resolve the hosted backend URL through the installed backend transport,-/// which excludes local or third-party inference overrides that must never-/// receive OpenHuman session credentials. `None` when no transport is-/// installed (no hosted backend).+/// The control-plane URL the host's config enricher resolved onto+/// `config.resolved_endpoints`. The enricher excludes local or third-party+/// inference overrides that must never receive OpenHuman session+/// credentials. `None` when no enricher is registered (no hosted backend).pub(crate) fn resolve_backend_api_url(config: &Config) -> Option<String> {config.resolved_endpoints.control_plane_url.clone()}diff --git a/crates/openhuman-core/src/core/observability.rs b/crates/openhuman-core/src/core/observability.rsindex 84d5f38dff..4586db2a12 100644--- a/crates/openhuman-core/src/core/observability.rs+++ b/crates/openhuman-core/src/core/observability.rs@@ -194,7 +194,7 @@ pub enum ExpectedErrorKind {/// returned an empty response"` is also demoted — no per-channel typed/// suppression needed.EmptyProviderResponse,- /// The core has no backend transport installed (built and run without+ /// The core has no hosted backend registered (built and run without/// `openhuman-tinyhumans`), so a hosted-backend call could not be sent/// at all. Expected build state, not a defect: the core runs agents,/// memory and tools without any TinyHumans connection, and every@@ -2077,7 +2077,7 @@ fn report_expected_message(kind: ExpectedErrorKind, message: &str, domain: &str,}ExpectedErrorKind::ModuleUnavailable => log_module_unavailable(domain, operation, message),ExpectedErrorKind::BackendUnavailable => {- // Build-state condition: no backend transport is installed, so+ // Build-state condition: no hosted backend is registered, so// the hosted backend is unreachable by construction. Nothing to// fix in Sentry — the host chose a backend-less core.tracing::debug!(diff --git a/crates/openhuman-core/src/core/observability_availability.rs b/crates/openhuman-core/src/core/observability_availability.rsindex 05331fc477..6a66f5469c 100644--- a/crates/openhuman-core/src/core/observability_availability.rs+++ b/crates/openhuman-core/src/core/observability_availability.rs@@ -1,8 +1,8 @@//! Sentinels for "a component this call needs is not available", and their//! classifiers.//!-//! Each one marks a condition that is decided once — no backend transport in-//! this build, a rejected API key, a native module that failed to load — and+//! Each one marks a condition that is decided once — no hosted backend+//! registered in this build, a rejected API key, a native module that failed to load — and//! then handed back to every caller. Re-reporting it per call carries no new//! signal, so [`super::expected_error_kind`] demotes all of them.diff --git a/crates/openhuman-core/src/core/slots.rs b/crates/openhuman-core/src/core/slots.rsindex 97358be287..8b93a5b169 100644--- a/crates/openhuman-core/src/core/slots.rs+++ b/crates/openhuman-core/src/core/slots.rs@@ -13,7 +13,7 @@//! A host can also bind registrations to one [`CoreContext`]//! ([`HookSlot::register_in`] on an [`Extensions`] handed to//! [`CoreBuilder::extensions`](crate::core::runtime::CoreBuilder::extensions)),-//! the same way the old backend transport was bound. Lookups try the ambient+//! so a multi-tenant host can give each context its own services. Lookups try the ambient//! context first and the process table second: a context entry replaces a//! global one with the same id, and context-only ids are appended after the//! global ones.diff --git a/crates/openhuman-core/src/media/generation/README.md b/crates/openhuman-core/src/media/generation/README.mdindex 469d1fdf5a..b5b4c59f07 100644--- a/crates/openhuman-core/src/media/generation/README.md+++ b/crates/openhuman-core/src/media/generation/README.md@@ -40,7 +40,7 @@ layers, each with a different owner:`build_media_tools` is called from wherever the tool registry assembles theagent's tool list; it returns an empty list rather than erroring when no-backend transport is installed, so a library host with no TinyHumans+hosted media provider is registered, so a library host with no TinyHumansconnection simply has no media tools rather than a broken one. TinyAgentsstores generated bytes in its media blob store, and `MediaArtifactTool` copieseach one into the visible files folder (`~/OpenHuman/projects/Files`, metadatadiff --git a/crates/openhuman-core/src/platform/README.md b/crates/openhuman-core/src/platform/README.mdindex d14a20773c..607894faa0 100644--- a/crates/openhuman-core/src/platform/README.md+++ b/crates/openhuman-core/src/platform/README.md@@ -112,9 +112,9 @@ lifecycle mutators ship off by default through the user tool filter.- The JSON-RPC server, `/health` route, and Socket.IO server the frontendconnects to belong to `crates/openhuman-rpc`. `platform::socket` is thecore's outbound client to the backend, not that server.-- The backend URL and transport belong to the installed backend transport- (`crates/openhuman-tinyhumans`). `socket` asks for them; with no transport- installed it does not auto-connect.+- The backend URL belongs to the host crate that registers the config enricher+ (`crates/openhuman-tinyhumans`). `socket` reads `Config.resolved_endpoints`;+ with none resolved it does not auto-connect.- The session credential belongs to the host's session owner. `socket` readswhatever token the core was given through `auth.set_credential`.- How the desktop shell supervises the core belongs todiff --git a/crates/openhuman-core/src/security/credentials/jwt.rs b/crates/openhuman-core/src/security/credentials/jwt.rsindex 524eb1b7c0..5d3a965d38 100644--- a/crates/openhuman-core/src/security/credentials/jwt.rs+++ b/crates/openhuman-core/src/security/credentials/jwt.rs@@ -7,7 +7,7 @@//! request with a token already known to be dead.//!//! Parsing is pure and has no backend dependency, which is why it lives in the-//! core rather than behind the backend transport: `security::credentials`+//! core rather than behind a host crate: `security::credentials`//! needs it on a core that has no TinyHumans connection at all.//!//! What stays OpenHuman-specific is *where the token lives*: the credentialsdiff --git a/crates/openhuman-core/src/util/tls/README.md b/crates/openhuman-core/src/util/tls/README.mdindex 16b68f78de..8833d9e0bb 100644--- a/crates/openhuman-core/src/util/tls/README.md+++ b/crates/openhuman-core/src/util/tls/README.md@@ -37,7 +37,7 @@ Every HTTP-client construction site that talks to external HTTPS endpoints, incl- `crates/openhuman-core/src/integrations/client/construct.rs` and `crates/openhuman-core/src/integrations/composio/client/connections.rs`.- `crates/openhuman-core/src/search/tools/*.rs` (`tavily`, `exa`, `brave`, `searxng`, `querit`, `seltz`): search-tool HTTP clients.- `crates/openhuman-core/src/desktop/app_state/ops/current_user_fetch.rs`.-- `crates/openhuman-tinyhumans/src/backend/headers.rs` (REST API client profiles for the TinyHumans backend transport).+- `crates/openhuman-tinyhumans/src/backend/headers.rs` (REST API client profiles for the TinyHumans backend).Declared via `pub mod tls;` in `crates/openhuman-core/src/util/mod.rs`; not re-exported at the `util` root, so callers spell `crate::util::tls::tls_client_builder`.diff --git a/crates/openhuman-core/src/util/url.rs b/crates/openhuman-core/src/util/url.rsindex 5f4c44d2cd..8065185781 100644--- a/crates/openhuman-core/src/util/url.rs+++ b/crates/openhuman-core/src/util/url.rs@@ -1,7 +1,7 @@//! URL helpers shared across domains: base-URL normalisation, safe path//! joining and local-host classification. Nothing here knows about any//! particular backend — hosted-backend URL resolution lives with the host that-//! installs the backend transport (`openhuman-tinyhumans`).+//! registers the config enricher (`openhuman-tinyhumans`)./// Trim whitespace and strip trailing slashes so all base URLs are in/// canonical form before being joined with a path.diff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.mdindex 253a4c6712..a8c0c3ff83 100644--- a/crates/openhuman-core/src/voice/README.md+++ b/crates/openhuman-core/src/voice/README.md@@ -347,7 +347,7 @@ count, rolling recent-transcript buffer) behind a `OnceCell` singleton.the handlers here.- Backend credentials come from`security::credentials::session_support::resolve_backend_credential` (session- JWT or TinyHumans API key) and backend URLs from `BackendClient`. The core+ JWT or TinyHumans API key) and backend URLs from `Config.resolved_endpoints`. The coredoes not hold hosted URLs itself.- Config shape lives under `config/schema/` (`voice_server.rs`,`voice_providers.rs`); migrations live in `config/migrations/`.diff --git a/crates/openhuman-core/src/web3/README.md b/crates/openhuman-core/src/web3/README.mdindex 65b4e5fc99..321216ee3e 100644--- a/crates/openhuman-core/src/web3/README.md+++ b/crates/openhuman-core/src/web3/README.md@@ -24,7 +24,7 @@ The host callbacks are narrow:| --- | --- || Wallet accounts | Return stored public account addresses. || Chain transport | Apply endpoint configuration and generic HTTP/RPC safety, then return the response. |-| Backend transport | Make authenticated requests to the TinyHumans integration proxy. |+| Wallet backend | Answer authenticated wallet-backend requests through the registered handler (`modules::wallet_backend`). || Web3/native/x402 authorization | Apply OpenHuman's explicit user approval policy to the exact module-provided intent. |Secrets are decrypted from host custody only for a confidential call to thediff --git a/crates/openhuman-tinyhumans/src/client/mod.rs b/crates/openhuman-tinyhumans/src/client/mod.rsindex d3a55ab0b4..80bbc255d3 100644--- a/crates/openhuman-tinyhumans/src/client/mod.rs+++ b/crates/openhuman-tinyhumans/src/client/mod.rs@@ -1,10 +1,8 @@//! The authenticated hosted-backend client, owned by this crate.//!-//! A copy of the client the core still carries in `backend/`, sending through-//! this crate's own [`SdkBackendTransport`](crate::SdkBackendTransport) and-//! resolving URLs from [`crate::backend::url`]. Domains moving onto-//! `openhuman-tinyhumans` use this instead of the core's `backend::*`; the-//! core's copy goes away once its callers do.+//! The client sends through this crate's [`SdkBackendTransport`](crate::SdkBackendTransport)+//! and resolves URLs from [`crate::backend::url`]. Every hosted caller in this+//! crate uses it; the core carries no backend client.//!//! - [`BackendClient`]: `authed_json`, the channel routes (`channel.rs`), the//! credential/endpoint guards and the error classification (`classify.rs`).diff --git a/crates/openhuman-tinyhumans/src/runtime.rs b/crates/openhuman-tinyhumans/src/runtime.rsindex c02cc8e534..b9367534a1 100644--- a/crates/openhuman-tinyhumans/src/runtime.rs+++ b/crates/openhuman-tinyhumans/src/runtime.rs@@ -8,7 +8,7 @@//!//! | Piece | Embed option |//! |---|---|-//! //! | the hosted RPC proxies ([`hosted::extension`](crate::hosted::extension)) | `controller_extension` |+//! | the hosted RPC proxies ([`hosted::extension`](crate::hosted::extension)) | `controller_extension` |//! | the Jev `tool_search` ranker (`jev` feature) | `tool_ranker` |//!//! Every other method forwards to the embed builder unchanged. Start from a