Deep Shell is an intelligent terminal application that combines a chat interface with a command-line interface, powered by Google's Gemini AI. It helps users execute terminal commands through natural language conversations.
- Interactive chat interface with AI assistant
- Integrated terminal emulator
- Command explanations
- Support for various development operations:
- Python environment management
- Git operations
- Docker commands
- Database operations (MySQL, PostgreSQL)
- Package management (pip, npm)
- File system operations
- System information queries
- Fix terminal direct input handling
- Add Agent B for command result processing
- Add settings button and configuration panel
- Implement transparent and blur window features
- Add support for additional LLMs:
- Integration with LiteLLM
- Support for local models via Ollama
- Model switching capability
- Python 3.x
- Qt framework
- Google Gemini API key
-
Clone the repository:
git clone <repository-url> cd deep-shell
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the API key:
- Copy
config.template.py
toconfig.py
cp config.template.py config.py
- Edit
config.py
and add your Gemini API key:
GEMINI_API_KEY = "your-api-key-here"
- Copy
-
Start the application:
python app.py
-
The interface consists of two main sections:
- Left: Chat interface for natural language interactions
- Right: Terminal emulator for command execution
-
Type your query in the chat input to get command suggestions and explanations
-
Use the terminal directly for command execution
-
Click the reset button (↻) to clear and restart the terminal session
Contributions are welcome! Please feel free to submit a Pull Request.
[Add your license here]