AiShell is an intelligent terminal for Windows that combines the power of local artificial intelligence with the familiarity of traditional command line. Transform natural language into precise Windows commands using Phi-3.5 models executed locally with onnxruntime.
Download the latest release
# Or compile from source
git clone https://github.com/Oghost/AiShell.git
cd AiShell
dotnet build -c Release
First run
.\AiShell.exe
The system will automatically detect your hardware and download the optimized Phi-3.5 model.
# File operations
> list video files in this folder
dir *.mp4 *.avi *.mkv *.mov
# Network
> ping google continuously
ping -t google.com
# System
> show processes using most memory
tasklist /fo table
# Cut video
> cut video input.mp4 from minute 1 to minute 3
ffmpeg -ss 00:01:00 -to 00:03:00 -i input.mp4 -c copy output.mp4
# Convert to GIF
> convert video.mp4 to animated gif
ffmpeg -i video.mp4 -vf "fps=10,scale=320:-1" output.gif
# Define an IP camera
> alias CAM1 192.168.1.50
# Use the variable later
> ping CAM1
ping 192.168.1.50
# Use GPT-4 for complex commands
> gpt help me create a script to backup my documents
# Use Claude for analysis
> claude analyze my network performance
AiShell automatically detects the language of your input and responds accordingly:
# English
> list all pdf files
dir *.pdf
# Spanish
> listar todos los archivos pdf
dir *.pdf
# French
> lister tous les fichiers pdf
dir *.pdf
| Command | Description |
|---|---|
help | Show complete help |
vars | View environment variables |
alias <name> <value> | Create alias |
clear | Clear screen |
exit | Exit AiShell |
AiShell/
βββ Core/ # Main engine and session management
βββ LLM/ # onnxruntime and Phi integration
βββ Plugins/ # Plugin system (ffmpeg, git, etc.)
βββ Storage/ # Local database and shared knowledge
βββ UI/ # Console interface with Spectre.Console
βββ Security/ # Validation and trusted software
βββ Installers/ # Automatic dependency management
git clone https://github.com/Oghost/AiShell.git
cd AiShell
dotnet restore
dotnet build -c Release
dotnet test
Contributions are welcome! Please:
git checkout -b feature/AmazingFeature)git commit -m 'Add: new feature')git push origin feature/AmazingFeature)| Hardware | Model | Speed (tokens/sec) | Memory Usage |
|---|---|---|---|
| Intel i7 (CPU) | Phi-3.5-mini INT8 | ~15-25 | 1.5GB |
| NVIDIA RTX 4060 | Phi-3.5-mini FP16 | ~80-120 | 2.5GB |
| NVIDIA RTX 4090 | Phi-3.5-mini FP16 | ~200-300 | 2.5GB |
This project is licensed under the MIT License. See LICENSE for details.
β If you like the project, don't forget to give it a star!
Made with β€οΈ by the open source community
# Install .NET 8.0 SDK
winget install Microsoft.DotNet.SDK.8
# Install Git (if not already installed)
winget install Git.Git
# Optional: Install Visual Studio Code
winget install Microsoft.VisualStudioCode
# Clone and setup
git clone https://github.com/Oghost/AiShell.git
cd AiShell
# Restore packages
dotnet restore
# Build in debug mode
dotnet build
# Run the application
dotnet run
# Run all tests
dotnet test
# Run with coverage
dotnet test --collect:"XPlat Code Coverage"
# Run specific test category
dotnet test --filter Category=Unit
AiShell respects your privacy:
Cloud LLM features (GPT-4, Claude) are optional and require explicit user activation with API keys.
Model Download Fails
# Manual download
# 1. Go to https://huggingface.co/microsoft/Phi-3.5-mini-instruct-onnx
# 2. Download the appropriate model file
# 3. Place in: %APPDATA%\AiShell\Models\
CUDA Not Detected
# Check NVIDIA drivers
nvidia-smi
# Update drivers from: https://www.nvidia.com/drivers
Permission Errors
# Run as administrator (if needed)
# Or check folder permissions in %APPDATA%\AiShell\
# Enable verbose logging
AiShell.exe --verbose
# Check logs in
type "%APPDATA%\AiShell\logs\aishell.log"
Last updated: 2025-06-01 22:12:00 UTC by Oghost
C#
100.0%
AiShell is an intelligent terminal for Windows that combines the power of local artificial intelligence with the familiarity of traditional command line. Transform natural language into precise Windows commands using Phi-3.5 models executed locally with onnxruntime.
Download the latest release
# Or compile from source
git clone https://github.com/Oghost/AiShell.git
cd AiShell
dotnet build -c Release
First run
.\AiShell.exe
The system will automatically detect your hardware and download the optimized Phi-3.5 model.
# File operations
> list video files in this folder
dir *.mp4 *.avi *.mkv *.mov
# Network
> ping google continuously
ping -t google.com
# System
> show processes using most memory
tasklist /fo table
# Cut video
> cut video input.mp4 from minute 1 to minute 3
ffmpeg -ss 00:01:00 -to 00:03:00 -i input.mp4 -c copy output.mp4
# Convert to GIF
> convert video.mp4 to animated gif
ffmpeg -i video.mp4 -vf "fps=10,scale=320:-1" output.gif
# Define an IP camera
> alias CAM1 192.168.1.50
# Use the variable later
> ping CAM1
ping 192.168.1.50
# Use GPT-4 for complex commands
> gpt help me create a script to backup my documents
# Use Claude for analysis
> claude analyze my network performance
AiShell automatically detects the language of your input and responds accordingly:
# English
> list all pdf files
dir *.pdf
# Spanish
> listar todos los archivos pdf
dir *.pdf
# French
> lister tous les fichiers pdf
dir *.pdf
| Command | Description |
|---|---|
help | Show complete help |
vars | View environment variables |
alias <name> <value> | Create alias |
clear | Clear screen |
exit | Exit AiShell |
AiShell/
βββ Core/ # Main engine and session management
βββ LLM/ # onnxruntime and Phi integration
βββ Plugins/ # Plugin system (ffmpeg, git, etc.)
βββ Storage/ # Local database and shared knowledge
βββ UI/ # Console interface with Spectre.Console
βββ Security/ # Validation and trusted software
βββ Installers/ # Automatic dependency management
git clone https://github.com/Oghost/AiShell.git
cd AiShell
dotnet restore
dotnet build -c Release
dotnet test
Contributions are welcome! Please:
git checkout -b feature/AmazingFeature)git commit -m 'Add: new feature')git push origin feature/AmazingFeature)| Hardware | Model | Speed (tokens/sec) | Memory Usage |
|---|---|---|---|
| Intel i7 (CPU) | Phi-3.5-mini INT8 | ~15-25 | 1.5GB |
| NVIDIA RTX 4060 | Phi-3.5-mini FP16 | ~80-120 | 2.5GB |
| NVIDIA RTX 4090 | Phi-3.5-mini FP16 | ~200-300 | 2.5GB |
This project is licensed under the MIT License. See LICENSE for details.
β If you like the project, don't forget to give it a star!
Made with β€οΈ by the open source community
# Install .NET 8.0 SDK
winget install Microsoft.DotNet.SDK.8
# Install Git (if not already installed)
winget install Git.Git
# Optional: Install Visual Studio Code
winget install Microsoft.VisualStudioCode
# Clone and setup
git clone https://github.com/Oghost/AiShell.git
cd AiShell
# Restore packages
dotnet restore
# Build in debug mode
dotnet build
# Run the application
dotnet run
# Run all tests
dotnet test
# Run with coverage
dotnet test --collect:"XPlat Code Coverage"
# Run specific test category
dotnet test --filter Category=Unit
AiShell respects your privacy:
Cloud LLM features (GPT-4, Claude) are optional and require explicit user activation with API keys.
Model Download Fails
# Manual download
# 1. Go to https://huggingface.co/microsoft/Phi-3.5-mini-instruct-onnx
# 2. Download the appropriate model file
# 3. Place in: %APPDATA%\AiShell\Models\
CUDA Not Detected
# Check NVIDIA drivers
nvidia-smi
# Update drivers from: https://www.nvidia.com/drivers
Permission Errors
# Run as administrator (if needed)
# Or check folder permissions in %APPDATA%\AiShell\
# Enable verbose logging
AiShell.exe --verbose
# Check logs in
type "%APPDATA%\AiShell\logs\aishell.log"
Last updated: 2025-06-01 22:12:00 UTC by Oghost
C#
100.0%