A smart command-line assistant that generates shell commands using AI. Simply describe what you want to do, and helpme
will suggest the appropriate command.
- Supports multiple AI providers:
- Anthropic Claude (default)
- OpenAI ChatGPT
- Ollama (local AI models)
- Stream-based output for real-time responses
- Customizable system prompts
- Cross-platform support
go install dbut.dev/helpme@latest
The tool can be configured using environment variables:
HELPME_TOOL
: Choose the AI provider ("CLAUDE", "CHATGPT", or "OLLAMA")HELPME_SYSTEM_PROMPT
: Custom system prompt for the AIHELPME_DEBUG
: Enable debug mode (default: false)
export ANTHROPIC_API_TOKEN="your-api-key"
export OPENAI_TOKEN="your-api-key"
export OPENAI_MODEL="gpt-4" # Optional
export HELPME_MODEL="codegemma:instruct" # Optional, this is the default model
helpme <your command description>
# Find large files
helpme find files larger than 1GB in the current directory
# Process text
helpme count number of lines in all python files recursively
# System administration
helpme show me system memory usage in a human readable format
# Git operations
helpme undo my last git commit but keep the changes
- Clone the repository:
git clone https://github.com/dbut2/helpme.git
cd helpme
- Build the project:
go build
- (Optional) Install locally:
go install
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.