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 child-safe companion and move-to-new-pc guides
Steven Enamakelbc9479e270b8
diff --git a/gitbooks/guides/child-safe-companion.md b/gitbooks/guides/child-safe-companion.mdindex b33ce1597b..10cb50e972 100644--- a/gitbooks/guides/child-safe-companion.md+++ b/gitbooks/guides/child-safe-companion.md@@ -1,21 +1,19 @@---description: >-- Compose OpenHuman's autonomy, approval, and content-screening controls into a+ Combine OpenHuman's autonomy, approval and screening controls into alocked-down assistant for a child, with an honest account of the limits.icon: child---# Create a safe companion for a child-**Goal:** set up the most restricted, supervised version of OpenHuman you can, intended for a child to use with an adult present.+This guide sets up the most restricted, supervised version of OpenHuman you can build, for a child to use with an adult present.{% hint style="danger" %}-**Read this first. It is an honest warning.** OpenHuman has **no dedicated "child mode"**, no age verification, and no content filter on what the model _says_. There is no certified parental-control product here. What you _can_ do is compose the existing safety controls into a tightly locked-down setup. That reduces risk; it does not make an AI assistant a safe, unsupervised experience for a child. **Adult supervision is the control that matters most.** Do not rely on software alone.+OpenHuman has no dedicated child mode, no age verification, and no filter on what the model says. It is not a certified parental-control product. You can combine its existing safety controls into a tightly locked-down setup. That reduces risk, but it does not make an AI assistant safe for a child to use alone. Adult supervision is the control that matters most, so do not rely on software alone.{% endhint %}-This guide is about stacking the real controls that exist, and being clear about what they do and don't cover.-----+The guide stacks the controls that exist and says plainly what each one does and does not cover.## Prerequisites@@ -24,75 +22,71 @@ This guide is about stacking the real controls that exist, and being clear about## Privacy implications-- Keep it local. Use a [local model](local-model.md) so conversations aren't sent to a cloud provider, and connect **no** personal integrations.+- Keep it local. Use a [local model](local-model.md) so conversations are not sent to a cloud provider, and connect no personal integrations.- Do not connect a child's accounts. The safest memory is minimal memory.-## What each control actually does--| Control | What it protects against | What it does **not** do |-| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |-| **`readonly` autonomy** (needs the policy on) | The assistant taking any action (sending, writing files, running commands, or reaching the network on its own) | Doesn't filter what it _says_ |-| **Approval Gate (on)** | Any state-changing/network action slipping through without an adult's yes | Doesn't review conversation content |-| **Workspace-only + blocked system dirs** | The agent touching files outside a small folder, or any credential/system directory | Doesn't restrict what topics come up |-| **Prompt-injection screening** | Attempts (in pasted text) to hijack the assistant's instructions | Isn't a general content moderator |-| **No integrations connected** | The assistant pulling in or acting on personal data | (Nothing; not connecting is the whole control) |+## What each control does-The honest gap: **none of these filter the model's language or subject matter.** That gap is filled by an adult in the room and by persona instructions, not by a setting.+| Control | What it protects against | What it does not do |+| --- | --- | --- |+| `readonly` autonomy (needs the policy on) | The assistant taking any action: sending, writing files, running commands or reaching the network on its own | Filter what it says |+| Approval Gate | A state-changing or network action going through without an adult's yes | Review conversation content |+| Workspace-only and blocked system directories | The agent touching files outside a small folder, or any credential or system directory | Limit which topics come up |+| Prompt-injection screening | Pasted text that tries to hijack the assistant's instructions | Moderate content in general |+| No integrations connected | The assistant pulling in or acting on personal data | Nothing else. Not connecting is the whole control |----+None of these filter the model's language or subject matter. An adult in the room and persona instructions fill that gap, not a setting.## Steps### 1. Set the strictest autonomy tier-**Settings → Agents → Agent access:**+Go to **Settings → Agents → Agent access**:-- Autonomy: `[autonomy] enabled = true` with `level = "readonly"` in `config.toml`. The assistant can then talk and answer, but cannot act, write files, or reach the network on its own. The policy is off by default, so this is the first thing to set.-- Keep **workspace-only** on.-- Leave the [Approval Gate](../features/approval-gate.md) installed as a second layer. (At `readonly`, acting is blocked outright anyway.)-- Review the **auto-approve** list and remove anything you don't want running without a prompt.+- Set `[autonomy] enabled = true` with `level = "readonly"` in `config.toml`. The assistant can then talk and answer, but cannot act, write files or reach the network on its own. The policy is off by default, so this is the first thing to set.+- Keep `workspace_only` on.+- Leave the [Approval Gate](../features/approval-gate.md) installed as a second layer. At `readonly`, acting is blocked anyway.+- Review the auto-approve list and remove anything you do not want running without a prompt.### 2. Keep inference and data local-- Set up a [local model](local-model.md) (run the runtime and pull the model yourself), then **route chat and reasoning at the local provider** so conversations run on-device. Adding the provider alone does not move chat; it stays on the default cloud route until you point the chat/reasoning workloads at the local provider and confirm with a test message. Turning on `local_only` [Privacy Mode](../features/privacy-mode.md) makes that guarantee hard.-- Connect **no** integrations. Don't sign the child's accounts in.+- Set up a [local model](local-model.md). You run the runtime and pull the model yourself. Then route chat and reasoning to the local provider so conversations stay on-device. Adding the provider alone does not move chat. It stays on the default cloud route until you point the chat and reasoning workloads at the local provider and confirm with a test message. Turning on `local_only` [Privacy mode](../features/privacy-mode.md) makes that guarantee firm.+- Connect no integrations, and do not sign in the child's accounts.### 3. Write a protective persona-Edit the behavior prompt (`SOUL.md`, via the **Brain** page `/brain`) to set age-appropriate rules directly. For example: "You are talking with a child. Keep language simple and kind. Refuse and redirect anything violent, sexual, frightening, or unsafe. Never give instructions that could cause harm. Encourage them to ask a parent." Persona instructions are your main lever over _content_, since there's no built-in filter.+Edit the behavior prompt (`SOUL.md`, on the **Brain** page at `/brain`) to set age-appropriate rules. For example: "You are talking with a child. Keep language simple and kind. Refuse and redirect anything violent, sexual, frightening or unsafe. Never give instructions that could cause harm. Encourage them to ask a parent." With no built-in filter, persona instructions are your main lever over content.### 4. Supervise, and test first- Sit with the child, at least at first.-- Before handing it over, **try to break it yourself**: ask it things a child might, and confirm the persona redirects appropriately.-----+- Before handing it over, try to break it yourself. Ask it things a child might, and confirm the persona redirects well.## Success checks-- [ ] `[autonomy] enabled = true` and `level = "readonly"`; `workspace_only` is on.+- [ ] `[autonomy] enabled = true`, `level = "readonly"`, and `workspace_only` is on.- [ ] No integrations are connected.-- [ ] Inference is local (`ready`), so conversations aren't going to a cloud provider.+- [ ] Inference is local (`ready`), so conversations do not go to a cloud provider.- [ ] In your own testing, the persona refuses and redirects unsafe prompts.-- [ ] An adult is present for use. _(This is a check, not a nicety.)_+- [ ] An adult is present during use. This is a check, not a nicety.## Common failures-| Symptom | Cause | Fix |-| ---------------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------- |-| It produced content you consider inappropriate | There is no content filter; the persona alone governs tone | Strengthen the `SOUL.md` rules; supervise; this is an inherent limit of the tool |-| It tried to do something (send/open/fetch) | The policy is off, or the tier isn't `readonly` | Set `enabled = true` and `level = "readonly"` in `config.toml` |-| Conversation went to the cloud | Chat isn't routed to a local provider | Route chat to a [local model](local-model.md) and send a test message |-| The child reached settings and changed things | OpenHuman has no separate child login | Use OS-level user accounts/parental controls to lock down the machine itself |+| Symptom | Cause | Fix |+| --- | --- | --- |+| It produced content you consider inappropriate | There is no content filter, and the persona alone governs tone | Strengthen the `SOUL.md` rules and supervise. This is a limit of the tool |+| It tried to send, open or fetch something | The policy is off, or the tier is not `readonly` | Set `enabled = true` and `level = "readonly"` in `config.toml` |+| Conversation went to the cloud | Chat is not routed to a local provider | Route chat to a [local model](local-model.md) and send a test message |+| The child reached settings and changed things | OpenHuman has no separate child login | Use OS-level user accounts or parental controls to lock down the machine |## Recovery-- **Instant lockdown:** set `enabled = true` and `level = "readonly"` (if either drifted). The level does nothing while `enabled` is `false`, so check both. Acting stops next turn.-- **Reset persona:** revert your `SOUL.md` edits to defaults if the customization misbehaves.-- **The real recovery is supervision.** If the experience isn't right for the child, step in. No software setting substitutes for that.+- **Lock down at once.** Set `enabled = true` and `level = "readonly"`, if either drifted. The level does nothing while `enabled` is `false`, so check both. Acting stops on the next turn.+- **Reset the persona.** Revert your `SOUL.md` edits to the defaults if the customization misbehaves.+- **Supervise.** If the experience is not right for the child, step in. No setting replaces that.## See also- [Keep sensitive data private](privacy-sensitive-data.md): the controls this guide stacks.- [Approval Gate](../features/approval-gate.md): the autonomy tiers and what each one blocks.-- [Privacy & Security](../features/privacy-and-security.md): what leaves the machine, and what does not.+- [Privacy and security](../features/privacy-and-security.md): what leaves the machine, and what does not.diff --git a/gitbooks/guides/move-to-new-pc.md b/gitbooks/guides/move-to-new-pc.mdindex d43dcc742e..250661ac76 100644--- a/gitbooks/guides/move-to-new-pc.md+++ b/gitbooks/guides/move-to-new-pc.md@@ -1,122 +1,114 @@---description: >-- Carry your OpenHuman persona, memory, workspace, and model/provider config to- a new computer, and understand which secrets travel and which you re-enter.+ Carry your OpenHuman persona, workspace and model config to a new computer,+ and learn which secrets travel and which you re-enter.icon: truck---# Move OpenHuman to a new PC-**Goal:** set up OpenHuman on a new machine so it picks up where the old one left off (same memory, same persona, same settings), with credentials handled at a safe level of detail.--The short version: **copy one folder, sign back in.** The nuance is in what a folder copy does and does not carry, which this guide makes explicit so you're not surprised.-----+This guide sets up OpenHuman on a new machine so it picks up where the old one left off, with the same persona and settings and your memory reconnected. In short, copy one folder and sign back in. The details below cover what a folder copy does and does not carry.## Prerequisites-- Both computers available (or a backup of the old one's data folder).+- Both computers, or a backup of the old one's data folder.- Your OpenHuman sign-in credentials.-- A way to move files between them (external drive, secure file transfer, etc.).+- A way to move files between them, such as an external drive or a secure file transfer.## What lives where-Everything OpenHuman persists is in a single folder:+Everything OpenHuman keeps on disk is in one folder:-| Platform | Data folder |-| ------------- | --------------------------- |-| macOS / Linux | `~/.openhuman/` |-| Windows | `%USERPROFILE%\.openhuman\` |+| Platform | Data folder |+| --- | --- |+| macOS and Linux | `~/.openhuman/` |+| Windows | `%USERPROFILE%\.openhuman\` |-Inside it, the things you care about migrating:+These are the parts you care about moving:-| What | Where (inside the data folder) | Travels with a folder copy? |-| ------------------------------------------------------ | --------------------------------------------- | --------------------------------- |-| **Memory items** | In your engine (TinyHumans or CortexDB) | Sign in again / re-enter the key |-| **Persona & behavior** | `SOUL.md`, `IDENTITY.md`, `ROLE.md` | Yes |-| **Config** (models, providers, routing, autonomy) | `config.toml` | Yes |-| **Session history** | `sessions/`, `session_raw/` | Yes |-| **Approval history** | `approval/approval.db` | Yes |-| **OS-stored secrets** (session token, some local keys) | Your OS keychain, **not** in this folder | No (re-established on sign-in) |-| **Integration access** (Gmail, Slack, …) | Brokered by the backend, tied to your account | No (reconnects on sign-in) |+| What | Where | Travels with a folder copy? |+| --- | --- | --- |+| Memory items | In your engine (TinyHumans or CortexDB) | No. Sign in again or re-enter the key |+| Persona and behavior | `SOUL.md`, `IDENTITY.md`, `ROLE.md` | Yes |+| Config (models, providers, routing, autonomy) | `config.toml` | Yes |+| Session history | `sessions/`, `session_raw/` | Yes |+| Approval history | `approval/approval.db` | Yes |+| OS-stored secrets (session token, some local keys) | Your OS keychain, not this folder | No. Re-established on sign-in |+| Integration access (Gmail, Slack, and so on) | Held by the backend against your account | No. Reconnects on sign-in |{% hint style="info" %}-**Why some things don't travel, and why that's fine.** OpenHuman deliberately keeps secrets out of loose files. Your session token and certain local secrets live in the operating system's secure store (Keychain / Credential Manager / Secret Service), and your integration tokens are held by the backend against your account. So the folder copy carries your _data and persona_; **signing in on the new machine re-establishes the secrets and integrations.** You never hand-copy raw tokens between machines.+OpenHuman keeps secrets out of loose files on purpose. Your session token and some local secrets live in the operating system's secure store (Keychain, Credential Manager or Secret Service), and the backend holds your integration tokens against your account. The folder copy carries your data and persona, and signing in on the new machine restores the secrets and integrations. You never copy raw tokens by hand.{% endhint %}-----## Steps### 1. Quit OpenHuman on the old machine-Fully close the app so nothing is mid-write to the database. A clean copy needs a quiet source.+Close the app fully so nothing is mid-write to the database. A clean copy needs a quiet source.### 2. Copy the data folder-Copy the **entire** data folder from the old machine to the same location on the new one:+Copy the entire data folder from the old machine to the same location on the new one:-- macOS / Linux: copy `~/.openhuman/` → `~/.openhuman/`-- Windows: copy `%USERPROFILE%\.openhuman\` → `%USERPROFILE%\.openhuman\`+- macOS and Linux: copy `~/.openhuman/` to `~/.openhuman/`.+- Windows: copy `%USERPROFILE%\.openhuman\` to `%USERPROFILE%\.openhuman\`.-Copy the whole folder rather than cherry-picking. It keeps memory, persona, config, and history consistent with each other.+Copy the whole folder instead of picking files. That keeps memory settings, persona, config and history consistent with each other.-The data folder holds config and memory but **not** the files the agent created or edited in its action sandbox. Also copy your **projects/action folder**, by default `~/OpenHuman/projects` (or wherever you pointed the action directory). Otherwise those project files stay behind on the old PC. That folder also holds `Files` (`~/OpenHuman/projects/Files`), where the decks, documents and generated images and videos the agent delivers are saved.+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.{% hint style="warning" %}-Copy it somewhere secure. This folder contains your personal memory in readable form. Treat the transfer like moving personal documents.+Copy it somewhere secure. The folder contains your personal data in readable form, so treat the transfer like moving personal documents.{% endhint %}### 3. Install OpenHuman on the new machine-Install the current build from [tinyhumans.ai/openhuman](https://tinyhumans.ai/openhuman). If the data folder is already in place, the app will find it on launch. (Order doesn't strictly matter; installing first and copying after works too, as long as the app isn't running while you copy.)+Install the current build from [tinyhumans.ai/openhuman](https://tinyhumans.ai/openhuman) or the [latest release](https://github.com/tinyhumansai/openhuman/releases/latest). If the data folder is already in place, the app finds it on launch. The order does not matter much. You can install first and copy after, as long as the app is not running during the copy.### 4. Launch and sign in-Open the app and sign in with the **same account**. Signing in:+Open the app and sign in with the same account. Signing in:- Re-establishes your session token in the new machine's OS keychain.-- Reconnects your account so backend-brokered integrations come back.--### 5. Reconnect anything account-scoped+- Reconnects your account, so integrations held by the backend come back.-- **Integrations** (Gmail, Slack, etc.): confirm they show as connected under **Settings**. If any need a fresh OAuth approval, re-approve them. Each takes a quick click.-- **Bring-your-own keys:** if you had entered your own provider API key, a Composio direct key, or similar **local** secrets, re-enter them on the new machine. Those are stored in the OS keychain and don't come across in the folder.+### 5. Reconnect anything tied to your account-### 6. Re-check model / provider config+- **Integrations** (Gmail, Slack and so on): confirm they show as connected under **Settings**. If one needs a fresh OAuth approval, approve it again. It takes one click.+- **Your own keys:** if you entered your own provider API key, a Composio direct key or similar local secrets, enter them again. They live in the OS keychain and do not travel in the folder.-Your `config.toml` came along, so model routing and provider choices should already match. If you used a [local model](local-model.md), remember that **Ollama/LM Studio is separate software** and the model weights live in its own store, not in the OpenHuman data folder. Install the runtime on the new machine and pull the same models yourself (for example `ollama pull bge-m3`); OpenHuman does not download them.+### 6. Re-check model and provider config----+Your `config.toml` came along, so model routing and provider choices should already match. If you used a [local model](local-model.md), remember that Ollama or LM Studio is separate software, and the model weights live in its own store, not in the OpenHuman data folder. Install the runtime on the new machine and pull the same models yourself, for example `ollama pull bge-m3`. OpenHuman does not download them.## Success checks-The migration worked when:+The move worked when:-- [ ] The **Memory** tab on the new machine shows your existing summaries. Your memory came across.-- [ ] The assistant replies in your configured style, and your display name/persona is intact.-- [ ] Connected integrations show as connected under **Settings** (reconnect any that don't).+- [ ] The Memory tab on the new machine shows your existing summaries.+- [ ] The assistant replies in your configured style, and your display name and persona are intact.+- [ ] Connected integrations show as connected under **Settings**. Reconnect any that do not.- [ ] Your autonomy tier and settings match what you had (check **Settings → Agents → Agent access**).-- [ ] If you use local AI: the runtime is installed and running on the new machine, you have pulled the models your workloads name, and a turn routed to the local provider answers.+- [ ] If you use local AI, the runtime is installed and running, you have pulled the models your workloads name, and a turn routed to the local provider answers.## Common failures-| Symptom | Cause | Fix |-| ------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |-| New machine starts fresh, no memory | Data folder wasn't in the right place, or app was running during the copy | Quit the app, place the folder at `~/.openhuman/` (or `%USERPROFILE%\.openhuman\`), relaunch |-| Signed in but integrations are disconnected | Integration access is account/backend-scoped, not in the folder | Reconnect each integration in Settings (one OAuth click each) |-| Local model doesn't work on the new PC | Ollama/LM Studio and the weights aren't on the new machine | Install the runtime and pull the models yourself; see [local model guide](local-model.md) |-| Assistant lost its personality | `SOUL.md` / `IDENTITY.md` weren't copied | Copy the **whole** data folder, not just the database |-| Sign-in stalls on the new machine | An auth/handler issue unrelated to migration | See [Troubleshooting Sign-In](../overview/troubleshooting-sign-in.md) |+| Symptom | Cause | Fix |+| --- | --- | --- |+| The new machine starts fresh with no memory | The data folder was in the wrong place, or the app was running during the copy | Quit the app, place the folder at `~/.openhuman/` (or `%USERPROFILE%\.openhuman\`), and relaunch |+| Signed in but integrations are disconnected | Integration access is tied to your account, not the folder | Reconnect each integration in Settings. Each takes one OAuth click |+| The local model does not work on the new PC | Ollama or LM Studio and the weights are not on the new machine | Install the runtime and pull the models yourself. See the [local model guide](local-model.md) |+| The assistant lost its personality | `SOUL.md` and `IDENTITY.md` were not copied | Copy the whole data folder, not just the database |+| Sign-in stalls on the new machine | An auth or handler issue unrelated to the move | See [Troubleshooting sign-in](../overview/troubleshooting-sign-in.md) |## Recovery-- **Keep the old machine's folder until you've verified the new one.** Don't wipe the source until every success check passes.-- If the new machine won't start at all, treat it as a fresh-install problem: [Recover from a failed installation](recover-failed-installation.md). Your copied folder is safe to move aside and restore.+- Keep the old machine's folder until you have verified the new one. Do not wipe the source until every success check passes.+- If the new machine will not start at all, treat it as a fresh-install problem and follow [Recover from a failed installation](recover-failed-installation.md). Your copied folder is safe to move aside and restore.## See also-- [Recover from a failed installation](recover-failed-installation.md): same data folder, different problem.+- [Recover from a failed installation](recover-failed-installation.md): the same data folder, a different problem.- [Keep sensitive data private](privacy-sensitive-data.md): why secrets are stored the way they are.-- [Use OpenHuman with a local model](local-model.md): re-standing-up a runtime on the new machine.-- [OS Keyring & Secret Storage](../features/os-keyring-and-secret-storage.md): what the keychain holds instead of the folder.+- [Use OpenHuman with a local model](local-model.md): setting up a runtime on the new machine.+- [OS keyring and secret storage](../features/os-keyring-and-secret-storage.md): what the keychain holds instead of the folder.