{"adoption": {"forks": 213, "observed_at": "2026-08-28T04:06:21.020820+00:00", "stars": 2162}, "canonical_url": "https://ross.abutalabs.com/products/node-llama-cpp", "card": {"archived": false, "artifact_type": "library", "description": "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", "domain": ["large-language-models", "artificial-intelligence", "machine-learning", "developer-tools", "self-hosted"], "enriched": true, "function": ["llm-inference", "machine-learning", "rag", "cli", "sdk", "chatbot"], "health_score": 98, "homepage": "https://node-llama-cpp.withcat.ai", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["withcatai/node-llama-cpp"], "name": "withcatai/node-llama-cpp", "platform": ["windows", "bun", "cli"], "pushed_at": "2026-08-11T23:19:09+00:00", "repo": "withcatai/node-llama-cpp", "stars": 2162, "tags": ["llamacpp-bindings", "gguf", "-schema-grammar", "function-calling", "embeddings", "reranking", "local-llm", "typescript", "cuda", "metal", "vulkan", "prebuilt-binaries", "nodejs", "macos", "linux", "electron", "gpu"], "topics": ["ai", "bindings", "catai", "llama", "llama-cpp", "llm", "nodejs", "prebuilt-binaries", "grammar", "gguf", "cuda", "metal", "json-schema", "cmake", "cmake-js", "self-hosted", "embedding", "function-calling", "gpu", "vulkan"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/node-llama-cpp", "repo": "withcatai/node-llama-cpp", "role": "main", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.020820+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:50:14.803491+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4672af7368618f4be940ecb0358d4b1fc4a511ade52774c965d313e6b4f4d5ff", "fetched_at": "2026-08-28T04:06:21.020820+00:00", "kind": "readme", "missing": false, "url": "https://github.com/withcatai/node-llama-cpp"}, {"content_hash": "398d98ca2aab748b916f285dd246b130d7d8c92f9af9ea628ed7bd88f4d0de63", "fetched_at": "2026-08-29T10:30:18.207367+00:00", "kind": "homepage", "missing": false, "url": "https://node-llama-cpp.withcat.ai"}, {"content_hash": "d3759e8eda9f8949d2cb2ba160e0273f12d915605f7f95ccff5206bc7ca2098d", "fetched_at": "2026-08-29T10:30:18.210273+00:00", "kind": "site_page", "missing": false, "url": "https://node-llama-cpp.withcat.ai/guide/grammar"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 79, "rhythm": 97}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1117, "days_push": 22, "days_rel": 22, "gap_med": 11.0, "n_releases_24m": 45}, "score": 93, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}