Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ailocal

CLI tool for coding with local ollama models. No function-calling, no tool injection — just raw code generation and file creation.

Install

git clone https://github.com/Albarracin-sg/ailocal
cd ailocal
# add to path: PYTHONPATH=./src:$PYTHONPATH
alias ailocal='PYTHONPATH=/path/to/ailocal/src:$PYTHONPATH python3 -m ailocal'

Usage

# interactive mode
ailocal

# one-shot
ailocal "create a Flask REST API..."

# pipe
echo "fix this bug" | ailocal

# options
ailocal --model qwen2.5-coder:1.5b
ailocal --dir ./myproject
ailocal -l              # list models

Requires

  • Python 3.10+
  • Ollama running (docker or local)
  • A model pulled (e.g. qwen2.5-coder:3b-nt)

About

Minimalist & powerful CLI for local AI programming. Seamlessly interact with Ollama models for code generation, one-shot prompts, and Unix pipes. No fluff, no tool injection—just pure local sovereignty.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages