nowfound

AI · August 13, 2025

langdiff

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.

Launched as “langdiff – Stream valid JSON from LLMs with type-safe callbacks”

langdiff launched on August 13, 2025 with 8 votes, #2,487 of 8,525 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.

What it does

Progressive UI from LLM. Contribute to globalaiplatform/langdiff development by creating an account on GitHub.

LangDiff is a Python library that solves the hard problems of streaming structured LLM outputs to frontends. LangDiff provides intelligent partial parsing with granular, type-safe events as JSON structures build token by token, plus automatic JSON Patch generation for efficient frontend synchronization. Build responsive AI applications where your backend structures and frontend experiences can evolve independently. Read more about it on the Motivationfrom github.com

Pricing, as stated on its site

Free — Free and open source

checked November 2026 · prices change

  • LLMs can generate valid JSON 100% of the time2023 · github.com · ▲854

    Outlines is a Python library for controlling text generation with large language models.

  • Magentic2023 · github.com · ▲283

    This is a Python package that allows you to write function signatures to define LLM queries. This makes it easy to mix regular code with calls to LLMs, which enables you to use the LLM for its creativity and reasoning while also enforcing structure/logic as necessary. LLM output is parsed for you according to the return type annotation of the function, including complex return types such as streaming an array of structured objects. I built this to show that we can think about using LLMs more fluidly than just chains and chats, i.e. more interchangeably with regular code, and to make it…

  • Robust LLM extractor for websites in TypeScriptMar 2026 · github.com · ▲72

    We've been building data pipelines that scrape websites and extract structured data for a while now. If you've done this, you know the drill: you write CSS selectors, the site changes its layout, everything breaks at 2am, and you spend your morning rewriting parsers. LLMs seemed like the obvious fix — just throw the HTML at GPT and ask for JSON. Except in practice, it's more painful than that: - Raw HTML is full of nav bars, footers, and tracking junk that eats your token budget. A typical product page is 80% noise. - LLMs return malformed JSON more often than you'd expect, especially with…

  • xmllm2024 · github.com · ▲5

    Simple structured data from any LLM.

  • A new benchmark for testing LLMs forApr 2026 · interfaze.ai · ▲60

    When building workflows that rely on LLMs, we commonly use structured output for programmatic use cases like converting an invoice into rows or meeting transcripts into tickets or even complex PDFs into database entries. The model may return the schema you want, but with hallucinated values like `invoice_date` being off by 2 months or the transcript array ordered wrongly. The JSON is valid, but the values are not. Structured output today is a big part of using LLMs, especially when building deterministic workflows. Current structured output benchmarks (e.g., JSONSchemaBench) only validate…

  • Use LLMs to Interact with APIs2024 · github.com · ▲35

    Recently featured in a LangChain blog https://blog.langchain.dev/empowering-development-with-flowt... , use LLMs to construct an API first runnable workflow with an IDE experience.

More ai this month

the category →
  • Free, open-source embroidery software for Mac and Windows. Turn SVG artwork into machine embroidery, edit stitches visually, and create designs with AI agents via MCP.

    AI · 10d ago · github.com

  • Make and publish 3D games with the first AI game engine

    AI · 25d ago · wanaka.app

  • Empacer▲468

    The voice-first assistant for small business owners

    AI · 26d ago · empacer.com

  • Keep your coding agent up to date with the latest web best practices

    AI · 12d ago · github.com

  • The community you trust in the assistant you use

    AI · 16d ago

  • A simulated world that makes your agent improve on every run

    AI · 17d ago · simulation.plurai.ai

Is langdiff yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗

Launched alongside, August 2025

the whole month →
  • Trace▲1,555

    Workflow Automations for the Human 👾 AI Workforce

    AI · 2025 · trace.so

  • A wooden pixel display constructed over six years renders images one pixel at a time, requiring 30 to 60 minutes per complete image.

    Work · 2025 · benholmen.com

  • Job boards are dead. Your network is alive

    AI · 2025 · contra.com

  • Kitten TTS▲1,003

    Kitten TTS is an open-source text-to-speech model smaller than 25 MB, designed to run on resource-limited devices like Raspberry Pi, smartphones, wearables, and browsers without requiring a GPU.

    AI · 2025 · github.com

  • This is an interactive visualization that demonstrates how to arrange objects along a spherical helix path using parametric equations.

    Life & fun · 2025 · visualrambling.space

  • A web service that generates a CSS gradient representation of the current sky at the user's approximate location.

    Dev tools · 2025 · sky.dlazaro.ca