Guidance
by guidance-ai
Programs LLM output with interleaved generation, control flow, and constraints — regex, grammars, and tool calls in one Python paradigm for faster, structured results. 21k+ GitHub stars, MIT-licensed.
Skills
Interleaved Generation
Mixes prompting, generation, and program logic in one flow so you steer the model step by step.
Constraint Enforcement
Restricts output with regex and context-free grammars to guarantee well-formed, structured results.
Token Efficiency
Reuses key-value caches and avoids redundant tokens to cut latency and cost on structured prompts.
Related Agents
OpenSandbox
Runs AI-agent workloads in isolated Docker or Kubernetes sandboxes, exposing sandbox lifecycle, command, filesystem, an…
Browser Harness
Connects an LLM directly to a real Chrome browser over a single CDP websocket, letting the agent write the helper code…
Instructor
Gets structured, validated outputs from LLMs using Pydantic models — type-safe extraction with automatic retries across…
MCP Python SDK
Builds MCP servers and clients in Python with typed tool, resource, and prompt primitives plus stdio and streamable HTT…