Automic VaultAutomic Vault

brew

Install leela-zero with Homebrew, apt, Nix

Neural Network Go engine with no human-provided knowledge. Version 0.17 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install leela-zero

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install leela-zero

Debian stable package indexes · leela-zero · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#leela-zero

nixpkgs package indexes · pkgs/by-name/le/leela-zero/package.nix · source: api.github.com

overview

Package summary

Neural Network Go engine with no human-provided knowledge

Commands and aliases

  • leelaz

history

Project history and usage

Leela Zero is an open-source Go engine modeled after DeepMind's AlphaGo Zero approach: Monte Carlo tree search guided by a deep residual convolutional neural network, trained without human-provided Go knowledge.

Project history

The project appeared after the AlphaGo Zero paper as a public reimplementation effort. Its README explicitly framed the engine as a faithful open-source implementation of the AlphaGo Zero system, while also noting that the repository did not contain trained network weights.

A major part of the project was the distributed AutoGTP training loop: volunteers ran clients that generated self-play games, uploaded results, and helped train stronger networks. The official training site records 21,219,288 self-play games and 1,264,007 match games before the server shut down on 2021-02-15.

The release line evolved through practical engine work: OpenCL/GPU support, GTP integration, GUI-facing analysis commands, batching, Tensor Core support, Winograd optimizations, and AutoGTP features. Version 0.17 was released on 2019-04-04.

Adoption history

Leela Zero reached adoption well beyond a niche package: the GitHub repository shows thousands of stars and forks, the README documents Homebrew installation for macOS, and the official site linked to community successor projects after training ended.

Go players and engine users usually paired it with GTP-compatible GUIs rather than running the engine directly. The README names Lizzie, Sabaki, LeelaSabaki, and GoReviewPartner as related clients or review tools.

How it is used

Leela Zero is used as a Go engine through the Go Text Protocol. A user supplies a neural-network weights file, enables GTP with `--gtp`, and connects the engine to a GUI or analysis tool for playing, review, and study.

During the distributed-training phase, contributors ran AutoGTP to generate self-play or match games for the public training effort.

Why package nerds care

For package people, Leela Zero is a snapshot of the post-AlphaGo open-source AI-engine wave: C++14, OpenCL, GPU tuning, neural-network weights as separate data artifacts, and package-manager builds that had to expose a command-line engine while leaving training data outside the formula.

It also links Go-engine packaging with AI reproducibility culture: the executable, weights, GUI clients, training server, and community forks are all separate moving parts.

Timeline

  • 2017: AlphaGo Zero paper prompted open-source reimplementation efforts including Leela Zero.
  • 2018-12-08: GitHub releases page shows Leela Zero 0.9 + AutoGTP v8.
  • 2019-04-04: Version 0.17 + AutoGTP v18 was released with batching, Tensor Core support, and search/analysis improvements.
  • 2021-02-15: Official training server shut down after the project finished its distributed training run.

Related projects

  • The README links Leela Zero to AlphaGo, AlphaGo Zero, AlphaZero, Lizzie, Sabaki, LeelaSabaki, GoReviewPartner, Leela Chess Zero, and lc0.
  • The official training site points former contributors toward SAI and KataGo as successor-style Go AI projects.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:network

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
leelazcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.17
manager updated2026-07-05
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/leela-zero/leela-zero

install metadata

Package metadata

Package keybrew:leela-zero
Version0.17
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/leela-zero
Homepagehttps://zero.sjeng.org/
Repositoryhttps://github.com/leela-zero/leela-zero
Upstream docshttps://github.com/leela-zero/leela-zero#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/leela-zero/leela-zero.git
Last updated2026-07-05T18:49:59+09:00
Pulseupdated
Dependenciesboost
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameleela-zero
Version Scheme0
Revision12
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

leela-zero 0.17-1+b4

Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper

https://github.com/gcp/leela-zero

sudo apt install leela-zero
  • Section: games
  • Architecture: amd64
  • Source Package: leela-zero
  • 10 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Leela Zero
Debian stable package indexes · deb.debian.org · Debian stable package indexes: leela-zero from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

leela-zero

nix profile install nixpkgs#leela-zero
  • normalized package name match
  • Matched by: Leela Zero
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/leela-zero/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

leela-zero 0.17-1build6

Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper

https://github.com/gcp/leela-zero

sudo apt install leela-zero
  • Section: universe/games
  • Architecture: amd64
  • 10 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Leela Zero
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: leela-zero from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment