Building an article assistant: local AI in the browser with cloud fallback

I built an “article assistant” that can answer questions about a page using local AI in the browser — with a cloud fallback when needed. This post is a conceptual walkthrough of how it works, from on-device inference with Gemini Nano to a simple capability-based routing layer.