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(runtime): add README for the core runtime module
Steven Enamakel74b9684055ac
diff --git a/crates/openhuman-core/src/core/runtime/README.md b/crates/openhuman-core/src/core/runtime/README.mdindex cdb32627aa..4ccf30d54f 100644--- a/crates/openhuman-core/src/core/runtime/README.md+++ b/crates/openhuman-core/src/core/runtime/README.md@@ -138,7 +138,7 @@ existing single-tenant call sites keep working unmodified.`runtime/mode.rs` holds the process mode. `SingleUser` is today'sbehaviour and the default: the desktop app, the CLI and embedders. `Saas`-serves many users from one process, one agent per user, behind a trusted+serves many users from one process, one profile per user, behind a trustedgateway that authenticates them. The mode belongs to the process, not to anyuser's `Config`. The first SaaS boot locks it (`lock_mode`), and from then on`CoreContext::init_with_config` refuses every non-SaaS core. Code asks@@ -146,7 +146,13 @@ user's `Config`. The first SaaS boot locks it (`lock_mode`), and from then on`openhuman-core run --mode saas --saas-config <file>` (or`OPENHUMAN_MODE=saas`, which can raise the mode but never lower it) boots-through `runtime/saas.rs`:+through `runtime/saas.rs`. So does `openhuman_embed::ProfileRuntime`, which+runs the same `saas::build` in-process without serving a port (it writes a+random service token when none exists, since no gateway presents it). Either+way the lock is one-way: once it is built, no `Runtime::builder()` or other+non-SaaS core can boot in that process, and neither can a second SaaS core.++`saas::build`:- `SaasConfig` is the **operator's** file. It sets `root`,`service_token_file` (defaults to `<root>/service.token`), `tool_allowlist`