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!"
Metadata
Release files for ai-coding-assistant 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ai_coding_assistant-0.5.0.tar.gz | 129.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_coding_assistant-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 304.9 kB
Release files / ai_coding_assistant-0.5.0.tar.gz
| Download URL | ai_coding_assistant-0.5.0.tar.gz |
|---|---|
| Size | 129.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c696b98bf4c539b196d5eca00bed8a1111c7262a2bcbd01d42a0b715450eea55
|
|
BLAKE2b-256 checksum How to use checksums |
fc156a30b6cd725bac5ca66bd600e0e7b5528fde561ecf2334bc34ad674ad689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|
Release files / ai_coding_assistant-0.5.0-py3-none-any.whl
| Download URL | ai_coding_assistant-0.5.0-py3-none-any.whl |
|---|---|
| Size | 175.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbd2551dd97ad602bab6a62390b304f49c7bc0812be8f0d10c6f3d83a46aaf50
|
|
BLAKE2b-256 checksum How to use checksums |
ca379a97d26123cbdc8dfacc8662d73643edbb1821e76acb4c7f621e0c3da301
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|
Security for ai-coding-assistant 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.