Cloud Native, Data & InfrastructureCloud Native, Data & Infrastructure
Hands-on Lab180min
INTERMEDIATE

Beyond the Chatbox: Ship On-Device AI in Your Browser

This lab shows how to replace chat-style AI with real-time, on-device browser inference. Participants compare JVM backend pose estimation with in-browser WebGPU models, then build live camera overlays and measure latency. They leave with a working project, extra labs, and a framework for choosing cloud vs. device AI.

talk.summaryAiDisclaimer

Marcel Bagemihl
Marcel BagemihlConsid
Stefan Ludwig
Stefan LudwigConsid

talkDetail.whenAndWhere

Tuesday, October 6, 13:30-16:30
TBA 8
talks.roomOccupancytalks.noOccupancyInfo
talks.description
Most AI features look the same: a chat panel bolted onto the side of the app. Chat is the command line of the AI era, powerful but lazy. In this lab, you'll build the alternative with your own hands: real ML models running inside the browser, powering interfaces that see, suggest, and react in real time, with no API key, no round trip, and no user data leaving the device.
We start on familiar ground: a Spring Boot + Kotlin service running pose estimation on the JVM with DJL. You'll measure its round-trip latency and write the number down. Then we move the model into the browser with LiteRT.js and WebGPU, step by step: first inference on a static image, then a live camera feed with a real-time skeleton overlay. In the final act, you'll race your browser against your own backend and produce the latency comparison that explains when AI belongs on-device, in the cloud, or nowhere at all.
You'll leave with a working project on your laptop, two bonus labs (in-browser semantic search and a camera-driven form that fills itself) to continue on the train home, and a decision framework you can defend in your next architecture discussion. The GDPR argument for inference that never leaves the device comes free with the code.
No machine learning background required. If you can build a Spring service and read TypeScript, you're good-to-go.
webgpu
ai
browser
latency
talks.speakers
Marcel Bagemihl

Marcel Bagemihl

Consid

Germany

Consultant @Consid, Organizer of Google Developer Group Chapter Stuttgart, Father, Husband and Bowler
Regularly sneaking frontend content to Java Conferences
Stefan Ludwig

Stefan Ludwig

Consid

Germany

Stefan Ludwig is a Consulting Software Engineer who cares deeply about building software that outlives its first release. His home turf is Kotlin and Spring Boot on the backend, deployed to Kubernetes on AWS, but over the years he has worked with enough languages, frameworks, and cloud setups to know there is no silver bullet. Stefan believes that good engineering is as much about pipelines, monitoring, and deployment strategies as it is about code, and that the best solutions emerge when developers talk directly to the people who use their software.