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

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.2.1.tar.gz (19.5 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.2.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devtools_ai_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 19.5 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.2.1.tar.gz
Algorithm Hash digest
SHA256 fd6244ebbcf15c7238cea3921656caeade66aed8c61dcad1f7a48825f0f408cb
MD5 219c457c08fd6f8c424ebf11c17054e1
BLAKE2b-256 1a122e2916909d2ac8f6be08e744c10718a813d627298ff85fd6abe604c47707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for devtools_ai_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f00a7dadcff5e46c065a79fa4d1431253db754ce3faeb496595fc31c9dc8fc
MD5 62179bacaabad6e3479e164481ba534a
BLAKE2b-256 0930c9bb0da479914222160cc2ca59b29122a109af02faf33a228acaafff3485

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