AI-powered CLI tools for developers
Project description
DevTools-AI
AI-powered CLI tools for developers. Save hours on commits, code reviews, documentation, and debugging.
Features
- 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)
Installation
pip install devtools-ai
Quick Start
1. Configure API Key
Edit ~/.devtools-ai/config.yaml and add your OpenRouter API key:
api_key: your-openrouter-api-key-here
Get a free API key at: https://openrouter.ai/
2. Generate Commit Messages
# Stage your changes
git add .
# Generate commit message
devtools-ai commit
# Auto-commit with generated message
devtools-ai commit -y
3. Explain Code
devtools-ai explain path/to/complex_file.py
4. Generate Documentation
devtools-ai doc path/to/file.py --doc-format google
5. Review Code (Pro)
# Review staged changes
devtools-ai review
# Review specific files
devtools-ai review src/app.py src/utils.py
6. Analyze Bugs (Pro)
devtools-ai bug error.log --context src/app.py
Free vs Pro
| Feature | Free | Pro |
|---|---|---|
| Commit message generator | ✓ | ✓ |
| Code explainer | ✓ | ✓ |
| Documentation generator | ✓ | ✓ |
| Code reviewer | - | ✓ |
| Bug analyzer | - | ✓ |
| Price | $0 | $29 one-time |
Activate Pro license:
devtools-ai activate YOUR-LICENSE-KEY
Configuration
Config file: ~/.devtools-ai/config.yaml
ai_provider: openrouter
api_key: your-key-here
default_model: openai/gpt-3.5-turbo
tier: free
auto_cache: true
cache_ttl_days: 30
License
MIT - See 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 devtools_ai_cli-0.2.0.tar.gz.
File metadata
- Download URL: devtools_ai_cli-0.2.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15ae312390ef6ff5806463b522a70ba21e90c8c26e580c3a1a74028b775babbb
|
|
| MD5 |
8bdb5e95922dfe97a85c5fd6d1f87a9a
|
|
| BLAKE2b-256 |
19573df25715d32d8db3c27b9d4ef4ed845c792d8bb5623b618d46c009e73430
|
File details
Details for the file devtools_ai_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: devtools_ai_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14342d5709a50e04d899618b1ff53b32d22851d64eef94a33d9e9333337a9555
|
|
| MD5 |
f9150798f4e61251ac3b21474f683436
|
|
| BLAKE2b-256 |
28eed7753d9d0d85726b61a1d72c3590280446c0757287df4f002a55252123f2
|