Web Research
GHOST can search the web and fetch page content for research tasks.
Web Search
Section titled “Web Search”GHOST supports two search backends:
- SearXNG (default) — self-hosted meta-search engine. Aggregates results from multiple engines and returns rich metadata (source engines, relevance scores, ranking positions).
- Brave Search — API-based fallback. Requires a subscription key.
Configuring SearXNG
Section titled “Configuring SearXNG”Point GHOST at your SearXNG instance via config or environment variable:
[web.search]provider = "searxng"url = "http://localhost:8888"Or set the SEARXNG_URL environment variable — GHOST will pick it up
automatically without any TOML config.
Configuring Brave (fallback)
Section titled “Configuring Brave (fallback)”If you don’t run a SearXNG instance, set a Brave API key instead:
[web.search]provider = "brave"ghost web search "rust error handling best practices"ghost web search "latest AI news" -n 10Web Fetch
Section titled “Web Fetch”Extracts readable content from web pages. Supports two modes:
- Readability — article extraction (Mozilla Readability algorithm)
- Raw — full HTML output
ghost web fetch https://example.comghost web fetch https://example.com --readabilityghost web fetch https://example.com --raw[web]crawl4ai_url = "http://localhost:11235"Caching
Section titled “Caching”All web fetches are automatically cached to $WORKSPACE/.web-cache/. The reflection
agent triages those artifacts when it runs, creating sources linked to the fetched data.
How GHOST Uses Web Tools
Section titled “How GHOST Uses Web Tools”During conversation, your GHOST proactively:
- Searches the web when current information is needed
- Fetches full pages to read beyond search snippets
- Caches results for later reference
- Cites sources in responses
The deep-research agent takes this further — it performs iterative multi-source research, fetching multiple full pages before drawing conclusions.