A lightweight command-line tool that transforms natural language into valid Linux commands using AI.
✔️ Supports multiple AI models: OpenAI, Anthropic, and Ollama.
✔️ Multilingual input support – use your preferred language! 🌎
✔️ Easily configurable via aido.config
file.
✔️ System-wide installation available – use aido
like any other Linux command.
pip3 install -r requirements.txt
You need API keys for OpenAI and Anthropic. Set them in your config file before running the script.
- OpenAI API Key: Get it here
- Anthropic API Key: Get it here
- Ollama: Install and configure it from Ollama GitHub
Ensure your API keys and settings are in the config file (~/.config/aido
). Use aido.config
as a template.
Example:
DEFAULT_PROVIDER=ollama
OLLAMA_DEFAULT_MODEL=codegemma
python3 aido.py "Show the contents of text.txt" --provider openai --model gpt-3.5-turbo
python3 aido.py --provider ollama --model codegemma "Count occurrences of 'AI' in ~/my-project/file.txt"
💡 Tip: You can set default values in the aido
config file to avoid typing the provider and model every time.
If you love aido
, install it as a global command! 😜
chmod +x aido.py
sudo cp aido.py /usr/bin/aido
Now, use aido
anywhere in your system:
aido "Create a new folder called 'projects'"
🛠️ Found a bug? Want a feature? Open an issue or contribute to the project!
🚀 Happy coding with aido
! 🤖