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.

Something it found: a 12 × 36 grid, 5 colours, no rectangle with four same-coloured corners. Nobody had one before.checked by a proof assistant ↗
2
conjecture proved, machine-checked
8
new verified results
22
problems in the queue
14
machines cloned it, last 14 days
run it

Three steps.

  1. 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.

    paste into claude code
    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:

    claude code · plugin
    /plugin marketplace add TRBF/kogaion
    /plugin install kogaion@kogaion
    /kogaion:setup

    Prefer a shell? Same result:

    linux / macOS · terminal
    curl -fsSL https://raw.githubusercontent.com/TRBF/kogaion/main/install.sh | bash
    windows · powershell (sets up WSL2)
    irm https://raw.githubusercontent.com/TRBF/kogaion/main/install.ps1 | iex
  2. 2

    Open the lab

    Start your coding agent inside the folder. Claude Code works today; Codex and others are coming.

    terminal
    cd ~/kogaion
    claude
  3. 3

    Point it at a problem

    Let it hunt for open problems on its own, or hand it a conjecture.

    inside the agent
    /hunt
    /attack "Every even number greater than 2 is the sum of two primes."

    Installed as a plugin? The same commands are /kogaion:hunt and /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.

what it found

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.

177 problems tracked as of 2026-12-01, including the ones it failed on. Full ledger ↗

how it works

It checks itself before it talks to you.

  1. Find

    Scans open-problem lists, then checks the literature to make sure the problem is really still open.

  2. Attack

    Several solvers try different strategies in parallel while another agent runs computations and hunts for counterexamples.

  3. Try to break it

    Three independent reviewers are told the proof is wrong and asked to find the mistake. All three have to fail.

  4. 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.