{"data":{"slug":"outlines","name":"Outlines","tagline":"Apache-2.0 structured generation: JSON Schema, regex or grammar","category":"agents","categoryName":"AI Agents","url":"https://dottxt-ai.github.io/outlines/","github":"https://github.com/dottxt-ai/outlines","pricing":"open-source","hook":"Outlines is a Python library for structured generation: it constrains LLM output to a JSON Schema, a regex or a grammar, so you get valid structure instead of hoping the prompt works.","whatsGood":"Apache-2.0 (dottxt-ai/outlines), release 1.3.3 (2026-08-06). Useful when downstream code needs output that always parses.","theCatch":"Last commit 2026-08-24. The strongest guarantees come with local or self-hosted models, not with every API. ★~16k in about 187 weeks (~85 a week) with 60 watchers: judge it on the library, not the star count.","verdict":"The standard library for constrained output, best with models you run yourself.","addedAt":"2026-10-20","featured":false,"domain":"AI Agents","subSpecialty":"Agents","subcategory":"Agent Frameworks & SDKs","tags":["self-host","permissive","active"],"capabilities":[],"surfaces":["Self-host"],"ecosystem":["Multi-platform"],"licenseModel":"Apache-2.0","githubStars":15956,"starsPerWeek":85,"access":"free","archived":false,"repo":{"createdAt":"2023-03-17","pushedAt":"2026-08-24","license":"Apache-2.0","archived":false,"checkedAt":"2026-10-20"}},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/outlines","html":"/gems/outlines","markdown":"/gems/outlines.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}