A native macOS application with 23 AI providers built in. Errors get analyzed. Commands get explained. Dangerous operations get blocked. npm install or drag to Applications — done.
Built with SwiftUI + real forkpty(). Ships as a real .app bundle. Available on npm. No Electron. No web views.
Every feature a developer needs, built into one native terminal.
Real macOS application — shows in Dock, Launchpad, Spotlight. Custom app icon. Auto-installs ait CLI on first launch.
Full zsh with login shell, ANSI 256-color, tab completion, and command history. Native forkpty() — not a web view or emulator.
From local Ollama to cloud GPT-4o, Claude, Gemini, Groq, DeepSeek and 17 more. Auto mode picks the best available provider.
Configure keys for every provider. Auto-detects env vars (OPENAI_API_KEY, etc). Dashboard links. Test Connection button.
26 regex patterns detect errors in terminal output — tracebacks, compiler errors, exit codes. One-click AI analysis.
Blocks rm -rf /, fork bombs, dd on disks. Warns on sudo, force pushes, DROP TABLE. Detects leaked API keys and tokens.
Remembers past errors and solutions in a persistent JSON store. Feeds them back to AI for smarter, project-aware answers.
AI responses stream token-by-token in real time via SSE. Groq and Cerebras deliver full answers in under a second.
AI extracts runnable commands from its responses with safety ratings. Run, copy, or explain with one click.
Auto-detects project type (Node, Python, Rust, Go, Swift, etc.), git branch, and dependencies. AI gets full context.
Open multiple terminal tabs, each with its own PTY process, AI conversation, and command history.
Local, cloud, or free — pick the AI that fits your workflow.
Use AI Terminal inside your existing terminal. Every feature, headless.
aitThe CLI version has every feature from the GUI — safety layer, memory store, context engine, all 23 providers with streaming, interactive REPL, and piped error analysis. Install via npm i -g ai-terminal-app or the .app auto-installs it.
ait "question" Ask the AI anythingait -i Interactive REPL modeait --analyze Analyze piped inputait --explain CMD Explain a commandait --run CMD Run with AI error analysisait --safety CMD Check command safetyait --provider NAME Pick a specific providerait --config Configure API keysEvery command is evaluated before execution. Secrets are scanned in real time.
Prevented from running. No override.
rm -rf / :(){ :|:& };:mkfs dd of=/dev/sda
Warning shown. Confirmation required.
sudo git push --forceDROP TABLE curl | sh
Runs normally. No intervention.
ls -la git statusnpm install cargo build
macOS 14+ and Swift 5.9+. npm install or build once and drag to Applications.
One command. Installs ait CLI globally. Builds from source.
npm install -g ai-terminal-app ait --help
Build a drag-to-install DMG — open it and drag to Applications.
git clone https://github.com/3289david/ai-terminal cd ai-terminal make dmg
Build .app → copy to /Applications. Auto-installs ait CLI on first launch.
make install # ait CLI auto-installed to /usr/local/bin
ait)Headless CLI with all features for any terminal.
make install-cli # installs ait to /usr/local/bin ait --help
Clean architecture. Easy to extend. Add a provider in 5 lines.