Skip to main content

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.

Python Version License Version


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


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


Start coding smarter with AI assistance!

pip install ai-coding-assistant
assistant index
assistant ask "Let's build something amazing!"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_coding_assistant-0.5.0.tar.gz (129.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_coding_assistant-0.5.0-py3-none-any.whl (175.5 kB view details)

Uploaded Python 3

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

Hashes for ai_coding_assistant-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c696b98bf4c539b196d5eca00bed8a1111c7262a2bcbd01d42a0b715450eea55
MD5 7454d1a6fe1d0fdbbe0e3d3cc34e062d
BLAKE2b-256 fc156a30b6cd725bac5ca66bd600e0e7b5528fde561ecf2334bc34ad674ad689

See more details on using hashes here.

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

Hashes for ai_coding_assistant-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd2551dd97ad602bab6a62390b304f49c7bc0812be8f0d10c6f3d83a46aaf50
MD5 41a34c644a04b9a57b0f61a7bc9d060f
BLAKE2b-256 ca379a97d26123cbdc8dfacc8662d73643edbb1821e76acb4c7f621e0c3da301

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page