Mira AI is a lightweight Python CLI assistant that runs your shell commands — but with a twist! It also supports special ai commands so you can interact with it directly. Think of Mira as Claude, but free and open source — a handy AI helper right in your terminal.
> ai greet
Mira AI: Hello! How can I assist you today?
> ls -la
(total directory listing output)
> miraexit
Mira AI: Exiting Mira AI. Goodbye!To install Mira AI, clone or download the repository, then run the install.sh script:
bash install.shThis will:
- Make mira.py executable
- Copy it to ~/bin/mira
- Add ~/bin to your PATH if it’s not already there
After installation, reload your terminal environment:
source ~/.bashrcNow you can run mira from anywhere!
Heads up! Make sure you run install.sh from the repo root folder so it can find mira.py.
Just type mira in your terminal and start typing commands or AI prompts!
- Use
ai greetorai helpto interact with Mira’s built-in AI commands. - Run normal shell commands as usual.
- Type miraexit to quit.
If you want to uninstall, simply run:
bash remove.shThis will:
- Remove mira from ~/bin
- Remove the PATH modification from your .bashrc (if added by install script)
Remember to reload your shell afterwards:
source ~/.bashrcYou can easily add new AI commands by editing mira.py. Look for the section that handles commands starting with ai and add your custom logic.
