AI-powered coding assistant with semantic search, intelligent refactoring, and interactive chat
Project description
AI Coding Assistant
A terminal-based AI coding assistant that helps you understand, navigate, and work with your codebase using natural language.
Features
- Natural Language Queries: Ask questions about your codebase in plain English
- Semantic Code Search: Find code by meaning, not just keywords
- Code Explanation: Get detailed explanations of files and functions
- Interactive Chat Mode: Explore your codebase conversationally
- Local-First: Works with Ollama (free, no API key required)
- Privacy-Focused: Everything runs locally with Ollama
- Multi-Language Support: Python, JavaScript, TypeScript, Java, Go, Rust, and more
Quick Start
Installation
pip install ai-coding-assistant
Setup (Ollama - Free & Local)
# Install Ollama
curl https://ollama.ai/install.sh | sh
# Pull a code model
ollama pull codellama
# Start Ollama service
ollama serve
Index Your Codebase
cd your-project
assistant index
Ask Questions
assistant ask "How does authentication work?"
assistant explain src/auth/login.py
assistant search "JWT token validation"
Interactive Mode
assistant chat
Why AI Coding Assistant?
No API Key Required
Works great with Ollama (free, local, open source). Optionally supports OpenAI and Claude APIs.
Privacy-First
With Ollama, everything runs locally on your machine. Your code never leaves your computer.
Fast & Efficient
- Hybrid search (vector + keyword)
- Smart caching
- Incremental indexing
- Only reprocess changed files
Commands
| Command | Purpose |
|---|---|
assistant ask |
Ask questions about your code |
assistant index |
Index your codebase |
assistant explain |
Explain specific code |
assistant search |
Search for code |
assistant chat |
Interactive mode |
assistant config |
Manage configuration |
See Command Reference for details.
Documentation
- Installation Guide - Complete setup instructions
- Quick Start Guide - Get started in 5 minutes
- Configuration Guide - Customize settings
- Command Reference - All commands
- Troubleshooting - Common issues
- FAQ - Frequently asked questions
System Requirements
Minimum
- Python 3.11+
- 2GB RAM
- 1GB disk space
Recommended
- Python 3.11+
- 8GB RAM (for Ollama)
- 5GB disk space
Supported Platforms
- Linux (Ubuntu, Debian, Fedora, etc.)
- macOS (10.15+)
- Windows (WSL2 recommended)
Development
Install from Source
git clone https://github.com/your-username/ai-coding-assistant.git
cd ai-coding-assistant
# Install with Poetry
poetry install
# Or with pip
pip install -e .
Run Tests
poetry run pytest
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
License
MIT License. See LICENSE for details.
Support
- GitHub Issues: https://github.com/your-username/ai-coding-assistant/issues
- Discussions: https://github.com/your-username/ai-coding-assistant/discussions
Start coding smarter with AI assistance!
pip install ai-coding-assistant
assistant index
assistant ask "Let's build something amazing!"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_coding_assistant-0.5.0.tar.gz.
File metadata
- Download URL: ai_coding_assistant-0.5.0.tar.gz
- Upload date:
- Size: 129.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c696b98bf4c539b196d5eca00bed8a1111c7262a2bcbd01d42a0b715450eea55
|
|
| MD5 |
7454d1a6fe1d0fdbbe0e3d3cc34e062d
|
|
| BLAKE2b-256 |
fc156a30b6cd725bac5ca66bd600e0e7b5528fde561ecf2334bc34ad674ad689
|
File details
Details for the file ai_coding_assistant-0.5.0-py3-none-any.whl.
File metadata
- Download URL: ai_coding_assistant-0.5.0-py3-none-any.whl
- Upload date:
- Size: 175.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbd2551dd97ad602bab6a62390b304f49c7bc0812be8f0d10c6f3d83a46aaf50
|
|
| MD5 |
41a34c644a04b9a57b0f61a7bc9d060f
|
|
| BLAKE2b-256 |
ca379a97d26123cbdc8dfacc8662d73643edbb1821e76acb4c7f621e0c3da301
|