<?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: Fábio Berbert de Paula</title>
    <description>The latest articles on DEV Community by Fábio Berbert de Paula (@fberbert).</description>
    <link>https://dev.to/fberbert</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%2F1077011%2Ff82797a2-e75d-4d49-84ec-af523f349505.jpg</url>
      <title>DEV Community: Fábio Berbert de Paula</title>
      <link>https://dev.to/fberbert</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fberbert"/>
    <language>en</language>
    <item>
      <title>Tux-GPT: A Command-Line AI Assistant Built for Your Terminal</title>
      <dc:creator>Fábio Berbert de Paula</dc:creator>
      <pubDate>Wed, 05 Nov 2025 02:44:46 +0000</pubDate>
      <link>https://dev.to/fberbert/tux-gpt-a-command-line-ai-assistant-built-for-your-terminal-2le8</link>
      <guid>https://dev.to/fberbert/tux-gpt-a-command-line-ai-assistant-built-for-your-terminal-2le8</guid>
      <description>&lt;p&gt;If you love living inside the terminal but still want the reach of GPT models at your fingertips, let me introduce the latest release of &lt;strong&gt;Tux-GPT&lt;/strong&gt;. It’s a command-line assistant (not a persistent background agent) that gives you conversational help, code guidance, and shell-ready automations without breaking your flow.&lt;/p&gt;

&lt;p&gt;If you ask me, I’d say this is like a lite version of the Codex client.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Tux-GPT?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Terminal-native experience&lt;/strong&gt;: prompts, responses, and formatting stay inside your shell (rendered with &lt;code&gt;rich&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context-aware conversations&lt;/strong&gt;: history and preferences live in &lt;code&gt;~/.config/tux-gpt/&lt;/code&gt;, so the CLI remembers your last 20 exchanges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System-aware commands&lt;/strong&gt;: at startup, Tux-GPT inspects the host OS (distro, architecture, version) so suggestions match your environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexible interaction modes&lt;/strong&gt;: free-form chat, single-shot questions, machine-readable JSON, or even “please craft &amp;amp; run this shell command”.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Ffberbert%2Ftux-gpt%2Fmaster%2Fassets%2Fimg%2Fsample-0.2.3.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Ffberbert%2Ftux-gpt%2Fmaster%2Fassets%2Fimg%2Fsample-0.2.3.gif" alt="Usage demonstration" width="600" height="338"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;Most platforms:&lt;br&gt;
&lt;/p&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;tux-gpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Recent Debian/Ubuntu releases route pip to the system Python, so use pipx to keep your global environment clean:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pipx &lt;span class="nb"&gt;install &lt;/span&gt;tux-gpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From source:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/fberbert/tux-gpt.git
&lt;span class="nb"&gt;cd &lt;/span&gt;tux-gpt
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Just set your OpenAI key (OPENAI_API_KEY), and you're all set to go! For more detailed guidance, feel free to visit our GitHub repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;Interactive session (multi-line input supported):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tux-gpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Press Ctrl+j to send (Enter adds a new line).&lt;/li&gt;
&lt;li&gt;Type Ctrl+c or Ctrl+d to quit.&lt;/li&gt;
&lt;li&gt;Conversation history resumes automatically next time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Single-shot question:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tux-gpt &lt;span class="nt"&gt;-q&lt;/span&gt; &lt;span class="s2"&gt;"Summarize the latest Kubernetes news"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;JSON-ready response (great for scripts):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tux-gpt &lt;span class="nt"&gt;--json&lt;/span&gt; &lt;span class="nt"&gt;-q&lt;/span&gt; &lt;span class="s2"&gt;"What are three underrated Linux CLI tools?"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You’ll receive:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"answer"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"sources"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Command crafting &amp;amp; execution:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tux-gpt &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s2"&gt;"create a zip with every png and jpg in the current folder"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tux-GPT will automatically execute the command in your terminal. If the command seems risky or needs root privileges, it’ll ask for your confirmation before proceeding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuration &amp;amp; Memory
&lt;/h2&gt;

&lt;p&gt;On first run, Tux-GPT sets up ~/.config/tux-gpt/ (%APPDATA%\tux-gpt\ on Windows):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;config.json      # default model, spinner settings, etc.&lt;/li&gt;
&lt;li&gt;history.json     # last 20 messages (user + assistant)&lt;/li&gt;
&lt;li&gt;input_history    # command history for ↑/↓ navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Need a clean slate? Delete the files in that directory and Tux-GPT will recreate them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Under the Hood
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Powered by the latest openai responses API with optional web-search tooling.&lt;/li&gt;
&lt;li&gt;Uses rich for Markdown output and prompt-toolkit for multiline input.&lt;/li&gt;
&lt;li&gt;Defaults to the GPT model defined in config.json (ships with gpt-4.1-mini). Change it whenever you want.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Roadmap &amp;amp; Contributions
&lt;/h2&gt;

&lt;p&gt;This project is still young; new capabilities to come. Ideas, bug reports, or pull requests are always welcome. Take it for a spin, file issues, or fork it to roll your own terminal assistant.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/fberbert/tux-gpt" rel="noopener noreferrer"&gt;https://github.com/fberbert/tux-gpt&lt;/a&gt;&lt;br&gt;
PyPI: &lt;a href="https://pypi.org/project/tux-gpt/" rel="noopener noreferrer"&gt;https://pypi.org/project/tux-gpt/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stay in your shell, keep your flow, and let Tux-GPT do the heavy lifting. Happy hacking!&lt;/p&gt;

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