Skip to content

AI Terminal Pal πŸ’»: Supreme multi-AI terminal assistant for developers. Supports OpenAI, Claude, Gemini, Groq & Mistral with intelligent project analysis, code generation, and elegant blue UI. Features advanced navigation, context-aware responses, auto-save sessions, and professional PDF export

License

Notifications You must be signed in to change notification settings

Sanjit-123/Terminal-pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 AI Terminal Pal v2.0 – Supreme Developer Edition

"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, and more.
πŸ’‘ Designed & crafted with precision by Vishnupriyan P R

Built on - Python Maintained - yes Terminal App License-MIT


πŸš€ Overview :

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.


πŸ› οΈ Features at a Glance

  • πŸ€– Multi-AI Support: GPT-4o, Claude 3, Gemini 1.5, Mistral, Groq Llama3, and more
  • 🧠 Contextual Intelligence: File-aware responses using @filename.py or 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

πŸ“ Folder Structure

ai-terminal-pal-/πŸ“‚
β”œβ”€β”€ ai_chat_assistant.py    # Main app
β”œβ”€β”€ .env                    # API keys (optional, or added during /setup)
β”œβ”€β”€ README.md               # You're reading this
β”œβ”€β”€ requirements.txt        # All dependencies

πŸ”§ Installation

git clone https://github.com/vishnupriyanpr183207/Terminal-Pal
cd Terminal-Pal
pip install -r requirements.txt

Set your API keys in .env or input manually via /setup:

OPENAI_API_KEY=sk-...
GEMINI_API_KEY=...
CLAUDE_API_KEY=...

πŸ’¬ Usage

python ai_chat_assistant.py

Command Examples:

/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 context

Use /help or /nav to explore all commands.


🧠 Supported Providers

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

🎨 Theming System

Customize the terminal look with:

  • πŸ’Ό Professional
  • 🌊 Ocean
  • 🌿 Forest
  • ⚫ Minimal

Change themes using:

/theme forest

πŸ“Š Sample Session Stats

🧠 Provider: GPT-4o
⏱️ Time Taken: 1.45s
πŸ”’ Tokens Used: 1,152
πŸ’° Estimated Cost: $0.0042
πŸ“ Files Contextualized: utils.py, routes.py

🧭 Command Categories

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

πŸ”’ Privacy & Security

  • 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

πŸ” Sample Interactions

/ask Give me a FastAPI boilerplate
/ask @views.py β€” optimize this
/ask Explain difference between multiprocessing and multithreading

πŸ“œ License

This project is licensed under the MIT License.


πŸ™Œ Credits

Created by :-

Vishnupriyan P R.
Vivek K K.
Akshaya K.
Sanjit M.

Crafted using Python's finest: Rich, Pyperclip, Pillow, tiktoken, ReportLab, and others.

β€œTools should disappear into the background and let you build.”
β€” MeshMinds, caffeinated coder β˜•

About

AI Terminal Pal πŸ’»: Supreme multi-AI terminal assistant for developers. Supports OpenAI, Claude, Gemini, Groq & Mistral with intelligent project analysis, code generation, and elegant blue UI. Features advanced navigation, context-aware responses, auto-save sessions, and professional PDF export

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages