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(privacy): clarify that memory is stored in CortexDB, not locally
Steven Enamakel31e56c54412c
diff --git a/crates/openhuman-core/src/agent/tinyagents/README.md b/crates/openhuman-core/src/agent/tinyagents/README.mdindex deb047a008..34cf520eb3 100644--- a/crates/openhuman-core/src/agent/tinyagents/README.md+++ b/crates/openhuman-core/src/agent/tinyagents/README.md@@ -48,7 +48,6 @@ The adapter seam between OpenHuman and the vendored [`tinyagents`](../../../../.| `stop_hooks.rs` | `StopHookMiddleware`: evaluates OpenHuman `StopHook`s after each model call and pauses the run via steering on the first `Stop` decision. || `summarize.rs` | `ModelSummarizer` / `FaultTolerantCachingSummarizer` plus a context-window-aware `SummarizationPolicy` driving the crate's `ContextCompressionMiddleware`. || `embeddings.rs` | `ProviderEmbeddingModel`: adapts `crate::inference::embedding_host::EmbeddingProvider` onto the crate's `EmbeddingModel` trait. |-| `retriever.rs` | `recall_through_facade` / `build_retriever`: wraps `Memory::recall`, projects onto the crate's `ScoredDoc`, applies the `path_scope` dedupe rule, emits `MemoryLoaded`. || `todos.rs` | `todos_store` / `scratch_todos_store` (the crate `Store` behind per-thread agent todos, `tinyagents_graph::todos`). || `config.rs` | Maps OpenHuman's `Config` (including model pins) onto `tinyagents_harness::config` structs. || `*_tests.rs` | Sibling test suites for each file/part group above. |diff --git a/gitbooks/features/privacy-and-security.md b/gitbooks/features/privacy-and-security.mdindex d79729fb48..7eebd095fc 100644--- a/gitbooks/features/privacy-and-security.md+++ b/gitbooks/features/privacy-and-security.md@@ -1,19 +1,19 @@---description: >-- What stays on your machine, what the backend brokers, and which of these- layers are enforced by default.+ Where your memory is stored, what stays on your machine, what the backend+ brokers, and which of these layers are enforced by default.icon: shield---# Privacy & Security-OpenHuman is designed so that the **memory of your life lives on your machine**. Your workspace files, your audio buffers and your choice of memory engine stay under your control. The OpenHuman backend handles things that have to be brokered (LLM calls, OAuth tokens, search proxying), and nothing more.+Your workspace files, settings and audio buffers stay on your machine. **Your memory does not**: memory items are stored in CortexDB, either the hosted CortexDB that TinyHumans runs for you or a CortexDB you point OpenHuman at. The OpenHuman backend brokers the rest of what has to leave the device (LLM calls, OAuth tokens, search proxying, hosted memory).---## Privacy by Design-**You choose where memory lives.** [Memory](memory.md) is stored by the engine you select: hosted TinyHumans (CortexDB behind the OpenHuman backend, requires sign-in) or your own CortexDB endpoint. With neither, memory is off and nothing is stored. Secrets and personal identifiers are scrubbed from every item before it is sent, tool-call arguments are never stored, and you can delete any item.+**You choose where memory lives.** [Memory](memory.md) is stored by the engine you select: hosted TinyHumans (CortexDB behind the OpenHuman backend, requires sign-in) or your own CortexDB endpoint. With neither, memory is off and nothing is stored. Secrets and personal identifiers are scrubbed from every item before it is sent, tool-call arguments are never stored, and you can delete any item. See [Where your memory is stored](#where-your-memory-is-stored) below.**Integration tokens are held by the backend, not on your laptop.** OAuth tokens are never written to disk in plaintext on your device. The OpenHuman backend brokers each integration request, the core never speaks any third-party API directly.@@ -29,10 +29,32 @@ OpenHuman is designed so that the **memory of your life lives on your machine**.| | || ------------------------------- | --------------------------------------------------------------- |-| **Memory items** | In your selected engine (hosted TinyHumans or your CortexDB). |+| **Memory items** | **Not local.** Stored in CortexDB by your selected engine (see below). |+| **Memory bookkeeping** | Local: the job queue and sync, backfill and import progress under `<workspace>/memory/`, the sources list in `config.toml`, a CortexDB key in the OS keychain. No memory content. || **Audio capture buffers** | Local. Discarded after STT. || **Local model state** | Local. |+## Where your memory is stored++Memory items are your brain documents, logged conversation turns, learnings, and the facts and beliefs the engine builds from them. They are stored in CortexDB, never in a database on your machine. Which CortexDB depends on the engine:++| Engine | Path | Who can reach it |+| --- | --- | --- |+| **TinyHumans** (hosted) | The core sends each request over TLS to the TinyHumans backend's `/memory/*` routes, authenticated with your session or TinyHumans API key. The backend applies a per-user rate limit and billing, then forwards to a CortexDB proxy that places every scope under your own tenant root. | Only your account. The proxy derives the tenant from your credential, not from the request, so one user cannot read or write another's memory. TinyHumans operates the service. |+| **CortexDB** (direct) | The core calls CortexDB itself (`api-v1.cortexdb.ai`, or a self-hosted endpoint) with your own CortexDB API key, kept in the OS keychain. It does not go through the TinyHumans backend. | Whoever holds that key, and the operator of that endpoint. |++Inside either engine, memory is kept below a root for the signed-in person (`user:<id>`), so it can be listed, confined and erased as one tree. Learnings and the brain are shared by your agents; each agent's conversations are tagged with that agent.++We make no claim beyond TLS in transit and per-user tenant isolation for hosted memory. In particular, these docs do not promise end-to-end or client-side encryption: the hosted service can read what it stores, which is how it answers recall.++### Deleting memory++- **One item:** **Forget** in the Memory page's **Explorer**, on a memory chip under an answer, on the **Learnings** tab, or through the agent's `memory` tool (`forget`).+- **One source:** **Forget source** on the **Brain** tab, or tick **Also delete memory from this source** when disconnecting an integration.+- **Everything:** for hosted memory, the backend's `DELETE /memory` erases your whole tenant, exposed to the app as the `openhuman.memory_erase_all` RPC. The Memory page has no single "erase all" button yet. For a direct CortexDB, delete the data with your CortexDB account or endpoint.++Signing out or disconnecting an integration does **not** delete stored memory.+## What the OpenHuman backend handles| | |@@ -60,13 +82,13 @@ If you revoke a connection, the next sync stops; items already stored in your me## Why memory is scrubbed and scoped-Memory only helps if it is safe to keep. Every item passes through secret and PII scrubbing before it is stored, conversations record tool-call names and ids but never arguments, and the agent only sees what a recall or fetch returns at the moment of a turn. You can inspect and delete everything from **Connections → Memory**.+Memory only helps if it is safe to keep. Every item passes through secret and PII scrubbing before it is stored, conversations record tool-call names and ids but never arguments, and the agent only sees what a recall or fetch returns at the moment of a turn. You can inspect and delete items from **Connections → Memory** (see [Deleting memory](#deleting-memory)).Scrubbing and scoped retrieval together become the privacy architecture.## Security-**Encrypted in transit.** All communication between the application and the OpenHuman backend uses TLS. No data travels in plain text.+**Encrypted in transit.** All communication between the application and the OpenHuman backend uses TLS, and so do hosted memory requests and direct calls to CortexDB's managed API. A self-hosted CortexDB endpoint is only as protected as the URL you configure.**Key in keyring, ciphertext on disk.** For local secrets that must be persisted in app files, OpenHuman stores encrypted ciphertext on disk and keeps the master decryption key in the OS keyring. See [OS Keyring & Secret Storage](os-keyring-and-secret-storage.md).