need2know
This code was written with AI

This code was written with AI

need2know.ai/with-ai/code

Artificial intelligence produced or materially altered a substantial part of this work, between about a third and two thirds of it.

How much was AI needed?
Parts of this could not have been done without it.
Roughly how much of the work
Between a third and two thirds.
For instance
A compiler and a linter are not AI. Completions you accepted are, and count as the lines they produced.

The lines either side

From written with some AI
Some part of the work was beyond the maker unaided.
To written mostly with AI
Subtracting the AI leaves no work at all.

For a reader

Parts were generated. Generated blocks can reproduce code the model was trained on, so licence review applies alongside review for correctness.


Declaring this level

This level is the one most often left undeclared, because the work carries visible signs of both hands. A stated level answers what the work leaves ambiguous.


Badge for This code was written with AI, linking to the artwork

Badge and mark

The badge is the mark with a QR code beside it. The code resolves to this page, where the level is defined.

Badge (SVG)Mark alone (SVG)

The level is read by counting the dotted pins, and below about 40 px the five levels are no longer separable. At smaller sizes the mark is set beside its words, “written with AI”, and the words state the level.

The address the code resolves to is permanent, and is never reused for another meaning.

need2know.ai/with-ai/code


The whole scale