Skip to main content

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-cli

Quick Start

1. Configure your AI provider

Edit ~/.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-here

Get a free key at: https://openrouter.ai/

OpenAI:

ai_provider: openai
openai_api_key: your-key-here

Anthropic:

ai_provider: anthropic
anthropic_api_key: your-key-here

Ollama (local, no API key needed):

ai_provider: ollama
ollama_base_url: http://localhost:11434  # or your remote host
default_model: llama3

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

Get Pro: https://3697225130452.gumroad.com/l/apqzbp

Activate Pro license:

devtools-ai activate YOUR-LICENSE-KEY

Configuration

Config 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: 30

License

MIT - See LICENSE file for details.

Metadata

Release files for devtools-ai-cli 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for devtools-ai-cli 0.2.1
File Size Uploaded Provenance Actions
devtools_ai_cli-0.2.1.tar.gz 19.5 kB Without provenance Details for devtools_ai_cli-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for devtools-ai-cli 0.2.1
File Interpreter ABI Platform Actions
devtools_ai_cli-0.2.1-py3-none-any.whl Python 3 none any Details for devtools_ai_cli-0.2.1-py3-none-any.whl

Total release size: 39.0 kB

Release files / devtools_ai_cli-0.2.1.tar.gz

Download URL devtools_ai_cli-0.2.1.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6244ebbcf15c7238cea3921656caeade66aed8c61dcad1f7a48825f0f408cb
BLAKE2b-256 checksum
How to use checksums
1a122e2916909d2ac8f6be08e744c10718a813d627298ff85fd6abe604c47707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / devtools_ai_cli-0.2.1-py3-none-any.whl

Download URL devtools_ai_cli-0.2.1-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2f00a7dadcff5e46c065a79fa4d1431253db754ce3faeb496595fc31c9dc8fc
BLAKE2b-256 checksum
How to use checksums
0930c9bb0da479914222160cc2ca59b29122a109af02faf33a228acaafff3485
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for devtools-ai-cli 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page