Local AI use cases with TypeScript

TypeScript is JavaScript with types. In local AI projects it shows up when small models are trained and run directly in the browser or in Node, so text never leaves the user's machine and no separate ML runtime is needed.

3 real examples, each linked to its original source.

BubbleFacts: source-checked song facts on stream from a local 3B model

An open-source desktop app for streaming musicians and DJs shows short facts about the song being played as OBS bubbles, written by Llama 3.2 3B on the streamer's own computer and screened against Wikipedia before anything is shown.

DEV Community (Christopher Feyrer) · 2026-11-22

A local eve agent on a 4B model that keeps its pending approval through kill -9

@VarunChopr17597 ran Vercel's open-source eve 1.1 agent framework against Qwen3.5-4B on llama.cpp on a CPU-only Linux box, with no Vercel account, and tested whether a tool waiting for human approval survives the server being killed.

X (@VarunChopr17597) · 2026-11-20

Marksage: a Markdown editor whose in-browser 385 KB models suggest fixes without sending text anywhere

Pablo Felipe trained tiny decision models that run inside the browser to suggest code-block languages and section types in his local-first Markdown editor, and shipped only the ones that beat his hand-written rules.

Pablo Felipe on DEV · 2026-11-14