web_search tool lets agents search the web during workflow execution. Fabro uses Venice Search automatically when VENICE_API_KEY is available and a direct Brave Search key is not.
Venice Search reuses the same VENICE_API_KEY as the Venice LLM provider. Agents keep calling web_search; only the HTTP backend changes.
Setup
- Store a Venice API key on the Fabro server (skip this if the Venice LLM provider is already logged in):
BRAVE_SEARCH_API_KEY is also present. To select Venice, leave that key unset or remove it:
- Verify the key is working:
venice: configured and reachable. If neither Venice nor Brave is configured, web search is reported as a warning. Workflows still run, but the web_search tool is omitted from the agent’s tool set.
The Fabro server reads this key from the vault only. It does not read VENICE_API_KEY from process env or server.env.
How it works
Agents call theweb_search tool with a query string. Fabro POSTs to Venice https://api.venice.ai/api/v1/augment/search with the Brave search engine and returns numbered results with title, URL, description, and date when Venice includes one:
VENICE_API_KEY is absent but BRAVE_SEARCH_API_KEY exists, Fabro uses direct Brave Search. If neither key exists, the tool is not registered. After selecting Venice, a failed call returns an error; Fabro does not retry through direct Brave Search.
See the web_search tool reference for parameters and details.
Permissions
web_search is classified as a shell category tool, requiring the full permission level for auto-approval. At lower permission levels:
- Interactive mode — the user is prompted to approve each call
- Non-interactive mode (
--auto-approve) — calls are denied
Troubleshooting
“VENICE_API_KEY is not configured” — Add the key withfabro secret set VENICE_API_KEY <key> or fabro provider login --provider venice. Run fabro doctor to verify.
“Venice Search API returned status 401” — The API key is invalid or expired. Create a new key at venice.ai.
“Venice Search API returned status 402” — The Venice account is out of credits. The error may include a remaining-balance hint.
“Venice Search API returned status 429” — Rate limit exceeded (20 requests per minute on Venice Search). Reduce the frequency of web_search calls.
Further reading
Tools
Full
web_search tool reference — parameters, output format, and error handling.Brave Search
Direct Brave Search backend, preferred whenever its key is configured.