<?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: Vishal Arya</title>
    <description>The latest articles on DEV Community by Vishal Arya (@vishal_arya_80559e55e9144).</description>
    <link>https://dev.to/vishal_arya_80559e55e9144</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%2F4069567%2F1249400f-0306-4bed-bd5d-b3e3a858ad10.png</url>
      <title>DEV Community: Vishal Arya</title>
      <link>https://dev.to/vishal_arya_80559e55e9144</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vishal_arya_80559e55e9144"/>
    <language>en</language>
    <item>
      <title>Why I Built My Own Linux Distro (And What I Learned)</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sat, 05 Dec 2026 13:23:57 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/why-i-built-my-own-linux-distro-and-what-i-learned-8h1</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/why-i-built-my-own-linux-distro-and-what-i-learned-8h1</guid>
      <description>&lt;p&gt;Everyone wants to build a spaceship, but nobody wants to figure out how to screw in the cupholders. &lt;/p&gt;

&lt;p&gt;When you get into tech, you usually start at the top floor. You click "download," install a friendly version of Linux like Ubuntu, and you are off to the races. Everything just works. But after a while, you start wondering what is actually humming underneath the hood. &lt;/p&gt;

&lt;p&gt;So, I decided to do something slightly unhinged: I built my own custom Arch Linux distribution from scratch, which I call Viar-OS. It wasn't about being a gatekeeper or flexing on the internet. It was about tearing down the car engine on my front lawn to see why it actually starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The simple version
&lt;/h2&gt;

&lt;p&gt;Think of an operating system like a furnished apartment. Regular distributions like Ubuntu or Fedora are like moving into a fully furnished, decorated rental. The couch is there, the TV is plugged in, and the toaster is waiting on the counter. You can live there immediately, but if a pipe bursts behind the wall, you have no idea where the main shutoff valve is.&lt;/p&gt;

&lt;p&gt;Building an operating system from scratch is like moving into an empty concrete shell. You have to wire the electricity, install the plumbing, and decide where every single outlet goes. It is exhausting, things will catch fire metaphorically, but when you turn on the light switch, you know &lt;em&gt;why&lt;/em&gt; the bulb lit up. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why I chose Arch Linux for the teardown
&lt;/h2&gt;

&lt;p&gt;If building a custom OS sounds scary, doing it with Arch Linux is like doing it with a box of Lego bricks where nobody gave you the instruction booklet. &lt;/p&gt;

&lt;p&gt;Many beginner-friendly systems hide things from you to keep you safe. Arch doesn't do that. When you install Arch, you don't use a nice graphical installer with buttons and progress bars. You boot into a blinking black screen with a command line and a polite little invitation to build your own destiny.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# What you see when you boot an Arch installation medium&lt;/span&gt;
root@archiso ~ &lt;span class="c"&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That blank line means absolute freedom and absolute terror. You have to partition your hard drive manually, connect to the internet through the terminal, choose your own desktop environment, and install every single driver by hand. It forced me to understand the foundational layers of computing that I used to take for granted.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually broke (and what I learned)
&lt;/h2&gt;

&lt;p&gt;Nothing teaches you faster than things going completely sideways 😅. Here are a few lessons I picked up while assembling Viar-OS in my home lab:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drivers are the invisible glue:&lt;/strong&gt; I forgot to install a network driver before rebooting my freshly built system. Suddenly, my computer was a very expensive paperweight with no internet access. Fixing it required booting from a USB drive, chrooting into the system (which is like performing surgery on a patient while they are running a marathon), and manually fetching the missing piece. It taught me how the Linux kernel talks to physical hardware.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bootloaders are the doorman:&lt;/strong&gt; I completely butchered the bootloader setup on my first try. When I turned the computer back on, it just stared at me blankly. No error message, just a blinking cursor. I learned that the bootloader is the doorman that checks your ID before letting the operating system into the computer's brain. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Less is genuinely more:&lt;/strong&gt; Because I picked every single piece of software that went into Viar-OS, the system booted up with almost zero background noise. It used a fraction of the memory that standard distributions use. It made me realize how much bloat software accumulates just for convenience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this makes you a better engineer
&lt;/h2&gt;

