Provides a cli interface to interact with any AI providers.
Provider | Status | Get an API key |
---|---|---|
✅ | Google AI Studio | |
OpenAI | ✅ | OpenAI |
Groq | ✅ | Groq |
Cohere | ✅ | Cohere |
Ai21 | ✅ | Ai21 |
NLP Cloud | ✅ | NLP Cloud |
Ollama | ✅ | Not Required, Just Install |
Claude | ❌ |
Command | Description |
---|---|
provider |
Select a provider |
model |
Select a model |
cli |
Always gives bash/powershell commands |
gr |
Checks for grammar mistakes, provides variants |
chat |
Chat with AI |
summary |
Summarize text |
commit |
Auto generate commit message & does the commit |
custom create |
Create a custom prompt with your own prompt |
custom list |
List custom prompts |
<any> |
Use previously created custom prompt |
ai chat 'What is the capital of France?'
ai chat How is the weather today? # No quotes needed
ai chat # Will ask for input
ai cli 'How to install python?'
ai cli --provider google # Ignores the default provider, and uses google
# Press double enter to exit and get the command to clipboard
ai custom create puppy 'You are a puppy, Only respond with barks'
ai puppy 'What is the capital of France?'
ai puppy -p google -m gemini-1.5-pro
git clone https://github.com/anwar3606/ai-helper
cd ai-helper
pip install .