A powerful CLI tool that leverages AI to help developers write better code faster.
- Code Generation - Generate code from natural language descriptions
- Code Review - Get AI-powered code reviews instantly
- Bug Detection - Identify potential bugs before they happen
- Code Explanation - Understand complex code with AI explanations
- Refactoring Suggestions - Get improvements for your code
# Clone the repository
git clone https://github.com/awanawana/ai-coding-assistant.git
cd ai-coding-assistant
# Install dependencies
pip install -r requirements.txt
# Set up your API key
export OPENAI_API_KEY="your-api-key"# Generate code
python -m ai_coding generate "Create a function to reverse a string"
# Review code
python -m ai_coding review path/to/file.py
# Explain code
python -m ai_coding explain path/to/file.py
# Find bugs
python -m ai_coding bug-check path/to/file.pyCreate a config.yaml file:
api:
provider: openai # or anthropic
model: gpt-4
review:
auto_approve: false
min_confidence: 0.8Contributions welcome! Please read the contributing guide.
MIT