CLI tool for local, private AI-assisted debugging
Top 75.5% on sourcepulse
Cloi is a local, context-aware debugging agent designed for developers who prefer working in the terminal and prioritize data privacy. It analyzes errors and can automatically suggest and apply code fixes directly within your project, all while keeping your code and data entirely on your machine.
How It Works
Cloi operates as a command-line interface (CLI) tool that integrates with your shell (Zsh, Fish, Bash). It leverages locally installed Ollama models for its AI capabilities, allowing users to select from various models like Phi-4. The agent can analyze runtime errors by capturing terminal commands and their output, storing this information in a log file. For Zsh users, it offers automatic terminal logging via shell hooks, capturing all commands and their output for detailed error analysis without re-running commands.
Quick Start & Requirements
npm install -g @cloi-ai/cloi
cloi
when an error occurs. Logging setup requires explicit permission and a terminal restart.Highlighted Details
/model
command or --model
flag, supporting locally installed Ollama models.~/.cloi/terminal_output.log
.Maintenance & Community
CONTRIBUTING.md
.Licensing & Compatibility
Limitations & Caveats
The project is in beta preview and may contain bugs. Terminal logging is currently limited to Zsh users. The macOS-only support and GPL-3.0 license may present adoption challenges for some users or organizations.
2 months ago
Inactive