v0.5.2 — now with a VS Code & Cursor extension Get it →

Local-first coding agent

A coding agent for the models you run.

DGC lives in your terminal, pointed at your own local model — it reads, edits, runs and verifies your code, with permission modes you control.

$curl -fsSL https://vibedgc.com/install.sh | bash

MIT  ·  Pure Python  ·  15+ providers  ·  CLI + VS Code

dgc — ~/project

Why DGC

A real harness, not a chat wrapper.

Tools, four permission modes, plan mode, memory, web search — everything a serious coding agent needs, running against whatever model you point it at.

Local-first

Your model, your machine

Ollama, llama.cpp, LM Studio, vLLM — or any OpenAI-compatible cloud endpoint. Code stays local unless you pick a cloud model.

Agentic

Reads, edits, runs, verifies

Streams every tool call, diff and result. Permission modes decide how much rope it gets — ask, auto-edit, plan-first, or full-auto.

In your editor

Terminal or IDE

A pure-Python CLI, and a native VS Code & Cursor extension — same agent, same local models, a docked panel with inline diffs.

More than one loop

Sub-agents & hooks

Spawn sub-agents with task — each can run a different model or host. Plus background shells, MCP servers, checkpoints & rewind, and lifecycle hooks.

The toolbox

read_filewrite_fileedit_filebashbash_outputbash_killglobgrepweb_fetchweb_searchtasktodoskillsave_memorypresent_plan

Also in the box: vision / image input, model fallback, custom slash-commands, bundled default skills, and MCP servers.

Connect anything

One command to point it at any model.

dgc setup walks you through these with arrow-key menus — local endpoints need no key; cloud ones prompt and store it safely.

ollamallama.cppLM StudiovLLM OpenAIOpenRouterGroqDeepSeekTogetherMistral

local — no API key, runs on your machine

You decide the rope

Four permission modes.

Switch live with /mode. Fine-grained allow / ask / deny rules layer on top, evaluated deny → ask → allow.

ModeBehavior
defaultreads & known-safe commands auto-run; writes and other commands ask first
acceptEditsfile edits auto-approved; shell commands still ask
planread-only — research and propose a plan you approve
autofull-auto — everything approved; deny-rules still apply
VS Code · Cursor

DGC in your editor.

A docked panel with the controls in the prompt box, streaming tool cards, inline diffs, session resume and a live settings page — driven by the same local models. Installs alongside the CLI.

Install the extension