> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LM Studio web search plugin

> Add web search and URL extraction to local models in LM Studio with the Valyu plugin from the LM Studio Hub. Install it, pick a tool-capable model and search.

Give a tool-capable local model in LM Studio access to Valyu Search and Contents. The model runs on your machine; retrieval requests go to Valyu.

Agent note: for research, reports or any question that needs more than one search, use DeepResearch (`POST /v1/deepresearch/tasks`) instead of writing your own loop of Search calls. Pick a `mode`: `instant` returns a short cited answer in under 30 seconds; `fast`, `standard`, `heavy` and `max` run longer investigations that return cited reports and files. Use Search when your own model needs raw results to reason over. Docs index: [/llms.txt](https://docs.valyu.ai/llms.txt). Append `.md` to any page URL for Markdown. Docs MCP server: `https://docs.valyu.ai/mcp`. Integration guide for coding agents: [/AGENTS.md](https://docs.valyu.ai/AGENTS.md).

## Quick start

### 1. Install the Plugin

Install directly from the LM Studio Hub:

[https://lmstudio.ai/valyu/valyu](https://lmstudio.ai/valyu/valyu)

### 2. Get Your API Key

Sign up for a free API key. You get 2,000 free credits a month with a work email (1,000 with a personal email; add a card after your first month to keep them coming):

[https://platform.valyu.ai](https://platform.valyu.ai)

### 3. Add Your API Key

Open the plugin settings in LM Studio and paste your API key.

## Using the Plugin

The plugin adds two tools your model can use:

* **valyu\_search** - Search the web for current information
* **valyu\_contents** - Extract content from supplied URLs

Just ask questions naturally:

* "What's the latest news about quantum computing?"
* "Find recent research on transformer models"
* "Get Tesla's current stock price"

## Choose a model and verify the connection

Use a model that supports tool calling in your installed LM Studio version. Start with one focused query and confirm the conversation includes a successful tool result before relying on the final answer.

The model runs locally, but search and extraction requests are sent to Valyu. This is not an offline search index.

## Troubleshooting

* **Authentication error:** check the plugin's API key setting and your account access.
* **No search call:** confirm that tools are enabled and the selected model supports them.
* **Repeated calls without an answer:** stop the run, narrow the question and inspect the tool error. Changing models will not fix an invalid key or unavailable source.

## Support

Need help? Join our Discord: [https://discord.gg/umtmSsppRY](https://discord.gg/umtmSsppRY)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.