Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Interact with your favorite AI API directly from the terminal. Works seamlessly in both local terminals and remote SSH sessions.
Jump to setup instructionsFetched from the repository for this visit.
🖥️ AITerm-CLI - Terminal AI Chat for Old-School Hackers 💾
Remember when the best tools lived in the terminal? AITerm-CLI brings that magic back. A retro-styled terminal interface, powered by Python, that connects you with the most powerful AI models: OpenAI's GPT, Anthropic's Claude, DeepSeek, and any OpenAI-compatible API.
🕹️ For true command-line devotees - Those old-school developers who prefer vim over VS Code, think GUIs are for rookies, and know that real productivity happens where the cursor blinks. ⚡ No breaking your workflow. No annoying windows. Just you, your favorite terminal, and the power of AI one command away. Because real developers never leave the terminal. 🤖
Vintage computing vibes meets cutting-edge AI ✨
0.9.5 Stable Release
pip install aiterm-cli
aiterm-cli
Clone the repository
git clone https://github.com/fosilinx/AITerm-CLI.git
cd AITerm-CLI
Install dependencies
pip install openai
pip install wcwidth
Run AITerm-CLI
python AITerm-CLI.py
On first launch, AITerm-CLI will guide you through configuration:
Choose your AI provider
Enter your API key
AITerm-CLI_config.jsonSelect a model
Optional: Set system context
Recommended system context for optimal performance of all features "You are an intelligent and helpful assistant. Respond concisely and accurately.\nAlways Always use markdown format for responses, avoid using ``` and the language name if it is code, and do not use emojis."
{
"api_url": "https://api.openai.com/v1",
"api_key": "your-api-key",
"model": "gpt-4",
"provider": "OpenAI",
"system_context": "You are an intelligent and helpful assistant. Respond concisely and accurately.\nAlways Always use markdown format for responses, avoid using ``` and the language name if it is code, and do not use emojis."
}
> Hello, can you help me debug this Python function?
| Command | Description |
|---|---|
/exit, quit, exit | Exit the application |
/clear | Clear screen and conversation history |
/history | View conversation history |
/raw | Show last unformatted response |
/context | View current system prompt |
/setcontext | Modify system prompt |
/resetcontext | Reset system prompt |
/config | View current configuration |
/reconfig | Reconfigure API settings |
/changeai | Change AI provider (resets configuration) |
/beep | Toggle notification beep |
/beepoff | Disable notification beep |
/testbeep | Test notification sound |
/testapi | Test API connection |
/colors | Toggle color output |
/tablestyle | Switch table border style (box/ascii) |
/models | List available models |
/debug | Toggle debug mode |
/retro | Toggle retro answer mode |
/help | Show all commands |
python AITerm-CLI.py -c "You are a senior Python developer focused on clean, efficient code."
python AITerm-CLI.py -cf system_prompt.txt
python AITerm-CLI.py --log
python AITerm-CLI.py --no-beep
python AITerm-CLI.py --retro
python AITerm-CLI.py --debug
AITerm-CLI stores configuration in AITerm-CLI_config.json:
{
"api_url": "https://api.openai.com/v1",
"api_key": "your-api-key",
"model": "gpt-4",
"provider": "OpenAI",
"system_context": "You are a helpful assistant."
}
When logging is enabled, conversations are saved to history_terminal_AI/session_YYYYMMDD_HHMMSS.txt with:
Place your custom beep sound at sounds/beep-02.wav to override the default system beep.
Switch between two beautiful table styles:
╔═╗║╚╝+-+||Use /tablestyle to toggle between styles.
AITerm-CLI automatically detects code content and preserves formatting for:
Triple backticks (```) in responses are properly handled by the markdown formatter.
Perfect for presentations or teaching - each response is isolated:
Easily switch between models to compare responses:
> /models # List available models
> /reconfig # Switch to different model
Perfect for different types of tasks:
> /setcontext # Change context for coding tasks
> /resetcontext # Set up for writing tasks
> /testapi # Verify connection
> /config # Check current settings
> /raw # See unprocessed responses
> /debug # Toggle detailed logging
pip install openai)For enhanced audio feedback:
winsoundaplay, paplay, or playafplayusage: AITerm-CLI.py [-h] [-c CONTEXT] [-cf CONTEXT_FILE] [-nb] [-lo] [-d] [-r]
AI Terminal - Chat with various AI providers
optional arguments:
-h, --help show this help message and exit
-c CONTEXT, --context CONTEXT
System context/prompt for the AI
-cf CONTEXT_FILE, --context-file CONTEXT_FILE
File containing system context
-nb, --no-beep Disable notification beep
-lo, --log Enable session logging
-d, --debug Enable debug output
-r, --retro Enable retro answer mode
We welcome contributions! Here are some ways you can help:
git checkout -b feature-nameThis project is licensed under the MIT License - see the LICENSE file for details.
If AITerm-CLI has been helpful in your development workflow, consider buying me a coffee:
Your support helps maintain and improve AITerm-CLI, add new AI provider integrations, and keep the project actively developed.
Made with ❤️ for old school computer users who live in the terminal
GitHub checked 255h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.