A multi-provider AI assistant for your terminal, written in Rust. TermAI works with Anthropic Claude, OpenAI GPT-5.x, and OpenAI Codex (via ChatGPT subscription OAuth), and keeps everything local: sessions with git-style conversation branching, reusable prompt presets, AI-powered Git integration (commits, reviews, conflict resolution), smart context discovery for your codebase, and SQLite-backed storage with privacy redaction. Chat sessions can optionally use web search/fetch tools (opt-in via /tools).
# Prerequisites: Rust and Cargo
git clone https://github.com/kyco/termai.git
cd termai
cargo build --release
# binary at target/release/termai (or: cargo install --path .)termai setup # Interactive setup wizard
termai auth login claude # Or: openai, codex (ChatGPT OAuth)
termai ask "Explain this code" ./src/main.rs
termai chat # Interactive chat sessionFull documentation lives in docs/README.md, with a command reference in docs/COMMANDS.md and a cheat sheet in docs/QUICK_REFERENCE.md.
MIT — see LICENSE.