Toby – The best human-like chess engine, free and open source

Accueil » Articles » Autres » Toby – The best human-like chess engine, free and open source

Updated November 2026. This article was first published in October 2026 for Toby 1.0, which combined Maia and Leela. It has been rewritten for Toby 2, a new engine: the numbers, the explanations and the downloads below are those of Toby 2.

In brief

Toby is a chess engine that predicts the moves humans play, and the chances of winning, drawing and losing, for two players of given ratings in a given time control. Toby 2 is a new engine. One neural network, trained on real over-the-board games, plays the role of human intuition and reads Stockfish’s calculation while it predicts. Toby is free and open source (AGPL v3). It works in any chess GUI (ChessBase, Nibbler…) and best in Siby, my free chess GUI.

  • On 2,201 classical over-the-board games kept out of training, Toby 2 finds the move actually played 65.8% of the time (Toby 1.0: 64.7%, Maia-3: 58.7%). It is ahead at every level, from beginners to 2700+.
  • At 2600 and above, Toby 2 blunders exactly as often as real players do: 0.6% of moves, against 7.1% for Maia-3.
  • By my estimate, a perfect model with the same information would find the move played only about half a point more often.
Toby: System 1 (intuition, Leela retrained on human games) + System 2 (calculation, Stockfish and Leela) = human thinking
Toby: System 1 (intuition, Leela retrained on human games) + System 2 (calculation, Stockfish and Leela) = human thinking

Table of contents

Author’s note

I am Yosha Iglesias, a FIDE Master and Woman International Master, and I’m not a developer. I came up with the concept, the logic, and the tests; Claude turned them into code and helped me with the calculations.

This article has no scientific pretensions. But nothing is hidden: Toby 2 was tested on games it had never seen, with the rules of the test written in advance, and I publish the results where it fails as well as those where it succeeds. Toby 2 is a big step forward, but it has limits, listed below.

Stockfish knows the truth, Toby knows humans

Maghsoodloo against Eljanov, Spanish Team Championship 2026. Black to play, move 91: a knight ending that Stockfish calls a draw.

It is a mutual zugzwang. 91…Kg7!! holds, with the idea 92.Ke5 Kg6!!. Every other move loses, including the natural 91…Kg6??.

Toby tells you what is really going on for humans. Even at Eljanov’s super-grandmaster level (2665), the blunder 91…Kg6?? has about a 75% chance of being played, and the only saving move about 25%. Eljanov played Kg6 and lost.

Toby in Siby: Maghsoodloo – Eljanov, before 91...Kg6??
Toby in Siby: Maghsoodloo – Eljanov, before 91…Kg6??

Stockfish gives you the theoretical evaluation: a draw with perfect play. Toby gives you the practical one: what these two players are likely to play, and their real chances.

The same happened in Vaishali against Vachier-Lagrave (Total Chess World Championship Tour 2026). Stockfish says the usual and useless 0.00. Toby tells the real story:

  • even at Vaishali’s level, the likeliest move is the blunder 34.Ke3??, which she ended up playing;
  • the best move, 34.b4!!, would not have ended her problems: about one chance in two of a draw, one in two of losing.
Vaishali – Vachier-Lagrave 2026, before 34.Ke3??
Vaishali – Vachier-Lagrave 2026, before 34.Ke3??

You probably wonder: « Sure, this looks great, but does Toby really work? »

Does Toby 2 really work?

All the numbers below come from a sealed test:

  • games kept out of training, played until 15 November 2026;
  • the test protocol and its success criteria written and committed before the test games were opened;
  • every move of every game scored.

How often is the move actually played Toby’s first choice? On 2,201 classical over-the-board games, Toby 2 finds it 65.8% of the time, against 64.7% for Toby 1.0 and 58.7% for Maia-3. It also gives more probability to the move actually played (log-likelihood: −0.97 against −1.00 and −1.20). Toby 2 is ahead at every level.

Top-1 and log-likelihood by level: Toby 2, Toby 1.0 and Maia-3 (classical, sealed test)
Top-1 and log-likelihood by level: Toby 2, Toby 1.0 and Maia-3 (classical, sealed test)

In rapid and blitz over the board (933 games), Toby 2 finds the move played 62.6% of the time, against 60.5% for Toby 1.0 and 59.1% for Maia-3.

