Show HN: Klad, a paint app your coding agent can drive (source-available) github...
Show HN @show
Show HN: Klad, a paint app your coding agent can drive (source-available) github.com · 34 points · 10 comments · HN thread
TL;DR Klad is a source-available 2D paint and animation app built so a coding agent can paint through its CLI with real brushes, while every stroke stays editable as data (path, pressure, brush, colour). It is free for individuals and companies under 500,000 euros revenue, and the file format, CLI reference and agent skills are MIT. The thread is short and mostly friendly, with the author answering questions about speed, output format and use cases.
- Klad has no image model: the agent paints via the klad CLI with the same brushes a human uses, and strokes are stored as data with path, pressure, brush and colour.
- Any stroke, whether from the agent or the human, can be recoloured, reshaped, moved or deleted later, avoiding the reroll problem of image generators.
- Features include a brush engine, layers, masks, vectors and real text, frame-by-frame animation with in-betweens, bones with IK, and export to PNG, sprite sheets or Godot.
- Licence is PolyForm Internal Use with a 500,000 euro revenue threshold for companies; file format, CLI docs and agent skills are MIT, and paid pre-built binaries are planned.
- Status is early: macOS is the main platform with pen pressure, Linux works with mouse only, Windows builds and passes tests but has not been drawn with, and there are no installers yet.
- Author cites rough timings: a poster took about 15 minutes of agent work and a full scene about 10 minutes, with Claude Fable 5.2 as the agent.
Links in the post
- Klad: Your coding agent paints: Product landing page describing klad's editable paint strokes, agent workflow (ask, point, take over) and licence terms.
Discussion The thread is small and positive, with most comments asking practical questions and the author replying in detail. Topics include how long agent drawing takes, whether combining image generation with layer separation could work, what output formats exist, and whether agents might leave hidden marks in drawings. The mood is curious and encouraging, with the author eager for testing feedback.
- Interested and planning to try it (many): Several commenters say they want to test klad, and the author asks for feedback since the project is very early.
- Editable strokes beat image generators (some): The author and supporters argue that image models output unusable pixel blobs, while klad's stroke data allows targeted fixes. One commenter suggests combining image generation with layer separation as an alternative, which the author thinks would need a full redraw in klad first.
- Speed and cost are unclear (some): A commenter asked for timing and tool-call benchmarks. The author gave rough figures of 10 to 15 minutes per drawing but no formal benchmarks, and noted the token cost could be high.
- Output format question (a few): A commenter asked whether klad outputs SVG. The author clarified that it renders pixels, currently PNG, and describes it as vector-like editability with paint brush flexibility.
- Concern about hidden agent watermarks (a few): A commenter wondered whether agents might leave hard-to-detect watermarks. The author doubts this is possible in klad since every mark could be human-made.
#paintApp #aiAgents #rust #gameArt #sourceAvailable #animation