{"name":"Zero: The AI Coding Agent for Your Local Terminal","description":"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.","github":"https://github.com/Gitlawb/zero","url":"https://osrepos.com/repo/gitlawb-zero","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/gitlawb-zero","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/gitlawb-zero.md","json":"https://osrepos.com/repo/gitlawb-zero.json","topics":["ai","ai-agent","cli","code-assistant","developer-tools","llm","Go","development"],"keywords":["ai","ai-agent","cli","code-assistant","developer-tools","llm","Go","development"],"stars":null,"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.","content":"## Introduction\n\nZero 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.\n\n## Installation\n\nGetting started with Zero is straightforward. Here are the most common installation methods:\n\n### npm\n\nThe npm package provides a convenient wrapper that installs the appropriate Zero binary for your platform (Linux, macOS, Windows on x64 and arm64).\n\nbash\nnpm install -g @gitlawb/zero\nzero\n\n\n### Install Scripts\n\nFor Linux/macOS, you can use a simple curl command:\n\nbash\ncurl -fsSL https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.sh | bash\n\n\nWindows users can install via PowerShell:\n\npowershell\nirm https://raw.githubusercontent.com/Gitlawb/zero/main/scripts/install.ps1 | iex\n\n\n### From Source\n\nIf you prefer to build from source, Go 1.25+ is required:\n\nbash\ngit clone https://github.com/Gitlawb/zero.git\ncd zero\ngo run ./cmd/zero\n\n\nFor more detailed installation instructions, refer to the official documentation.\n\n## Examples\n\nZero offers both an interactive TUI (Terminal User Interface) and a headless `exec` mode for scripting.\n\n### Interactive TUI\n\nSimply run `zero` to start the TUI. A setup wizard will guide you through selecting a provider and model.\n\nbash\nzero\n\n\nCommon slash commands within the TUI include:\n\n*   `/model`, `/provider`: Switch the active model or provider.\n*   `/spec`, `/plan`: Draft and review a plan before building.\n*   `/image`: Attach an image for vision-capable models.\n*   `/resume`, `/rewind`: Continue or roll back local sessions.\n\n### Headless `exec`\n\nFor one-shot commands or scripting, use `zero exec`:\n\nbash\nzero exec \"explain internal/agent/loop.go\"\nzero exec --model claude-sonnet-4.5 \"refactor the config loader\"\nzero exec --use-spec \"add rate limiting to the API client\"\n\n\nZero also supports stream-JSON for programmatic input/output, making it suitable for CI/CD pipelines.\n\n## Why Use Zero\n\nZero stands out for several compelling reasons:\n\n*   **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.\n*   **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.\n*   **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.\n*   **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.\n*   **Local Context**: All sessions are stored locally on disk, are searchable, resumable, and never uploaded as telemetry, ensuring your privacy.\n*   **Extensibility**: Extend Zero's capabilities with MCP servers, skills, plugins, hooks, and specialist subagents, all accessible from the same CLI.\n\n## Links\n\n*   **GitHub Repository**: [https://github.com/Gitlawb/zero](https://github.com/Gitlawb/zero){:target=\"_blank\"}\n*   **Installation Documentation**: [docs/INSTALL.md](https://github.com/Gitlawb/zero/blob/main/docs/INSTALL.md){:target=\"_blank\"}\n*   **Stream-JSON Protocol**: [docs/STREAM_JSON_PROTOCOL.md](https://github.com/Gitlawb/zero/blob/main/docs/STREAM_JSON_PROTOCOL.md){:target=\"_blank\"}","metrics":{"detailViews":5,"githubClicks":1},"dates":{"published":null,"modified":"2026-07-06T11:33:47.000Z"}}