Solve maths on your own machine.
kogaion is an AI research lab you run yourself. It finds open math problems, or takes one you give it, then searches, computes, proves, and tries to break its own proof before it tells you anything.
No PhD required. One script to install, two commands to run.
Three steps.
- 1
Install
Open Claude Code anywhere and paste one sentence. It fetches the lab, builds what your machine can build, and checks it. Works on macOS, Linux and Windows. About five minutes.
Install kogaion: fetch https://raw.githubusercontent.com/TRBF/kogaion/main/INSTALL.md and follow it.Or install it as a plugin, then run it from anywhere:
/plugin marketplace add TRBF/kogaion /plugin install kogaion@kogaion /kogaion:setupPrefer a shell? Same result:
curl -fsSL https://raw.githubusercontent.com/TRBF/kogaion/main/install.sh | bashirm https://raw.githubusercontent.com/TRBF/kogaion/main/install.ps1 | iex - 2
Open the lab
Start your coding agent inside the folder. Claude Code works today; Codex and others are coming.
cd ~/kogaion claude - 3
Point it at a problem
Let it hunt for open problems on its own, or hand it a conjecture.
/hunt /attack "Every even number greater than 2 is the sum of two primes."Installed as a plugin? The same commands are
/kogaion:huntand/kogaion:attack, from any directory.
What it costs. The agents run on Claude Opus by default. One solving round on one problem is on the order of 1.5 million tokens, and most problems are capped at two rounds; verification adds more. Expect a real API bill if you leave /hunt running. The model: line in each agent file is the knob.
Optional: ./setup.sh --lean adds the Lean proof assistant so results can be machine-checked. Runs on an ordinary machine; the results below came from a 16-core desktop with 7 GB of RAM.
Real results on real open problems.
A full square is a complete proof checked by a computer. A half square is a new, verified result that answers part of the question.
- solved, formalProper sources of CTLNs die→
NOT FIRST (independent third proof): two public unrefereed, apparently AI-generated proofs of the same statement predate this one and are not cited by it -- molinzhao27/conjectures solutions/ctln_dynamics (commit df5211b2, 2026-11-27; conc…
- solved, formalSensitivity of lattice colourings (Aaronson–Boppana conjecture)→
Proved a 2012 conjecture about colouring the points of a grid in any number of dimensions. The proof is checked by a computer, line by line.
- partialOrdered Ramsey numbers of non-nested matchings (Barát–Gyárfás–Tóth)→
Computed four numbers from Ramsey theory that nobody had published before, each with a certificate a program can check.
- partialConnected unions of perfect matchings in the hypercube (Behague's r(d))→
Settled a question about the hypercube for every dimension up to 54. It was known for three dimensions before.
- partialRainbow connection number 2 under Dirac's condition (Hahn)→
Checked a colouring question on every dense graph with up to 12 vertices, and found the first exceptions just below the threshold.
- partialIntersecting families of triangulations (Kalai–Meagher)→
Confirmed the Kalai–Meagher conjecture for the 10-sided polygon. Previously known up to 9.
- partialStrong 6-edge-colouring of truncated cubic graphs (Kardoš)→
Checked a colouring question on all 7.9 million cubic graphs with up to 22 vertices. Previously known up to 4.
- partialDistinct cyclic sums in abelian groups (Sun, Kourovka 21.130)→
Proved Sun's conjecture about sums in finite groups for every set of up to 9 elements.
- partialmeunier stable kneser chromatic number→
(A) THEOREM (verified 3/3, conditional on Talbot 2003 Thm 3 uniqueness): for all s >= 3, k >= 2 with 2s > k^2-k-4, chi(KG_s(sk+2,k)) = s+2, i.e
- partialRectangle-free 5-colourings of grids (OBS₅)→
Found 5-colourings with no same-coloured rectangle for four grid sizes that were open. Each one is checked by a proof assistant.
177 problems tracked as of 2026-12-01, including the ones it failed on. Full ledger ↗
It checks itself before it talks to you.
Find
Scans open-problem lists, then checks the literature to make sure the problem is really still open.
Attack
Several solvers try different strategies in parallel while another agent runs computations and hunts for counterexamples.
Try to break it
Three independent reviewers are told the proof is wrong and asked to find the mistake. All three have to fail.
Machine-check
Where possible the proof is rewritten in Lean, a proof assistant that accepts nothing it cannot verify.
It will not pretend. A result is only called “proved” when it is machine-checked. Anything less is labelled exactly what it is. Failures stay in the ledger forever.
Every result still needs a human expert to read it before it is announced. The lab's job is to make that easy: statement, proof, code, reviews and certificates are all in one folder.