Projecthackathon

Built at JEVATHON (w/ The AI Collective)

Beethoven

A live band you conduct with paintings: arrange artworks on a musical staff, and every bar an AI conductor (TypeSafe Jev) decides how the band plays while Google's Lyria RealTime generates the music. # Painting Band 🎨🎶 **Arrange paintings on a staff. A playhead sweeps across. Every bar, an AI conductor decides how the band plays, and an AI music model plays it live.** Nothing is pre-recorded. The music is generated live from what's on the canvas. ## How it works 1. **See:** Gemini looks at each painting and writes how it should sound: mood words, sound ideas (e.g. "cascading koto arpeggios"), instruments, and the painting's musical tradition (Japanese, Hindustani, Western…). Upload your own image and it's described in about 2–3 s. 2. **Arrange:** Drag paintings onto the staff. - **Left → right** = when a painting plays - **Height** = register (high or low) - **Size** = how strongly its mood and sounds lead 3. **Conduct:** Every bar (~2.7 s), **TypeSafe Jev** answers up to 12 typed questions in parallel in ~150–300 ms: - how loud each painting should be, and the mood and energy - drums, bass and the lead instrument - two extra sounds and the transition - which culture leads when traditions mix Jev never plays notes; it only decides. 4. **Play:** Jev's choices become weighted text prompts plus density, brightness and mute settings for **Google Lyria RealTime**, which streams AI-generated 48 kHz audio and blends toward each new decision. The music changes when you move, resize, add or remove a painting. ## Architecture ``` Canvas → scene as words → Jev (decides) → translator → Lyria RealTime (plays) ↘ Strudel (backup engine) Images → Gemini vision → mood, sound ideas, instruments, culture ``` - **Deciders never make sound; engines never make decisions.** Code sits in between. - **Deadline-safe:** if Jev is later than 150 ms before the next bar, the band reuses the last bar's choices, so the music never stops. - **Always playing:** if Lyria stalls, the app switches to **Strudel** (a browser-based live-coding music engine) mid-song, and you can switch back with one click. - **Explainable:** the `</>` panel shows each bar's questions and Jev's odds for every option, the exact prompts sent to Lyria, what Gemini saw in each painting, and a live log of every model call. ## Features - Drag, resize and delete paintings; draggable playhead (Home = start) - Silence where there's no painting under the playhead - Upload any image; Gemini describes it (with automatic model fallback when busy) - Cultural awareness: each painting's musical tradition shapes the sound, and Jev picks which tradition leads - Jev vs. Rules toggle (keys J/R) to hear the difference judgement makes - Live stats: Jev latency, missed bars, and cost (~$0.00001 per bar) ## Tech stack - **Vite + React + TypeScript** - **TypeSafe Jev:** per-bar decisions (`/v1/systemone`, typed choice answers with confidence) - **Google Gemini:** image understanding (structured JSON output) - **Google Lyria RealTime:** streaming music generation (`@google/genai`) - **Strudel:** fallback engine (`@strudel/web`, General MIDI soundfonts) - API keys stay server-side behind a Vite proxy (except Lyria, which streams from the browser in this local demo) ## Run it ```bash npm install cp .env.example .env.local # add JEV_KEY, JEV_BASE_URL, VITE_GEMINI_KEY npm run dev ``` Open http://localhost:5173 and drag a painting onto the staff. ## Paintings Seven public-domain works from Wikimedia Commons: Hokusai, Monet, Van Gogh, Bruegel, Seurat, Rembrandt and Raja Ravi Varma.

View source
// latest_project_recording.mp4
// Project brief

