zackeryyy wang 644071850a Initial commit: AI Shell v0.1.0
- AI-powered shell command generator using DeepSeek V3
- Support for natural language to shell command conversion
- Secure configuration management with .env files
- Package structure with uv tool installation support
- Chinese and English language support
- Configuration validation and error handling
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00
2025-07-12 22:06:15 +08:00

AI Shell

AI-powered shell command generator using DeepSeek V3 model via OpenAI-compatible API.

Features

  • Generate shell commands from natural language descriptions
  • Interactive execution confirmation (Enter to execute, n to cancel)
  • Supports multiple languages for prompts and responses
  • Uses DeepSeek V3 model for high-quality command generation
  • User-friendly interface with default execution on Enter

Usage

uv run python ai.py "your command description here"

Setup

  1. Install dependencies:

    uv sync
    
  2. Run the tool:

    uv run python ai.py "list all files in current directory"
    uv run python ai.py "show disk usage"
    uv run python ai.py "find all Python files"
    

Configuration

Requirements

  • Python 3.12+
  • UV package manager with configured Chinese mirrors for fast downloads
Description
AI-powered shell command generator using DeepSeek V3
Readme 174 KiB
Languages
Python 81.4%
Makefile 9.8%
Shell 8.8%