Show HN:15歲少年打造離線AI終端代理,能修復錯誤
一位15歲的開發者推出了ZAI Shell,這是一個離線AI終端代理,旨在自動執行命令、修復錯誤並在Windows、Linux和macOS上自動化任務。該專案展示了自我修復、GUI自動化和P2P協作等進階功能。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Command Line telepathy. An Autonomous Al Agent for your Terminal that turns intent into Execution (Windows/Linux/Mac)
License
Uh oh!
There was an error while loading. Please reload this page.
TaklaXBR/zai-shell
Folders and files
Latest commit
History
Repository files navigation
ZAI Shell
AI terminal assistant with self-healing capabilities, GUI automation, web research, and P2P collaboration.
ZAI doesn't give up when errors occur. It analyzes failures, switches strategies, and retries automatically until successful.

⚡ Quick Install (2 Minutes)
Advanced features are optional — install when needed:
📖 Full installation guide
🎯 Why ZAI Shell?
The Problem with Other AI Terminals
Traditional AI:
ZAI Shell:
📊 ZAI vs Competition
Performance Benchmark
Stress Test (44 Tasks):
Real-World Example:
✨ v7.0 Features
🔧 Self-Healing Auto-Retry (5 Attempts)
Automatically analyzes errors and switches strategies:
Example:
🖱️ GUI Automation Bridge (NEW in v7.0)
Control desktop applications with AI:
Example:
🔍 Web Research Engine (NEW in v7.0)
AI-powered web search with synthesis:
Example:
📸 Image Analysis (NEW in v7.0)
Gemini Vision for screenshots and images:
Example:
🌐 P2P Terminal Sharing (NEW in v7.0)
Collaborate in real-time:
Usage:
🐚 13 Shell Support
Windows: CMD, PowerShell, PWSH, Git Bash, WSL, Cygwin
Linux/Unix: Bash, Zsh, Fish, Sh, Ksh, Tcsh, Dash
Using WSL → CMD → PowerShell → WSL in single request

🧠 Thinking Mode
See AI's reasoning process:
Output:
⚡ Three Speed Modes + Override
🌐 Offline Mode
Run completely locally:
💾 Persistent Memory
Dual system:
🛡️ Safety Controls
📁 Smart Path Correction
Automatically converts shortcuts:
💻 Multi-Task Execution
Execute multiple actions in one request:
📥 Installation
Prerequisites
Step 1: Core Dependencies
Step 2: Optional Features
Install only what you need:
Step 3: API Key
Get free Gemini API key: https://aistudio.google.com/app/api-keys
Windows (PowerShell):
Linux/Mac:
Step 4: Run ZAI
📋 Command Reference
Mode Control
Feature Toggles
Network Mode
Memory
Terminal Sharing
Safety Flags
Utility
🎯 Usage Examples
Basic Terminal Tasks
GUI Automation
Web Research
Image Analysis
Hybrid Workflows
Terminal Sharing
🐛 Known Limitations
🗺️ Roadmap
Completed (v7.0 - December 27, 2024)
Future Focus
v7.x Maintenance:
ZAI v7.0 represents a feature-complete release. Future updates focus on reliability and user experience.
🤝 Contributing
Ways to help:
Good first issues:
📝 License
GNU Affero General Public License v3.0
Open source, free to use and modify.
🔗 Links
📧 Contact
Creator: Ömer Efe Başol
Age: 15 (AI & Python enthusiast)
Email: [email protected]
GitHub: @TaklaXBR
⭐ Star this repo if ZAI saved your terminal session! ⭐
Made with ❤️ by a 15-year-old developer
About
Command Line telepathy. An Autonomous Al Agent for your Terminal that turns intent into Execution (Windows/Linux/Mac)
Topics
Resources
License
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
4
Packages
0
Languages
Footer
Footer navigation
相關文章