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(rpc): add READMEs for http_host and server modules
Steven Enamakel42c96e7b4224
diff --git a/crates/openhuman-rpc/src/http_host/README.md b/crates/openhuman-rpc/src/http_host/README.mdindex 1b78ae2bb9..82dd5afa7b 100644--- a/crates/openhuman-rpc/src/http_host/README.md+++ b/crates/openhuman-rpc/src/http_host/README.md@@ -18,7 +18,8 @@ the four controllers to the core's registry withdomain family of its own, so the runtime's `DomainSet` gates it with theplatform surface). The server calls the panicking wrapper`ensure_registered()` from both `install_cli_server` and-`build_core_http_router`, so every host that runs the RPC server (the desktop+`build_core_http_router`, and `crate::host` adds the same controllers+(`http_host::extension()`) to its builders, so every host that runs the RPC server (the desktopapp and the `openhuman-core` binary) exposes `http_host.*`. Registration isidempotent. A host that embeds the core without this crate's server, such asthe TUI or an `openhuman-embed` library host, has no `http_host` surface.diff --git a/crates/openhuman-rpc/src/server/README.md b/crates/openhuman-rpc/src/server/README.mdindex 3ee9177c21..9a718b3dea 100644--- a/crates/openhuman-rpc/src/server/README.md+++ b/crates/openhuman-rpc/src/server/README.md@@ -13,7 +13,9 @@ core's: every transport here resolves a method through### Starting a server-There are two ways in, and both end in `serve`:+There are two ways in, and both end in `serve`. (`crate::host::cli` and+`host::desktop` are the same two paths with the TinyHumans backend+connected on the builder; `host::desktop` enters at `build_and_serve`.)```textopenhuman-core run|serve desktop shell (core_process.rs)@@ -25,14 +27,19 @@ There are two ways in, and both end in `serve`:\ /v vrun_server_with_services(host, port, ServiceSet, ...)- HostKind: TauriShell if embedded, else detect_standalone()- TokenSource: Fixed(bearer) if handed in, else EnvOrFile- OPENHUMAN_E2E set -> ToolGroups::advertised()+ preset: RuntimeBuilder::desktop() if embedded (HostKind::TauriShell)+ else RuntimeBuilder::cli() (detect_standalone())+ both: DomainSet::full, discovered config,+ OPENHUMAN_E2E set -> ToolGroups::advertised()+ server_builder: services, TokenSource::Fixed(bearer) if handed+ in (else EnvOrFile), listen host/port if given+ build_and_serve(builder, ready_tx, shutdown_token)session_store::install() (before boot: recovery)- CoreBuilder::new(..).build()+ RuntimeBuilder::build() (claims the embed runtime slot)|v- serve(&runtime, ready_tx, shutdown_token)+ serve(runtime.core_runtime(), ready_tx, shutdown_token)+ drop(runtime) (releases the slot)````run_server` and `run_server_embedded` use `ServiceSet::desktop()` with@@ -201,7 +208,7 @@ directly.loopback or `tauri.localhost` host). Both read`OPENHUMAN_CORE_ALLOWED_ORIGINS`.- `OPENHUMAN_E2E` switches tool groups to `ToolGroups::advertised()` in the- `run_server*` shims so the browser E2E mock model can call tools. Library+ embed `desktop` / `cli` presets the `run_server*` shims start from, so the browser E2E mock model can call tools. Libraryhosts are unaffected.## Tests