Developer neokrasav4ik published the aibrush project on GitHub — an oil painting engine in Python where a language model paints not through a generative network, but through code: it applies brushstrokes, and a deterministic simulator calculates the physics of paint, brush, and canvas. The project has no generative model or GPU, and the stroke journal allows rewinding the canvas, correcting individual strokes, and assembling a timelapse.

image
image

What happened

The aibrush project appeared on GitHub (AGPL-3.0 license, version 9db9989 from 2026-11-24) — an oil painting engine on Python 3.10+ with NumPy and SciPy dependencies, designed for working with LLM agents. The mechanics are built around simulation: the model writes code to apply brushstrokes, and the engine calculates paint behavior based on brush bristles — pressure, paint consumption and contamination, wet-on-wet blending, light on layer thickness, and canvas grain. The toolset includes a palette knife, painter's tape, and different brush shapes. Each stroke is recorded in a journal: the canvas can be rewound, individual strokes edited, and a timelapse of the process assembled. The engine also outputs a height map of the relief in millimeters for 3D printing, and the model first describes the painting plan in words and at the end — a list of weaknesses. According to the author, the best results are achieved by models of the Claude Opus and Fable level, and the results pass AI generation detectors. At the time of publication, the repository had collected 78 stars and 15 forks.

Context

Most AI drawing tools work differently: a diffusion or other generative model receives a prompt and outputs a finished image in a single pass. aibrush decouples intelligence and generation — the LLM does not generate pixels, but controls a deterministic simulation through code, and all the "magic" is transferred to a physical engine on NumPy and SciPy. This moves the task from the domain of generative models to the domain of the agent cycle "code → stroke → inspection → decision", where each model action is recorded and can be verified. Such an approach — the LLM as a controller, not a generator — is already discussed in agent systems where control, editing of individual steps, and reproducibility are important, but it is rare in creative tasks.

Why this matters for the industry

aibrush shows an alternative path for agent graphics: instead of a generative model outputting a finished image, the LLM works in a "code → stroke → inspection → decision" cycle on top of a deterministic physical engine. This process is fully interpretable, editable, and reproducible: the stroke journal and rewinding provide a measurable, editable result instead of a single generation shot. For teams building agent tasks where control, editing of individual steps, and reproducibility are important, this is a ready reference pattern: an action journal plus rollback and editing of a single step, as well as a self-critique protocol where the model describes the plan itself and lists weaknesses at the end. In the future, the pattern "LLM controls a deterministic simulator through code" may generalize to other domains — design, visualization, CAD, robotics — where reproducibility and pinpoint editing are critical, rather than mass generation.

Why this matters for users

The project can be run locally without a graphics card: Python 3.10+ and installing dependencies with the command pip install -r requirements.txt are sufficient, after which a strong model (according to the author, Claude Opus and Fable level) can be asked to paint through the engine. Each step of the process can be edited: rewind the canvas, change an individual stroke, assemble a timelapse of the painting creation. The height map of the relief in millimeters allows sending the canvas to 3D printing to get a physical impression with the texture of brushstrokes. For the reader, this is also a visual experiment: how a language model learns to "see" and make artistic decisions, relying only on code and simulation, without a generative model.

What is currently unknown / limitations

The project is an early open-source experiment, not a finished tool: the sources contain no data on latency, run cost, number of iterations, and quality stability, as well as API, benchmarks, and CI. The author's statement that the best results are achieved by models of the Claude Opus and Fable level is an empirical observation without a protocol: there are no metrics, task set, number of runs, or comparison with other models. The claim that the results pass AI generation detectors is methodologically weak: such detectors are unreliable and unvalidated, and "passing" a detector does not prove the quality or "humanity" of the result. 78 stars and 15 forks indicate early interest, not widespread adoption.

Sources

Author

Look at AI, editorial team