AI-powered CLI tools for developers. Save hours on commits, code reviews, documentation, and debugging.
- Commit Message Generator - Semantic commits from your diffs
- Code Reviewer - Security, performance, and best practice checks (Pro)
- Code Explainer - Understand complex code instantly
- Documentation Generator - Auto-generate docstrings and docs
- Bug Analyzer - Root cause analysis from error logs (Pro)
pip install devtools-ai-cliEdit ~/.devtools-ai/config.yaml and add your API key. Supported providers:
OpenRouter (default, access to many models):
ai_provider: openrouter
openrouter_api_key: your-key-hereGet a free key at: https://openrouter.ai/
OpenAI:
ai_provider: openai
openai_api_key: your-key-hereAnthropic:
ai_provider: anthropic
anthropic_api_key: your-key-hereOllama (local, no API key needed):
ai_provider: ollama
ollama_base_url: http://localhost:11434 # or your remote host
default_model: llama3# Stage your changes
git add .
# Generate commit message
devtools-ai commit
# Auto-commit with generated message
devtools-ai commit -ydevtools-ai explain path/to/complex_file.pydevtools-ai doc path/to/file.py --doc-format google# Review staged changes
devtools-ai review
# Review specific files
devtools-ai review src/app.py src/utils.pydevtools-ai bug error.log --context src/app.py| Feature | Free | Pro |
|---|---|---|
| Commit message generator | ✓ | ✓ |
| Code explainer | ✓ | ✓ |
| Documentation generator | ✓ | ✓ |
| Code reviewer | - | ✓ |
| Bug analyzer | - | ✓ |
| Price | $0 | $29 one-time |
Get Pro: https://3697225130452.gumroad.com/l/apqzbp
Activate Pro license:
devtools-ai activate YOUR-LICENSE-KEYConfig file: ~/.devtools-ai/config.yaml
ai_provider: openrouter # openrouter | openai | anthropic | ollama
openrouter_api_key: your-key-here
openai_api_key:
anthropic_api_key:
ollama_base_url: http://localhost:11434
default_model: openai/gpt-3.5-turbo
tier: free
auto_cache: true
cache_ttl_days: 30MIT - See LICENSE file for details.