Skip to content

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

docs(channels): document host agent dispatch and bus turn paths

Steven Enamakel1f62dabab4d6
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs b/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs
index a6c6399870..7c7de72daa 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/mod.rs
@@ -2,6 +2,9 @@
//!
//! Sub-modules:
//! * [`helpers`] — small stateless helpers (context block, ACK reaction, typing, workers).
+//! * [`host_agent`] — channels bound to a host-registered agent
+//! (`agent.channel_agents`): routing, the refusal for a missing agent, the
+//! turn runner and the external-channel posture.
//! * [`routing`] — agent selection and tool-scoping ([`AgentScoping`],
//! [`resolve_target_agent`], [`build_visible_tool_set`]).
//! * [`processor`] — core message pipeline ([`process_channel_message`],
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor.rs
index 0650f71111..91dbccfa33 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor.rs
@@ -7,6 +7,9 @@
//! approval replies before dispatching a fresh agent turn.
//! * [`process_channel_message`] — full per-message pipeline: typing, ACK
//! reaction, history, agent turn, draft updates, reply.
+//! * [`bus_turn`] — the orchestrator path: an unbound channel's turn over
+//! the native bus. A channel bound to a host agent runs through
+//! [`super::host_agent`] instead.
//! * [`run_message_dispatch_loop`] — feeds messages into
//! [`process_channel_runtime_message`] through the bounded-concurrency
//! `tinychannels::runtime::run_dispatch_loop`.