Skip to content

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

docs(readme): add module documentation for runtime and storage

Steven Enamakel5916675341a4
diff --git a/crates/openhuman-core/src/core/runtime/README.md b/crates/openhuman-core/src/core/runtime/README.md
index cdb32627aa..aa48ff7b8e 100644
--- a/crates/openhuman-core/src/core/runtime/README.md
+++ b/crates/openhuman-core/src/core/runtime/README.md
@@ -187,7 +187,8 @@ plane, and a user's scope only the reviewed `USER_METHODS`.
`saas::build` installs the process's `profiles::ProfileHost`. Each open
profile (`<root>/users/<profile-id>/`, the desktop's user layout) runs under a
context derived from the operator's, with its own forced config, policy,
-`profile` and `session_agent`, behind a lease that keeps it on one process
+`profile` (its default agent has no `session_agent`, as on the desktop),
+behind a lease that keeps it on one process
(see `profiles/README.md`). `saas::build` also starts the lease heartbeat.
Three guards keep SaaS work from falling back to process-wide state:
diff --git a/crates/openhuman-core/src/storage/README.md b/crates/openhuman-core/src/storage/README.md
index 2a562e2f13..e60a0bd24e 100644
--- a/crates/openhuman-core/src/storage/README.md
+++ b/crates/openhuman-core/src/storage/README.md
@@ -130,7 +130,8 @@ reference model.
## Background work and agent scopes
Work done inside an agent's turn runs under that agent's `CoreContext`
-(`session_agent`, set for embed agents and SaaS profiles), so with a
+(`session_agent`, set for embed agents; a SaaS profile's context carries
+`profile` instead, and its records land in the profile's scope), so with a
backend installed its records land in that agent's scope. Background work
runs under the process default context and on its own would only see
`local`. `storage::agents` closes the gap: