A local AI coding assistant that works exactly like Claude Code CLI - reads your files, edits code, and generates complete files. 100% free, runs locally.
pip install -r requirements.txt
python app.pyOpen: http://localhost:5000
- Python 3.8+
- Ollama running locally
- At least one coding model pulled (recommended below)
Sign in first:
ollama signin
bash
# Primary - best for Agentic coding
ollama run qwen3-coder:480b-cloud
# All-purpose heavy reasoning
ollama run gpt-oss:120b-cloud
# Faster / lighter cloud option
ollama run gpt-oss:20b-cloud
# Complex long-horizon engineering tasks
ollama run deepseek-v3.1:671b-cloud- Upload any files (drag & drop, zip archives)
- Full file tree explorer
- Add files to AI context (double-click)
- Streaming chat responses
- AI generates complete files in
<file path="...">format - Click "Save" or "Open" on generated files
- Built-in code editor
- Multiple file tabs
- Auto syntax highlighting
- Start Ollama:
ollama serve - Pull a model:
ollama pull qwen3-coder:480b-cloud - Run app:
python app.py - Upload your project (zip or individual files)
- Double-click files to add to context
- Chat with the AI about your code
MAIN BRANCH (GITHUB)
repomix --remote "https://github.com/Amaan9136/ollama-code-agent" -o ollama-code-agent-repomix.md --style markdown --ignore "node_modules,.next,dist,build,.git,.turbo,coverage"FULL CODEBASE (LOCAL)
repomix "D:\0 AMAAN MAIN\My NextJS\OLLAMA-CODE-AGENT" -o ollama-code-agent-repomix.md --style markdown --ignore "node_modules,.next,dist,build,.git,.turbo,coverage"