Skip to main content
Best for: using Valyu yourself. Give your local LLMs in LM Studio real-time web search and content extraction.

Paste into your AI assistant to set up the Valyu plugin for LM Studio.

Open in Cursor

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

2. Get Your API Key

Sign up for a free API key with $10 free credits ($20 with a work email): 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 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”
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.

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