{"slug": "simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for", "title": "Simple DeepSeek web search cli written in TypeScript. Cheap + fast search tool for agents (built on DS web search API)", "summary": "A developer released deepseek-search-cli, an open-source TypeScript command-line wrapper around DeepSeek's web search API, published on npm and GitHub. The tool lets agents run web searches and fetch URLs via simple commands like 'dsearch', with output to Markdown or JSON, and ships with auth handling, an SDK wrapper, linting, CI checks, and unit, integration, live, and e2e tests. The developer notes the API costs $0.75 per 1,000 requests and pitches the CLI as a time-saver for agents needing web search.", "body_md": "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).\n\nI created a simple TypeScript CLI wrapper around the API for my own agents to use (for open source models and harnesses)\n\n```\nnpm install -g deepseek-search-cli\n\ndsearch auth    # Prompt for & save DS API key (can pipe) \n                # saved key not required (can use secret manager, env var, or .env)\n\ndsearch \"World Cup winners 2026 lang:en\" -n 5    # equivalent to 'dsearch search ...'\ndsearch https://example.com                      # equivalent to 'dsearch fetch ...'\ndsearch \"World Cup winners\" -o output.md         # supports .md and .json (-j flag)\n```\n\nAnd wanted to share it with others, contributors are welcome, or fork it and build a better version :)\n\nI'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.\n\nGitHub: [https://github.com/LaishGlenberg/deepseek-search-cli](https://github.com/LaishGlenberg/deepseek-search-cli)\n\nNPM: [https://www.npmjs.com/package/deepseek-search-cli](https://www.npmjs.com/package/deepseek-search-cli)\n\nDrop a star if this helped you or your agents!\n\nEDIT: Looks like the top of the GIF is getting cut off or cropped on certain views, I will look into resizing it.", "url": "https://wpnews.pro/news/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for", "canonical_source": "https://dev.to/laishglenberg/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for-agents-built-on-565d", "published_at": "2026-10-29 00:30:27+00:00", "updated_at": "2026-10-29 00:41:32.951784+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-search"], "entities": ["DeepSeek", "deepseek-search-cli", "GitHub", "npm", "LaishGlenberg"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for", "markdown": "https://wpnews.pro/news/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for.md", "text": "https://wpnews.pro/news/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for.txt", "jsonld": "https://wpnews.pro/news/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for.jsonld"}}