Skip to content

Jev directory

Advocaat

A small TypeScript client for asking typed questions about your data: one ask call mixes yes/no, choice, and score questions and returns probabilities, selected options, and confidences.
Stars
99
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
pithings
Last verified
Sep 2026

pithings/advocaat

Organization repository on GitHub

View on GitHub

A small, type-safe client for asking AI questions about your data, powered by TypeSafe Jev.

Forks
2
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

A small, type-safe client for asking AI questions about your data, powered by TypeSafe Jev. Get probabilities, choices, and scores in one request. skills/advocaat/SKILL.md teaches coding agents how to design questions and build with ask. Using Vercel instead? See Vercel AI Gateway. Ask several questions about the same data in one request: Answers use the same keys as your questions. Mix any of these forms in one ask call: The examples below reuse ask and issue from the quick start.

Quoted from the project's README. Read the full README.

Highlights

  • Question helpers: ask.if, ask.chance, ask.choice, ask.switch, and ask.score.
  • Choices support 2 to 255 options; scores support 2 to 10 ordered levels.
  • Works with TypeSafe directly or through the Vercel AI Gateway.
  • Ships an agent skill at skills/advocaat/SKILL.md.

Watch out

An API key is required unless one is set in the environment, whether from TypeSafe, the Vercel AI Gateway, or VERCEL_OIDC_TOKEN.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai