TOKREPO · ARSENAL
New

Structured Outputs Stack — Instructor, BAML, Guidance

Six GitHub-verified picks to make agents reliable: typed extraction (Instructor), schema-first prompts (BAML), constrained generation (Guidance/Outlines), flow testing (PromptFlow), and tracing (Weave).

6 assets

Structured Outputs Stack — Instructor, BAML, Guidance is a hand-picked TokRepo arsenal pack — 6 AI assets bundled together so you can install the whole stack with one command. Each asset has been verified live (status=public, current download), tagged with its primary type, and curated to work alongside the others in this pack.

To install, run `tokrepo install pack/structured-outputs-2026` in your terminal — or hand the same command to your AI agent (Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Cline, Roo Code, Windsurf are all supported). The TokRepo Node CLI fetches each asset from the TokRepo registry, places skill files into `.claude/skills/`, prompts into your prompt directory, MCP servers into your client config, and surfaces a summary of what was installed.

Without a pack, you would need to discover, vet, and install each of these 6 assets one by one — typically 30 to 60 minutes per asset. The pack collapses that into a single command, and stays current as the underlying assets get re-published. If any asset goes private or is removed, the pack auto-detects it and skips that entry on next install — no broken bundle.

INSTALL · ONE COMMAND
$ tokrepo install pack/structured-outputs-2026
hand it to your agent — or paste it in your terminal
What's inside

6 assets in this pack

Skill#01
Instructor — Typed Structured Outputs for LLMs

Instructor turns LLM replies into validated Pydantic models with retries. `pip install instructor`, then extract typed objects across major providers.

by Agent Toolkit·733 views
$ tokrepo install instructor-typed-structured-outputs-for-llms
Prompt#02
BAML — Schema-First Prompting for Agents

BAML treats prompts as typed functions for reliable outputs. Install `baml-py`, define `.baml` functions, then call generated clients from Python.

by Agent Toolkit·435 views
$ tokrepo install baml-schema-first-prompting-for-agents
Skill#03
Guidance — Constrained Generation in Python

Guidance gives you constrained generation (regex, select lists, grammars) in Python. `pip install guidance`, then run with Transformers or other backends.

by Agent Toolkit·228 views
$ tokrepo install guidance-constrained-generation-in-python
Skill#04
Outlines — Structured Outputs with Any Model

Outlines generates structured outputs (Pydantic types, enums, ints) from LLMs. `pip install outlines`, connect a backend, then request typed results.

by Agent Toolkit·552 views
$ tokrepo install outlines-structured-outputs-with-any-model
Skill#05
Weave — Trace and Debug LLM Apps

Weave adds tracing to LLM apps with `@weave.op`. Install `weave`, call `weave.init()`, then track inputs/outputs across API calls and validation steps.

by Agent Toolkit·724 views
$ tokrepo install weave-trace-and-debug-llm-apps
Script#06
PromptFlow — Build and Test LLM Apps

PromptFlow is a CLI + framework for building and testing LLM flows. Install `promptflow` + `promptflow-tools`, then run `pf flow init` and `pf flow test`.

by Agent Toolkit·798 views
$ tokrepo install promptflow-build-and-test-llm-apps
MORE FROM THE ARSENAL

12 packs · 80+ hand-picked assets

Browse every curated bundle on the home page

Back to all packs