&lt;p&gt;You might wonder why a DevOps engineer or someone dabbling in automation and cloud infrastructure needs to know how to build a Linux operating system from scratch. After all, isn't everything moving to the cloud and containers anyway?&lt;/p&gt;

&lt;p&gt;Actually, containers like Docker are just lightweight slices of Linux. When something breaks in a Kubernetes cluster or an automated pipeline, the root cause almost always hides in a missing system library, a file permission quirk, or a kernel setting. &lt;/p&gt;

&lt;p&gt;If you only know how to click buttons in a user interface, you are helpless when the interface breaks. But if you have built an operating system by hand, looking at a cryptic error log feels less like staring at ancient hieroglyphics and more like finding a loose wire.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Abstraction is great until it breaks:&lt;/strong&gt; Pre-made tools save time, but building things from scratch removes the fear of the command line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The terminal is your friend:&lt;/strong&gt; Once you realize that a terminal is just a text-based conversation with your computer, it stops being scary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embrace the broken boot:&lt;/strong&gt; Your first attempt will fail. Your second attempt might fail too. That is not a sign you are bad at tech; that is the learning process in action.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Understand the layers:&lt;/strong&gt; Knowing how hardware, kernels, and user software interact makes you better at debugging &lt;em&gt;everything&lt;/em&gt;, from home lab servers to cloud infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you ever torn down a piece of software or hardware just to see how it works? Did you manage to put it back together, or did you end up with spare parts? Let me know in the comments.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
    <item>
      <title>Is Cloudflare code is replacement of MCP</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:36:04 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/is-cloudflare-code-is-replacement-of-mcp-1b9f</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/is-cloudflare-code-is-replacement-of-mcp-1b9f</guid>
      <description>&lt;p&gt;Everyone in the AI space loves a good "X is killing Y" headline. Lately, people have been whispering that Cloudflare's Code Mode is here to replace the Model Context Protocol (MCP). &lt;/p&gt;

&lt;p&gt;When I first read about this, I was confused. Are we throwing away the tool we just learned? Do we need to rewrite all our setups? &lt;/p&gt;

&lt;p&gt;It turns out the rumor mill got it wrong. Code Mode isn't a replacement for MCP at all—it's actually a completely different way of using it. Instead of an AI model calling one tool at a time like a nervous assistant, it writes a tiny script to do a whole bunch of things at once inside a safe sandbox. Let's break down what this actually means and why it matters for how we build with AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  The simple version
&lt;/h2&gt;

&lt;p&gt;Imagine you need to run errands: buy groceries, pick up dry cleaning, and mail a package. &lt;/p&gt;

&lt;p&gt;Under the traditional approach (regular MCP), you ask your assistant to do one task, wait for them to come back, ask for the second task, wait again, and repeat. It is slow and chatty. &lt;/p&gt;

&lt;p&gt;Cloudflare's Code Mode is like giving your assistant a company credit card, a car, and a detailed checklist. Instead of asking for permission for every single item, the assistant writes out the plan, runs the whole errand trip in one go, and brings back the results. &lt;/p&gt;

&lt;p&gt;MCP is the list of errands you are allowed to run. Code Mode is letting the AI write a script to run them efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is MCP anyway?
&lt;/h2&gt;

&lt;p&gt;Before we look at the comparison, let's quickly review what the Model Context Protocol actually is. &lt;/p&gt;

&lt;p&gt;Created by Anthropic, MCP is basically a universal USB port for AI models. In the past, if you wanted an AI to read your database, check your GitHub issues, or search Slack, you had to write custom code for every single service. It was a mess. &lt;/p&gt;

&lt;p&gt;MCP gives developers a standard way to plug tools into AI applications. It tells the AI: "Here are the tools you can use, here is what they accept, and here is how you call them." &lt;/p&gt;

&lt;p&gt;When I set this up in my home lab to let an AI interact with some local containers, it felt like magic. But I quickly noticed a bottleneck. For complex tasks, the AI would get stuck in a loop of talking back and forth: "Should I run tool A? Okay, it worked. Now should I run tool B?" &lt;/p&gt;

