Clive — a friendly CLI for local LLMs

작성자

카테고리:

← 피드로
DEV Community · Sedar Olmez · 2026-08-02 개발(SW)
Cover image for Clive — a friendly CLI for local LLMs

Sedar Olmez

Why I built Clive

For the last couple of weeks, as the cost of frontier models kept climbing, I started experimenting with open-source large language models.

What surprised me: for most of the tasks I’d normally hand to Claude or GPT, a local open-source model did the job just as well — and sometimes better.

The problem was the ergonomics. Ollama makes running local models genuinely easy, but I wanted a smoother terminal workflow — streaming chat that didn’t feel clunky, safe file editing, and the ability to run real multi-file agent tasks without leaving my shell.

So I built Clive 🦀 — a local-first coding-assistant CLI powered by Ollama.

What Clive does

Everything runs on your machine. No prompts, code, or files ever leave your computer.

  • 💬 Streaming chat and interactive multi-turn coding sessions
  • 🤖 Autonomous multi-file agent workflows (preview → apply, with rollback)
  • ✏️ Safe file editing with diffs and unified patches — you approve before anything is written
  • 📦 Ollama management built in: serve, pull, rm, model recommendations
  • ⚙️ Persistent config, shell completions, and machine-readable JSON output for automation

It’s written in Rust, MIT-licensed, and just hit its first release, v0.1.0.

Try it in under 5 minutes


bash
# Clone and install (from source for now)
git clone https://github.com/SedarOlmez94/clive.git
cd clive
cargo install --path .

# Start Ollama and pull a coding model
clive ollama serve --detach
clive ollama pull qwen2.5-coder:latest

# Chat!
clive chat "Explain Rust's ownership model in two sentences"

# Or run an autonomous agent over your files (preview first)
clive agent "Refactor error handling and add tests" \
  --files src/main.rs \
  --verify "cargo check -q"

Enter fullscreen mode Exit fullscreen mode

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다