BORROWED LIGHT · GEMINI

Gemini proposes. Code checks. You decide.

Every place Gemini works in Borrowed Light, what it is given, what code checks before anything is shown, and where you can try it.

In the game, live

  1. Lin on the radio · Gemini Live

    Model
    gemini-3.8-live, voice in and out, in English.
    What she gets
    Your microphone for the whole session; one frame of the workbench only when code decides a hint is due or when you start speaking; and a short game-state summary with each hint and through a tool call. Her instructions carry no case answer.
    What she can do
    Five tools that the page executes itself: get_game_state, set_light, highlight (a three-second ring that points and never clicks), show_source (opens a registered source card) and cite_sources (asks for checked source sentences before any historical fact).
    What code checks
    Hint timing and level (ask, point, give) are decided by code. A script confirms no case answer reaches her (check-lin-answers, which fails when a fake answer is injected). Sentences about the original placement are withheld until you open the placement record yourself.
    Try it
    Longmen workbench → Start Gemini Voice. One voice session at a time, 120 seconds each, with a daily limit.
    Offline
    Prewritten paper hints at the same three levels.
  2. Answers only from the sources · cite_sources

    Model
    gemini-3.8-flash on the public site.
    What it gets
    Your question and the chapter's source pack: clue cards, narration and excerpts saved from the cited web pages.
    What code checks
    Every quotation must appear in a saved source word for word (ignoring case, spacing and quotation marks), and code compares the numbers in each sentence with those in its quotation. Sentences that fail are not shown as fact. When the sources do not cover a question, Lin says so, and the question goes to the demo curator inbox.
    Try it
    Ask Lin a historical question on the radio, for example who carved the relief, or what it was sold for.
  3. Label review · structured output

    What it does
    You write or edit an exhibition label. Gemini judges each sentence (Supported, Differs from or goes beyond the source, Not in the sources) and must attach the source sentence; code re-checks every quote and downgrades what it cannot find. You can then send the reviewed label to the demo curator inbox.
    Try it
    Longmen → review the label before delivery.
  4. Workbench helpers · vision

    What they do
    Each chapter workbench has an optional helper that sends the current view and the chapter's public facts — never the solution; the Longmen helper is also told whether a judgment you have already made is verified or still pending — and returns one or two sentences about what is visible. The game alone decides what counts as found. In the painting studio you can talk with Gemini about the light, composition and colour of your own canvas.
    Try it
    Any chapter workbench after you agree to send the view.
  5. Demo curator inbox

    What it does
    Questions Lin could not answer from the sources, and labels visitors sent for review, arrive in one inbox a curator would read, so the next label can close the gap. Public and unmoderated; the latest 20 of each kind are shown.
    Storage
    The inbox has a Firestore backend that is switched on per deployment. This public demo keeps it in memory, because no museum is connected yet.
    Try it
    Demo curator inbox.

Prepared before release, checked by people

These run on the authors' machines, not when you play. Nothing reaches the game until a person has reviewed it.

  1. Which sentence has a source? · source drafts

    What it does
    Gemini reads one museum record and drafts a four-sentence label, citing the record for each sentence. You hold the object's other records and judge each sentence: sourced, records disagree, or not enough evidence. Only then is the automatic check shown, as “agrees with the automatic check n/4”, never as a score.
    Try it
    The case wall in the camp: six labels drafted from each chapter's own records (The Met, University of Chicago CAEA, PRESIOUS, Rupe Magna, University of Pavia, Painting Tools), plus a resource room of eight Cleveland Museum of Art open-access records (CC0).
  2. Research drafter · Gemini with Google Search grounding

    What it does
    ai/draft-case.mjs takes one museum object. Gemini searches the web for its history, provenance and disputes; a script saves the pages; Gemini drafts six clues and six film shots using only those passages; code checks every quotation and number and writes a report of what passed and what was blocked. A person decides what enters the game.
  3. Voices, pictures and film

    Narration
    Gemini TTS (gemini-3.8-flash-tts, voice Gacrux) for the case history films. Gemini also translated the narration of the original Longmen chapter film into English; code checked numbers, names and clue titles before any line was voiced.
    Pictures
    Seven illustrations for the history films with gemini-3-pro-image: no people, and no object is reconstructed. Each is labelled “AI-generated illustration” on screen. The camp scenes are generated too and are labelled as a fictional setting.
    Film
    The camp's idle loop was made with Veo.
    Watch
    Case history films.

What Gemini never does here

It never grades, scores or decides a rating. It never states the case conclusion. It never changes or generates the image of an object. It never presents an inference as a museum record. It never opens the microphone on its own. The game stays playable when Gemini is unavailable.