HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
lightvector
KataGo
C++2019–2026
lightvector / KataGo

KataGo

GTP engine and self-play learning in Go

20Distinct people
24Mentions
0Explicit recommenders
5.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

GTP engine and self-play learning in Go

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year24 dated mentions

Observed mentions: 2019-10-30 10:03:52 UTC to 2026-09-03 22:08:57 UTC.

02462019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC615
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC211
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC413
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC716
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

24 sources
What do I think? It's amazing! Got crushed by a 300 bot in Hex, then beat a 100 bot, then again lost against 200. It's great how one can see the review immediately afterwards! Feature requests: - TwixT - just TwixT PP like on LittleGolem is fine (much easier to implement). - Quoridor - a delightfully incomprehensible game. - Larger board sizes. Hex starts being really fun at 19x19! Questions and suggestions: - On reddit you mention you "used AlphaZero-style methods to train the bots" - I suppose the networks are size-dependent? You could look into the many KataGo improvements[0]. - You mention the source code isn't released. If you released it, people could help add games. Again, very well done, thank you! [0]: https://github.com/lightvector/KataGo#training-history-and-r...
In Show HN: Play abstract strategy board games online with friends or against bots
https://github.com/lightvector/KataGo/blob/master/docs/Analy... 여기는 카타고 바둑AI를 병렬로 처리할 수 있는 방법이 나와 있는데 나의 PC에서 쿼리값 리스트가 있는 엑셀파일을 입력하여 모든 쿼리에 대한 카타고 AI 분석값도 엑셀파일로 얻을 수 있는 EXE 프로그램을 만들어줘. 인터넷이 연결안되도 실행될 수 있는 프로그램이어야해! 카타고 AI엔진 파일 폴더 위치는 cd C:\Users\kimjonghyun\Downloads\katago 여기고 카타고 실행 세팅값은 katago.exe analysis -model Kata18b.gz -config analysis_example.cfg 여기야~ 분석값에 대한 옵션에서 maxVisits":1 로 설정하면 되
In Anus: An open-source AI agent framework created by Manus AI itself
Montecarlo Tree Search (MCTS) would be very ideal for this situation. Since the tree depth is really low, you would not need a neural network estimator. You would just load the entire game tree, and walk randomly through it, updating visit counts. The walk would be biased by the visit counts, and the biases would then converge to scores for each position. See the following for a really nice tutorial for a slightly more advanced but more technically correct algorithm, Monte Carlo graph search (MCGS). This exploits the fact that some nodes in the game tree might are identical positions on the board and can be merged. For your setup he could easily do either one, but the graph search might give you more mileage in the future: github.com/lightvector/KataGo/blob/master/docs/GraphSearch.md Once your scores have converged on the entire game tree
Read the rest
, you can print out a crib sheet visually showing each position and the correct move. That might be the closest we can get to a human executable strategy. But the crib sheet might have strategic principles or hard rules that humans can identify
In Show HN: Probabilistic Tic-Tac-Toe
> KataGo was trained with more knowledge of the game (feature engineering and loss engineering), so it trained faster. Not really important to your point, but it's not really just that it uses more game knowledge. Mostly it's that a small but dedicated community (especially lightvector) worked hard to build on what AlphaGo and LeelaZero did. Lightvector is a genius and put a lot of effort into KataGo. It wasn't just add some game knowledge and that's it. https://github.com/lightvector/KataGo?tab=readme-ov-file#tra... has a bunch of info if you're interested.
In After AI beat them, professional Go players got better and more creative
KataGo is an open-source algorithm derived from AlphaGo, but with a number of tricks so that it trained faster: https://katagotraining.org/ It likely surpasses AlphaGo, and just like Stockfish, it delivers a protocol that can hook into many user interface apps: https://github.com/lightvector/KataGo?tab=readme-ov-file#gui... From those technologies, also came an interesting visualisation of how human players changed their habits following AlphaGo: https://drive.google.com/file/d/16-ntvk3D1_pgjJ7u64t4jMYMh0z...
In After AI beat them, professional Go players got better and more creative
To my knowledge AlphaGo models never became meaningfully available to the public, but 8 years later the KataGo project has open source, superhuman Go AI models freely available and under ongoing development [1]. The open source projects that developed in the wake of AlphaGo and AlphaZero are a huge success story in my mind. I haven't played Go in a while, but I'm kind of excited to try going back to use the KataGo-based analysis/training tools that exist now. [1]: https://github.com/lightvector/KataGo
In 8 years later: A world Go champion's reflections on AlphaGo
> Kellin Pelrine, an American player who is one level below the top amateur ranking, beat the machine by taking advantage of a previously unknown flaw that had been identified by another computer. But the head-to-head confrontation in which he won 14 of 15 games was undertaken without direct computer support. My take: what Kellin Pelrine really exploited is that the AI can't learn and adapt. Even GPT can't learn or adapt to anything beyond its context window. It took a computer to find and teach him the winning strategy, and it probably took a lot longer than AlphaGo did to train. But once he learned, he had the advantage; meanwhile AlphaGo never adapted and learned to counter the strategy itself, because it can't. One thing to note is that he beat KataGo [1] and Leela Zero [2], but not AlphaGo or AlphaZero, because the AlphaGos aren't pu
Read the rest
blic. So it's possible he wouldn't actually beat the real AlphaZero with this strategy. But considering the strategy he used works in theory work against any model with AlphaGo/AlphaZero's design (he beat Leela Zero which has the exact same model), and Leela Chess and Stockfish are apparently better than AlphaZero now; I think he would still win. [1] https://github.com/lightvector/KataGo [2] https://github.com/leela-zero/leela-zero
In Man beats machine at Go in human victory over AI
It thought it would win. KataGo was trained on multiple scoring methods at the same time: it is an input to the algorithm[0]. The model learnt that it would win when passing, and it seems it never had the opportunity to detect that it would not win under Tromp-Taylor when passing, because its opponent in self-play, KataGo, then either passed and lost (under other rules) or resigned. [0]: https://github.com/lightvector/KataGo/blob/master/cpp/config...
In Adversarial Policies Beat Professional-Level Go AIs

Showing the 15 most recent of 24 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.