Groq-powered AI coding assistant with streaming responses, cost tracking, and zero-configuration setup
Project description
TermiCode AI Coding Assistant
A blazing fast, private, local AI coding assistant running directly in your terminal, powered by Groq and Llama 3.3.
TermiCode is a terminal-based Micro-SaaS AI coding assistant built for speed and security. It reads your codebase, modifies files securely via surgical edits, and can even run terminal commands (with your permission). Because it leverages Groq's lightning-fast inference API, TermiCode feels instant.
Bring Your Own Key (BYOK): No monthly subscriptions. No bloated Electron apps.
✨ Features
- ⚡ Blazing Fast: Powered by Groq's LPU technology and Meta's Llama models.
- 🛡️ Secure File Operations: Built-in path traversal protection and a blocklist for sensitive files (like
.env). - 👀 Surgical Edits: Modifies existing files precisely without rewriting the whole document, saving tokens and preventing hallucinations.
- 🖥️ Beautiful Terminal UI: Powered by
richfor elegant panels, Markdown rendering, and live spinners. - 🧠 Long-Term Memory: Automatically summarizes past context to preserve memory without exceeding token limits.
- 🚦 Command Execution: Can run test suites, git commands, and shell scripts on your behalf (always asks for permission first).
🚀 Installation
Option 1: Install globally via pipx (Recommended)
pipx installs Python CLI applications into isolated environments so they don't break your system Python.
pipx install termicode-ai
Option 2: Install via pip
pip install termicode-ai
⚙️ Configuration
TermiCode requires a free Groq API key to operate.
- Get a free API key at console.groq.com/keys.
- Create a
.envfile in the directory where you plan to run TermiCode, and add:GROQ_API_KEY=your_api_key_here
(Alternatively, you can export GROQ_API_KEY as a system environment variable in your terminal).
💻 Usage
Navigate to any project directory in your terminal and simply type:
termicode
This starts the interactive AI shell.
Type /help to see available slash commands:
/map- Print the current project structure tree./clear- Clear the terminal screen./reset- Wipe the agent's short-term memory and start fresh./exit- Save session and exit.
Example Prompts:
- "Refactor my calculate_tax function in utils.py to handle edge cases."
- "Search the codebase for 'DATABASE_URL' and tell me where it's used."
- "Run the pytest suite and fix any failing tests."
🛠️ Developer Setup (Local Building)
If you want to contribute or build TermiCode locally from the source code:
-
Clone the repository
git clone https://github.com/yourusername/termicode.git cd termicode
-
Create a virtual environment
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install in editable mode with dev dependencies
pip install -e .[dev]
-
Run the CLI locally
termicode
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termicode_ai-0.1.1.tar.gz.
File metadata
- Download URL: termicode_ai-0.1.1.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a554fffdc691a181bbb17dc763d2b88b88fc2a8b97957bad8a1d0f70862be7f
|
|
| MD5 |
38277ee0fde4d248753b56dc55f0b8df
|
|
| BLAKE2b-256 |
1ceeeffe0719997d52411f13387fd14e9bc49570c6a69d000bba2f9d19dc0d2c
|
File details
Details for the file termicode_ai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: termicode_ai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
463c64261af0447575712972191c066373422f4be26663880a65c2e67d92bcd0
|
|
| MD5 |
27f4a9ff228775c3fe696553b5e63cc5
|
|
| BLAKE2b-256 |
4e4814a0c81e1caa003bca140a4e7e619c3938fc2e80743407fced38749d2fc2
|