Zero: The AI Coding Agent for Your Local Terminal

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Zero: The AI Coding Agent for Your Local Terminal

Summary

Zero is an innovative AI coding agent designed for your local terminal, offering powerful capabilities to inspect repositories, edit files, run commands, and utilize browser/terminal helpers. It provides durable local sessions while giving users full control over the AI model and permission levels. This tool empowers developers with a customizable and secure AI assistant directly within their development environment.

Repository Information

Analyzed by OSRepos on July 6, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Zero is a sophisticated AI coding agent built for your local terminal, putting you in command of your development workflow. It allows you to inspect codebases, modify files, execute commands, and leverage browser/terminal utilities, all while maintaining persistent local sessions. With Zero, you choose your preferred AI model and define the permission levels, ensuring a secure and tailored experience. It's designed to be a powerful, extensible, and privacy-focused assistant for developers.

Installation

Getting started with Zero is straightforward. Here are the most common installation methods:

npm

The npm package provides a convenient wrapper that installs the appropriate Zero binary for your platform (Linux, macOS, Windows on x64 and arm64).

npm install -g @gitlawb/zero
zero

Install Scripts

For Linux/macOS, you can use a simple curl command:

curl -fsSL https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.sh | bash

Windows users can install via PowerShell:

irm https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.ps1 | iex

From Source

If you prefer to build from source, Go 1.25+ is required:

git clone https://github.com/Gitlawb/zero.git
cd zero
go run ./cmd/zero

For more detailed installation instructions, refer to the official documentation.

Examples

Zero offers both an interactive TUI (Terminal User Interface) and a headless exec mode for scripting.

Interactive TUI

Simply run zero to start the TUI. A setup wizard will guide you through selecting a provider and model.

zero

Common slash commands within the TUI include:

  • /model, /provider: Switch the active model or provider.
  • /spec, /plan: Draft and review a plan before building.
  • /image: Attach an image for vision-capable models.
  • /resume, /rewind: Continue or roll back local sessions.

Headless exec

For one-shot commands or scripting, use zero exec:

zero exec "explain internal/agent/loop.go"
zero exec --model claude-sonnet-4.5 "refactor the config loader"
zero exec --use-spec "add rate limiting to the API client"

Zero also supports stream-JSON for programmatic input/output, making it suitable for CI/CD pipelines.

Why Use Zero

Zero stands out for several compelling reasons:

  • Model Flexibility: Use your preferred AI model, including OpenAI, Anthropic, Gemini, Groq, OpenRouter, DeepSeek, Mistral, xAI, Qwen, Kimi, GitHub Models, Ollama, LM Studio, or any OpenAI/Anthropic-compatible endpoint.
  • Full Control: Maintain complete control over file writes, shell commands, network access, and out-of-workspace writes through Zero's robust permission and sandbox policy.
  • Terminal-Native Experience: The TUI provides a rich interactive experience with model/provider pickers, image input, slash commands, live plan/tool rendering, scrollback, themes, and session management.
  • Scriptability: The zero exec command is highly scriptable, supporting text/JSON/stream-JSON I/O, isolated worktrees, spec-first runs, and meaningful exit codes for CI environments.
  • Local Context: All sessions are stored locally on disk, are searchable, resumable, and never uploaded as telemetry, ensuring your privacy.
  • Extensibility: Extend Zero's capabilities with MCP servers, skills, plugins, hooks, and specialist subagents, all accessible from the same CLI.

Links

Related repositories

Similar repositories that may be relevant next.

karpathy-llm-wiki: Build a Karpathy-Style LLM Knowledge Base

karpathy-llm-wiki: Build a Karpathy-Style LLM Knowledge Base

September 9, 2026

karpathy-llm-wiki is an Agent Skills-compatible tool that implements Karpathy's LLM Wiki idea, allowing users to build a durable knowledge base. It enables LLMs to maintain structured wiki pages by ingesting sources, compiling knowledge, and answering questions with citations. This project offers a robust alternative to traditional RAG for compounding knowledge over time.

llm-wikiknowledge-baseagent-skill
AgenticSchema: Empowering AI Agents with Structured Web Data

AgenticSchema: Empowering AI Agents with Structured Web Data

September 8, 2026

AgenticSchema is an innovative open-source library that transforms existing Schema.org markup, including JSON-LD, Microdata, and RDFa, into callable tools for AI agents. This library operates entirely client-side, requiring no backend infrastructure, and significantly enhances an agent's ability to interact with web content. By leveraging structured data already present on millions of websites, AgenticSchema bridges the gap between web content and AI agent capabilities.

aiai-agentsjson-ld
Context Engineering Kit: Enhance AI Agent Quality with Advanced Skills

Context Engineering Kit: Enhance AI Agent Quality with Advanced Skills

September 6, 2026

The Context Engineering Kit is a powerful collection of hand-crafted Claude Code Skills designed to significantly improve the quality and predictability of AI agent results. It offers advanced context engineering techniques with a minimal token footprint, ensuring efficiency and effectiveness across platforms like OpenCode, Cursor, and Gemini CLI. This kit provides granular control over plugins and includes an open-source alternative to CodeRabbit, enhancing development workflows.

agentaiclaude
opencode-worktree: Zero-Friction Git Worktrees for AI-Driven Development

opencode-worktree: Zero-Friction Git Worktrees for AI-Driven Development

September 6, 2026

opencode-worktree is an OpenCode plugin designed to streamline git worktree management. It automates the creation and deletion of isolated development environments, complete with terminal spawning and file synchronization. This tool is ideal for AI-driven workflows, offering a zero-friction experience for developers who prioritize automation and efficiency.

aiai-assistantgit

Source repository

Open the original repository on GitHub.

27 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️