I wrote my own CLI-Based LLM Client: AIDA

Before I do nearly anything nowadays, I always check with my personal guide - usually either Copilot or ChatGPT. These AI-driven assistants are invaluable in nearly every facet of life: tech assistance, financial advice, email drafting, and more.
However, I ran into a few issues. For one, firing one up meant heading to a special website in a browser. Second, they never quite did exactly what I wanted. I wanted more control and customization.
So, I developed AIDA: a command-line-interface (CLI) accessible Large Language Model (LLM) client. AIDA stands for AI Desktop Assistant, and it's a lightweight command-line (terminal) based LLM client that lets me interface with my own unique deployment of an LLM, right from the command line.
As a desktop-based AI client, I gave AIDA tools that make it perfect for automation on my computer: it can open, read, and save files, navigate through folders, and even read web pages. And, given my interest in finance, I started developing add-on "packages" so AIDA can surf billions of financial data points from publicly traded companies - but I'll save that fun for another article.
In this article, I'll detail what AIDA is, how it works, and how you can use it too.
What is AIDA?
At its core, AIDA is a .NET 9.0 (C#) Console App - a simple command line utility that lets you interface with either a local or remote large language model connection. Because it's .NET-based, it runs smoothly on both Windows and Linux, which was a must for me (since I often need LLM access in a Linux environment, sometimes without a GUI!).

What makes AIDA different is that you can connect it with your own deployment of a remote or local model. As of writing, you can hook AIDA up to any Azure OpenAI deployment or local Ollama model you have. (Future plans: add OpenAI and Azure Agent Service support). For example, if you have a deployment of GPT-4.1 or o4-mini running on Azure OpenAI, just give AIDA the endpoint and API key, and you're off to the races.
AIDA is designed to play nicely with files and folders on your desktop. No need to upload anything - just provide the path to a file, and AIDA's read_file tool takes care of the rest. It can also save content to your computer, acting as your digital note-taker. Plus, AIDA can open folders and help navigate your file system whenever you want.
And, because tokens are the cost driver for LLMs, you cam use the handy tokens command that shows exactly how many tokens you've used in any session. No surprises!

Example: Adding Model Connection
AIDA gives you full control to add, manage, and swap between multiple LLM connections, like Azure OpenAI or Ollama.
To add a connection reference, just type settings, select "Add/Change/Delete a model connection," add your connection, and save!

Once you've added connections, you'll see a list of available models each time you visit "Add/Change/Delete a model connection." Select "Change Active Model Connection" to instantly switch the AI model you're chatting with (and yes - all your chat history comes along for the ride).

Example: Read File Content
AIDA is built as a lightweight desktop assistant, so it can read file contents out-of-the-box - TXT, PDFs, Word docs (and maybe more file types down the road!).
AIDA uses tools to complete tasks. One, read_file, lets it read any file - just tell it the file path!

This sounds simple (it's just tool-calling under the hood), but it's a big advantage over commercial LLM clients like Copilot, ChatGPT, Gemini, or Claude. Those require uploads, and usually only let models "see" a snipped-down part of a file that was selected by a search algorithm (to save on tokens). It's great for small tasks, but means prompts like "summarize this 30-page essay in 3 paragraphs" rarely work as the entire essay never actually reaches the model!
Example: Save File Content
AIDA can save files to your computer as well. Just ask AIDA to save something and it'll drop a .txt file in your Downloads folder, filled with your requested content!


All files are saved in your Downloads folder (works on both Windows and Linux).
Example: Navigate Folder Structure
AIDA can also "open folders." That means it can see what's inside a folder (list files and subfolders). LLMs are clever enough to chain this together, exploring whole folder trees if you want!
Say you want AIDA to summarize every reference to "Lake Dora" in the ./trips folder. If it finds a folder called lake_trips inside, it knows it can explore the lake_trips folder by simply appending that to the directory path, calling the open_folder tool again for ./trips/lake_trips.
This lets your LLM truly explore your PC to accomplish more complex, multitiered tasks.

Example: Save/Load Chat
You can save your chat history (your entire conversation) with a single command. No need for fancy cloud storage or logins: just run save, and AIDA saves a .json record of your chat right to your Downloads folder.

To pick up where you left off, use the load command, provide AIDA the path of the chat history .json file, and it'll restore your conversation in full context. You'll pick up write where you left off!
How to Install
AIDA is open source and 100% free! Installing it is super easy.
- Install the .NET 9.0 runtime (right side of the page) if you don't have it installed already.
- Download the latest version of AIDA from the changelog
- Unpack the AIDA download (it will come in a
.zipfolder) - Run
AIDA.exe(for Windows) orAIDA(for Linux)!
For more information visit AIDA on GitHub!