Gitlawb/zero

The coding agent that answers to you, your model, your machine, your rules.

What it solves

Zero is a terminal-based AI coding agent that allows developers to automate repository inspection, file editing, and command execution directly from the command line. It addresses the need for a coding agent that is model-agnostic, privacy-focused (keeping context local), and provides granular control over the agent's permissions to prevent unauthorized system changes.

How it works

Zero operates as a CLI tool with both an interactive Terminal User Interface (TUI) and a headless exec mode for scripting. It connects to a wide variety of AI providers (including OpenAI, Anthropic, Gemini, and local models via Ollama or LM Studio) and uses a sandbox policy to gate file writes, shell commands, and network access. The agent can be extended via MCP servers, custom plugins, and markdown-based "skills" or project-specific instructions in AGENTS.md files.

Who it’s for

It is designed for developers who want an AI coding assistant integrated into their terminal, those who prefer to choose their own LLM provider, and users who prioritize local session storage and explicit permission management for AI-driven code changes.

Highlights

  • Model Agnostic: Supports over 25 providers, including major cloud APIs and local LLMs.
  • Coded Safety: Implements a permission and sandbox policy for file writes and shell commands.
  • Flexible Interface: Offers a full TUI with live plan rendering and a scriptable headless mode for CI/CD.
  • Local Context: Sessions are stored locally on disk and are not uploaded as telemetry.
  • Extensible: Supports Model Context Protocol (MCP) servers, plugins, and lifecycle hooks.