selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Zero logo

Self-host Zero

v0.11.0

Terminal AI coding agent you control locally

BetaOpen SourceMIT
Updatedlast week
LanguageGo
Setup difficultyModerate
ThemeDark mode
Stars
1 768
Install with Go

What is Zero?

Zero is a terminal AI coding agent you run on your own hardware. It supports over 25 model providers — including major cloud services and local options — while keeping all session data on your local disk. The interactive terminal UI offers model pickers, slash commands, live plan rendering, color themes, and session branching. For automation, zero exec provides text, JSON, and streaming JSON I/O, isolated git worktrees, and proper CI exit codes. A permission system requires explicit approval for file writes, shell commands, and network access, with Linux sandboxing via Bubblewrap. Extensibility comes through MCP servers, plugins, skills, and specialist subagents. Installation methods include npm, shell scripts, release archives, mise, go install, and source builds (Go 1.26.9+).

Should you self-host Zero?

Zero scores 56/100 on selfhost.directory (how scoring works) and ranks #22 of 120 in AI Assistant. It has 1 768 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.11.0, came out on 16 October 2026. New versions land roughly every 8 days.

Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is hermes-agent (89/100, 257 885 stars). It scores higher overall, so compare the two before you pick. See Zero vs hermes-agent side by side.

Features

  • Git Worktree Isolation
  • Headless scriptable execution
  • Interactive TUI
  • Local session persistence
  • MCP (Model Context Protocol) Support
  • Multi-Provider LLM Support
  • Permission and sandbox model
  • Plugin System
  • Scheduled agent jobs (cron)
  • Self-update mechanism
  • Session fork and rewind
  • Specialist subagents
  • Stream-JSON protocol
  • Terminal-based AI coding agent

Zero README

How to install Zero

Install Zero with Go

Environment variables
OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AIMLAPI_API_KEY, LONGCAT_API_KEY, FIREWORKS_API_KEY, GMI_API_KEY, CONCENTRATE_API_KEY, MINIMAX_API_KEY, MINIMAXI_API_KEY

go install github.com/Gitlawb/zero/cmd/zero@latest

Installs from source via Go toolchain (note: uses old Gitlawb module path)

How to configure Zero

  • AIMLAPI_API_KEYAPI key for AI/ML API provider

    API key for AI/ML API provider

  • ANTHROPIC_API_KEYAPI key for Anthropic provider

    API key for Anthropic provider

  • CONCENTRATE_API_KEYAPI key for Concentrate provider

    API key for Concentrate provider

  • FIREWORKS_API_KEYAPI key for Fireworks AI provider

    API key for Fireworks AI provider

  • GEMINI_API_KEYAPI key for Google Gemini provider

    API key for Google Gemini provider

  • GMI_API_KEYAPI key for GMI Cloud provider

    API key for GMI Cloud provider

  • HTTP_PROXYProxy for web_fetch and provider connectivity probe

    Proxy for web_fetch and provider connectivity probe

  • HTTPS_PROXYProxy for web_fetch and provider connectivity probe

    Proxy for web_fetch and provider connectivity probe

  • LONGCAT_API_KEYAPI key for Meituan LongCat provider

    API key for Meituan LongCat provider

  • MINIMAX_API_KEYAPI key for MiniMax global region

    API key for MiniMax global region

  • MINIMAXI_API_KEYAPI key for MiniMax China region

    API key for MiniMax China region

  • NO_COLORDisables color output when set to any value

    Disables color output when set to any value

    values: any

  • OPENAI_API_KEYAPI key for OpenAI provider

    API key for OpenAI provider

  • ZERO_NO_FADEDisables streaming fade animation when set to 1

    Disables streaming fade animation when set to 1

    values: 1

  • ZERO_THEMEautoSelects the startup TUI theme (auto, dark, light, or named themes like dracula, nord, gruvbox, tokyo-night, catppuccin, one-dark, solarized-dark, rose-pine, everforest, neon, solarized-light, dune)

    Selects the startup TUI theme (auto, dark, light, or named themes like dracula, nord, gruvbox, tokyo-night, catppuccin, one-dark, solarized-dark, rose-pine, everforest, neon, solarized-light, dune)

    values: auto, dark, light, dracula, nord, gruvbox, tokyo-night, catppuccin, one-dark, solarized-dark, rose-pine, everforest, neon, solarized-light, dune

Zero releases & version history

More in CLI Tools

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…