Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devtools_ai_cli-0.1.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devtools_ai_cli-0.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file devtools_ai_cli-0.1.0.tar.gz.

File metadata

  • Download URL: devtools_ai_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for devtools_ai_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 920698fa710bd2a7a377e2b70a6da1480409a438e6b22360b6f96420dc335023
MD5 665586bb18e4eec6130f4cef7d194b4b
BLAKE2b-256 a53f0cf1508326698a982b5e110a321686aba3c46d767741404d3720af4c0cf4

See more details on using hashes here.

File details

Details for the file devtools_ai_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for devtools_ai_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4beb1e05aeea046cfe89ab3bf8df8bc91416431ec83fab752ae42c59c42dcf3f
MD5 9bea86ad6918491fcf5b1f90ac22071f
BLAKE2b-256 38d670fa6ea8660b0a3b9982f2515f90f38edc42b1364664ffbce3e40820b2f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page