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: add README and update architecture and testing documentation
Steven Enamakelfe32b0ba4b35
diff --git a/crates/openhuman-embed/README.md b/crates/openhuman-embed/README.mdindex 3cca3715d9..ffb5fa40c2 100644--- a/crates/openhuman-embed/README.md+++ b/crates/openhuman-embed/README.md@@ -53,8 +53,8 @@ embedding method in `openhuman-embed`.## Two steps: a `Runtime`, then any number of `Agent`s-The library API. Initialise one runtime — features, services, backend URL,-the TinyHumans API key — then instantiate agents on it, each fully described+The library API. Initialize one runtime (features, services, backend URL,+the TinyHumans API key), then instantiate agents on it, each fully describedand independent of the others:```rust,no_rundiff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.mdindex 1fe726a912..c8959b9b71 100644--- a/gitbooks/developing/architecture/frontend.md+++ b/gitbooks/developing/architecture/frontend.md@@ -157,27 +157,32 @@ The application uses Redux Toolkit with Redux-Persist. There is no single root pAuthoritative list = the `reducer` map in `store/index.ts`. One-line purposes:-| Slice | Purpose | Persisted? |-| -------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------- |-| `accounts` | Connected web-app accounts + rail ordering | `accounts`, `order`, `lastActiveAccountId` (not the active id) |-| `announcement` | Harness-init announcement banner, seen ids | `shownIds` |-| `backendMeet` | Backend-driven Google Meet call state (join/leave, transcript, replies) | no |-| `channelConnections` | Messaging channel connections (WhatsApp, Slack, …) | connections + migration/default-channel fields |-| `chatRuntime` | Streaming buffers, tool timelines, inference status, artifacts | only `artifactsByThread` (ready snapshots) |-| `companion` | Companion overlay state | no |-| `connectivity` | navigator.onLine, core health, renderer↔core socket, core↔hosted link | no |-| `coreMode` | Pre-login core mode selection (embedded / self-hosted / cloud) | `mode` (plain localStorage) |-| `layout` | Two-pane layout geometry (sidebar visibility, dragged widths) | `panels` |-| `locale` | UI language | `current` (plain localStorage) |-| `mascot` | Mascot appearance / voice selection | `color`, `voiceId`, `customMascotGifUrl`, `selectedMascotId` |-| `notifications` | Notification items + preferences | `items`, `preferences` |-| `persona` | Cosmetic persona display name + description (SOUL.md lives in the core) | `displayName`, `description` |-| `providerSurfaces` | Provider webview surface state | no |-| `ptt` | Push-to-talk hotkey + session prefs (`isHeld` deliberately excluded) | `shortcut`, `speakReplies`, `showOverlay` |-| `socket` | Per-user socket connection status / socket ids | no (reconnects on boot) |-| `theme` | Theme mode, font size, message view mode, custom themes | plain localStorage |-| `thread` | Chat thread list + per-thread message caches | only `selectedThreadId` |-| `userErrors` | User-actionable runtime errors (#3931) | no (in-memory only) |+| Slice | Purpose | Persisted? |+| --------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------- |+| `accounts` | Connected web-app accounts + rail ordering | `accounts`, `order`, `lastActiveAccountId` (not the active id) |+| `announcement` | Harness-init announcement banner, seen ids | `shownIds` |+| `channelConnections` | Messaging channel connections (WhatsApp, Slack, …) | connections + migration/default-channel fields |+| `chatRuntime` | Streaming buffers, tool timelines, inference status, artifacts | only `artifactsByThread` (ready snapshots) |+| `connectivity` | navigator.onLine, core health, renderer to core socket, core to hosted link | no |+| `coreMode` | Pre-login core mode selection (embedded / self-hosted / cloud) | `mode` (plain localStorage) |+| `followupSuggestions` | Follow-up chips for each thread's latest settled turn | no (in-memory only) |+| `githubStar` | Whether the user dismissed the in-app "Star us on GitHub" CTA | `dismissed` |+| `layout` | Two-pane layout geometry (sidebar visibility, dragged widths) | `panels` |+| `locale` | UI language | `current` (plain localStorage) |+| `mascot` | Mascot appearance / voice selection | `color`, `voiceId`, `customMascotGifUrl`, `selectedMascotId` |+| `notifications` | Notification items + preferences | `items`, `preferences` |+| `persona` | Cosmetic persona display name + description (SOUL.md lives in the core) | `displayName`, `description` |+| `providerSurfaces` | Provider webview surface state | no |+| `ptt` | Push-to-talk hotkey + session prefs (`isHeld` deliberately excluded) | `shortcut`, `speakReplies`, `showOverlay` |+| `queue` | The core's per-thread run queue plus the composer's pending follow-up messages | no (in-memory only) |+| `runMode` | Per-thread plan/build run mode | no (in-memory only) |+| `socket` | Per-user socket connection status / socket ids | no (reconnects on boot) |+| `theme` | Theme mode, font size, message view mode, custom themes | plain localStorage |+| `thread` | Chat thread list + per-thread message caches | only `selectedThreadId` |+| `threadGoal` | Durable per-thread goal state | no (in-memory only) |+| `threadTodos` | Live per-thread todo list | no (in-memory only) |+| `userErrors` | User-actionable runtime errors (#3931) | no (in-memory only) |+| `walletPreferences` | Hidden-token preferences for the wallet view | `hiddenTokenKeys` |Ephemeral chat state (streaming buffers, tool timelines) must **not** survive a restart: the UI would try to resume a turn whose live driver is gone. The one exception, agent-generated artifacts, goes through the `artifactsReadyOnlyTransform` in `store/index.ts` (pure logic in `store/artifactsPersistFilter.ts`).diff --git a/gitbooks/developing/testing-strategy.md b/gitbooks/developing/testing-strategy.mdindex d84bc7dff4..3607caca19 100644--- a/gitbooks/developing/testing-strategy.md+++ b/gitbooks/developing/testing-strategy.md@@ -265,7 +265,7 @@ needed teaches contributors the docs are unreliable, and it is precisely how themisleading note above came to exist: someone's defensively-accumulated setup,written down as necessity, never falsified.-### 4. Only now suspect a defect — and make the silence speak+### 4. Only now suspect a defect, and make the silence speakIf it compiled, the submodules are present and the feature set matches CI, thena failure may be real. The trap at this stage is a layer that *correctly*@@ -275,7 +275,7 @@ message where a specific one was produced.Patch the discarding line to print what it drops, run once, and read theunderlying error. On openhuman#6487 a sanitized`hosted agent invocation was rejected by policy` was hiding-`Validation("agent definition \`harness\` was not found")` — which named the+`Validation("agent definition \`harness\` was not found")`, which named thedefect outright. **Reading seven links of a chain correctly is not the same aswatching it fire.**