ai newsDo., 29. Okt.

Simple DeepSeek web search cli written in TypeScript. Cheap + fast search tool for agents (built on DS web search API)

Hey guys, if you've been following along with DeepSeek news you will know they recently added web search capability to the DeepSeek API, where you can use web search under the same API key. It is pretty handy, also super cheap at only $0.75 per 1,000 requests (pretty much as cheap as it gets, one s

dev.toDonnerstag 01:30 · 29.10.1 Min. Lesezeit

Hey guys, if you've been following along with DeepSeek news you will know they recently added web search capability to the DeepSeek API, where you can use web search under the same API key. It is pretty handy, also super cheap at only $0.75 per 1,000 requests (pretty much as cheap as it gets, one search credit can encompass many responses).

I created a simple TypeScript CLI wrapper around the API for my own agents to use (for open source models and harnesses)

npm install -g deepseek-search-cli dsearch auth # Prompt for & save DS API key (can pipe) # saved key not required (can use secret manager, env var, or.env) dsearch "World Cup winners 2026 lang:en" -n 5 # equivalent to 'dsearch search...' dsearch https://example.com # equivalent to 'dsearch fetch...' dsearch "World Cup winners" -o output.md # supports.md and.json (-j flag) Enter fullscreen mode Exit fullscreen mode And wanted to share it with others, contributors are welcome, or fork it and build a better version:)

I'm sure most of you could whip this up on your own but it also comes with unit/integration/live/e2e testing, CI checks, changelog, auth handling, linting, sdk wrapper, and a fleshed out readme, potentially saving you a few hours of work + validation. Just need to install, auth, and drop a comment in your 'AGENTS.md' to use dsearch --help when agent needs web search.

GitHub: https://github.com/LaishGlenberg/deepseek-search-cli NPM: https://www.npmjs.com/package/deepseek-search-cli

Drop a star if this helped you or your agents!

EDIT: Looks like the top of the GIF is getting cut off or cropped on certain views, I will look into resizing it.

Quelle: dev.to (dev.to). Original öffnen