Skip to content
Back to the journal

My programs ·

Local AI Web Powers: internet for models that cannot call tools

A plugin for LM Studio that prepares the prompt before the model writes a word. Why I dropped tool calls and what the measurement on an M1 Pro showed.

Local AI Web Powers: an illustrated answer with sources and the plugin settings

Why this program exists

Local models know nothing after their training date and invent the rest. The usual fixes break often. Tool-based plugins and MCP servers need the model to call a tool with perfect syntax. Small, quantized or abliterated models often fail at that ("Failed to parse tool call"), so for them the internet simply does not work. Separate apps such as Open WebUI or Perplexica live outside LM Studio and usually need Docker or paid search APIs. That is how the README puts it.

How I solved it

Local AI Web Powers is a prompt preprocessor. Before the model writes a token, the plugin decides whether the web is needed, searches, reads the pages, keeps only the passages that matter, picks pictures and hands it all over with ready-made citations. The model reads and answers, and the thinking stays with it.

  • In Smart mode the loaded model decides in 1 to 3 seconds whether a question needs the web. The plugin reads its token probabilities: when the model is unsure, the web is checked. Poems, math and code run without a search.
  • Search runs on a built-in SearXNG. The engines are picked from what answers keyless requests in 2026. When results are thin, the fallbacks are your own SearXNG, DuckDuckGo and Wikipedia.
  • A headless browser opens pages that need JavaScript or turn bots away. When a page is down, the Internet Archive's latest copy is used.
  • Every connection, every redirect and everything the browser loads is checked against the address it really goes to. Nothing found on the web can reach your computer or your local network.

What the measurement shows

On a MacBook Pro M1 Pro with 16 GB, Gemma 4 E4B and a 64k context, a search question over 4 to 6 pages takes about 4 to 8 seconds before the model starts. Each researched question adds roughly 2 to 3 thousand tokens to the chat, and the same question again is instant thanks to the cache. In a side-by-side with the same model, a question about the Rusanivka Canal in Kyiv gets a generic answer without the plugin and an answer with 25 clickable citations with it.

There is no GitHub release. Version 1.0 sits in the repository as commit 7625c0c from 31 October, and the plugin itself is on the LM Studio Hub.

Sources on GitHub