AI Terminal is a modern, cross-platform terminal application that combines the power of traditional command-line interfaces with integrated AI capabilities. Built with Tauri and Angular, it provides a native desktop experience with natural language command interpretation, an integrated AI assistant, and a sleek modern UI.
The application leverages Ollama for AI features, allowing users to interact with terminal commands using natural language and receive intelligent assistance for command-line tasks.
- Angular 19.x: Modern web framework for building the user interface
- TypeScript 5.8.x: Type-safe JavaScript for development
- RxJS 7.8.x: Reactive programming for handling asynchronous operations
- Tauri 2.x: Rust-based framework for building native desktop applications
- Rust: Systems programming language providing security and performance
- Cargo: Rust's package manager and build system
- Ollama: Local AI runtime for running language models
- macsdeve/BetterBash3: Specialized model for terminal command assistance
- Node.js 18+: JavaScript runtime for development tooling
- npm: Package manager for JavaScript dependencies
- Angular CLI 19.x: Command-line interface for Angular development
AI Terminal is designed to work across multiple platforms:
- Full support for macOS systems
- Available via Homebrew installation
- Native macOS application bundle
- Installation:
brew tap AiTerminalFoundation/ai-terminal && brew install --cask ai-terminal
- Full support for Windows systems
- Native Windows executable
- Can be built and run using the standard development setup
- Full support for Linux distributions
- Available as
.debpackage for Debian-based systems - Can be built from source on other distributions
Before testing, ensure you have the following installed:
- Node.js 18 or later
- Rust and Cargo (Rust toolchain)
- Ollama (for AI features):
- macOS:
brew install ollama - Linux:
curl -fsSL https://ollama.com/install.sh | sh - Or download from ollama.ai
- macOS:
-
Clone the repository:
git clone https://github.com/AiTerminalFoundation/ai-terminal.git cd ai-terminal -
Navigate to the project directory:
cd ai-terminal -
Install dependencies:
npm install
-
Run the application in development mode:
npm run tauri dev
This command will:
- Build the Angular frontend
- Compile the Rust backend
- Launch the application in development mode with hot-reload
To use the AI capabilities, you need to download the AI model:
-
Ensure Ollama is running:
ollama serve
-
Download the BetterBash3 model:
ollama pull macsdeve/BetterBash3
- Frontend tests: Standard Angular testing setup with Jasmine and Karma
- Build verification:
npm run buildto verify the Angular build - Development mode:
npm run tauri devfor interactive testing
To create a production build:
npm run tauri buildThis will create platform-specific installers in src-tauri/target/release/bundle/.
/ai-terminal/- Main application directory/src/- Angular frontend source code/src-tauri/- Tauri backend (Rust) source codepackage.json- Node.js dependencies and scriptsangular.json- Angular configurationtauri.conf.json- Tauri application configuration
/FineTuned/- AI model fine-tuning resourcesREADME.md- Project documentationrequirements.txt- Python dependencies (if applicable)
When working on this project:
- Follow the existing code style and conventions
- Test on both macOS and Windows when possible
- Ensure the application builds successfully with
npm run tauri dev - Update documentation for any new features or changes
- Consider the impact on AI integration features