Skip to main content

Architecture diagrams

Interactive diagrams of how Cropwright is built and how it talks to the OpenProcessor API. Each one is generated from a hand-authored spec under docs-site/architecture-diagrams/specs/ (regenerate with scripts/generate-architecture-diagrams.sh); when the code a diagram describes changes, fix the spec.

System​

The full stack in one diagram: browser, the Cropwright nginx serving the static bundle and proxying one API prefix, the OpenProcessor API, and behind it OpenSearch, Triton, the VLM, the trainer/evaluator and the segmenter. Start here.

Workflows​

Ingest, then clustering/VLM assist, clusters, review, classes, export + holdout, train, bake-off, promote, and probe predictions feeding back into review.

Sequences​

A /review keypress, the optimistic queue update, the API write (with rollback on failure), and the Z undo round trip through undoStore.