Skip to content

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

docs: point tools and env docs at role-based search

Steven Enamakelb362f3a79ceb
diff --git a/.env.example b/.env.example
index c9a497621e..db7bdd1569 100644
--- a/.env.example
+++ b/.env.example
@@ -162,89 +162,56 @@ OPENHUMAN_SHELL_HIDE_WINDOW=
# ---------------------------------------------------------------------------
# Web search
# ---------------------------------------------------------------------------
-# Web search is always enabled — no opt-in flag. Configure result budgets below.
-# [optional] Default: 5
-OPENHUMAN_WEB_SEARCH_MAX_RESULTS=5
-# [optional] Default: 10
-OPENHUMAN_WEB_SEARCH_TIMEOUT_SECS=10
-
-# ---------------------------------------------------------------------------
-# Seltz search (direct API — https://seltz.ai)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://console.seltz.ai. When set, enables the
-# seltz_search agent tool. Fast (<200ms), independent index, domain/date filters.
+# Several providers can be on at once. The agent gets one tool per role —
+# web_search_tool (ranked results), web_answer_tool (grounded answer with
+# citations) and web_contents_tool (page contents) — each served by the first
+# usable provider in that role's order, with the rest as fallbacks. Signed-in
+# sessions get managed Exa (search, contents) and managed Gemini with Google
+# Search grounding (answer) with no key. Settings live under
+# Connections > Search; these variables override config.toml.
+#
+# [optional] Turn web search off entirely. Default: true
+# OPENHUMAN_SEARCH_ENABLED=true
+# [optional] Replace the provider set: comma-separated `provider[:route]`,
+# route `managed` or `direct` (managed where supported, else direct).
+# Providers: exa, gemini, tinyfish, brave, querit, tavily, seltz, searxng.
+# OPENHUMAN_SEARCH_PROVIDERS=exa:managed,gemini:managed,brave
+# [optional] Change routes of listed providers.
+# OPENHUMAN_SEARCH_ROUTES=exa=direct,gemini=managed
+# [optional] Provider order per role (search | answer | contents).
+# OPENHUMAN_SEARCH_ROLES=search=brave|exa;answer=gemini
+# [optional] roles (default) | all_tools | router | one_provider
+# OPENHUMAN_SEARCH_PRESENTATION=roles
+# [optional] Result count (1-20, default 5) and per-request timeout (default 15)
+# OPENHUMAN_SEARCH_MAX_RESULTS=5
+# OPENHUMAN_SEARCH_TIMEOUT_SECS=15
+# [optional] Legacy single-engine selector, still honoured:
+# disabled | managed | brave | querit | exa | tavily
+# OPENHUMAN_SEARCH_ENGINE=
+
+# Direct-route keys (bring your own key). A key alone does not turn a provider
+# on; enable it in settings or list it in OPENHUMAN_SEARCH_PROVIDERS.
+# EXA_API_KEY= # https://dashboard.exa.ai/api-keys
+# GEMINI_API_KEY= # https://aistudio.google.com/apikey — also unlocks deep research
+# BRAVE_API_KEY= # https://api.search.brave.com
+# TAVILY_API_KEY= # https://tavily.com
+# QUERIT_API_KEY= # https://www.querit.ai
+# (each also accepts an OPENHUMAN_ prefix, e.g. OPENHUMAN_EXA_API_KEY)
+
+# Seltz (direct API — https://seltz.ai). Setting the key enables the provider.
# SELTZ_API_KEY=
-# [optional] Override API base URL (default: https://api.seltz.ai/v1)
-# SELTZ_API_URL=
-# [optional] Default max results per query (1-20, default 10)
+# SELTZ_API_URL= # default https://api.seltz.ai/v1
# OPENHUMAN_SELTZ_MAX_RESULTS=10
-# ---------------------------------------------------------------------------
-# Querit search (direct API — https://www.querit.ai)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://www.querit.ai. Select "Querit" in
-# Settings > Search engine, or set OPENHUMAN_SEARCH_ENGINE=querit.
-# QUERIT_API_KEY=
-# OPENHUMAN_QUERIT_API_KEY=
-
-# ---------------------------------------------------------------------------
-# Exa search (direct API, BYOK — https://exa.ai)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://exa.ai. Select "Exa" in
-# Settings > Search engine, or set OPENHUMAN_SEARCH_ENGINE=exa. Calls go
-# straight to https://api.exa.ai with this key (never through the managed
-# backend) and power web_search_tool plus exa_search / exa_find_similar /
-# exa_get_contents. Engine silently falls back to "managed" if no key is
-# present, so the agent always has working search.
-# EXA_API_KEY=
-# OPENHUMAN_EXA_API_KEY=
-
-# ---------------------------------------------------------------------------
-# Tavily search (direct API, BYOK — https://tavily.com)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://tavily.com. Select "Tavily" in
-# Settings > Search engine, or set OPENHUMAN_SEARCH_ENGINE=tavily. Calls go
-# straight to https://api.tavily.com with this key (never through the managed
-# backend) and power web_search_tool plus tavily_search / tavily_extract.
-# Engine falls back to "managed" if no key is present. Managed search is not
-# available to local users, who must configure a Tavily key before searching.
-# TAVILY_API_KEY=
-# OPENHUMAN_TAVILY_API_KEY=
-
-# ---------------------------------------------------------------------------
-# Brave search (direct API — https://brave.com/search/api/)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://api.search.brave.com. Select "Brave" in
-# Settings > Search engine, or set OPENHUMAN_SEARCH_ENGINE=brave. Powers
-# web_search_tool plus brave_news_search / brave_image_search /
-# brave_video_search. Engine silently falls back to "managed" if no key
-# is present, so the agent always has working search.
-# BRAVE_API_KEY=
-# OPENHUMAN_BRAVE_API_KEY=
-
-# ---------------------------------------------------------------------------
-# Parallel search (direct API — https://parallel.ai)
-# ---------------------------------------------------------------------------
-# [optional] API key from https://parallel.ai. Select "Parallel" in
-# Settings > Search engine, or set OPENHUMAN_SEARCH_ENGINE=parallel.
-# Engine silently falls back to "managed" if no key is present.
-# PARALLEL_API_KEY=
-# OPENHUMAN_PARALLEL_API_KEY=
-
-# ---------------------------------------------------------------------------
-# SearXNG search (self-hosted — https://docs.searxng.org)
-# ---------------------------------------------------------------------------
-# [optional] Enable the searxng_search agent/MCP tool. Default: false.
+# SearXNG (self-hosted — https://docs.searxng.org). Enabling adds the provider.
# OPENHUMAN_SEARXNG_ENABLED=false
-# [optional] Base URL for your SearXNG instance. Default: http://localhost:8080
# OPENHUMAN_SEARXNG_BASE_URL=http://localhost:8080
-# [optional] Default max results per query (1-50, default 10)
# OPENHUMAN_SEARXNG_MAX_RESULTS=10
-# [optional] Default language when a tool call omits language. Default: en
# OPENHUMAN_SEARXNG_DEFAULT_LANGUAGE=en
-# [optional] Request timeout in seconds. Default: 10
# OPENHUMAN_SEARXNG_TIMEOUT_SECONDS=10
+# Parallel is no longer a search provider; PARALLEL_* variables are ignored.
+
# ---------------------------------------------------------------------------
# Proxy
# ---------------------------------------------------------------------------