Ross ROSS = Recommend OSS · open-source software intelligence for agents

withcatai/node-llama-cpp

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level observed · 2026-08-28

github.com/withcatai/node-llama-cpp · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

93/100

  • Activity 97
  • Release rhythm 97
  • Longevity 79
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 11.0
  • age_days: 1117
  • days_rel: 22
  • days_push: 22
  • n_releases_24m: 45

Full methodology

Adoption not part of the score

2162 stars · 213 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

node-llama-cpp is a Node.js library providing bindings to llama.cpp for running LLMs locally, with pre-built binaries and automatic GPU support (Metal, CUDA, Vulkan). It includes a CLI for chatting with models, JSON schema-enforced generation, function calling, and embedding/reranking support.

Use cases

  • run llama.cpp models from node.js
  • chat with local LLMs without writing code
  • force model output to follow a JSON schema
  • implement function calling with local models
  • generate embeddings for semantic search
  • run AI models offline on my own machine
  • build an Electron app with local LLM inference

When to choose

  • you want local, private LLM inference in a Node.js, Bun, or Electron app
  • you need structured output enforced via grammar or JSON schema
  • you want zero-config GPU acceleration with prebuilt binaries
  • you need embeddings or reranking alongside text generation

When to avoid

  • you need to serve many concurrent users at scale (use a dedicated inference server)
  • your stack is Python and you prefer native llama-cpp-python bindings
  • you rely on cloud-hosted LLM APIs rather than local models

Facets

library · maturity active

llm-inference machine-learning rag cli sdk chatbot large-language-models artificial-intelligence machine-learning developer-tools self-hosted windows bun cli llamacpp-bindings gguf -schema-grammar function-calling embeddings reranking local-llm typescript cuda metal vulkan prebuilt-binaries nodejs macos linux electron gpu

3 sources

Member repositories

RepositoryRoleHealth v2
withcatai/node-llama-cppmain93

For agents

markdown · JSON · MCP: product_card(name="withcatai/node-llama-cpp")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem