Skip to content

Kiln

Published

Kiln is an open-source browser runtime for chat, transcription, and image models loaded directly from Hugging Face model files.

Visit Kiln

Overview

Kiln is a JavaScript library for developers building browser-based language, vision and speech applications. Rather than requiring an exported ONNX model or an inference server, it loads original model files and runs inference on the user's device. Its intended audience is developers who want to integrate local AI into a web application, rather than users seeking a finished chat service.

The documented workflow starts with installing kiln-webgpu through npm or importing its ES module from a CDN. Developers choose a supported model, create a task pipeline, and pass in messages, text or audio. The quickstart demonstrates text generation, embeddings and Whisper transcription; a separate loading API streams chat replies. Models can come from Hugging Face, a developer's server or local files.

Compatibility is the main boundary. Kiln implements model architectures individually, so accepting original weights does not mean every Hugging Face model will run. The repository explicitly excludes several families, including mixture-of-experts models and ModernBERT. WebGPU is the preferred browser execution path; the documented CPU fallback is slower. Node.js use requires version 22.12 or newer, with an additional WebGPU package for GPU execution.

Capabilities

  • Load original model weights

    Kiln accepts supported models without a conversion step and can quantize weights during loading. This keeps model preparation within the loading workflow. Official source

  • Constrain generated replies

    Applications can request schema-shaped or otherwise constrained responses instead of relying solely on free-form text prompts. Official source

  • Reuse downloaded models offline

    Browser caching supports repeat use, while interrupted downloads can resume. Offline loading applies to models already cached. Official source

  • Connect chat models to functions

    Developers can expose functions to a chat model or use the supplied calculator, time, Wikipedia and web-reading skills. Official source

What users say

No independent user feedback found

Supplied official GitHub page and two fetched feedback candidates; no broader search was performed for this article.

No independent user feedback about this specific product was found.

The supplied feedback candidates concern unrelated namesakes: a pottery-brawler game and a go-to-market consulting agency. Neither provides hands-on experience with this browser runtime. This assessment is limited to the supplied repository page and those two fetched candidates, not a claim that reviews do not exist elsewhere.

Sources

Sources checked .

Reviews

No ratings yet

No reviews yet

Be the first to share your experience.

Your review

Not rated

0 / 500

Advertisement

More Developer & Code tools

  • 10Web

    10Web provides AI-assisted WordPress website creation, hosting, and site management tools.

  • 1Password CLI

    1Password CLI lets developers and automation scripts securely access and manage vault items from the command line.

  • 1Password for Agents

    1Password for Agents enables AI assistants to sign into accounts through identity verification and user approval without receiving the underlying credentials.

  • Agent Plugins

    Packages your reusable Skills and MCP server configs once so compatible tools like ChatGPT, Codex, Cursor, and GitHub Copilot can load the same setup —free/open-source.

  • Agent Score

    Latitude scores production agents using session evidence across outcome, reliability, cost, speed, and safety, linking issues to traces and evaluations.

  • Agent Substrate

    Agent Substrate is an open-source Kubernetes runtime that suspends and resumes isolated agent environments while managing execution state and network access.