<?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: Biya</title>
    <description>The latest articles on DEV Community by Biya (@biyadev).</description>
    <link>https://dev.to/biyadev</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%2F4035502%2Fcd04eee9-341c-47e9-af97-6c532ef53ac9.png</url>
      <title>DEV Community: Biya</title>
      <link>https://dev.to/biyadev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/biyadev"/>
    <language>en</language>
    <item>
      <title>I built fswitch: A zero-dependency CLI to switch and chat with free LLMs (DeepSeek, Gemini, Ollama)</title>
      <dc:creator>Biya</dc:creator>
      <pubDate>Sat, 18 Jul 2026 15:28:09 +0000</pubDate>
      <link>https://dev.to/biyadev/i-built-fswitch-a-zero-dependency-cli-to-switch-and-chat-with-free-llms-deepseek-gemini-ollama-414p</link>
      <guid>https://dev.to/biyadev/i-built-fswitch-a-zero-dependency-cli-to-switch-and-chat-with-free-llms-deepseek-gemini-ollama-414p</guid>
      <description>&lt;p&gt;Tired of juggling API subscriptions, setting up heavy frameworks like LangChain, or writing custom boilerplate code just to test different LLMs?&lt;/p&gt;

&lt;p&gt;I built fswitch-cli (fswitch) - a fast, lightweight Python CLI tool that lets you switch between models, chat with LLMs, and run autonomous coding agent tasks on free-tier and local AI models with zero configuration overhead.&lt;/p&gt;

&lt;p&gt;Supported Providers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenRouter (NVIDIA Nemotron, DeepSeek R1, Gemini Flash, and more)&lt;/li&gt;
&lt;li&gt;Google AI Studio (Gemini 2.5 Flash/Pro)&lt;/li&gt;
&lt;li&gt;Groq Cloud&lt;/li&gt;
&lt;li&gt;GitHub Models&lt;/li&gt;
&lt;li&gt;Mistral AI (Codestral)&lt;/li&gt;
&lt;li&gt;Ollama (Local/offline models)&lt;/li&gt;
&lt;li&gt;Native Anthropic (Claude 3.5 Sonnet)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key Features:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Interactive REPL&lt;br&gt;
Type "fswitch repl" to start a chat. You can switch models mid-conversation using the "/switch " command!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Autonomous Agent with Self-Correction&lt;br&gt;
Need the model to write code and fix its own bugs? fswitch has an autonomous agent mode:&lt;br&gt;
fswitch agent "create a calculator api" --test "pytest"&lt;br&gt;
The agent will write the code, run the tests, read any error outputs, and self-correct until the tests pass.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Speed Benchmarking&lt;br&gt;
Race models against each other on a single prompt to see which provider is fastest:&lt;br&gt;
fswitch benchmark --prompt "write a binary search in Rust"&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Technical Highlights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Zero heavy dependencies: Built purely on standard Python requests + rich for terminal UI formatting.&lt;/li&gt;
&lt;li&gt;Visuals: Real-time markdown streaming with visual "Thinking..." loading animations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it out!&lt;/p&gt;

&lt;p&gt;You can install it directly from PyPI:&lt;br&gt;
pip install fswitch-cli&lt;/p&gt;

&lt;p&gt;Check out the source code, contribute, or drop a star on GitHub:&lt;br&gt;
&lt;a href="https://github.com/Biya-dev/freeswitch" rel="noopener noreferrer"&gt;https://github.com/Biya-dev/freeswitch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your feedback, feature ideas, and what models you'd like to see added next!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
