"Your all-in-one terminal-based AI dev sidekick — engineered for speed, clarity, and control."
✨ Powered by: GPT‑4o, Claude 3 Opus, Gemini 1.5 Pro, Groq, Mistral, Ollama and more...
💡 Designed & crafted with precision by Vishnupriyan P R
AI Terminal Pal isn't your typical CLI toy... — it's a full-blown developer productivity engine built into your terminal. Whether you're asking quick questions, analyzing codebases, generating boilerplate, or debugging a tangled mess, this tool understands your workflow. With multi-AI provider support, blazing speed, code-aware context building, and beautiful terminal output, it adapts to how you work.
- 🤖 Multi-AI Support: GPT-4o, Claude 3, Gemini 1.5, Mistral, Groq Llama3, Ollama, and more
- 🧠 Contextual Intelligence: File-aware responses using
@filename.pyor auto-scan - 🖼️ Themes & UI: Dynamic banner, themed layouts (Professional, Forest, Ocean, Minimal)
- 📋 Clipboard Smartness: Auto-copy responses; paste into code right away
- 📦 Project Integration: Code analysis, tree view, metrics, and documentation generation
- 📊 Live Stats: Track tokens, cost, speed, and query logs
- 🧪 Built-in Dev Tools: Linting, testing, formatting, and debugging (AI-assisted)
- 📤 Export Everything: Generate PDFs, logs, reports, or backups from the CLI
ai-terminal-pal-/📂
├── ai_terminal_pal.py # Main app
├── .env # API keys (optional, or added during /setup)
├── README.md # You're reading this
├── requirements.txt # All dependencies
git clone https://github.com/vishnupriyanpr/Terminal-Pal
cd Terminal-Pal
pip install -r requirements.txtSet your API keys in .env or input manually via /setup:
OPENAI_API_KEY=sk-...
GEMINI_API_KEY=...
CLAUDE_API_KEY=...python ai_terminal_pal.py/setup # Launch the setup wizard
/ask What is LangChain? # Ask a quick AI query
/scan # Analyze current project
/theme forest # Apply the 'forest' theme
/attach app.py # Attach file for AI contextUse
/helpor/navto explore all commands.
This app is multi-AI out of the box. You can pick your preferred model during /setup.
| Provider | Example Models | Max Context | Speed |
|---|---|---|---|
| OpenAI | gpt-4o, gpt-4-turbo |
Up to 128k | 🔥 Fast |
| Claude | opus, sonnet, haiku |
Up to 200k | 🚀 Blazing |
| Gemini | 1.5-pro, flash, pro |
Up to 2M | ⚡ Snappy |
| Groq | llama3, mixtral, gemma |
~32k | ⚡ Ultra-fast |
| Mistral | codestral, mistral-large |
~32k | 💡 Smart |
| Ollama | any model you initialize |
~32k + | 🏠 Local |
Customize the terminal look with:
- 💼
Professional - 🌊
Ocean - 🌿
Forest - ⚫
Minimal
Change themes using:
/theme forest🧠 Provider: GPT-4o
⏱️ Time Taken: 1.45s
🔢 Tokens Used: 1,152
💰 Estimated Cost: $0.0042
📁 Files Contextualized: utils.py, routes.py| Category | Commands |
|---|---|
| Setup | /setup, /provider, /theme, /config |
| AI Interaction | /ask, /chat, /generate, /explain, /improve |
| Project Tools | /scan, /tree, /metrics, /analyze, /deps |
| File Ops | /attach, /read, /write, /edit, /backup, /compare |
| Dev Utilities | /lint, /test, /debug, /docs, /format |
| Export/Logs | /pdf, /export, /report, /history, /logs |
| System | /status, /monitor, /clear, /exit, /update |
- API keys stored locally in your config directory or .env
- No telemetry, no tracking — fully offline except for API calls
- Full transparency in logging and history
- Optional backup/restore for peace of mind
/ask Give me a FastAPI boilerplate
/ask @views.py — optimize this
/ask Explain difference between multiprocessing and multithreadingThis project is licensed under the Apache 2.0 License.