---
title: "lmql"
type: "tool"
slug: "eth-sri-lmql"
canonical_url: "https://www.graphcanon.com/tools/eth-sri-lmql"
github_url: "https://github.com/eth-sri/lmql"
homepage_url: "https://lmql.ai"
stars: 4200
forks: 220
primary_language: "Python"
license: "Apache-2.0"
archived: false
categories: ["model-training", "llm-frameworks"]
tags: ["python", "programming-language", "chatgpt", "huggingface", "language-model"]
updated_at: "2026-07-11T10:54:53.724885+00:00"
---

# lmql

> A language for constraint-guided and efficient LLM programming.

A language for constraint-guided and efficient LLM programming.

## Facts

- Repository: https://github.com/eth-sri/lmql
- Homepage: https://lmql.ai
- Stars: 4,200 · Forks: 220 · Open issues: 120 · Watchers: 19
- Primary language: Python
- License: Apache-2.0
- Last pushed: 2025-05-22T07:32:31+00:00

## Trust & health

_Signals computed from public GitHub metadata. Not a security guarantee._

- Maintenance: Dormant (computed 2026-07-11T10:54:51.999Z)
- Security scan: No lockfile (0 critical, 0 high, 0 medium, 0 low) · last scan 2026-07-11T10:54:52.732Z
- Full report: [trust report](/tools/eth-sri-lmql/trust.md) · [JSON](https://www.graphcanon.com/api/graphcanon/tools/eth-sri-lmql/trust)

## Categories

- [Model Training](/categories/model-training.md)
- [LLM Frameworks](/categories/llm-frameworks.md)

## Tags

python, programming-language, chatgpt, huggingface, language-model

## Category neighbours (exploratory)

_Same-category tools for discovery only - not curated alternatives. Cap shown at six._

- [awesome](/tools/sindresorhus-awesome.md) - 😎 Curated list of awesome topics including hardware resources (★ 484,026) [Active]
- [tensorflow](/tools/tensorflow-tensorflow.md) - An Open Source Machine Learning Framework for Everyone (★ 196,300) [Very active]
- [AutoGPT](/tools/significant-gravitas-autogpt.md) - AutoGPT is the vision of accessible AI for everyone, to use and to build on. (★ 185,464) [Very active]
- [ollama](/tools/ollama-ollama.md) - Get up and running with various large language models using Ollama. (★ 175,936) [Very active]
- [prompts.chat](/tools/f-prompts-chat.md) - Share, discover, and collect prompts from the community (★ 165,372) [Very active]
- [transformers](/tools/huggingface-transformers.md) - Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models (★ 162,482) [Very active]

_+ 2 more not listed._

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/tools/eth-sri-lmql`](/api/graphcanon/tools/eth-sri-lmql)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
