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

guidance-ai/guidance

A guidance language for controlling large language models. observed · 2026-08-28

github.com/guidance-ai/guidance · Jupyter Notebook · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 83
  • Release rhythm 63
  • Longevity 99
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: 40
  • age_days: 1392
  • days_rel: 168
  • days_push: 104
  • n_releases_24m: 8

Full methodology

Adoption not part of the score

21714 stars · 1201 forks observed · 2026-08-28

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

Guidance is a Python library providing an efficient programming paradigm for steering large language models, letting you interleave control flow (conditionals, loops, tool use) with generation. It supports constrained generation via regex and context-free grammars to guarantee output syntax, working with backends like Transformers, llama.cpp, and OpenAI.

Use cases

  • force an LLM to output valid JSON or structured data
  • constrain model generation with a regex or grammar
  • build prompt programs with control flow interleaved with generation
  • capture and reuse specific parts of model output
  • reduce latency and cost versus conventional prompting
  • prototype LLM apps in Jupyter notebooks

When to choose

  • you need guaranteed output syntax like JSON, regex, or CFG-constrained formats
  • you want deterministic structure from LLMs without fine-tuning
  • you want a Pythonic interface across multiple model backends
  • you're prototyping LLM workflows interactively in notebooks

When to avoid

  • you need a full agent framework with built-in memory and tool orchestration
  • your backend model isn't supported by one of Guidance's adapters
  • you only need simple one-off prompting without structured output

Facets

library · maturity active

llm-inference prompt-engineering nlp sdk large-language-models artificial-intelligence developer-tools python cross-platform constrained-generation structured-output llm-programming grammar-constrained-decoding jupyter natural-language-processing

2 sources

Member repositories

RepositoryRoleHealth v2
guidance-ai/guidancemain79

For agents

markdown · JSON · MCP: product_card(name="guidance-ai/guidance")

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