Show HN: langdiff – Stream valid JSON from LLMs with type-safe callbacks
5 maitrouble 1 8/13/2025, 4:22:08 AM github.com ↗
Ever had json.loads() explode halfway through an LLM stream? langdiff fixes that with a schema + callback approach.
Define your schema → attach callbacks → push streaming tokens → get structured events immediately.
Comments (1)
maitrouble · 7h ago
demo: https://globalaiplatform.github.io/langdiff/