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(agents): document core credential ownership boundary
Steven Enamakel00c491645bba
diff --git a/AGENTS.md b/AGENTS.mdindex 004dbf6da7..b86a50556c 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -264,6 +264,16 @@ progress events.- Library mode has no user login: the runtime's API key rides managedinference as `Authorization: Bearer` and backend REST as `x-api-key`(`security::credentials::api_key`, `session_support::BackendCredential`).+- The core never obtains, validates, exchanges or refreshes a credential.+ It takes one — a session JWT, an API key, or the offline local token —+ through `auth.set_credential` (`security::credentials::ops::credential`)+ and does only what it owns with it: user-dir activation, gated services,+ the scheduler gate, Sentry and prompt identity. Login-token exchange,+ `GET /auth/me` and the current-user cache belong to the host's session+ owner: `crates/openhuman-session` behind the Tauri shell's `auth_*`+ commands and the TUI, `openhuman_embed::Auth` for embedders, the CLI or+ `OPENHUMAN_BACKEND_API_KEY` / `OPENHUMAN_BACKEND_SESSION_TOKEN` for+ headless hosts. Do not add backend auth endpoints back to the core.`CoreBuilder` controls background services with `ServiceSet`, runtime domainswith `DomainSet`, and tool visibility with `ToolGroups`. These controls only