A live band you conduct with paintings: arrange artworks on a musical staff, and every bar an AI conductor (TypeSafe Jev) decides how the band plays while Google's Lyria RealTime generates the music. # Painting Band 🎨🎶 **Arrange paintings on a staff. A playhead sweeps across. Every bar, an AI conductor decides how the band plays, and an AI music model plays it live.** Nothing is pre-recorded. The music is generated live from what's on the canvas. ## How it works 1. **See:** Gemini looks at each painting and writes how it should sound: mood words, sound ideas (e.g. "cascading koto arpeggios"), instruments, and the painting's musical tradition (Japanese, Hindustani, Western…). Upload your own image and it's described in about 2–3 s. 2. **Arrange:** Drag paintings onto the staff. - **Left → right** = when a painting plays - **Height** = register (high or low) - **Size** = how strongly its mood and sounds lead 3. **Conduct:** Every bar (~2.7 s), **TypeSafe Jev** answers up to 12 typed questions in parallel in ~150–300 ms: - how loud each painting should be, and the mood and energy - drums, bass and the lead instrument - two extra sounds and the transition - which culture leads when traditions mix Jev never plays notes; it only decides. 4. **Play:** Jev's choices become weighted text prompts plus density, brightness and mute settings for **Google Lyria RealTime**, which streams AI-generated 48 kHz audio and blends toward each new decision. The music changes when you move, resize, add or remove a painting. ## Architecture ``` Canvas → scene as words → Jev (decides) → translator → Lyria RealTime (plays) ↘ Strudel (backup engine) Images → Gemini vision → mood, sound ideas, instruments, culture ``` - **Deciders never make sound; engines never make decisions.** Code sits in between. - **Deadline-safe:** if Jev is later than 150 ms before the next bar, the band reuses the last bar's choices, so the music never stops. - **Always playing:** if Lyria stalls, the app switches to **Strudel** (a browser-based live-coding music engine) mid-song, and you can switch back with one click. - **Explainable:** the `</>` panel shows each bar's questions and Jev's odds for every option, the exact prompts sent to Lyria, what Gemini saw in each painting, and a live log of every model call. ## Features - Drag, resize and delete paintings; draggable playhead (Home = start) - Silence where there's no painting under the playhead - Upload any image; Gemini describes it (with automatic model fallback when busy) - Cultural awareness: each painting's musical tradition shapes the sound, and Jev picks which tradition leads - Jev vs. Rules toggle (keys J/R) to hear the difference judgement makes - Live stats: Jev latency, missed bars, and cost (~$0.00001 per bar) ## Tech stack - **Vite + React + TypeScript** - **TypeSafe Jev:** per-bar decisions (`/v1/systemone`, typed choice answers with confidence) - **Google Gemini:** image understanding (structured JSON output) - **Google Lyria RealTime:** streaming music generation (`@google/genai`) - **Strudel:** fallback engine (`@strudel/web`, General MIDI soundfonts) - API keys stay server-side behind a Vite proxy (except Lyria, which streams from the browser in this local demo) ## Run it ```bash npm install cp .env.example .env.local # add JEV_KEY, JEV_BASE_URL, VITE_GEMINI_KEY npm run dev ``` Open http://localhost:5173 and drag a painting onto the staff. ## Paintings Seven public-domain works from Wikimedia Commons: Hokusai, Monet, Van Gogh, Bruegel, Seurat, Rembrandt and Raja Ravi Varma.

// Built with
// Watch & explore
// More from this event

Keep exploring what builders shipped.

All projects →

Worth Your Saturday

Worth Your Saturday

Worth Your Saturday is a decision-intelligence prototype that helps people discover what they actually won’t compromise on before spending their time. Using apartment hunting as the demo, Jev speculatively evaluates 1,872 evidence-level distinctions across five apartments; as a conversation clarifies the user’s priorities, the same evidence fields are re-projected with zero additional Jev evaluations to surface meaningful matches, tradeoffs, and unresolved questions. The result isn’t another ranked list—it’s a realistic Saturday of tours worth taking, delivered through an agent connected to iMessage with Photon Spectrum. The broader primitive is intent-conditioned salience: evaluate evidence broadly, discover what matters to the person, preserve consequential uncertainty, and allocate scarce human attention accordingly. Https://worth-your-saturday.vercel.app

TypeSafe AIPhoton

HackerSquad project

UnSlop

Slop isn't just AI, it can also be human. Unslop will input a website and cut out all the ineffective fluff/slop with context decisions and browserbase lookup centered around jev decision making.

TypeSafe AIBrowserbase

KYC-Sentinel

KYC Sentinel

KYC Sentinel: adverse-media screening for AML/KYC analysts. Jev judges, code decides, the LLM only writes. Compliance analysts waste hours clearing irrelevant news hits: same-name strangers, victims, passing mentions. KYC Sentinel pulls news for every client in a portfolio. Jev (TypeSafe AI) judges each client–article pair: same person? the perpetrator? what risk? how severe? A pure, unit-tested router then sorts every client into CLEAR / REVIEW / FLAGGED / NO_COVERAGE. • Fails closed: any uncertainty or model error means REVIEW, never CLEAR. • Autonomy Dial: a compliance manager drags strictness and the whole portfolio re-routes instantly from stored Jev probabilities, with zero new model calls. • Thresholds live in code, not prompts. The LLM only writes analyst memos, on demand, for flagged/review clients, citing sources. It never decides. • Full audit log of every decision, plus a live receipts meter. Results on a 26-client portfolio: 37 Jev calls, 0 errors, 0.9s, $0.0011, about 145× cheaper than the same job on a frontier LLM (est. $0.16). Famous-name collisions (Michael Jordan, Michael Cohen) are cleared as "different person" even when the other person's news is damning. Victims and identity-theft targets are cleared as "not the subject". Vague common-name mentions go to REVIEW. Documented fraud cases and a Tulsa accountant who shares Taylor Swift's name are surfaced, while the pop star's news is ignored. Stack: Jev (TypeSafe AI), FastAPI, GDELT, Gemini for memos, vanilla JS. 77 tests. Data note: GDELT rate-limited our network, so several clients use clearly labelled synthetic articles (domain synthetic-demo.local). Everything downstream runs identically.

TypeSafe AI