&lt;h2&gt;
  
  
  Enter Code Mode: Letting the AI write the script
&lt;/h2&gt;

&lt;p&gt;This is where Cloudflare stepped in with their take on running AI tools. &lt;/p&gt;

&lt;p&gt;Instead of the AI making twenty separate network calls back and forth to execute a workflow, Code Mode lets the AI write a short piece of code—usually JavaScript or Python—that executes the logic all at once. &lt;/p&gt;

&lt;p&gt;Think of it like a master chef. A normal AI tool setup is like a chef asking an apprentice to chop one carrot, bring it over, chop a second carrot, bring it over, and so on. Code Mode is the chef handing the apprentice a recipe and telling them to prep the whole station in one go.&lt;/p&gt;

&lt;p&gt;The AI generates the code, sends it to Cloudflare's secure edge network, runs it in a safe sandbox where it cannot break anything, and gets the final answer back instantly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Instead of 10 round-trips, the AI writes a script like this:&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;runWorkflow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;users&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getInactiveUsers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;users&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;email&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sendReminder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;email&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nf"&gt;runWorkflow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why this is a game-changer for speed and cost
&lt;/h2&gt;

&lt;p&gt;When building automations with tools like n8n or testing AI agents in my lab, every API call costs time and money. &lt;/p&gt;

&lt;p&gt;When an AI has to make twenty tool calls sequentially, it burns through token limits and latency piles up. You end up waiting five seconds just for the AI to figure out which file to read next. &lt;/p&gt;

&lt;p&gt;By letting the AI write code that calls multiple MCP tools in a single batch, you slash the number of back-and-forth turns. It is faster, cheaper, and frankly, it feels much closer to how human developers actually work. We don't write one line of code, wait for feedback from the universe, and write the next. We write a block of code and test the whole thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned: Don't believe the hype cycles
&lt;/h2&gt;

&lt;p&gt;The biggest lesson here is that tech Twitter loves a turf war that doesn't actually exist. &lt;/p&gt;

&lt;p&gt;Cloudflare isn't killing MCP. In fact, Code Mode relies on the definitions and capabilities that MCP provides. MCP defines &lt;em&gt;what&lt;/em&gt; tools exist and &lt;em&gt;how&lt;/em&gt; they work. Code Mode is just a smarter, faster way of &lt;em&gt;invoking&lt;/em&gt; them. &lt;/p&gt;

&lt;p&gt;If you are learning AI engineering or setting up your own agents, you don't need to pick a side. MCP is the foundation, and approaches like Code Mode are the upgrade on top of it. &lt;/p&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Code Mode and MCP are not competitors; Code Mode is an execution strategy that uses MCP tools.&lt;/li&gt;
&lt;li&gt;Regular tool calling requires the AI to make slow, step-by-step requests one at a time.&lt;/li&gt;
&lt;li&gt;Code Mode lets the AI write a script to execute multiple tool calls in a secure sandbox all at once.&lt;/li&gt;
&lt;li&gt;This approach drastically reduces latency, saves API costs, and speeds up complex AI workflows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you experimented with MCP or agent tool calling yet? Did you run into the same chatty bottlenecks I did? Let's chat in the comments.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
    <item>
      <title>Understanding the Difference Between OpenRouter, LiteLLM, LangChain, and MCP</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:34:57 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/understanding-the-difference-between-openrouter-litellm-langchain-and-mcp-5l3</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/understanding-the-difference-between-openrouter-litellm-langchain-and-mcp-5l3</guid>
      <description>&lt;p&gt;If you have tried building anything with AI lately, you probably feel like you are drowning in a sea of acronyms. &lt;/p&gt;

&lt;p&gt;Every week, a new tool pops up promising to make building AI apps easier. Last month, it was prompt caching. This week, it is a new framework that claims to connect your data to every model on the planet. &lt;/p&gt;

