<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Laish Glenberg</title>
    <description>The latest articles on DEV Community by Laish Glenberg (@laishglenberg).</description>
    <link>https://dev.to/laishglenberg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4213949%2Ffd2c0919-8184-4e6e-aa45-183f857a16f7.png</url>
      <title>DEV Community: Laish Glenberg</title>
      <link>https://dev.to/laishglenberg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/laishglenberg"/>
    <language>en</language>
    <item>
      <title>Simple DeepSeek web search cli written in TypeScript. Cheap + fast search tool for agents (built on DS web search API)</title>
      <dc:creator>Laish Glenberg</dc:creator>
      <pubDate>Thu, 29 Oct 2026 00:30:27 +0000</pubDate>
      <link>https://dev.to/laishglenberg/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for-agents-built-on-565d</link>
      <guid>https://dev.to/laishglenberg/simple-deepseek-web-search-cli-written-in-typescript-cheap-fast-search-tool-for-agents-built-on-565d</guid>
      <description>&lt;p&gt;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).&lt;/p&gt;

&lt;p&gt;I created a simple TypeScript CLI wrapper around the API for my own agents to use (for open source models and harnesses)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; deepseek-search-cli

dsearch auth    &lt;span class="c"&gt;# Prompt for &amp;amp; save DS API key (can pipe) &lt;/span&gt;
                &lt;span class="c"&gt;# saved key not required (can use secret manager, env var, or .env)&lt;/span&gt;

dsearch &lt;span class="s2"&gt;"World Cup winners 2026 lang:en"&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; 5    &lt;span class="c"&gt;# equivalent to 'dsearch search ...'&lt;/span&gt;
dsearch https://example.com                      &lt;span class="c"&gt;# equivalent to 'dsearch fetch ...'&lt;/span&gt;
dsearch &lt;span class="s2"&gt;"World Cup winners"&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; output.md         &lt;span class="c"&gt;# supports .md and .json (-j flag)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And wanted to share it with others, contributors are welcome, or fork it and build a better version :)&lt;/p&gt;

&lt;p&gt;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 &lt;code&gt;dsearch --help&lt;/code&gt; when agent needs web search.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/LaishGlenberg/deepseek-search-cli" rel="noopener noreferrer"&gt;https://github.com/LaishGlenberg/deepseek-search-cli&lt;/a&gt;&lt;br&gt;
NPM: &lt;a href="https://www.npmjs.com/package/deepseek-search-cli" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/deepseek-search-cli&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Drop a star if this helped you or your agents!&lt;/p&gt;

&lt;p&gt;EDIT: Replaced misbehaving GIF with JPEG image&lt;/p&gt;

</description>
      <category>deepseek</category>
      <category>ai</category>
      <category>webscraping</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
