Feynman’s web search tool retrieves current information from the web during research workflows. It supports multiple simultaneous queries, domain filtering, recency filtering, and full-page content retrieval. The Researcher agent uses web search alongside AlphaXiv to gather evidence from non-academic sources.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/getcompanion-ai/feynman/llms.txt
Use this file to discover all available pages before exploring further.
Default behavior
The default path is zero-config Gemini grounding via a signed-in Chromium profile. No API keys are required. This works on macOS and Linux where a Chromium-based browser is installed and signed in to a Google account. For headless environments, CI pipelines, or servers without a browser, configure an explicit API key for Perplexity or Gemini.Routing modes
Feynman supports three web search backends:| Mode | Description |
|---|---|
auto | Prefer Perplexity when a key is configured, fall back to Gemini. |
perplexity | Force Perplexity Sonar for all web searches. |
gemini | Force Gemini grounding (zero-config default). |
Configuration
Check the current search configuration:~/.feynman/web-search.json to configure the backend:
route to auto, perplexity, or gemini. When using auto, Feynman prefers Perplexity if a key is present, then falls back to Gemini.
Search features
The web search tool exposes several capabilities that the Researcher uses automatically:- Multiple queries — Send 2–4 varied-angle queries simultaneously for broader topic coverage. The Researcher generates queries from different angles to catch sources that use different terminology.
- Domain filtering — Restrict results to specific domains such as
arxiv.org,github.com, ornature.comusingdomainFilter. - Recency filtering — Filter results by date using
recencyFilter, useful for fast-moving topics where only recent work matters. - Full content retrieval — Fetch complete page content for the most important results using
includeContent: true, rather than relying on snippets alone.
Web search vs. paper search
Use web search and paper search for different kinds of questions:- Use web search for
- Use paper search (AlphaXiv) for
- Current products, companies, and markets
- Model availability and pricing
- Software releases and documentation
- Regulations, news, and recent events
- Anything phrased as “latest”, “current”, “recent”, or “today”
- Engineering topics with official docs and code repositories
Session search
Session search lets you recover prior Feynman work from stored session transcripts. Every Feynman session is persisted to disk at~/.feynman/sessions/.
Session search is an optional package. Install it with:
/search slash command becomes available in all future sessions:
- Full session transcripts including your prompts and Feynman’s responses
- Tool outputs and agent results from workflows
- Generated artifacts such as drafts, reports, and comparison matrices
- Metadata like timestamps, topics, and workflow types