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
chore(docs): add readme files for core modules, voice, and python server
Steven Enamakel158674a5e47a
diff --git a/crates/openhuman-core/src/modules/README.md b/crates/openhuman-core/src/modules/README.mdindex f61e9efdcc..3c62deecbb 100644--- a/crates/openhuman-core/src/modules/README.md+++ b/crates/openhuman-core/src/modules/README.md@@ -29,7 +29,7 @@ directory on `modules`.| `platform.rs` | Which published artifact (`ubuntu-24.04-x86_64`, `macos-15-arm64`, ...) belongs to this host, newest-compatible first || `types.rs` | `LoadPolicy`, `ModuleRecord`, `ModuleSource`, `ModuleState`, `ModuleStatus`, `PlatformAsset` || `host.rs` | The module broker: a dedicated process-lifetime tokio runtime, its `ModuleHost`, and the host's own `Connection` for calling into loaded modules |-| `resolution.rs` | One resolution slot per module id, replacing a single global lock so unrelated modules never queue behind each other |+| (tinybus `module::resolution`) | One resolution slot per module id, replacing a single global lock so unrelated modules never queue behind each other. Lives in `vendor/tinybus`; `ops.rs` claims, completes and waits on `tinybus::module::resolution::global()`. The cache-path helpers (`artifact_dir`, `is_safe_path_component`, `prune_stale_versions`) live in `tinybus::module` too || `ops.rs` | `ensure_loaded` / `ensure_loaded_within` / `state_of` / `LoadError`; the release cache under `install_dir`; failure caching || `boot.rs` | What loads at startup: search-path artifacts, then every `LoadPolicy::Eager` record: deliberately not every registry entry || `schemas.rs` | The `modules` RPC namespace (`list`, `status`, `load`) |diff --git a/crates/openhuman-core/src/runtime/python_server/README.md b/crates/openhuman-core/src/runtime/python_server/README.mdindex 4746ca742b..44420164f5 100644--- a/crates/openhuman-core/src/runtime/python_server/README.md+++ b/crates/openhuman-core/src/runtime/python_server/README.md@@ -21,13 +21,11 @@ computes the active set from all three flags together.| File | Role || --- | --- || `mod.rs` | Submodule decls and `pub use` re-exports. |-| `server.rs` | Process lifecycle: `RuntimePythonServer` (spawn, request/response, restart-on-failure, idle expiry), the process-wide `ensure_started`/`status` cache. |-| `protocol.rs` | JSONL wire types: `PythonServerRequest`, `PythonServerResponse`, `PythonServerError`, `ReadyLine`, `PROTOCOL_VERSION`. |+| `server.rs` | Host side: maps `Config` and the managed interpreter onto a `ServerLaunch`, holds the process-wide `ServerSlot` (`ensure_started`, `status`). The process lifecycle itself (spawn, handshake, request/response, restart-on-failure, idle expiry, start back-off) is `tinyruntime_pyserver::{PythonServer, ServerSlot}`. || `registry.rs` | `RuntimePythonBackend` enum (`Spacy`, `Kompress`) and `enabled_backends(config)`. || `kompress.rs` | Kompress venv provisioning (`ensure_kompress`, `install_into`, `kompress_provisioned`) and the compress request (`request_kompress`). || `spacy.rs` | spaCy venv provisioning (`ensure_spacy`, `spacy_provisioned`), the extract request (`extract`, re-exported as `extract_spacy`), and `python_server_cache_root`. |-| `types.rs` | `BackendStatus`, `RuntimePythonServerStatus` serde types. |-| `server.py` | The worker script itself, embedded via `include_str!` and written to the cache root as `runtime_python_server.py` each time a server is prepared. |+| (`tinyruntime-pyserver`) | Owns the JSONL wire types (`PROTOCOL_VERSION`, request/response/ready-line), the status types (`BackendStatus`, `ServerStatus`, re-exported here as `RuntimePythonServerStatus`) and the worker script itself (`SERVER_SCRIPT`), written to the cache root as `runtime_python_server.py` each time a server is prepared. Library crate in `vendor/tinyruntime`. |## Lifecycle@@ -56,7 +54,7 @@ backend needs a venv the worker still runs under the base interpreter from## Wire protocol-JSONL over the child's stdin/stdout (`protocol.rs`), one line per message:+JSONL over the child's stdin/stdout (`tinyruntime_pyserver::protocol`), one line per message:- Startup handshake: the worker writes a `ReadyLine` (`ready`, `protocol`,`backends`, optional `error`) before any request is sent; a `protocol`diff --git a/crates/openhuman-core/src/runtime/python_server/kompress.rs b/crates/openhuman-core/src/runtime/python_server/kompress.rsindex 8358a16bd1..c4d65b0256 100644--- a/crates/openhuman-core/src/runtime/python_server/kompress.rs+++ b/crates/openhuman-core/src/runtime/python_server/kompress.rs@@ -2,7 +2,7 @@//!//! Provisions torch + transformers into the runtime python server's venv and//! pre-downloads the model so the long-lived server can load it offline at-//! startup. The actual compression runs inside the shared `server.py` and is+//! startup. The actual compression runs inside the shared `server.py` (embedded in `tinyruntime-pyserver`) and is//! reached via [`request_kompress`] (→ `server::request("kompress.compress")`).//!//! Two provisioning entry points so the single-venv server can host Kompressdiff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.mdindex fc96d0d1c0..d9ddda1089 100644--- a/crates/openhuman-core/src/voice/README.md+++ b/crates/openhuman-core/src/voice/README.md@@ -54,7 +54,7 @@ Keeping the two surfaces in lockstep is enforced by the disabled-build check| `realtime_harness.rs` (+ `realtime_harness/turn_handler.rs`, `realtime_harness/chat_delivery.rs`, `realtime_harness/agent.rs`, `realtime_harness/prompt.rs`) | `voice:harness` socket turn handler for realtime sessions: runs the local orchestrator agent (same brain as chat/meet) on each turn the backend relays from the ElevenLabs Custom-LLM proxy, streaming `voice:harness:delta` / `:done` / `:error` back. || `stub.rs` | Disabled-voice facade compiled when `voice` is OFF; mirrors the real public surface with no-op / error bodies. || `cli.rs` | `openhuman voice` / `openhuman dictate` subcommand adapter: runs a blocking standalone dictation server (domain-owned, since it blocks forever and doesn't fit the controller registry). |-| `*_tests.rs` | Sibling test suites wired via `#[path = ...]` (no inline `#[cfg(test)] mod` blocks, since `pnpm rust:layout` rejects them): `always_on_tests.rs`, `audio_capture_tests.rs`, `bus_tests.rs`, `compile_status_tests.rs`, `dictation_listener_tests.rs`, `ops_tests.rs`, `realtime_harness_tests.rs`, `realtime_tests.rs`, `reply_speech_tests.rs`, `schemas_tests.rs` (wired from `schemas/mod.rs`), `server_tests.rs`, `text_input_tests.rs`, `types_tests.rs`, `factory/factory_tests.rs`, `factory/stt_providers_tests.rs`, `audio_toolkit/ops_tests.rs`. |+| `*_tests.rs` | Sibling test suites wired via `#[path = ...]` (no inline `#[cfg(test)] mod` blocks, since `pnpm rust:layout` rejects them): `always_on_tests.rs`, `bus_tests.rs`, `compile_status_tests.rs`, `dictation_listener_tests.rs`, `ops_tests.rs`, `realtime_harness_tests.rs`, `realtime_tests.rs`, `reply_speech_tests.rs`, `schemas_tests.rs` (wired from `schemas/mod.rs`), `server_tests.rs`, `text_input_tests.rs`, `types_tests.rs`, `factory/factory_tests.rs`, `factory/stt_providers_tests.rs`, `audio_toolkit/ops_tests.rs`. |## Public surface