<?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: Alexandre Vieira</title>
    <description>The latest articles on DEV Community by Alexandre Vieira (@aletechsolutions).</description>
    <link>https://dev.to/aletechsolutions</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%2F3702708%2F419269ba-f7cf-40ae-820c-c7f73803c4c2.jpeg</url>
      <title>DEV Community: Alexandre Vieira</title>
      <link>https://dev.to/aletechsolutions</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aletechsolutions"/>
    <language>en</language>
    <item>
      <title>I built a CLI that lets me use AI directly from my terminal</title>
      <dc:creator>Alexandre Vieira</dc:creator>
      <pubDate>Fri, 09 Jan 2026 14:36:06 +0000</pubDate>
      <link>https://dev.to/aletechsolutions/i-built-a-cli-that-lets-me-use-ai-directly-from-my-terminal-322i</link>
      <guid>https://dev.to/aletechsolutions/i-built-a-cli-that-lets-me-use-ai-directly-from-my-terminal-322i</guid>
      <description>&lt;p&gt;I’ve been building Xandai-CLI because I wanted AI help without leaving the terminal or wiring up cloud APIs.&lt;/p&gt;

&lt;p&gt;The idea is simple: one CLI where I can run shell commands, edit files, and ask questions in the same place — using local models (Ollama / LM Studio).&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/XandAI-project/Xandai-CLI" rel="noopener noreferrer"&gt;https://github.com/XandAI-project/Xandai-CLI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What Xandai-CLI does&lt;/p&gt;

&lt;p&gt;Xandai-CLI is an interactive terminal tool that mixes:&lt;/p&gt;

&lt;p&gt;normal shell commands&lt;/p&gt;

&lt;p&gt;natural language prompts&lt;/p&gt;

&lt;p&gt;file creation and editing&lt;/p&gt;

&lt;p&gt;optional multi-step “agent” behavior&lt;/p&gt;

&lt;p&gt;You type at the xandai&amp;gt; prompt, and it figures out whether you meant a command, a question, or a task.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;xandai&amp;gt; git status&lt;br&gt;
xandai&amp;gt; explain what this repo does&lt;br&gt;
xandai&amp;gt; create a python script to parse this log file&lt;/p&gt;

&lt;p&gt;Everything runs locally if you want it to.&lt;/p&gt;

&lt;p&gt;Why I built it&lt;/p&gt;

&lt;p&gt;Most AI coding tools either:&lt;/p&gt;

&lt;p&gt;live in the browser, or&lt;/p&gt;

&lt;p&gt;require API keys and cloud calls, or&lt;/p&gt;

&lt;p&gt;feel bolted on to the terminal&lt;/p&gt;

&lt;p&gt;I wanted something that felt closer to git or fzf:&lt;br&gt;
always there, fast, and not intrusive.&lt;/p&gt;

&lt;p&gt;Xandai-CLI is opinionated around developer workflows and local control.&lt;/p&gt;

&lt;p&gt;Local models first&lt;/p&gt;

&lt;p&gt;Xandai-CLI supports:&lt;/p&gt;

&lt;p&gt;Ollama&lt;/p&gt;

&lt;p&gt;LM Studio&lt;/p&gt;

&lt;p&gt;You can auto-detect what’s running and start using it immediately. No accounts, no tokens.&lt;/p&gt;

&lt;p&gt;Install &amp;amp; try it&lt;br&gt;
pip install xandai-cli&lt;br&gt;
xandai --auto-detect&lt;/p&gt;

&lt;p&gt;From there, just use it like a normal shell — but with the option to ask for help or generate code when you need it.&lt;/p&gt;

&lt;p&gt;Status&lt;/p&gt;

&lt;p&gt;This is still evolving, and I’m actively iterating on it based on how I actually use it day-to-day.&lt;br&gt;
If you try it and something feels off, or you have ideas, issues and PRs are welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cli</category>
      <category>opensource</category>
      <category>offline</category>
    </item>
  </channel>
</rss>
