<?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: Tommy Johnifer</title>
    <description>The latest articles on DEV Community by Tommy Johnifer (@tommyjohnifer).</description>
    <link>https://dev.to/tommyjohnifer</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3907412%2F1761828b-8a78-43bb-b10b-3bd485499869.png</url>
      <title>DEV Community: Tommy Johnifer</title>
      <link>https://dev.to/tommyjohnifer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tommyjohnifer"/>
    <language>en</language>
    <item>
      <title>MahanAI is INSANE</title>
      <dc:creator>Tommy Johnifer</dc:creator>
      <pubDate>Fri, 01 May 2026 11:17:53 +0000</pubDate>
      <link>https://dev.to/tommyjohnifer/mahanai-is-insane-541e</link>
      <guid>https://dev.to/tommyjohnifer/mahanai-is-insane-541e</guid>
      <description>&lt;h2&gt;
  
  
  MahanAI Super: A Powerful Terminal AI Agent for Developers
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;As AI tools evolve, many developers want more control, flexibility, and the ability to work directly from the command line. &lt;strong&gt;MahanAI Super&lt;/strong&gt; is a terminal-based AI agent that combines chat, multi-model support, a local API gateway, plugins, and customization—all in one tool.&lt;/p&gt;

&lt;p&gt;Instead of being tied to a single provider or UI, MahanAI lets you work with multiple AI systems like OpenAI and Anthropic from your terminal, while also acting as a bridge between them.&lt;/p&gt;




&lt;h3&gt;
  
  
  What is MahanAI Super?
&lt;/h3&gt;

&lt;p&gt;MahanAI Super is a &lt;strong&gt;command-line AI assistant and gateway&lt;/strong&gt; that allows you to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chat with AI models directly in your terminal&lt;/li&gt;
&lt;li&gt;Switch between multiple providers and models&lt;/li&gt;
&lt;li&gt;Run a local API server compatible with OpenAI and Anthropic formats&lt;/li&gt;
&lt;li&gt;Extend functionality with plugins&lt;/li&gt;
&lt;li&gt;Customize the interface with themes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s both a &lt;strong&gt;developer tool&lt;/strong&gt; and an &lt;strong&gt;AI workflow hub&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;mahanai
mahanai
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Terminal-Based AI Chat
&lt;/h3&gt;

&lt;p&gt;MahanAI runs entirely in the terminal, making it ideal for developers who prefer keyboard-driven workflows. You can interact with it just like a chatbot, but without leaving your development environment.&lt;/p&gt;




&lt;h3&gt;
  
  
  Multi-Model Support
&lt;/h3&gt;

&lt;p&gt;MahanAI supports multiple AI backends, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenAI-style models&lt;/li&gt;
&lt;li&gt;Anthropic (Claude) models&lt;/li&gt;
&lt;li&gt;NVIDIA NIM models&lt;/li&gt;
&lt;li&gt;Local models via Ollama&lt;/li&gt;
&lt;li&gt;Custom OpenAI-compatible endpoints&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can switch models at any time using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/models
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Gateway Server Mode
&lt;/h3&gt;

&lt;p&gt;One of MahanAI’s most powerful features is its ability to run as a local API server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mahanai &lt;span class="nt"&gt;--server&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates a local endpoint like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://localhost:8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;POST /v1/chat/completions&lt;/code&gt; (OpenAI format)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /v1/messages&lt;/code&gt; (Anthropic format)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /v1/models&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allows external tools like Cursor, Continue, or LM Studio to connect to a single unified backend.&lt;/p&gt;




&lt;h3&gt;
  
  
  Automatic Routing and Format Conversion
&lt;/h3&gt;

&lt;p&gt;MahanAI automatically routes requests based on the model name. For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;gpt-*&lt;/code&gt; → OpenAI&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;claude-*&lt;/code&gt; → Anthropic&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;meta/llama-*&lt;/code&gt; → NVIDIA&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also converts between OpenAI and Anthropic formats automatically, allowing tools designed for one API to work with another.&lt;/p&gt;




&lt;h3&gt;
  
  
  Plugins and Extensibility
&lt;/h3&gt;

&lt;p&gt;MahanAI supports plugins written in &lt;code&gt;.mmd&lt;/code&gt; files. These plugins can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add new slash commands&lt;/li&gt;
&lt;li&gt;Run shell commands&lt;/li&gt;
&lt;li&gt;Integrate external tools&lt;/li&gt;
&lt;li&gt;Extend MahanAI’s behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Plugins can be loaded locally or installed from the built-in plugin store.&lt;/p&gt;




&lt;h3&gt;
  
  
  Themes and Customization
&lt;/h3&gt;

&lt;p&gt;MahanAI includes multiple built-in themes and supports custom &lt;code&gt;.mai&lt;/code&gt; theme files.&lt;/p&gt;

&lt;p&gt;Built-in themes include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;midnight&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;light&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;midnight-cb&lt;/code&gt; (colorblind-friendly)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;light-cb&lt;/code&gt; (colorblind-friendly)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Custom themes allow you to change colors, labels, and even the ASCII banner.&lt;/p&gt;




&lt;h3&gt;
  
  
  Command System
&lt;/h3&gt;

&lt;p&gt;MahanAI includes a rich set of commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/models&lt;/code&gt; — select models&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/mode claude&lt;/code&gt; — switch to Claude mode&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/effort high&lt;/code&gt; — increase reasoning depth&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/plan on&lt;/code&gt; — enable planning mode&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/themes&lt;/code&gt; — switch themes&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/plugin-load&lt;/code&gt; — load plugins&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These commands make the tool highly interactive and customizable.&lt;/p&gt;




&lt;h3&gt;
  
  
  Why MahanAI Stands Out
&lt;/h3&gt;

&lt;p&gt;MahanAI combines several powerful concepts into one tool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Terminal AI assistant&lt;/li&gt;
&lt;li&gt;Multi-provider model routing&lt;/li&gt;
&lt;li&gt;Local API gateway&lt;/li&gt;
&lt;li&gt;Plugin ecosystem&lt;/li&gt;
&lt;li&gt;Full customization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes it especially useful for developers and advanced users who want control over their AI workflows.&lt;/p&gt;




&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;MahanAI Super is more than just a chatbot—it’s a flexible AI workspace designed for the terminal. With support for multiple providers, local servers, plugins, and customization, it provides a powerful environment for experimenting with and building AI-powered workflows.&lt;/p&gt;

&lt;p&gt;For developers who prefer working in the command line, MahanAI offers a fast, extensible, and highly capable alternative to traditional AI interfaces.&lt;/p&gt;

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