Back to articles
I built an open-source project OpenHarness🪼

I built an open-source project OpenHarness🪼

via Dev.to WebdevZhijie Wong

I built OpenHarness — an open-source terminal coding agent with 17 tools and 16 slash commands. It works with Ollama (free, local), OpenAI, Anthropic, OpenRouter, Deepseek, Qwen or any OpenAI-compatible API. The problem Code agent is amazing but locked to cloud models. I wanted the same experience with my local Ollama models free, private, no API key needed. What I built 17 tools: file read/edit/write, bash, grep, glob, web search, task management, jupyter notebooks, sub-agents 16 slash commands: /diff /undo /commit /cost /compact /plan /review Git-safe: every AI edit auto-committed, /undo reverts instantly Headless mode: oh run "fix tests" --json for CI/CD Permission gates: ask/trust/deny — approve before the agent acts React+Ink terminal UI with markdown rendering Install bash npm install -g @zhijiewang/openharness oh --model ollama/llama3 oh --model ollama/qwen2.5:7b ## **Tech stack** TypeScript, React+Ink, Zod for tool schemas, async generators for streaming. Everyone is welcome to

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles