Structured outputsruntime

Get typed answers back from your agent

A JSON schema on the agent or the session. The answer arrives typed.

output_schematyped
$ vetta run --schema deal.json
{
  "company": "Northwind",
  "score": 82,
  "risks": ["churn", "pricing"],
  "next_step": "call founder"
}
fields4
  • company · stringvalid
  • score · integer · 0–10082valid
  • risks · string[]2valid
  • next_step · enumvalid
schema validatedno parsing on your side

Paste and ship

Drop this into Claude Code, Codex, or Cursor. It reads the docs and wires up Structured outputs for you.

Agent prompt
Read https://vetta.sh/docs/capabilities/structured-outputs and use the naïve Structured outputs primitive in my project. It is part of the runtime layer; wire it through naive.config.ts rather than calling a vendor directly.

Related primitives