PratikHotchandani22/claude-ollama-agents

5 stars · Last commit 2026-04-05

Claude Code subagents that delegate code tasks to local Ollama models with streaming visibility

README preview

# Claude Code Ollama Agents

Custom [Claude Code](https://claude.com/claude-code) subagents that delegate code generation, review, testing, explanation, vision analysis, and audio transcription to **local Ollama models** — saving Claude tokens and keeping work on-device.

## Why

Claude Code is great for orchestration, but every line of code it writes costs tokens. These agents offload the actual generation to a local Ollama model (e.g. Qwen 3.5 35B) running on your machine. Claude plans and reviews; Ollama writes.

Unlike an MCP server, these agents stream output **visibly** in your terminal — you see every token as it's generated, along with speed and token counts.

## The Agents

| Agent | Purpose | Default Model |
|---|---|---|
| `ollama-coder` | Writes new code, fixes bugs, refactors | `qwen3.5:35b-a3b` |
| `ollama-reviewer` | Code review, security audits | `qwen3.5:35b-a3b` |
| `ollama-tester` | Generates unit/integration tests | `qwen2.5-coder:32b` |
| `ollama-explainer` | Explains code and architecture | `qwen3.5:35b-a3b` |
| `ollama-vision` | Analyzes images/screenshots/UI | `qwen2.5vl:7b` |
| `ollama-transcribe` | Transcribes audio to text | `whisper-large-v3-turbo` (via mlx-whisper) |

View full repository on GitHub →