---
slug: "pi-deepseek-search"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/bxff/pi-deepseek-search@main/README.md"
repo: "https://github.com/bxff/pi-deepseek-search"
source_file: "README.md"
branch: "main"
---
# pi-deepseek-search

![demo](https://github.com/bxff/pi-deepseek-search/raw/HEAD/demo.gif)

```bash
pi install npm:pi-deepseek-search
```

Adds web search to Pi using DeepSeek's `web_search_20260209` server side tool (previously undocumented). Only available on DeepSeek's Anthropic-compatible endpoint, so this switches your search calls there automatically. No extra API keys or config needed if you use DeepSeek in Pi.

> May 26, 2026: DeepSeek has now [officially documented](https://api-docs.deepseek.com/quick_start/agent_integrations/claude_code) the Anthropic API web search tool support.

## Limitations

Only works with DeepSeek models. The search runs on DeepSeek's servers during inference, so you can't use it with Anthropic, OpenAI, or any other provider.

Defaults to `deepseek-v4-flash`. Set `DEEPSEEK_SEARCH_MODEL` to change it.

Read more: [Using DeepSeek's undocumented web search in Pi](https://musaab.io/posts/2026/deepseek-search)

[npm](https://www.npmjs.com/package/pi-deepseek-search) · [GitHub](https://github.com/bxff/pi-deepseek-search) · [pi.dev](https://pi.dev/packages/pi-deepseek-search)
