Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
🔥AI-Terminal-X is an AI-powered Linux terminal assistant🔥 that converts natural language commands into executable terminal commands using Google’s Gemini AI. It enhances productivity with safe execution checks, command suggestions, and real-time feedback.
Jump to setup instructionsFetched from the repository for this visit.

Developed by: Muhammad Izaz Haider
Your AI-powered personal terminal assistant for Linux (especially Kali Linux).
Order in plain English — and watch real terminal magic happen instantly! 🪄
AI-Terminal-X is a game-changing AI-Powered Terminal Assistant designed to revolutionize the way you interact with your Linux terminal. Whether you're a beginner, an ethical hacker, or a seasoned professional, AI-Terminal-X transforms your daily command-line operations, enhancing productivity and learning.
AI-Terminal-X is powered by Google’s Gemini AI , making it exceptionally intelligent and capable of understanding natural language. This tool is specifically built for Kali Linux , but it can work on any Linux-based terminal. With just a few simple commands, AI-Terminal-X can instantly generate accurate terminal commands, run them, and explain their functions — all in seconds.
✅ AI-generated terminal commands (Kali/Linux optimized)
✅ No execution without permission — you control everything
✅ Dual-window : AI conversation + command execution
✅ Command logging for easy review and reuse
✅ Simple text input → real, working output
✅ Powered by Gemini 1.5 Flash – Fast, Accurate, Lightweight
✅ Made for students, pros, researchers, & enthusiasts
✅ Command Suggester — Suggests related commands based on your input
✅ Multi-layer risk check to ensure safe execution of commands
✅ Interactive Mode - Review, copy, or cancel commands before execution
✅ Real-time feedback and explanations for commands
✅ Smart back navigation between different modes
✅ Command logging: every executed command is saved to ai_cmd_x_history.log for review
✅ Efficient learning mode — Ask questions and get beginner-friendly explanations
✅ Future-proof : Voice command integration coming soon
✅ Secure API integration for smooth operation
✅ User-friendly interface for seamless interaction



pip install -r requirements.txt
(or run python setup.py, which creates a virtual environment and installs them there)
git clone https://github.com/mizazhaider-ceh/Ai-Terminal-X.git
cd Ai-Terminal-X
In terminal:
chmod +x setup.py
python setup.py
After setup.py the run.sh file will automatically create so run below command and everytime you just need to type below command in terminal ..Okay..!
./run.sh or bash run.sh
Done!🚀
tmux, xfce4-terminal (and optionally xclip for copy-to-clipboard) on Linuxpip install pytest
python -m pytest tests/ -v
Ai-Terminal-X🚀 Latest Improvements
- 🐞 Bug Fixes: setup script no longer depends on
pv,run.shwarns clearly if the venv is missing, and typos in helper messages fixed.- 🧠 Newer AI model: now uses
gemini-2.0-flashfor command generation and risk checks.- 🧪 Tests added: the suggestion parser and the explain-request detection are now covered by pytest.
- 🧹 Cleaner internals: dead code removed from the tmux sender, and the script is now safely importable (
if __name__ == "__main__"guard).- 🌐 Multi-language Support: understands requests in many languages and always explains in English.
Before running any command, AI-Terminal-X checks if the command could potentially be harmful to your system. Here's how it works:
If you face issues while using AI-Terminal-X , try the following:
.env file.For any other issues, feel free to open an issue in the GitHub repository.
| Input | Generated Command |
|---|---|
Show my public IP address | curl ifconfig.me |
List all files in the current directory | ls |
Go to the home directory | cd ~ |
Check disk usage | df -h |
Display running processes | ps aux |
Open a file with Nano editor | nano filename.txt |
Muhammad Izaz Haider
If you like AI-Terminal-X , please ⭐ star the repo and share it with your friends!
Your support helps open-source thrive! 🚀
"Speak simple. Work smart."
"Let AI turn your thoughts into commands!" ✨
GitHub checked 160h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.