AIToday
Large Language ModelsHacker NewsPublished: Aug 16, 2026, 13:03 JST5 min read

Privibe: Local-First Coding Agent Forked From Mistral Vibe

Privibe: Local-First Coding Agent Forked From Mistral Vibe

Key takeaway

  • Privibe is a new open-source CLI coding agent forked from Mistral Vibe, designed to run entirely on local machines without sending data to external services.

  • It removes cloud features, telemetry, and account machinery, instead working with a local llama.cpp server and preserving conversation state and KV cache on disk.

  • The tool is relevant for developers who require complete data privacy and cannot use hosted AI services.

3 Key Points

  1. What happened

    Privibe is a new open-source fork of Mistral Vibe, a CLI coding agent, redesigned to run entirely on local machines using a llama.cpp server without sending any data to external services. The project removes cloud features, account machinery, telemetry, and the Mistral SDK requirement (now optional), while adding optimizations for local model inference and KV cache persistence.

  2. Why it matters

    Developers who need a coding agent but require complete data privacy and local-first operation now have a dedicated tool. The removal of cloud dependencies and telemetry means code and conversations stay on the user's machine, addressing concerns about data sent to hosted AI services. For teams or individuals restricted from cloud tools, this fills a gap.

  3. What to watch

    The project requires Python ≥ 3.12 and the uv package manager; configuration happens in ~/.privibe/config.toml. Backend adapters for Anthropic and Mistral remain in the code but are not actively tested in this fork. The fork is licensed under Apache-2.0 and available at https://github.com/alainnothere/privibe.git.

In Depth

Read the full story

Privibe is an open-source CLI coding agent created as a fork of Mistral Vibe, built around the principle that development tools should not phone home. The creator's intent is clearly stated: "I want to be able to use it and know it will not be sending data of any kind anywhere." To achieve this, the project removes the cloud and account machinery entirely, strips out telemetry, tracing, update notifiers, plan offers, data-retention systems, and remote authentication. The Mistral SDK, previously a hard requirement, is now an optional extra installable via `uv sync --extra mistral`.

The tool is architected to work with a local llama.cpp server, which it communicates with via an OpenAI-compatible API. This design choice enables developers to run language models on their own machines. The backend adapters for Anthropic and Mistral that remain in the code are inherited from upstream Mistral Vibe but are not actively tested in this fork; the creator explicitly cautions users to treat them as unverified.

Privibe includes several optimizations tailored to local inference. Conversation state is stored in a ConversationList structure that keeps the prefix immutable, preserving the server's prompt and KV cache validity across turns. When a session is resumed using the `--resume` flag, the KV cache is restored from disk by reloading the original system prompt rather than regenerating it, which would invalidate the cache. The tool includes context-size auto-detection with a `/detect-context-size` toggle and an opt-in model warmup. A companion llama-server build enables per-message reasoning effort control via `/effort` commands (off/low/medium/xhigh) without invalidating the KV cache, though stock servers silently ignore these stamps.

For code editing, Privibe expands the toolkit inherited from Mistral Vibe with hashed-line file tools split into explicit single-line, block, and delete operations, plus a `find_symbol` tool. A per-agent file undo stack with a `restore_file` tool serializes writes. The tool is tuned for smaller local models with best-effort indent correction on edits, hashed line addresses re-pointed when earlier edits shift them, and naive reads of huge files that return a head preview plus guidance instead of flooding context. Cross-dialect path translation handles Windows, WSL, Git Bash, and Cygwin via a [paths] config section. File completion is backed by stateless git enumeration.

The user interface includes a console mode (`--console`) that runs the agent as a plain-text REPL without colors or TUI. A rewind feature (Alt+Up) lets users browse previous messages and fork conversations from any point, with optional file restoration gated behind a typed confirmation code. Messages can be queued mid-turn instead of cancelling the agent, and a double-press of Ctrl+C is required to exit. The `/resume` session picker shows folder context and a short preview of each session with search, filtering, and ranking. File edits display a diff in the TUI, and the context footer shows model name and tokens per second. Configurable toggles include `/preview-lines`, `/scrollback`, and `/llm-debug`.

Installation requires Python ≥ 3.12 and uv. On first run, Privibe writes a config to ~/.privibe/config.toml (relocatable via PRIVIBE_HOME environment variable), where users point model entries at their local llama.cpp instance. The project includes a bundled sample skill called `lets-document`, which auto-discovers and surfaces load errors. Model selection skips entries with missing API-key environment variables and falls back to a valid model; config upgrades append commented stubs for new keys. The project uses datetime-based version stamping and provides .deb and Windows-zip build scripts. Privibe is licensed under Apache-2.0 as a fork of Mistral Vibe (© Mistral AI) and is available at https://github.com/alainnothere/privibe.git.

Context & Analysis

Privibe emerges as a response to growing privacy concerns around AI-assisted development. By forking Mistral Vibe and stripping out cloud connectivity, telemetry, and account requirements, the project offers developers a way to use a coding agent without trusting their code or conversations to external servers. The removal of the Mistral SDK as a hard dependency signals a deliberate de-coupling from proprietary infrastructure.

The focus on llama.cpp compatibility is significant because llama.cpp is a widely-used open-source inference engine that allows developers to run large language models locally on commodity hardware. The optimization for KV cache preservation — a mechanism that stores intermediate computation results to avoid redundant processing — suggests the creator has invested in making the local experience responsive and efficient, addressing a practical pain point where local-first tools sometimes lag behind cloud services in performance.

The fork inherits backend adapters for Anthropic and Mistral from upstream, but the creator explicitly notes these are not actively tested, which is a transparency signal: users can technically point Privibe at those services if they choose, but the fork's design and support are laser-focused on the local-first use case.

FAQ

What is Privibe and how does it differ from Mistral Vibe?
Privibe is a fork of Mistral Vibe reworked to not make any calls back home and to run against local models first. It removes all cloud and account features, telemetry, tracing, update notifiers, and the Mistral SDK requirement (now optional), while keeping the core coding agent functionality optimized for local llama.cpp servers.
What are the system requirements to run Privibe?
Privibe requires Python ≥ 3.12 and uv. It is designed to work with a local llama.cpp server via its OpenAI-compatible API, and can be run on Linux, macOS, and Windows (including Git Bash and PowerShell).
How does Privibe handle conversation state and caching?
Conversation state is held in a structure that keeps the prefix immutable so the server's prompt and KV cache stay valid across turns. KV cache is preserved on resume by restoring the original system prompt instead of regenerating it, avoiding cache invalidation.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleOpen-weight AI models threaten pricing, but cloud giants stay profitable

The AI news that matters, in one minute each morning.

Sign up free