Skip to content

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

docs: describe host agents, cron dispatch and policy; resolve the embed README markers

Steven Enamakel6b8f6df9ba82
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.md
index 73bc708bdd..84f1c22ceb 100644
--- a/crates/openhuman-core/src/agent/README.md
+++ b/crates/openhuman-core/src/agent/README.md
@@ -243,6 +243,15 @@ ordered `PromptSection`s into the system prompt, optionally as a
renders the exact prompt a live session would send, by building a real
session host and calling `build_system_prompt`.
+### Host agents
+
+[`host_agents.rs`](./host_agents.rs) is a process-wide `HostAgentResolver` slot (installed and
+cleared like the session store). An embedding host registers its agents there; cron agent
+jobs and workflow `agent` nodes ask it first. On a hit the session is built as that agent
+(`HostAgent::session_host()` under `CoreContext::sync_scope`: its definition and prompt, host
+tools, provider route and own `CoreContext`) and the turn runs inside `HostAgent::scope()`.
+A miss falls through to the registries, unchanged.
+
### Triage
External events (Composio triggers, incoming webhooks, task-source cards,