Skip to content

awanawana/ai-coding-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AI Coding Assistant 🤖

A powerful CLI tool that leverages AI to help developers write better code faster.

Features

  • 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

Installation

# 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"

Usage

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

Configuration

Create a config.yaml file:

api:
  provider: openai  # or anthropic
  model: gpt-4
  
review:
  auto_approve: false
  min_confidence: 0.8

Contributing

Contributions welcome! Please read the contributing guide.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages