Ask AI anything, right from your terminal — powered by Groq
Project description
⚡ groq-ai-cli
Ask AI anything, right from your terminal — powered by Groq.
ai how do I find all files larger than 1GB?
ai explain what chmod 755 does
ai write a bash for loop that renames all .txt files to .md
Responses stream instantly with syntax-highlighted code blocks, colored bullets, and bold headings — all rendered natively in your terminal.
Install
pip install groq-ai-cli
Setup
On first run, you'll be prompted to enter your Groq API key and choose a model:
ai "hello"
Or run setup manually anytime:
ai --config
Get a free API key at console.groq.com.
Usage
ai <your question>
ai --config # change API key, model, or system prompt
ai --version # show version
ai --help # show help
Config
Settings are stored in ~/.config/groq-ai-cli/config.json. You can also set GROQ_API_KEY as an environment variable — it takes priority over the config file.
Available Models
| Model | Speed | Best for |
|---|---|---|
llama-3.3-70b-versatile |
Fast | General use (default) |
llama-3.1-8b-instant |
Fastest | Quick lookups |
mixtral-8x7b-32768 |
Fast | Long context |
License
MIT
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 groq_ai_cli-1.0.0.tar.gz.
File metadata
- Download URL: groq_ai_cli-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38aba533266ec3851e5cb5f7d105a15bb017750e086be97df159400ffcbc3c83
|
|
| MD5 |
0e05cb4e99577784f4a87f16bc5752d6
|
|
| BLAKE2b-256 |
7f2a297953883fc03bb6fe04418b1c3970906da1fafeab4842c0997dc1bab9f9
|
File details
Details for the file groq_ai_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: groq_ai_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebf7dacaab0519d363acccf715540f28c19a54e192f90cc2e2e583db71c638f2
|
|
| MD5 |
cea5e1e9807c097547ef22302be2cc0e
|
|
| BLAKE2b-256 |
ab803b197c69e093bdbcbfaae4a21ea5cb0a999fc576cfb3557ec1992040e0da
|