> ## 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 Plugin

> Add web search to your local LLMs with the Valyu plugin for LM Studio

## Overview

The Valyu plugin enables your local LLMs in LM Studio to search the web and fetch webpage content in real-time.

## 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 with \$10 credit:

[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\_deepsearch** - Search the web for current information
* **valyu\_contents** - Extract content from any URL

Just ask questions naturally:

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

## Recommended Models

<Warning>
  **Important:** Not all models work well with tool calling. Use these tested model families for best results:

  * **Qwen** - Excellent tool calling support
  * **Gemma** - Reliable tool execution
  * **Granite** - Strong performance

  Smaller models (under 7B parameters) often struggle with tool calling and may get stuck in loops repeatedly calling the search tools.
</Warning>

## Troubleshooting

**Plugin not working?**

* Verify your API key is correct
* Try a larger model (7B+)
* Use one of the recommended model families

**Model keeps calling tools repeatedly?**

* Switch to a more capable model
* Try Qwen, Gemma, or Granite families

## Support

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