Forked from nub235/web-search
Install from the LM Studio Hub via "Run in LM Studio" button
| Setting | Default | Description |
|---|---|---|
| Search Results Per Page | 5 | How many results to return per search (1–10, 0 = auto) |
| Max Content | 8000 | Maximum characters returned by Visit Website. Increase for long articles, decrease to save context. -1 = auto |
| Prompt Guidance | On | When enabled, tool responses include dynamic reminders that track how many searches and page visits have been done and nudge the model to keep researching before answering. Recommended for smaller models. Large capable models may perform better with it off. |
Web Search — searches DuckDuckGo and returns a list of results with titles, URLs, and snippets. Uses got-scraping for realistic browser fingerprints to evade bot detection. Results for repeated queries are served from cache.
Visit Website — fetches a URL and returns cleaned text content. Handles YouTube, PDFs, Reddit, arXiv, Medium, and AMP URLs automatically. Tries Readability + Turndown first for clean, fast results. Falls back to Jina if direct fetch fails or returns poor content. PDFs always use Jina.
When enabled, every search and page visit returns a reminder field alongside the content. This reminder tracks the current research session in real time — how many searches have been done, how many pages visited — and tells the model what to do next. The intended flow is: search → visit one result → visit another → search again → visit one more → visit one more → answer.
This is most useful with smaller models that tend to answer after a single search. Larger models that already do agentic research naturally may work better with it off.
Originally based on danielsig's DuckDuckGo search and Visit Website plugins for LM Studio.
MIT