&lt;p&gt;Recently, I found myself staring at my screen, trying to figure out why I needed OpenRouter when I already had LiteLLM, and how LangChain and the Model Context Protocol fit into the puzzle. If you are also feeling overwhelmed by the endless stack of AI middleware, take a breath. By the end of this, you will finally understand what each of these four actually does.&lt;/p&gt;

&lt;h2&gt;
  
  
  The simple version: A restaurant analogy
&lt;/h2&gt;

&lt;p&gt;Before we touch any code or APIs, let us look at how these four tools fit together using a simple analogy: eating out at a restaurant.&lt;/p&gt;

&lt;p&gt;Imagine you want a meal. &lt;strong&gt;OpenRouter&lt;/strong&gt; is like a massive food delivery aggregator app that lets you order food from any restaurant in the city using a single account. &lt;strong&gt;LiteLLM&lt;/strong&gt; is your personal kitchen translator that makes sure your order, written in English, gets translated correctly whether the chef speaks French, Japanese, or Italian. &lt;strong&gt;LangChain&lt;/strong&gt; is the head chef and kitchen staff who take raw ingredients, follow a recipe, and prep a multi-course meal. And the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; is the dumbwaiter or serving hatch that lets the kitchen staff safely pass dishes back and forth between the kitchen and the dining room without running into each other.&lt;/p&gt;

&lt;p&gt;Now that we have got the big picture, let us look at each one individually and figure out when you actually need to use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. OpenRouter: The universal menu
&lt;/h2&gt;

&lt;p&gt;When you want to build an AI app, you usually need to talk to an AI model provider like OpenAI, Anthropic, or Google. Normally, that means signing up for four different accounts, adding credit cards to all of them, and learning four slightly different ways to format your messages. &lt;/p&gt;

&lt;p&gt;OpenRouter solves this by acting as a single gateway. You create one account, add funds once, and use one API key to talk to hundreds of different models—from GPT-4 to open-source models running on independent servers.&lt;/p&gt;

&lt;p&gt;Think of it like a universal power adapter when you travel abroad. Instead of carrying five different wall plugs for five countries, you carry one adapter that fits into any outlet.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# A simple request through OpenRouter using standard OpenAI format&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://openrouter.ai/api/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-openrouter-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"anthropic/claude-3.5-sonnet"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hello!"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; I use OpenRouter for almost all my personal experiments and n8n automations. It saves me from managing multiple billing dashboards, and if one model goes down, I can swap to another by changing a single line of text in my code.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. LiteLLM: The universal translator for your code
&lt;/h2&gt;

&lt;p&gt;If OpenRouter is the public marketplace, LiteLLM is the utility belt you keep in your own pocket. &lt;/p&gt;

&lt;p&gt;LiteLLM is an open-source tool that translates your code so it can talk to over 100 different AI models using the exact same format. You can also run LiteLLM as a proxy server on your own home lab server. This is super helpful if you want to set rate limits for different users, track costs across a team, or provide a unified endpoint for your internal applications.&lt;/p&gt;

&lt;p&gt;If OpenRouter is a travel agency booking any hotel in the world for you, LiteLLM is the universal remote control that turns on your TV, sound system, and air conditioner using the exact same button layout.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; While OpenRouter is hosted in the cloud, LiteLLM is what I spin up in Docker when I want local control over my AI routing and cost tracking. It is a bit more hands-on, but great for self-hosting.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. LangChain: The assembly line for complex AI tasks
&lt;/h2&gt;

&lt;p&gt;So, you can talk to any model now using OpenRouter or LiteLLM. But what happens when you want the AI to do something complicated, like read a 50-page PDF, search the live internet, and write a summary into a Google Doc?&lt;/p&gt;

&lt;p&gt;That is where LangChain comes in. LangChain is a software framework. It gives you building blocks—like "chains," "agents," and "memory"—to stitch multiple steps together. Without a framework, writing code to make an AI remember past messages, check a database, and call an external tool requires writing dozens of lines of repetitive boilerplate code.&lt;/p&gt;

