AI-powered coding assistant optimized for local LLMs
Project description
PocketCoder
AI-powered coding assistant that works with any LLM — local or cloud.
Features
- Any LLM: Works with Ollama, OpenAI, Claude, or any OpenAI-compatible API
- Session Memory: Continues where you left off
- RepoMap: Understands your project structure
- Optimized for Local Models: Works great with 7B-14B parameter models
Quick Start
pip install pocketcoder
pocketcoder
On first run, a setup wizard will help you configure your LLM provider.
Supported Providers
| Provider | Models | Setup |
|---|---|---|
| Ollama | qwen2.5-coder, llama3, etc. | ollama serve |
| OpenAI | gpt-4o, gpt-4o-mini | OPENAI_API_KEY |
| Anthropic | claude-sonnet, claude-haiku | ANTHROPIC_API_KEY |
| Any OpenAI-compatible | vLLM, LM Studio, etc. | Custom base URL |
Commands
/help - Show help
/model - Change model
/files - List added files
/add - Add file to context
/drop - Remove file from context
/undo - Undo last change
/clear - Clear conversation
/quit - Exit
Configuration
Config is stored in ~/.pocketcoder/config.yaml:
provider:
type: ollama
base_url: http://localhost:11434
default_model: qwen2.5-coder:7b
thinking:
mode: smart
show_reasoning: true
Development
git clone https://github.com/Chashchin-Dmitry/pocketcoder.git
cd pocketcoder
pip install -e .
pytest
Support
If you find PocketCoder useful, consider supporting the project:
| Network | Address |
|---|---|
| ETH / USDT (ERC-20) | 0xdF5e04d590d44603FDAdDb9f311b9dF7E5dE797c |
| BTC | bc1q3q25vw4jm8v4xe2g6uezq35q2uyn5jt6e00mj9 |
| USDT (TRC-20) | TQj3X5nFQWqPEmRUWNFPjkaRUUFLxmCdok |
| SOL | 5s5uP66VmnLMSApjq8ro639tXvSp59XEwQittzxF64mF |
License
MIT
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
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 pocketcoder-1.0.0.tar.gz.
File metadata
- Download URL: pocketcoder-1.0.0.tar.gz
- Upload date:
- Size: 159.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de33067f71ec494b7a2b56e115dd180ce0a49679abf72a983dbdb25e3b37e196
|
|
| MD5 |
8dfa0e1569ef9903662141c7744723c6
|
|
| BLAKE2b-256 |
30ba1e33de351777eb65450ac8e0e4a68178064b849c23c336cb0d6dcaaecd07
|
File details
Details for the file pocketcoder-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pocketcoder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 180.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a6bc94eaccb506a519af2c8d5185a5eb422676efd7912e1152ce73401bb31e1
|
|
| MD5 |
d82b175e6221b0c1c0c2bafc3dd34bbb
|
|
| BLAKE2b-256 |
f5729f6b84811db0c7d055cefc73874ba148a4935710920fe1ba59547aeea679
|