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(guides): add guides for moving to a new pc and handling sensitive data
Steven Enamakel5e502296f231
diff --git a/gitbooks/guides/README.md b/gitbooks/guides/README.mdindex 285f25b52e..f35ae653dd 100644--- a/gitbooks/guides/README.md+++ b/gitbooks/guides/README.md@@ -1,70 +1,62 @@---description: >-- Outcome-driven, step-by-step guides for getting a real result out of- OpenHuman: set up an assistant, run one or several local models, protect- sensitive data, recover a broken install, or move to a new machine.+ Step-by-step guides for getting a result out of OpenHuman: set up an+ assistant, run local models, protect sensitive data, recover a broken install+ or move to a new machine.icon: list-check---# Guides-The rest of the docs explain **how OpenHuman works**. This section is about **what you want to get done**. Each guide starts from a concrete outcome ("I want a private assistant", "my install is broken", "I'm moving to a new laptop") and walks you to a working result without asking you to first understand the architecture.--You do not need to read these in order, and you do not need to be technical. Pick the guide that matches your goal.-----+The rest of the docs explain how OpenHuman works. These guides are about what you want to get done. Each one starts from a concrete goal, such as "I want a private assistant", "my install is broken" or "I'm moving to a new laptop", and walks you to a working result. You do not need to read them in order or be technical.## Pick your goal-| I want to… | Guide |-| --------------------------------------------------- | -------------------------------------------------------------------- |-| Set up a personal assistant from scratch | [Create my personal AI assistant](personal-assistant.md) |-| Keep model inference on my own machine | [Use OpenHuman with a local model](local-model.md) |-| Share work across several model servers I run | [Use multiple local LLM servers](multiple-local-llm-servers.md) |-| Understand what leaves my computer and what doesn't | [Keep sensitive data private](privacy-sensitive-data.md) |-| Fix an install that won't start or finish | [Recover from a failed installation](recover-failed-installation.md) |-| Move everything to a new computer | [Move OpenHuman to a new PC](move-to-new-pc.md) |-| Let the agent tidy a folder of files | [Organize my project folders](organize-project-folders.md) |-| Build a role-specific assistant (e.g. clinical) | [Create a doctor-specific assistant](doctor-assistant.md) |-| Set up a locked-down assistant for a child | [Create a safe companion for a child](child-safe-companion.md) |-------## How to read a guide--Every guide in this section follows the same shape, so you always know where to look:--- **Prerequisites**: what you need before you start (an account, disk space, another app installed).-- **Privacy implications**: what stays on your machine and what is sent to the OpenHuman backend or a model provider for this workflow, in plain language.-- **Steps**: the actual click-by-click path.-- **Success checks**: how to confirm the workflow is actually working, not just "looks done".-- **Common failures**: the specific ways this flow breaks, and what each symptom means.-- **Recovery**: how to get unstuck without losing your data.+| I want to | Guide |+| --- | --- |+| Set up a personal assistant from scratch | [Create my personal AI assistant](personal-assistant.md) |+| Keep model inference on my own machine | [Use OpenHuman with a local model](local-model.md) |+| Spread work across several model servers I run | [Use multiple local LLM servers](multiple-local-llm-servers.md) |+| Understand what leaves my computer and what doesn't | [Keep sensitive data private](privacy-sensitive-data.md) |+| Fix an install that won't start or finish | [Recover from a failed installation](recover-failed-installation.md) |+| Move everything to a new computer | [Move OpenHuman to a new PC](move-to-new-pc.md) |+| Let the agent tidy a folder of files | [Organize my project folders](organize-project-folders.md) |+| Build a role-specific assistant, such as a clinical one | [Create a doctor-specific assistant](doctor-assistant.md) |+| Set up a locked-down assistant for a child | [Create a safe companion for a child](child-safe-companion.md) |++## How a guide is laid out++Every guide has the same sections:++- **Prerequisites**: what you need before you start.+- **Privacy implications**: what stays on your machine and what goes to the OpenHuman backend or a model provider.+- **Steps**: the path to follow.+- **Success checks**: how to confirm it works.+- **Common failures**: how the flow breaks, and what each symptom means.+- **Recovery**: how to get unstuck without losing data.{% hint style="info" %}-**These guides describe the shipping desktop app.** OpenHuman is in active development; where a guide points at a Settings screen or diagnostic surface, that surface may keep improving. When a screen name and what you see disagree, trust the app and check the [release notes](https://github.com/tinyhumansai/openhuman/releases), then let us know on [Discord](https://guild.tinyhumans.ai).+These guides describe the shipping desktop app, which is in active development. If a screen name and what you see disagree, trust the app and check the [release notes](https://github.com/tinyhumansai/openhuman/releases). Then tell us on [Discord](https://guild.tinyhumans.ai).{% endhint %}-## The one thing worth knowing first+## Where your data lives-OpenHuman keeps your settings, workspace files and secrets on your machine, but **your memory is stored in CortexDB**: the hosted CortexDB that TinyHumans runs (behind your account) or your own CortexDB. The managed backend also brokers sign-in, model routing, integration access, web-search proxying, and some real-time integration triggers. That split is behind most of the privacy and recovery advice in this section. If you read only one background page, read [Privacy & Security](../features/privacy-and-security.md).+OpenHuman keeps your settings, workspace files and secrets on your machine. Your memory is stored in CortexDB, either the hosted one TinyHumans runs behind your account or your own. The managed backend also handles sign-in, model routing, integration access, web-search proxying and some real-time integration triggers. That split is behind most of the privacy and recovery advice here. If you read one background page, read [Privacy and security](../features/privacy-and-security.md).-Where your data physically lives on disk:+On disk, everything lives in one folder:-| Platform | Data folder |-| ------------- | --------------------------- |-| macOS / Linux | `~/.openhuman/` |-| Windows | `%USERPROFILE%\.openhuman\` |+| Platform | Data folder |+| --- | --- |+| macOS and Linux | `~/.openhuman/` |+| Windows | `%USERPROFILE%\.openhuman\` |-Almost everything in this section (backups, recovery, migration) comes back to that one folder. Memory items are not in it: backing up or deleting the folder neither copies nor erases them.-----+Backups, recovery and migration all come back to that folder. Memory items are not in it, so backing up or deleting the folder neither copies nor erases them.## See also-- [Privacy & Security](../features/privacy-and-security.md): the trust model every guide here assumes.-- [Local AI (optional)](../features/model-routing/local-ai.md): the config reference behind the local-model guides.+- [Privacy and security](../features/privacy-and-security.md): the trust model these guides assume.+- [Local AI](../features/model-routing/local-ai.md): the config reference behind the local-model guides.- [Memory](../features/memory.md): what memory stores and where.-- [Getting Started](../overview/getting-started.md): install and first run, before any guide.-- [Troubleshooting Sign-In](../overview/troubleshooting-sign-in.md): if you cannot get past login.-- [Developing](../developing/README.md): building from source, for the technical reader.+- [Getting started](../overview/getting-started.md): install and first run.+- [Troubleshooting sign-in](../overview/troubleshooting-sign-in.md): if you cannot get past login.+- [Developing](../developing/README.md): building from source.diff --git a/gitbooks/guides/move-to-new-pc.md b/gitbooks/guides/move-to-new-pc.mdindex 250661ac76..f946aa0ff8 100644--- a/gitbooks/guides/move-to-new-pc.md+++ b/gitbooks/guides/move-to-new-pc.md@@ -53,7 +53,7 @@ Copy the entire data folder from the old machine to the same location on the new- macOS and Linux: copy `~/.openhuman/` to `~/.openhuman/`.- Windows: copy `%USERPROFILE%\.openhuman\` to `%USERPROFILE%\.openhuman\`.-Copy the whole folder instead of picking files. That keeps memory settings, persona, config and history consistent with each other.+Copy the whole folder instead of picking files. That keeps persona, config and history consistent with each other.The data folder holds config but not the files the agent created or edited in its action sandbox. Also copy your projects folder, by default `~/OpenHuman/projects`, or wherever you pointed the action directory. Otherwise those project files stay on the old PC. That folder also holds `Files` (`~/OpenHuman/projects/Files`), where the agent saves the decks, documents, images and videos it delivers.diff --git a/gitbooks/guides/privacy-sensitive-data.md b/gitbooks/guides/privacy-sensitive-data.mdindex ecdd6f2f2d..d53e5fd5cb 100644--- a/gitbooks/guides/privacy-sensitive-data.md+++ b/gitbooks/guides/privacy-sensitive-data.md@@ -1,107 +1,95 @@---description: >-- A plain-language map of what OpenHuman keeps on your computer versus what it- sends out, and the settings that let you keep sensitive work local.+ A plain-language map of what OpenHuman keeps on your computer and what it+ sends out, and the settings that keep sensitive work local.icon: lock---# Keep sensitive data private-**Goal:** understand, in everyday language rather than architecture, what stays on your machine and what leaves it, so you can decide what OpenHuman should touch.+This guide explains in everyday language what stays on your machine and what leaves it, so you can decide what OpenHuman should touch. For the engineering detail, read [Privacy and security](../features/privacy-and-security.md). This page is the version you can act on in five minutes.-If you want the engineering detail, read [Privacy & Security](../features/privacy-and-security.md). This guide is the version you can act on in five minutes.+## The short version------## The one-sentence version--**Your settings and local secrets stay on your computer; your memory is stored in CortexDB (hosted by TinyHumans for your account, or your own). The OpenHuman backend handles what has to be brokered: signing you in, hosted memory, routing model requests, and talking to the services you connect.**--Everything below is an expansion of that sentence.-----+Your settings and local secrets stay on your computer. Your memory is stored in CortexDB, either hosted by TinyHumans for your account or your own. The OpenHuman backend handles what has to be brokered: signing you in, hosted memory, routing model requests, and talking to the services you connect.## What stays on your machineThese never leave your computer as raw data:-| Thing | Plain meaning |-| ----------------------------- | -------------------------------------------------------------------------------------------- |-| **Audio you speak** | Captured to transcribe, then discarded. |-| **Local model state** | If you use [local AI](local-model.md), your own runtime and its models stay on-device. |-| **Your persona and settings** | The files that define how your assistant behaves and what it's allowed to do. |+| Thing | Plain meaning |+| --- | --- |+| Audio you speak | Captured to transcribe, then discarded. |+| Local model state | If you use [local AI](local-model.md), your runtime and its models stay on-device. |+| Your persona and settings | The files that define how your assistant behaves and what it may do. |## Where your memory is stored-When memory is on, documents, conversations, learnings and the beliefs built from them are stored in **CortexDB**. With TinyHumans-hosted memory they are not stored on your computer; a CortexDB you self-host may keep them on your own machine (with no engine available, memory is off and nothing is stored):+When memory is on, documents, conversations, learnings and the beliefs built from them are stored in CortexDB. With TinyHumans-hosted memory they are not stored on your computer. A CortexDB you host yourself can keep them on your own machine. With no engine available, memory is off and nothing is stored.-- **TinyHumans engine (default when signed in):** stored in the hosted CortexDB that TinyHumans runs, through the TinyHumans backend. Each account gets its own isolated tenant, so other users cannot see your memory. TinyHumans operates that service.-- **CortexDB engine:** stored in your own CortexDB account or self-hosted CortexDB, reached directly with your key. A CortexDB you run on your own machine keeps the data on that machine.+- **TinyHumans engine (the default when signed in).** Items are stored in the hosted CortexDB that TinyHumans runs, through the TinyHumans backend. Each account gets its own isolated tenant, so other users cannot see your memory.+- **CortexDB engine.** Items are stored in your own CortexDB account or self-hosted CortexDB, reached directly with your key. A CortexDB on your own machine keeps the data on that machine.-Secrets and personal identifiers are scrubbed before an item is sent. You can forget single items or whole sources from the Memory page; see [Deleting memory](../features/privacy-and-security.md#deleting-memory) for erasing everything.+Secrets and personal identifiers are scrubbed before an item is sent. You can forget single items or whole sources from the Memory page. See [Deleting memory](../features/privacy-and-security.md#deleting-memory) for erasing everything.-## What the backend handles (and why)+## What the backend handles-These leave your machine because they can't work otherwise, but note _what_ is sent:+These leave your machine because they cannot work otherwise. Here is what is sent:-| Thing | What's actually sent |-| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| **Hosted memory** | With the TinyHumans engine, every item stored and every recall goes through the backend to hosted CortexDB. |-| **Model requests** | Only what the assistant needs for that turn: your prompt plus the memory recalled for it. Not your whole memory. |-| **Web search** | Your search query goes to the backend proxy (so you don't need your own search key). |-| **Connected services** | When you connect Gmail, Slack, etc., the backend brokers each request. Your login tokens for those services are held by the backend, **not written in plain text on your laptop**. |-| **Text-to-speech** | The words to be spoken are streamed to generate audio, then discarded. They are not retained. |+| Thing | What is sent |+| --- | --- |+| Hosted memory | With the TinyHumans engine, every item stored and every recall goes through the backend to hosted CortexDB. |+| Model requests | Only what the assistant needs for that turn: your prompt plus the memory recalled for it. Not your whole memory. |+| Web search | Your search query goes to the backend proxy, so you do not need your own search key. |+| Connected services | When you connect Gmail, Slack and so on, the backend brokers each request. It holds your login tokens for those services, so they are not written in plain text on your laptop. |+| Text-to-speech | The words to be spoken are streamed to generate audio, then discarded. They are not retained. |{% hint style="info" %}-**Memory is not local, so scrubbing and scoping matter.** Your memory engine stores items in CortexDB and answers recall there. What protects you is that items are scrubbed before they are sent, tool-call arguments are never stored, hosted memory is isolated per account, and a model turn sees only what was recalled for it.+Memory is not local, so scrubbing and scoping matter. Items are scrubbed before they are sent, tool-call arguments are never stored, hosted memory is isolated per account, and a model turn sees only what was recalled for it.{% endhint %}-## Two promises worth knowing--- **No training on your data.** Your conversations, memory, and personal information are never used to train models.-- **Secrets are stored by your operating system.** Local secrets are kept in your platform's secure store (macOS Keychain, Windows Credential Manager, or the Linux Secret Service), not lying around in app files. See [OS Keyring & Secret Storage](../features/os-keyring-and-secret-storage.md).+## Two promises----+- **No training on your data.** Your conversations, memory and personal information are never used to train models.+- **Secrets live in your operating system's store.** Local secrets are kept in macOS Keychain, Windows Credential Manager or the Linux Secret Service, not in app files. See [OS keyring and secret storage](../features/os-keyring-and-secret-storage.md).-## Turning the dial toward "more local"+## Making it more local-You have real controls. From most to least private:+You have real controls. These run from most to least private:-1. **Route inference on-device.** Run a local runtime such as Ollama yourself, pull the models, and [add it as a provider](local-model.md) so embeddings, summarization, and optionally chat/reasoning happen on your machine. OpenHuman doesn't install the runtime or download models for you. _(Speech and web search still use the backend proxy even then.)_-2. **Tighten what the assistant can do.** Set `[autonomy] enabled = true` and `level = "readonly"` in `config.toml`: it can then observe and answer but never act or reach the network on its own. The policy is **off by default**, so this is a switch you have to throw, not one to leave alone. See the [Approval Gate](../features/approval-gate.md).-3. **Keep it in one folder.** The filesystem boundary has two preconditions: the policy enabled, and `workspace_only` on. With both, the agent is confined to its working folder and cannot read the rest of your disk. With either one off, that boundary is not enforced. A **trusted root** is the deliberate exception: each one you add grants its subtree outside the working folder, taking precedence over `workspace_only`. System and credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws`, and OS directories) are blocked outright regardless of all three.-4. **Connect only what you need.** Every integration is a separate OAuth approval you grant (and can revoke) individually. Revoking stops the next sync; memory already collected stays in your memory engine until you forget it.+1. **Route inference on-device.** Run a local runtime such as Ollama yourself, pull the models, and [add it as a provider](local-model.md). Embeddings, summaries and, optionally, chat and reasoning then happen on your machine. OpenHuman does not install the runtime or download models for you. Speech and web search still use the backend proxy.+2. **Tighten what the assistant can do.** Set `[autonomy] enabled = true` and `level = "readonly"` in `config.toml`. The assistant can then observe and answer but never act or reach the network on its own. The policy is off by default, so you have to turn this on. See the [Approval Gate](../features/approval-gate.md).+3. **Keep it in one folder.** The filesystem boundary needs two things: the policy enabled and `workspace_only` on. With both, the agent is confined to its working folder and cannot read the rest of your disk. If either is off, the boundary is not enforced. A trusted root is the deliberate exception. Each one you add grants its subtree outside the working folder and takes precedence over `workspace_only`. System and credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws` and OS directories) are always blocked.+4. **Connect only what you need.** Each integration is a separate OAuth approval that you grant and can revoke. Revoking stops the next sync. Memory already collected stays in your memory engine until you forget it.-## Built-in protections you didn't have to configure+## Built-in protections- **Prompt-injection screening.** Incoming content is screened for attempts to hijack the assistant's instructions before it acts on them.-- **Secret & PII redaction on save.** When content is written into long-lived memory, OpenHuman strips things like API keys, tokens, private-key blocks, and personal identifiers so they don't get stored.-- **Encrypted in transit.** All traffic between the app and the backend is TLS. Nothing travels in plain text.-----+- **Secret and personal-data redaction on save.** When content is written into long-lived memory, OpenHuman strips API keys, tokens, private-key blocks and personal identifiers.+- **Encryption in transit.** All traffic between the app and the backend uses TLS.## Success checksYou know your privacy posture when you can answer these:-- [ ] Is the autonomy policy on, and do you know its tier? (Check `[autonomy]` in `config.toml`.)-- [ ] If you are relying on the filesystem boundary, is `workspace_only` on as well, and do you know which trusted roots grant access outside the working folder?-- [ ] Do you know which integrations are connected? (Check **Settings**; disconnect any you don't need.)-- [ ] If locality matters for a workload, is it routed to a [local provider](local-model.md) that is running and answering?-- [ ] Are you comfortable that model turns send _retrieved snippets_, not your whole memory?+- [ ] Is the autonomy policy on, and do you know its tier? Check `[autonomy]` in `config.toml`.+- [ ] If you rely on the filesystem boundary, is `workspace_only` on too, and do you know which trusted roots grant access outside the working folder?+- [ ] Do you know which integrations are connected? Check **Settings** and disconnect any you do not need.+- [ ] If a workload must stay local, is it routed to a [local provider](local-model.md) that is running and answering?+- [ ] Are you comfortable that model turns send retrieved snippets, not your whole memory?## Common misunderstandings-| Belief | Reality |-| ----------------------------------------------------------- | -------------------------------------------------------------------------------------- |-| "My memory is stored on my laptop." | It is stored in CortexDB (hosted by TinyHumans, or yours). Only bookkeeping is local. |-| "OpenHuman uploads my whole memory to the model to answer." | The model gets only what was recalled for that specific turn. |-| "My service passwords are on my laptop." | Integration tokens are held by the backend; local secrets go in your OS keychain. |-| "Turning on local AI makes _everything_ local." | Speech-to-text, text-to-speech, and web search still use the backend proxy by default, and memory is still stored in CortexDB. |-| "Revoking an integration deletes what it already gathered." | Already-ingested memory stays in your memory engine until you forget it; revoking only stops future syncing. |+| Belief | Reality |+| --- | --- |+| "My memory is stored on my laptop." | It is stored in CortexDB, hosted by TinyHumans or run by you. Only bookkeeping is local. |+| "OpenHuman uploads my whole memory to the model to answer." | The model gets only what was recalled for that turn. |+| "My service passwords are on my laptop." | The backend holds integration tokens, and local secrets go in your OS keychain. |+| "Turning on local AI makes everything local." | Speech-to-text, text-to-speech and web search still use the backend proxy by default, and memory is still stored in CortexDB. |+| "Revoking an integration deletes what it already gathered." | Memory already ingested stays in your memory engine until you forget it. Revoking only stops future syncing. |## See also-- [Privacy & Security](../features/privacy-and-security.md): the detailed architecture.+- [Privacy and security](../features/privacy-and-security.md): the detailed architecture.- [Use OpenHuman with a local model](local-model.md): keep inference on-device.-- [Create a safe companion for a child](child-safe-companion.md): the strictest lockdown, composed from these controls.+- [Create a safe companion for a child](child-safe-companion.md): the strictest lockdown, built from these controls.