# refdesk

> Rights-checked art-reference boards from open museum collections. A creative brief returns public-domain paintings with explanations checked against museum records, a rights trail, and approval gates before anything is exported.

- Year: 2026
- Roles: Designer & Developer
- Practices: Emerging-Tech R&D, Process & Systems Design, Delivery
- Domains: Generative AI, Computer Vision
- Page: https://flamegame.studio/projects/refdesk

![refdesk demo board: public-domain paintings with attribution and rights badges, and the review gates in the side panel](https://flamegame.studio/images/projects/refdesk/demo-board.png)

## refdesk, 2026

Art references you can actually use, with the reasons and the paperwork attached. [github.com/sycrus/refdesk](https://github.com/sycrus/refdesk) · live demo: [refdesk-demo.onrender.com](https://refdesk-demo.onrender.com) (recorded example boards, read-only — the free host can take up to two minutes to wake).

### The problem

Designers and art directors want paintings from museum collections for a pitch, a campaign or a brand. The hard part is not finding pictures but finding ones they can *use*: the right rights status, a correct credit line, and a reason it fits that holds up when a client asks. Museum sites are searched one by one, keyword matches give no reason, and a language model on its own will happily invent attributions.

### What I built

A FastAPI service and React UI over 2,588 public-domain Met paintings: retrieval over metadata, CLIP similarity and a combination of the two; a generator that writes a fit sentence and claims each tied to a field in the museum's record; code that checks every claim against that record; a judge from a different model family (phi4) that checks each claim again; review, approval and export gates; a provenance-pack (CSV) export; a read-only MCP server; and an evaluation harness. It runs on your own machine by default — a cloud model is only used under a spend cap you set, with a key and an explicit `--approve`, and never as a silent fallback.

![The demo landing: a short brief, with usage mode and machine options](https://flamegame.studio/images/projects/refdesk/demo-landing.png)

### Three ideas carry the design

- **Facts come from records, not from the model.** A claim that cannot be read from the museum's record is marked *Needs human check*, not guessed.
- **Nothing marks its own homework.** The judge that checks claims always comes from a different model family than the one that wrote them.
- **The gates live in the API.** Review, approval and export are enforced on the server; the UI only shows their state, so it cannot skip a step.

![A recorded board: paintings with attribution and rights badges, and the run's gates in the side panel](https://flamegame.studio/images/projects/refdesk/demo-board.png)

### How I know whether it works

Evaluation came before claims. A synthetic set exists only to test the harness. The hand-labelled set (golden-v1) is built by Claude proposing labels, phi4 checking them, and me reviewing every one — under two trust rules: my own blind labels measure how far the proposals agree with me, and an anchoring check measures whether seeing a proposal biased my review. Round 1 failed the anchoring check, so round 2 added blind cases and a relabel instead of publishing a number I couldn't defend.

![A work open in the lightbox: the fit sentence, the claims with their record fields, and the rights record](https://flamegame.studio/images/projects/refdesk/item-evidence.png)

### What broke, and what I did

Recording the demo boards exposed three gaps, now tracked: style requests for in-copyright artists are not declined yet (issue #217, decision contract written); a period stated in the brief is ignored unless set as a condition; and the opinion flag fires on most items, which is noise. Building the demo image also caught my own design mistake — baking images the UI never used — when 12 of 65 Met images changed within a month.

### Stack

Python (FastAPI), TypeScript (React), Docker. Local models through Ollama; the demo boards were recorded on local qwen3 and phi4. Retrieval combines metadata filtering with CLIP embeddings.