Close to the theoretical maximum. Some moves are unpredictable by nature: two players of the same level, in the same position, do not always play the same move. By my estimate, with the same information as input (the moves of the game, the ratings and the time control), a perfect model would find the move actually played only about half a point more often than Toby 2. This estimate is for classical games, 2200 and above.

Your level is defined by your worst moves. The quality of your best and average moves matters, but not as much as your blunder rate. If you drew each move at random from a model’s probabilities, would you play at the intended level?

  • At 2600 and above in classical games, real players blunder on 0.6% of their moves.
  • Maia-3 blunders on 7.1%, about twelve times too often, so it plays well below the level it is meant to simulate.
  • Toby 1.0 still blundered twice too often at the very top (1.2%).
  • Toby 2 blunders on 0.6%.
Blunders at 2600 and above, classical: real players, Toby 2, Toby 1.0, Maia-3
Blunders at 2600 and above, classical: real players, Toby 2, Toby 1.0, Maia-3

So, Toby 2 works. But how does it work?

Thinking fast, thinking slow: intuition and calculation in one brain

Garry Kasparov summed up the thinking process of grandmasters in one sentence: « It’s intuition first, then calculation. » In Thinking, Fast and Slow, Daniel Kahneman describes two ways of thinking:

  • System 1 is fast, automatic and effortless: intuition.
  • System 2 is slow, deliberate and laborious: calculation.

Herbert Simon, who studied chess players, put the first one simply: « Intuition is nothing more and nothing less than recognition. » This is an analogy, a simplification, but a useful one to predict human behaviour, in chess in particular.

  • Toby 2’s System 1 is a neural network: Leela’s architecture, retrained on real over-the-board games with the players’ ratings, the time control and the venue. Think of it as a super super-grandmaster who has seen millions of human games, and who is asked to predict the next move of two players of a given level, at a glance.
  • Its System 2 is Stockfish (and, with an NVIDIA graphics card, a Leela search in classical games). It calculates the value of each candidate move.
  • The difference with Toby 1.0. Toby 1.0 took Maia’s guesses and corrected them afterwards with a small second network. Toby 2’s network reads the engine’s evaluations while it guesses: intuition and calculation in the same brain, like a strong player who sees the natural move and, at the same time, feels that something is wrong with it.

How Toby 2 predicts the next move

  1. Intuition. The network looks at the position, the previous moves, both ratings and the time control, and picks the candidate moves a human could play.
  2. Calculation. Stockfish evaluates those candidates, and spends more time on the network’s three favourites and on its own two best moves.
  3. Decision. The network takes these values as input and gives its final answer: the probability of each move, and the chances of winning, drawing and losing for these two players.

There are two products:

  • Standard runs on any computer: Toby 2’s network and Stockfish, on the processor, about 1 second per position.
  • Accurate needs an NVIDIA graphics card. In classical games, it adds a Leela search and a small Leela head to the network. It is a little more accurate at the top (2600+) and blunders less there, and takes about 0.2 to 0.4 s per position on a recent card.

How Toby evaluates each position

A position is only ever won, drawn or lost. Every other evaluation is practical: true for some players, in some conditions. Stockfish’s evaluations are true for Stockfish against itself: they ignore who is playing, the clock and the risk of a blunder. As Nate Solon put it, centipawns suck.

Toby gives the chances of winning, drawing and losing for the two players of the game, taking into account:

  • their ratings;
  • the time control;
  • over the board or online;
  • the moves they are likely to play, blunders included.

The same position can be a draw for engines, better for Black between two super-grandmasters, and much better for White between two beginners.

Totally winning, or likely a draw? In Assaubayeva – So, Stockfish says +5.42, which makes the game look already won for Assaubayeva. Toby tells another story: 18% wins, 71% draws, 11% losses.

  • She would find the only crushing move, 33.f5!!, about one time in three.
  • The move she played, 33.Kc3, was the likeliest, and after it a draw was the likeliest result, despite Stockfish’s evaluation.
Assaubayeva – So 2026, before 33.Kc3
Assaubayeva – So 2026, before 33.Kc3

What Toby can be used for

Follow live games. Each player’s real chances, and the move they are likely to play next. Toby is a standard UCI engine, so apps and broadcasts can use it too, free or paid (credit Toby and publish any change, AGPL v3). ChessEver has already integrated it.

How to offer Toby on your platform
How to offer Toby on your platform

