A real codebaseAI writes code faster than anyone can read it.This is garth, an open-source project we used to test how AI agents tangle code. Each of its 41 files is drawn as a tree of points, one per piece of code structure: 17,767 in all.
What it scoresKrypton scores how easy your code is for the next agent to edit and understand.It only looks at how the code is built. Your source stays on your machine; only its structure is sent, with every name swapped for a keyed hash. The key is made fresh for every scan and stays with you.
Hard to changeIt lights up where the next agent will struggle.Eleven functions are too tangled to change safely. The darker and bigger the cluster, the worse it is. The worst is 46.2 times over the limit.
The fixYour agent untangles them until the code passes.On garth the score rose from 62 to 81 with all 163 tests still passing, so the next change starts from cleaner code. The animation is an illustration.See the savings