AI-powered Linux assistant โ fix any Linux problem in plain English
Project description
TuxGenie ๐ง
Your wish is my command. AI-powered Linux assistant โ fix any problem in plain English.
โโโโโโโโโโโโ โโโโโโ โโโ โโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโ
โโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโ
โโโ โโโ โโโ โโโโโโ โโโ โโโโโโโโโโ โโโโโโ โโโโโโโโโโโโ
โโโ โโโ โโโ โโโโโโ โโโ โโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โโโ โโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโโโโโโ
TuxGenie v3.9 โ Powered by Claude ยท Free forever ยท Open Source
What is TuxGenie?
TuxGenie is your AI co-pilot for Linux. Describe any problem in plain English and TuxGenie will diagnose it, explain what's wrong, and fix it โ step by step, with your approval at every stage.
No more Googling error messages. No more copying random commands from Stack Overflow. Just tell TuxGenie what's wrong.
$ tuxgenie
TuxGenie > my nginx won't start after I edited the config
โฆ Step 1 [SAFE] Check nginx config for syntax errors
nginx -t
Run this step? [y/n/skip/abort]: y
nginx: [emerg] unexpected "}" in /etc/nginx/nginx.conf:42
nginx: configuration file /etc/nginx/nginx.conf test failed
โฆ Step 2 [SAFE] Show the problem line in context
sed -n '38,46p' /etc/nginx/nginx.conf
Run this step? [y/n/skip/abort]: y
โฆ Step 3 [MODERATE] Fix the missing semicolon on line 41
...
Install
Debian / Ubuntu / Linux Mint
# Download the latest .deb from GitHub Releases, then:
sudo dpkg -i tuxgenie_3.9.0_all.deb
Any Linux distro (pip)
pip install tuxgenie
From source
git clone https://github.com/ramchandragada/tuxgenie.git
cd tuxgenie
pip install .
First run
# Set your Anthropic API key (add to ~/.bashrc to make permanent)
export ANTHROPIC_API_KEY="sk-ant-..."
# Launch
tuxgenie
Get a free API key at console.anthropic.com.
Features
| # | Feature | What it does |
|---|---|---|
| 1 | Fix my problem | Describe any issue in plain English โ TuxGenie diagnoses and fixes it |
| 2 | System Health | Full health dashboard: CPU, memory, disk, temps, failed services |
| 3 | Network Diagnostics | DNS, routing, firewall, connectivity โ finds the real problem |
| 4 | Security Audit | Checks open ports, failed logins, weak permissions, exposed configs |
| 5 | Disk Management | Finds space hogs, cleans safely, analyses usage |
| 6 | Service Control | Manage and debug systemd services with AI explanations |
| 7 | Log Analyser | Parses journals and log files, explains errors in plain English |
| 8 | Update Advisor | Safe upgrade analysis โ flags packages likely to break things |
| 9 | Script Generator | Describe what you want, get a tested bash script |
| 10 | Cron Scheduler | Create and debug cron jobs with natural language |
| 11 | Permission Fixer | Diagnoses and fixes broken file permissions |
| 12 | Boot Repair | Diagnoses boot failures, GRUB issues, kernel panics |
| 13 | Docker Manager | Container health, network issues, log analysis |
| 14 | SSH Diagnostics | Key auth, config issues, connectivity debugging |
| 15 | Process Manager | Find CPU/memory hogs, diagnose runaway processes |
| 16 | Config Backup | Safe backup of system configs before changes |
| u | Self-Update | Type u to check for and install the latest TuxGenie |
Safety first
TuxGenie never runs a command without your explicit approval.
Every step shows:
- Risk level โ
SAFE,MODERATE, orDANGEROUS(colour-coded) - [SUDO NEEDED] badge when root is required
- A red warning banner for destructive commands
- Prompt:
[y / n / skip / abort]โ you are always in control
Commands matching dangerous patterns (rm -rf /, dd if=, mkfs, fdisk, wipefs, shred, chmod 777 /, fork bombs) are flagged regardless of what the AI says about them.
Requirements
- Python 3.8+
- An Anthropic API key (get one free)
- Linux
The anthropic Python package is installed automatically on first run if missing.
How it works
You describe the problem
โ
โผ
System context collected silently (OS, kernel, services, logsโฆ)
โ
โผ
Claude API โ structured fix plan with risk levels
โ
โผ
Each step shown with risk badge โ you approve or skip
โ
โผ
Command output fed back to Claude
โ
โผ
Claude iterates (up to 6 rounds) until resolved
One-shot mode
# Skip the menu โ go straight to fixing
tuxgenie "docker containers can't reach the internet"
tuxgenie "my SSH connection keeps dropping"
tuxgenie "cron job not running"
Dedicated to Linus Torvalds
TuxGenie is dedicated to Linus Torvalds โ creator of the Linux kernel, the greatest gift ever given to computing. His work powers servers, supercomputers, smartphones, satellites, and the entire modern internet.
License
MIT โ free to use, modify, and share forever.
Built with love by Aspera Technologies Pte Ltd.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tuxgenie-5.54.0.tar.gz.
File metadata
- Download URL: tuxgenie-5.54.0.tar.gz
- Upload date:
- Size: 86.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17349c20da6e1887c283c12c3ddd752886eaf958b982ec2092a1ee7fd3fe5887
|
|
| MD5 |
e4524eff3ecd4b3fc08bb96f75e538e8
|
|
| BLAKE2b-256 |
dc62e51610deeaf85af59f5264e68b0bbcbd95005c4e6956cf8c8630ba558e01
|
File details
Details for the file tuxgenie-5.54.0-py3-none-any.whl.
File metadata
- Download URL: tuxgenie-5.54.0-py3-none-any.whl
- Upload date:
- Size: 84.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63e76f953444079294c9cb241039c2878f4fe75a44e247ff5278f4c7e58455c8
|
|
| MD5 |
c0f6a24037f3c1b641176a1508ca6445
|
|
| BLAKE2b-256 |
c35402ecf684ddebe65429877e99ec1704ce0ed8ae7d7543f741968e163897e3
|