Review your games. Toby tells you at what level each side really played, and annotates like a human. In Caruana – Praggnanandhaa, round 3 of the Total Chess World Championship Tour, Caruana played at 2824 and Praggnanandhaa at 2665, and 18…h6?? is the blunder that lets in the sacrifice 19.Bxh6!

Review of Caruana – Praggnanandhaa 2026, before 19.Bxh6!
Review of Caruana – Praggnanandhaa 2026, before 19.Bxh6!

Play bots that really play like humans.

  • At the strength you choose, with human mistakes, neither more nor fewer. No more bots that play like a grandmaster for twenty moves, then hang their queen.
  • Or play a real player with Alter Ego, with their openings and their strength at a given time: Capablanca at his peak, your next opponent, or even yourself!
Siby's Play window: Toby or Alter Ego
Siby's Play window: Toby or Alter Ego

Prepare and train.

  • What your next opponent is likely to play, at their level and in their time control.
  • Which moves create human problems for your opponents.

Limits

Toby is not perfect, and I want you to know where it is not:

  • Accurate needs an NVIDIA graphics card and helps only in classical games. In rapid and blitz, both products give the same answers.
  • Below 2600, Toby 2 blunders slightly less than real players (Accurate: 1.7% against 2.1% real; Standard: 1.9%). It will be improved in a later version.
  • The tests are over the board. Online play is not Toby 2’s main target, and it was not tested in the sealed test.
  • Clocks. Toby uses the time control (classical, rapid, blitz). The players’ remaining time is not part of the tested settings yet.
  • Ratings are converted between FIDE, Lichess and Chess.com with public tables, with a margin of about 70 to 115 points.
  • The test history. The released version was chosen after the sealed test, on the same games. The decision is recorded with its numbers, and the first, untouched run of the test gave almost the same result (65.7%).

Using Toby

Siby is the best way to use Toby. It is my free chess GUI, built around it, and it shows:

  • Toby’s probabilities and win / draw / loss, the way they are meant to be read;
  • a game review that compares each move with what players of that level would play;
  • an estimate of the level each side really played at;
  • games against human-like bots and Alter Ego;
  • help to prepare for your next opponent.

Siby comes with Gaby, a database of more than 13 million games. Toby, Siby and Gaby together make Triby: all free, open source and without ads.

Toby also works in ChessBase, Nibbler and any UCI interface. The main options are:

  • White Rating and Black Rating: the ratings of the two players;
  • Rating Source: FIDE, Lichess Classical / Rapid / Blitz, Chess.com Rapid / Blitz;
  • Time Control: classical, rapid, or blitz;
  • Toby 2 Product: Standard or Accurate.

From Oracle to Toby 2

Early 2024, I learned that GPT-3.5, in its old « completion » mode, played chess at around 1800 Elo, as tested by the researcher Nicholas Carlini. I could not believe it: like most people, I thought language models were just stochastic parrots. So I tested it, for many hours a day, for many days.

GPT was not like an 1800 player at all. It was more like a super-grandmaster forced to play using only intuition: it had read millions of games and recognised patterns brilliantly, but it could not calculate. It found most of the moves of a super-GM game, and then made huge blunders that calculation would have prevented. Its mistakes were systematic, so I could correct them.

That was Oracle (July 2024). GPT-3.5 played the role of intuition, Stockfish the role of calculation, and a formula I wrote by hand combined them, depending on the players’ ratings and the time control. The same article explained that Stockfish’s evaluations are valid for Stockfish against itself, and set the goal: a free, open-source engine trained on real games, usable by everyone, for broadcasts, training, preparation and bots.

Oracle's diagram, July 2024
Oracle's diagram, July 2024
  • Toby 1.0 (October 2026) replaced GPT with Maia and the hand-made formula with a small corrector network. It was already the state of the art.
  • Toby 2 (November 2026) is one network trained on real games, reading the engines’ calculation while it predicts.

Name, licence, cost

TOBY: The Oracle By Yosha

The name is Toby, from The Oracle By Yosha. The licence is AGPL v3; Toby 2 is built on Stockfish 19 and Leela Chess Zero (GPL v3). Toby is free.

Requirements: Windows 10 or 11 (64-bit) or 64-bit Linux. About 1 GB, or about 4 GB for the version for NVIDIA graphics cards.

Download

Support and donations

Between Oracle and Toby, I have dedicated hundreds of hours of work and had to invest money. While I am happy to offer Toby to the chess community for free, any donation would be greatly appreciated.

If you value my work and wish to support it, please consider supporting Triby.