Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(search): document Parallel as own-key-only provider

Steven Enamakel27e8c9312a5c
diff --git a/crates/openhuman-core/src/config/schema/README.md b/crates/openhuman-core/src/config/schema/README.md
index d8a33fe6c5..b7bf73c162 100644
--- a/crates/openhuman-core/src/config/schema/README.md
+++ b/crates/openhuman-core/src/config/schema/README.md
@@ -66,8 +66,8 @@ is mounted as a submodule of `load/dirs.rs` via `#[path]`.
`presentation`, limits, and direct keys; fresh installs default to managed Exa
and managed Gemini. Files without `schema_version` carry the single-engine
format and are migrated on load (`tools/search_migrate.rs`,
-`load/migrate.rs::migrate_search_settings`); Parallel selections and keys are
-dropped. Seltz and SearXNG keep their options in their own sections, but only
+`load/migrate.rs::migrate_search_settings`); Parallel keeps its key as a
+direct-only provider, and a keyless managed-Parallel selection is dropped. Seltz and SearXNG keep their options in their own sections, but only
the `providers` map decides whether they are on.
Most sections have a matching `*_tests.rs` (some further split into several
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
index da7cb52a15..3b7891286c 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
@@ -71,7 +71,7 @@ Capability {
domain: "workflows",
category: CapabilityCategory::Workflows,
description:
- "Search the web, get grounded answers with citations, and read page contents through several providers at once. Signed-in users get Exa and Gemini with Google Search grounding included; Brave, Tavily, Querit, Seltz, SearXNG, and your own Exa or Gemini keys can be added. Each capability falls back to the next provider when one is unavailable.",
+ "Search the web, get grounded answers with citations, and read page contents through several providers at once. Signed-in users get Exa and Gemini with Google Search grounding included; Brave, Tavily, Querit, Parallel, Seltz, SearXNG, and your own Exa or Gemini keys can be added. Each capability falls back to the next provider when one is unavailable.",
how_to: "Connections > Search to choose providers and their order, then ask the assistant to look something up",
status: CapabilityStatus::Beta,
privacy: Some(CapabilityPrivacy {
diff --git a/crates/openhuman-core/src/search/README.md b/crates/openhuman-core/src/search/README.md
index 51c1587b1d..b5a741d65d 100644
--- a/crates/openhuman-core/src/search/README.md
+++ b/crates/openhuman-core/src/search/README.md
@@ -6,7 +6,7 @@ OpenHuman decides about them.
## Model
-- **Providers** (`exa`, `gemini`, `tinyfish`, `brave`, `querit`, `tavily`,
+- **Providers** (`exa`, `gemini`, `tinyfish`, `parallel`, `brave`, `querit`, `tavily`,
`seltz`, `searxng`; `gemini_deep_research` rides on the Gemini key). Each
has `enabled` and a route: `managed` (TinyHumans backend, billed to the
session or API key; supported by `exa`, `gemini`, `tinyfish`) or `direct`
@@ -19,7 +19,8 @@ OpenHuman decides about them.
- Config lives in `[search]` (`config/schema/tools/search.rs`): `providers`,
`roles`, `presentation` (`roles` by default; `all_tools`, `router`,
`one_provider`). Files from the single-engine era are migrated on load
- (`search_migrate.rs`); Parallel selections and keys are dropped.
+ (`search_migrate.rs`); Parallel is kept as a direct-only (own key)
+ provider, and a keyless managed-Parallel selection is dropped.
## Files
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index b56729e3b9..30cf63674f 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -331,7 +331,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an
| 7.2.3 | TinyFish Integration Tools | RU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/modules/search/config_tests.rs`, `crates/openhuman-core/src/search/providers_tests.rs` | ✅ | TinyFish is a managed TinySearch provider serving the search and contents roles; host tests cover its managed-only route and usability; request mapping is tested in the module |
| 7.2.4 | Exa search (managed + BYOK) | RU+RI+VU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/modules/search/config_tests.rs`, `tests/raw_coverage/worker_b_raw_coverage_e2e.rs::tools_web_search_success_path_uses_backend_session_and_shapes_results`, `crates/openhuman-core/src/config/ops/search_tests.rs`, `app/src/components/settings/panels/SearchPanel.test.tsx` | ✅ | Managed Exa posts `{objective, searchQueries}` (no `mode`) to `/agent-integrations/exa/search` through the loaded TinySearch module against a local backend; direct Exa keeps its key private in the module configuration; the panel switches route and saves/clears the key |
| 7.2.5 | Tavily BYOK search + extract (direct API) | RU+RI+VU | `vendor/tinysearch` provider tests, `crates/openhuman-core/src/config/ops_loader_and_search_tests.rs` (`apply_search_settings_stores_and_clears_tavily_key`), `tests/config_auth_app_state_connectivity_e2e.rs`, `app/src/components/settings/panels/SearchPanel.test.tsx` | ✅ | Tavily serves the search and contents roles with the user's key; the key round-trips through the settings RPC and secret encryption and is never returned; clearing it drops Tavily from `effective_roles` |
-| 7.2.6 | Multi-provider roles, fallback and grounded answers | RU+RI+VU | `crates/openhuman-core/src/search/{providers,render,tools,bus}_tests.rs`, `crates/openhuman-core/src/config/schema/tools/search_search_config_tests_tests.rs`, `crates/openhuman-core/src/agent/session_host/recorded_tools_tests.rs`, `crates/openhuman-core/src/mcp/server/tools_tests_params_and_specs_tests.rs`, `tests/raw_coverage/worker_b_raw_coverage_e2e.rs::tools_web_answer_uses_managed_gemini_grounding_and_returns_citations`, `app/src/components/settings/panels/SearchPanel.test.tsx`, `app/src/features/conversations/tools/parseWebSearchResult.test.ts` | ✅ | Several providers at once: one agent tool per role (`web_search_tool`, `web_answer_tool`, `web_contents_tool`) served by the first usable provider with fallback (module tests); managed providers need a session and refresh on `CredentialChanged`; managed Gemini grounding returns an answer with citations end to end; single-engine settings migrate on load and Parallel is dropped; resumed threads keep recorded role tools; chat renders answers, citations and fallback |
+| 7.2.6 | Multi-provider roles, fallback and grounded answers | RU+RI+VU | `crates/openhuman-core/src/search/{providers,render,tools,bus}_tests.rs`, `crates/openhuman-core/src/config/schema/tools/search_search_config_tests_tests.rs`, `crates/openhuman-core/src/agent/session_host/recorded_tools_tests.rs`, `crates/openhuman-core/src/mcp/server/tools_tests_params_and_specs_tests.rs`, `tests/raw_coverage/worker_b_raw_coverage_e2e.rs::tools_web_answer_uses_managed_gemini_grounding_and_returns_citations`, `app/src/components/settings/panels/SearchPanel.test.tsx`, `app/src/features/conversations/tools/parseWebSearchResult.test.ts` | ✅ | Several providers at once: one agent tool per role (`web_search_tool`, `web_answer_tool`, `web_contents_tool`) served by the first usable provider with fallback (module tests); managed providers need a session and refresh on `CredentialChanged`; managed Gemini grounding returns an answer with citations end to end; single-engine settings migrate on load and Parallel stays as an own-key-only provider; resumed threads keep recorded role tools; chat renders answers, citations and fallback |
| 7.2.6 | Backend socket connect deadline + reconnect diagnostics | RU | `crates/openhuman-core/src/platform/socket/ws_loop_deadline_tests.rs` (`connect_with_redirects_times_out_when_upgrade_never_answers`, `connect_timeout_is_not_tighter_than_a_handshake_read`, `ws_loop_reports_reconnecting_between_attempts`, `ws_loop_reconnects_after_ping_deadline_on_a_silent_server`), `crates/openhuman-core/src/core/observability_error_classification_network_tests.rs` (`classifies_socket_connect_deadline_as_network_unreachable`) (#6256) | ✅ | One connect attempt (DNS + TCP + TLS + upgrade) is bounded at 10 s per redirect hop and fails as the `operation timed out` transport shape the Sentry classifier demotes; the loop reports `reconnecting` between attempts and `disconnected` only when stopped; the ping-timeout warning carries connection age / EIO pings received / frames sent, and a handshake after an outage logs `Reconnected after …` |
| 7.2.7 | Connectivity chip — core↔hosted backend link | VU | `app/src/services/__tests__/coreHealthMonitor.test.ts`, `app/src/store/__tests__/connectivitySlice.test.ts`, `app/src/store/__tests__/connectivitySelectors.test.ts`, `app/src/components/__tests__/ConnectionIndicator.test.tsx` (#6256) | ✅ | `connectivity_diag.socket_state` + `socket_loop_active` are mirrored into `connectivity.hosted` by the health poll; with the loop alive, `connecting` / `reconnecting` / `disconnected` (server closed the namespace) render the amber `hosted-degraded` chip, ranked below every other channel; `socket_loop_active=false` or `uninitialized` collapse to `unknown` (no chip: signed out, local session, boot) unless `socket_loop_stopped_on_failure` says the loop exited on an unusable session, which renders `hosted-stopped` with "sign in again" copy; `error` (server error event on a live transport) is stored but is not a chip state; a degraded link selects the 5 s poll so recovery shows within seconds |
diff --git a/gitbooks/features/native-tools/web-search.md b/gitbooks/features/native-tools/web-search.md
index c7c469d5f0..1cad711cdd 100644
--- a/gitbooks/features/native-tools/web-search.md
+++ b/gitbooks/features/native-tools/web-search.md
@@ -32,9 +32,9 @@ The default order is:
| Role | Default providers, in order |
| -------- | ------------------------------------------------------------------ |
-| Search | Exa, Brave, Tavily, Querit, Seltz, SearXNG, TinyFish |
-| Answer | Gemini, Exa |
-| Contents | Exa, Tavily, TinyFish |
+| Search | Exa, Brave, Tavily, Parallel, Querit, Seltz, SearXNG, TinyFish |
+| Answer | Gemini, Exa, Parallel |
+| Contents | Exa, Tavily, Parallel, TinyFish |
Providers that are off are skipped, so with the defaults only Exa and Gemini serve.
@@ -50,6 +50,7 @@ Every provider has a **route**:
| Exa | Included, own key | Search, answer, contents | On by default (included). |
| Gemini | Included, own key | Answer | On by default (included). A key of your own also unlocks Deep Research, even on the included route. |
| TinyFish | Included | Search, contents | Off by default. |
+| Parallel | Own key | Search, answer, contents | Off by default. There is no included Parallel route; bring your own [Parallel](https://parallel.ai) key. Deep answers never use Parallel. |
| Brave | Own key | Search | Off by default. |
| Tavily | Own key | Search, contents | Off by default. |
| Querit | Own key | Search | Off by default. |
@@ -107,7 +108,7 @@ Environment overrides:
| `OPENHUMAN_SEARCH_PROVIDERS` | Replaces the provider set, e.g. `exa:managed,gemini,brave`. |
| `OPENHUMAN_SEARCH_ROUTES` | Changes routes, e.g. `exa=direct,gemini=managed`. |
| `OPENHUMAN_SEARCH_ROLES` | Sets role orders, e.g. `search=brave\|exa;answer=gemini`. |
-| `OPENHUMAN_EXA_API_KEY`, `OPENHUMAN_GEMINI_API_KEY`, `OPENHUMAN_BRAVE_API_KEY`, `OPENHUMAN_TAVILY_API_KEY`, `OPENHUMAN_QUERIT_API_KEY`, `OPENHUMAN_SELTZ_API_KEY` | Provider keys. The unprefixed names (`EXA_API_KEY`, `GEMINI_API_KEY`, …) work too. |
+| `OPENHUMAN_EXA_API_KEY`, `OPENHUMAN_GEMINI_API_KEY`, `OPENHUMAN_BRAVE_API_KEY`, `OPENHUMAN_TAVILY_API_KEY`, `OPENHUMAN_QUERIT_API_KEY`, `OPENHUMAN_PARALLEL_API_KEY`, `OPENHUMAN_SELTZ_API_KEY` | Provider keys. The unprefixed names (`EXA_API_KEY`, `GEMINI_API_KEY`, …) work too. |
Treat environment-provided keys as secrets.
@@ -115,9 +116,9 @@ Treat environment-provided keys as secrets.
Besides serving the Search role, an enabled SearXNG instance is exposed to RPC and MCP clients as `openhuman.tools_searxng_search` (`searxng_search` in the MCP catalog), which pins the call to SearXNG. Its `[searxng]` section in `config.toml` and the `OPENHUMAN_SEARXNG_*` variables (`ENABLED`, `BASE_URL`, `MAX_RESULTS`, `DEFAULT_LANGUAGE`, `TIMEOUT_SECONDS`) configure the instance.
-## Parallel was removed
+## Parallel is own-key only
-Parallel is no longer a search provider. Its engine option, its own-key field and its `parallel_*` agent tools are gone, and `PARALLEL_*` environment settings and old Parallel entries in `config.toml` are ignored. Older chat transcripts that contain Parallel tool calls still render.
+Parallel is no longer included with TinyHumans; it works only with your own Parallel key. A saved Parallel key carries over when you upgrade (Parallel stays first for search if it was your chosen engine). A setup that relied on the included Parallel route without a key moves to the included Exa and Gemini providers. `OPENHUMAN_PARALLEL_ROUTE` is ignored.
## How it differs from generic HTTP
diff --git a/vendor/tinysearch b/vendor/tinysearch
index 00619ebccb..f0c977dbb7 160000
--- a/vendor/tinysearch
+++ b/vendor/tinysearch
@@ -1 +1 @@
-Subproject commit 00619ebccb146748bb36b3ca245c5cc73bb79073
+Subproject commit f0c977dbb7c259ab7622060054040e3900435e36