&lt;p&gt;Imagine you are building a house. OpenRouter and LiteLLM give you the bricks and mortar. LangChain gives you the scaffolding, the crane, and the blueprint to assemble them into a building.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; LangChain is powerful, but it can also feel like driving a massive semi-truck when you just need to run to the grocery store. It changes fast, and sometimes simple Python scripts work better for basic tasks. But for multi-step AI agents, it saves a ton of time.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Model Context Protocol (MCP): The standardized USB port for AI
&lt;/h2&gt;

&lt;p&gt;The newest kid on the block is MCP, created by Anthropic. &lt;/p&gt;

&lt;p&gt;For a long time, every time someone built an AI agent, they had to write custom code to connect it to local files, databases, or developer tools like GitHub. It was messy. Every app had its own custom integration cables.&lt;/p&gt;

&lt;p&gt;MCP standardizes this. It acts like a USB port for AI applications. An MCP server exposes data or tools in a standard format, and any MCP-compatible AI client can plug right in and use them instantly. &lt;/p&gt;

&lt;p&gt;Think of it like the USB-C standard. Before USB-C, you had different chargers for your phone, your laptop, your camera, and your headphones. Now, one cable plugs into everything. MCP does the same thing for connecting AI models to external data sources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; MCP is genuinely exciting because it stops developers from reinventing the wheel every time they want an AI to read a local folder or query a Postgres database. It is still young, but it is changing how local AI tools interact with our computers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where people get it wrong
&lt;/h2&gt;

&lt;p&gt;The biggest mistake I see beginners make is thinking these tools compete with each other. They don't. &lt;/p&gt;

&lt;p&gt;You might use &lt;strong&gt;OpenRouter&lt;/strong&gt; to access models cheaply, route your traffic through a self-hosted &lt;strong&gt;LiteLLM&lt;/strong&gt; proxy, stitch together a multi-step agent using &lt;strong&gt;LangChain&lt;/strong&gt;, and connect that agent to your local files using &lt;strong&gt;MCP&lt;/strong&gt;. They are layers in a stack, not opposing teams.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenRouter&lt;/strong&gt; is a single cloud gateway to hundreds of different AI models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LiteLLM&lt;/strong&gt; is an open-source tool to translate and manage AI calls, great for self-hosting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LangChain&lt;/strong&gt; is a framework for building complex, multi-step AI workflows and agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP&lt;/strong&gt; is a standard protocol (like USB-C) for connecting AI models to data and tools.&lt;/li&gt;
&lt;li&gt;None of these compete directly; they solve different layers of the AI engineering puzzle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How are you currently managing your AI API keys and tools? Are you writing raw API calls, or using a framework? Let me know in the comments!&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
    <item>
      <title>Understanding the Difference Between OpenRouter, LiteLLM, LangChain, and MCP</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sat, 05 Dec 2026 08:52:17 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/understanding-the-difference-between-openrouter-litellm-langchain-and-mcp-2e6d</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/understanding-the-difference-between-openrouter-litellm-langchain-and-mcp-2e6d</guid>
      <description>&lt;p&gt;If you have tried building anything with AI lately, you probably feel like you are drowning in a sea of acronyms. &lt;/p&gt;

&lt;p&gt;Every week, a new tool pops up promising to make building AI apps easier. Last month, it was prompt caching. This week, it is a new framework that claims to connect your data to every model on the planet. &lt;/p&gt;

&lt;p&gt;Recently, I found myself staring at my screen, trying to figure out why I needed OpenRouter when I already had LiteLLM, and how LangChain and the Model Context Protocol fit into the puzzle. If you are also feeling overwhelmed by the endless stack of AI middleware, take a breath. By the end of this, you will finally understand what each of these four actually does.&lt;/p&gt;

&lt;h2&gt;
  
  
  The simple version: A restaurant analogy
&lt;/h2&gt;

&lt;p&gt;Before we touch any code or APIs, let us look at how these four tools fit together using a simple analogy: eating out at a restaurant.&lt;/p&gt;

