Skip to content

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

docs(tinyhumans): document runtime builder and crate dependency chain

Steven Enamakel239c0e690a15
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index ac8e5d046a..3f80739805 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -40,7 +40,7 @@ scheduler-gate = ["openhuman-embed/scheduler-gate"]
# The only openhuman crate this layer depends on. Core internals the
# transport and hosted controllers need come through embed's `#[doc(hidden)]`
# `__host` module, an explicit list kept in embed; there is no direct
-# `openhuman-core` edge (scripts/ci/check-crate-chain.mjs).
+# `openhuman-core` edge (chain: core -> embed -> tinyhumans -> rpc -> hosts).
openhuman-embed = { path = "../openhuman-embed", default-features = false }
# The vendored TinyHumans SDK: the only crate in the tree that may depend on
# it. `default-features = false` drops the Socket.IO client; realtime stays
diff --git a/crates/openhuman-tinyhumans/README.md b/crates/openhuman-tinyhumans/README.md
index 853f4bb261..22dcbba217 100644
--- a/crates/openhuman-tinyhumans/README.md
+++ b/crates/openhuman-tinyhumans/README.md
@@ -44,9 +44,8 @@ backend-touching call (billing, `/agent-integrations/*` tools, channel relay,
cloud voice) answers with `BackendApiError::BackendUnavailable`, which the RPC
layer renders as a `BACKEND_UNAVAILABLE:` error that observability demotes.
-The crate's only openhuman dependency is `openhuman-embed`
-(`scripts/ci/check-crate-chain.mjs` holds the chain core -> embed ->
-tinyhumans -> rpc -> hosts). The public embed API covers the transport port
+The crate's only openhuman dependency is `openhuman-embed`, per the chain
+core -> embed -> tinyhumans -> rpc -> hosts. The public embed API covers the transport port
(`BackendTransport`, `install_backend_transport`, ...) and the seam types
(`embed::seams::{ControllerExtension, ToolRanker, ...}`); the deeper core
internals the transport and hosted controllers need (`backend::BackendClient`,
diff --git a/crates/openhuman-tinyhumans/src/lib.rs b/crates/openhuman-tinyhumans/src/lib.rs
index 63746dcad4..12bc73e068 100644
--- a/crates/openhuman-tinyhumans/src/lib.rs
+++ b/crates/openhuman-tinyhumans/src/lib.rs
@@ -29,10 +29,18 @@
//! # }
//! ```
//!
-//! Hosts that boot the core themselves (the desktop shell's
+//! [`RuntimeBuilder`] is the configuration path: it hands the embed builder
+//! the SDK transport, the hosted controllers and the Jev ranker through
+//! embed's seam options, and forwards the embed presets and knobs. Hosts that
+//! still boot the core themselves (the desktop shell's
//! `run_server_embedded_with_ready`, the CLI's `run_core_from_args`, a
//! `CoreBuilder`) call [`install`] once before the first backend-touching
-//! dispatch instead.
+//! dispatch instead; it resolves the same wiring and applies it to the
+//! process globals.
+//!
+//! This crate depends on `openhuman-embed` alone. Core internals it needs
+//! come through embed's `#[doc(hidden)] __host` list; it re-exports only its
+//! own curated surface, never the core.
pub use openhuman_embed as embed;