← all repositories

fatwang2/search2ai

Middleware that adds web search and browsing capabilities to LLM APIs via function calling.

1.3k stars JavaScript AgentsInference · Serving
search2ai
Velocity · 7d
+1.4
★ / day
Trend
steady
star history

This project bridges LLMs with live web search by acting as a proxy layer. It intercepts LLM requests and injects search results when the model determines browsing is needed. Supports multiple LLM providers (OpenAI, Gemini, Moonshot, Groq) and search engines (Google, Bing, DuckDuckGo, SearXNG). The model decides autonomously when to trigger web lookups without requiring plugins, using function calling to orchestrate the search-to-response workflow.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.