Open Source · Apache 2.0

Give Your Terminal
AI Superpowers

AITerm is a cross-platform AI-powered terminal with multiple AI providers, autonomous agent loops, multi-database connections, a file explorer, and Telegram remote control.
Built with Tauri 2, React 19, and Rust for native performance on macOS, Windows, and Linux.

macOS Apple Silicon Windows x64 Linux x86_64
AITerm — bash
~ /ai find the top 5 processes by CPU usage
▶ Thinking...
ps aux --sort=-%cpu | head -6
Risk: Low ・ Lists the 5 processes with the highest CPU usage
[Run] ▶
USER PID %CPU %MEM COMMAND
jameschu 1234 45.2 2.1 node
jameschu 5678 12.4 1.8 cargo
...
~

Core Features

AI built directly into your workflow — no window switching required

/ai

AI Command Workflow

Type /ai <query> in the terminal to instantly generate a shell command with a risk level shown — confirm and run with one click.

🧱

Structured Command Blocks

Every command and its output renders as its own card instead of raw scrollback. The live terminal pane auto-expands while a command is running and shrinks back down when idle, keeping the screen clean.

Autonomous Agent Loop

Type /agent to start multi-step agent mode — the AI plans and executes complex tasks on its own, falling back to manual confirmation for risky actions.

🔁

LoopStudio Loop Engineering

"Loop engineering" lets the AI break down and execute tasks on its own — no back-and-forth confirmation needed. An orchestrator keeps dispatching sub-agents until the goal is complete, with safety gates and a live execution trace watching every step.

💻

Code Assistant

A dedicated tab where the AI answers questions about any project directory — it scans the file tree, searches and reads source files on its own, can render Mermaid diagrams, and lets you export the conversation to Markdown.

💬

Multi-Turn Chat Sidebar

A context-aware AI chat panel built right next to the terminal — for troubleshooting, code generation, and brainstorming, all in one place.

📚

Knowledge Base

Create a notebook pointed at a folder and AITerm chunks, embeds, and indexes every document inside it, so you can ask natural-language questions with answers that cite the source documents. Works with Ollama or any OpenAI-compatible embedding provider.

🗄

Multi-Database Connections

Native support for PostgreSQL, MySQL, SQLite, and ODBC. DB2 works on both macOS and Windows via a built-in Java JDBC sidecar — no driver installation required.

📁

File Explorer

A built-in sidebar file browser kept in two-way sync with the terminal's working directory — navigate in the terminal and the explorer follows, or click the "cd" button (or the folder picker built into the command input) to jump the terminal to any folder instantly.

🔖

Command Search & Bookmarks

Ctrl+F searches across your entire block history with live scroll-to-match; Ctrl+Shift+R opens a bookmarks picker to save and refill frequently used commands.

🌐

Multilingual UI

Full support for English and Traditional Chinese, switchable at runtime with no restart required.

🔐

Multiple AI Providers

Works out of the box with OpenAI, Anthropic, Ollama (local inference), and OpenAI-compatible endpoints — switch providers whenever you need to.

📱

Telegram Remote Control

Enable the Remote toggle to send commands to your terminal from your phone via a Telegram bot — results are sent right back to the same Telegram chat, so you're never far from your session.

Requirements Management

AI-assisted feature discussions that automatically generate spec documents (SDD) into your project's structured directory — turning ideas into trackable specs.

System Architecture

A modern desktop app architecture connecting a high-performance Rust backend to a React frontend via Tauri IPC

Frontend
React 19 xterm.js File Explorer Chat Sidebar i18n (en/zh-TW)
Tauri IPC
Backend (Rust)
PTY Manager AI Router DB Manager Config / Keyring Telegram Bot API
stdin/stdout JSON
DB2 Sidecar
Java 21 JRE IBM JDBC (db2jcc4) macOS + Windows
Rust
React 19
Tauri 2
Java 21
TypeScript
xterm.js

Quick Install

  1. Go to GitHub Releases and download the latest .dmg
  2. Open the .dmg and drag AITerm into the "Applications" folder
  3. If you see "is damaged and can't be opened", run this in a terminal:
    xattr -cr /Applications/AITerm.app
  4. Reopen AITerm
  1. Go to GitHub Releases and download the latest -setup.exe
  2. Run the installer and follow the on-screen instructions
  3. Launch AITerm from the Start menu or desktop shortcut
⚠️ Minimum requirement: Ubuntu 22.04 LTS (or any distro providing libwebkit2gtk-4.1). Ubuntu 20.04 and earlier are not supported.
  1. Go to GitHub Releases and download _x86_64.AppImage or _amd64.deb
  2. AppImage (no install, Ubuntu 22.04+):
    chmod +x AITerm_*_x86_64.AppImage && ./AITerm_*_x86_64.AppImage
  3. .deb package (Ubuntu 24.04+):
    sudo apt install ./aiterm_*_amd64.deb
  1. Search for @BotFather on Telegram, send /newbot to create a new bot, and get your Bot Token
  2. Send any message to your bot, then open this URL in a browser to get your Chat ID:
    https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
  3. In AITerm, open "Settings" → "Telegram Remote Control", enter the Bot Token and Chat ID, and save
  4. Click the 📱 Remote toggle in the terminal status bar to enable remote control
  5. You can now send shell commands from your phone's Telegram chat with the bot — results are sent back to the same chat automatically

Requires Rust 1.78+, Node.js 20+

git clone https://github.com/jamesju9999/AITERM.git
cd AITERM
npm install
npm run tauri:dev