Zero: The AI Coding Agent for Your Local Terminal
This repository profile is provided by osrepos.com, an open source repository discovery platform.

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
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 execcommand 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
- GitHub Repository: https://github.com/Gitlawb/zero
- Installation Documentation: docs/INSTALL.md
- Stream-JSON Protocol: docs/STREAM_JSON_PROTOCOL.md
Related repositories
Similar repositories that may be relevant next.

Griptape: Modular Python Framework for AI Agents and Workflows
July 5, 2026
Griptape is a modular Python framework designed to simplify the development of generative AI applications. It provides a flexible set of abstractions for working with Large Language Models (LLMs), Retrieval-Augmented Generation (RAG), and various other AI components. With its structured approach, Griptape enables developers to build sophisticated AI agents and workflows efficiently.

Memoripy: An AI Memory Layer for Context-Aware Applications
July 5, 2026
Memoripy is a Python library designed to provide an AI memory layer for context-aware applications. It offers both short-term and long-term storage, semantic clustering, and optional memory decay. This robust tool helps AI systems manage and retrieve relevant information efficiently, supporting various LLM APIs like OpenAI and Ollama.

torchchat: Run PyTorch LLMs Locally on Servers, Desktop, and Mobile
July 3, 2026
torchchat is a PyTorch-native codebase designed to showcase the ability to run large language models (LLMs) seamlessly across various platforms. It enables local execution of LLMs using Python, within C/C++ applications on desktop or servers, and directly on iOS and Android devices. Although no longer under active development, it remains a valuable resource for understanding and implementing local LLM deployment strategies.

Docling: Streamline Document Processing for Generative AI Applications
July 3, 2026
Docling is a powerful Python library designed to simplify document processing, preparing diverse formats for generative AI applications. It offers advanced parsing capabilities, including sophisticated PDF understanding, and provides a unified document representation. With seamless integrations into the AI ecosystem, Docling empowers developers to build robust AI solutions.
Source repository
Open the original repository on GitHub.