Show HN: Cloi – free local debugging agent in your terminal

8 mingyk 1 5/7/2025, 5:25:42 PM github.com ↗
Hey everyone! For the past two weeks my friend and I have been heads-down building Cloi, a fully local debugging agent that runs right in your terminal. You probably know the drill—every AI coding tool asks for API keys, subscriptions, and uploads your entire codebase to the cloud. Cloi does none of that: it runs entirely on your machine, with no cloud, no API keys, no subscriptions, and zero data leaving your system.

What Cloi does:

- Contextual error capture: Grabs your stack trace, local files, and environment to understand the issue.

- Local LLM inference: Spins up Ollama on your box and generates targeted fixes—no external servers.

- Safe patch application: Presents you with diffs and only applies changes when you explicitly approve.

- Model‐agnostic: Ships with Phi-4 out of the box (surprisingly capable for its size!), but you can swap in any Ollama model you’ve installed.

Why we built it:

- Maintain full control over your code and data—ideal for security-sensitive projects

- Avoid recurring subscription fees and cloud vendor lock-in

- Keep your development flow entirely offline when you need it

Highlights: We hit 202 stars in just 5 days, which tells us we're not the only ones who wanted this! Cloi is plug-and-play (just install and run), and we designed it to be completely unopinionated, meaning you can you whatever Ollama model you want.

Get it now: npm install -g @cloi-ai/cloi

If you find Cloi useful, we’d really appreciate a star on GitHub. Try it out, let us know what you think, and happy debugging!

— Gabriel Cha & Mingyou Kim

Comments (1)

mingyk · 18h ago
Browse the code or file issues on GitHub: https://github.com/cloi-ai/cloi