Run Autonomous Coding Agents 100% Offline with Ollama & Local LLMs
You do not need paid cloud API keys to run autonomous coding agents. Smoke Monkey Harness provides native, first-class support for Ollama, allowing you to run high-performance open-weight models (like Qwen 2.5 Coder, Qwen 3, or Llama 3.3) 100% locally on your machine.
Run Autonomous Coding Agents 100% Offline with Ollama & Local LLMs: You do not need paid cloud API keys to run autonomous coding agents. Smoke Monkey Harness provides native, first-class support for Ollama, allowing you to run high-performance open-weight models (like Qwen 2.5 Coder, Qwen 3, or Llama 3.3) 100% locally on your machine. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Zero Cloud Dependencies: 100% private, air-gapped execution with zero data leaving your machine.
- Zero Cost Per Run: Iterate, experiment, and refactor code without worrying about token budgets or API bills.
- Native Tool Calling: Works seamlessly with Ollama’s structured tool-calling format.
- One Line Configuration: Set `provider: "ollama"` and `model: "qwen3:8b"` to get started.
import { createAgent } from 'smoke-monkey-harness';// Run 100% locally with zero internet accessconst agent = createAgent({provider: 'ollama',model: 'qwen3:8b', // or 'qwen2.5-coder:14b'workspacePath: process.cwd(),autoApprove: true,});const result = await agent.run('Write unit tests for utils.ts and ensure they pass');console.log('Finished status:', result.status);
Prerequisites for Running Locally
- Install Ollama from ollama.ai.
- Pull a recommended coding model:
ollama pull qwen2.5-coder:7b
# or
ollama pull qwen3:8b- Start Ollama and run Smoke Monkey Harness.
Frequently Asked Questions
Q:Which local model works best with Smoke Monkey tools?
We recommend `qwen2.5-coder:7b` or `qwen2.5-coder:14b`, as they have exceptional adherence to structured tool calling and AST code diffing.
Related Alternatives & Comparisons
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.