Introduction
NovAI Agent is an open-source AI coding assistant built on the NovAI API, helping developers automate code review, refactoring, and test generation.
Core Features
- 🤖 Interactive AI Chat - Smart answers to programming questions
- 🔍 Automated Code Review - Detect security vulnerabilities, performance issues, and code style problems
- 🔄 Intelligent Code Refactoring - Automatically optimize code based on goals
- 🧪 Automated Test Generation - Generate unit tests with edge case coverage
- 💰 Extremely Low Cost - Using NovAI API at 1/10th the price of OpenAI
- 🌐 Global Access - Stable access from anywhere
Quick Start
# Install
pip install novai-agent
# Configure API key
novai-agent config --api-key your-api-key
# Code review
novai-agent review app.py
# Code refactoring
novai-agent refactor legacy.py --goal "reduce complexity"
# Generate tests
novai-agent test utils.py --framework pytest
Cost Comparison
| Service | Input Price | Output Price |
|---|---|---|
| OpenAI | $0.15/1M tokens | $0.60/1M tokens |
| NovAI | ~$0.55/1M tokens | ~$1.65/1M tokens |
Actual cost is approximately 1/10th of OpenAI
Comparison with Competitors
| Product | Type | Price | Open Source |
|---|---|---|---|
| GitHub Copilot | IDE Plugin | $10/month | ❌ |
| Cursor | AI Editor | $20/month | ❌ |
| Tongyi Lingma | IDE Plugin | Free | ❌ |
| NovAI Agent | CLI Tool | Pay-per-use | ✅ |
Use Cases
- Automated code review
- Legacy code refactoring
- Test case generation
- CI/CD integration
- Batch code analysis
Tech Stack
- Python 3.8+
- OpenAI-compatible API
- tiktoken tokenization
- CLI interface
Links
- GitHub: https://github.com/novai-agent/novai-agent
- Docs: https://github.com/novai-agent/novai-agent/blob/main/README.md
Star ⭐ and contributions welcome!
Top comments (0)