&lt;p&gt;Imagine you want a meal. &lt;strong&gt;OpenRouter&lt;/strong&gt; is like a massive food delivery aggregator app that lets you order food from any restaurant in the city using a single account. &lt;strong&gt;LiteLLM&lt;/strong&gt; is your personal kitchen translator that makes sure your order, written in English, gets translated correctly whether the chef speaks French, Japanese, or Italian. &lt;strong&gt;LangChain&lt;/strong&gt; is the head chef and kitchen staff who take raw ingredients, follow a recipe, and prep a multi-course meal. And the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; is the dumbwaiter or serving hatch that lets the kitchen staff safely pass dishes back and forth between the kitchen and the dining room without running into each other.&lt;/p&gt;

&lt;p&gt;Now that we have got the big picture, let us look at each one individually and figure out when you actually need to use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. OpenRouter: The universal menu
&lt;/h2&gt;

&lt;p&gt;When you want to build an AI app, you usually need to talk to an AI model provider like OpenAI, Anthropic, or Google. Normally, that means signing up for four different accounts, adding credit cards to all of them, and learning four slightly different ways to format your messages. &lt;/p&gt;

&lt;p&gt;OpenRouter solves this by acting as a single gateway. You create one account, add funds once, and use one API key to talk to hundreds of different models—from GPT-4 to open-source models running on independent servers.&lt;/p&gt;

&lt;p&gt;Think of it like a universal power adapter when you travel abroad. Instead of carrying five different wall plugs for five countries, you carry one adapter that fits into any outlet.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# A simple request through OpenRouter using standard OpenAI format&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://openrouter.ai/api/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-openrouter-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"anthropic/claude-3.5-sonnet"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hello!"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; I use OpenRouter for almost all my personal experiments and n8n automations. It saves me from managing multiple billing dashboards, and if one model goes down, I can swap to another by changing a single line of text in my code.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. LiteLLM: The universal translator for your code
&lt;/h2&gt;

&lt;p&gt;If OpenRouter is the public marketplace, LiteLLM is the utility belt you keep in your own pocket. &lt;/p&gt;

&lt;p&gt;LiteLLM is an open-source tool that translates your code so it can talk to over 100 different AI models using the exact same format. You can also run LiteLLM as a proxy server on your own home lab server. This is super helpful if you want to set rate limits for different users, track costs across a team, or provide a unified endpoint for your internal applications.&lt;/p&gt;

&lt;p&gt;If OpenRouter is a travel agency booking any hotel in the world for you, LiteLLM is the universal remote control that turns on your TV, sound system, and air conditioner using the exact same button layout.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; While OpenRouter is hosted in the cloud, LiteLLM is what I spin up in Docker when I want local control over my AI routing and cost tracking. It is a bit more hands-on, but great for self-hosting.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. LangChain: The assembly line for complex AI tasks
&lt;/h2&gt;

&lt;p&gt;So, you can talk to any model now using OpenRouter or LiteLLM. But what happens when you want the AI to do something complicated, like read a 50-page PDF, search the live internet, and write a summary into a Google Doc?&lt;/p&gt;

&lt;p&gt;That is where LangChain comes in. LangChain is a software framework. It gives you building blocks—like "chains," "agents," and "memory"—to stitch multiple steps together. Without a framework, writing code to make an AI remember past messages, check a database, and call an external tool requires writing dozens of lines of repetitive boilerplate code.&lt;/p&gt;

&lt;p&gt;Imagine you are building a house. OpenRouter and LiteLLM give you the bricks and mortar. LangChain gives you the scaffolding, the crane, and the blueprint to assemble them into a building.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; LangChain is powerful, but it can also feel like driving a massive semi-truck when you just need to run to the grocery store. It changes fast, and sometimes simple Python scripts work better for basic tasks. But for multi-step AI agents, it saves a ton of time.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Model Context Protocol (MCP): The standardized USB port for AI
&lt;/h2&gt;

&lt;p&gt;The newest kid on the block is MCP, created by Anthropic. &lt;/p&gt;

&lt;p&gt;For a long time, every time someone built an AI agent, they had to write custom code to connect it to local files, databases, or developer tools like GitHub. It was messy. Every app had its own custom integration cables.&lt;/p&gt;

&lt;p&gt;MCP standardizes this. It acts like a USB port for AI applications. An MCP server exposes data or tools in a standard format, and any MCP-compatible AI client can plug right in and use them instantly. &lt;/p&gt;

&lt;p&gt;Think of it like the USB-C standard. Before USB-C, you had different chargers for your phone, your laptop, your camera, and your headphones. Now, one cable plugs into everything. MCP does the same thing for connecting AI models to external data sources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My take:&lt;/strong&gt; MCP is genuinely exciting because it stops developers from reinventing the wheel every time they want an AI to read a local folder or query a Postgres database. It is still young, but it is changing how local AI tools interact with our computers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where people get it wrong
&lt;/h2&gt;

&lt;p&gt;The biggest mistake I see beginners make is thinking these tools compete with each other. They don't. &lt;/p&gt;

&lt;p&gt;You might use &lt;strong&gt;OpenRouter&lt;/strong&gt; to access models cheaply, route your traffic through a self-hosted &lt;strong&gt;LiteLLM&lt;/strong&gt; proxy, stitch together a multi-step agent using &lt;strong&gt;LangChain&lt;/strong&gt;, and connect that agent to your local files using &lt;strong&gt;MCP&lt;/strong&gt;. They are layers in a stack, not opposing teams.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenRouter&lt;/strong&gt; is a single cloud gateway to hundreds of different AI models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LiteLLM&lt;/strong&gt; is an open-source tool to translate and manage AI calls, great for self-hosting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LangChain&lt;/strong&gt; is a framework for building complex, multi-step AI workflows and agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP&lt;/strong&gt; is a standard protocol (like USB-C) for connecting AI models to data and tools.&lt;/li&gt;
&lt;li&gt;None of these compete directly; they solve different layers of the AI engineering puzzle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How are you currently managing your AI API keys and tools? Are you writing raw API calls, or using a framework? Let me know in the comments!&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
    <item>
      <title>Rancher: The Multi-Cluster Parent</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sun, 09 Aug 2026 08:08:51 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/rancher-the-multi-cluster-parent-cj2</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/rancher-the-multi-cluster-parent-cj2</guid>
      <description>&lt;p&gt;My first impression of Rancher? It's like a seasoned babysitter for your Kubernetes clusters. Seriously.&lt;/p&gt;

&lt;p&gt;Imagine trying to manage a kindergarten class where every kid is a unique K8s cluster. One is loudly demanding new resources, another is about to push a breaking change into prod, and a third is trying to wander off to an unmonitored corner. Pure chaos, right? 💀&lt;/p&gt;

&lt;p&gt;When you're running one cluster, it's simple enough. Two? Maybe a slight juggle. But when your infra scales to three, four, or ten distinct environments, each with its own needs, that's when the real headache starts. You can't be everywhere at once.&lt;/p&gt;

&lt;p&gt;Rancher steps in as that centralized 'babysitter'. It gives you one view to manage upgrades, apply policies, and deploy applications across all your clusters. Suddenly, the distributed pandemonium turns into organized play time. It makes dealing with multiple K8s instances a lot less like herding cats.&lt;/p&gt;

&lt;p&gt;How do you keep your multi-cluster environments from spiraling into anarchy?&lt;/p&gt;

&lt;h1&gt;
  
  
  Rancher #Kubernetes #DevOps #SRE #AIOps
&lt;/h1&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
    <item>
      <title>Rancher: The Multi-Cluster Parent</title>
      <dc:creator>Vishal Arya</dc:creator>
      <pubDate>Sun, 09 Aug 2026 07:21:38 +0000</pubDate>
      <link>https://dev.to/vishal_arya_80559e55e9144/rancher-the-multi-cluster-parent-3p6b</link>
      <guid>https://dev.to/vishal_arya_80559e55e9144/rancher-the-multi-cluster-parent-3p6b</guid>
      <description>&lt;p&gt;Isometric 3D illustration, dark background with neon cyan and orange accents, a stylized Rancher logo acting as a control panel or central console, overseeing a multitude of interconnected Kubernetes cluster icons, some appearing mischievous or chaotic, others orderly, all within a futuristic, organized play area, clean lines, sharp focus&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
    </item>
  </channel>
</rss>
