Lists & resources

pydantic-jev-examples

@adtyavrdhn1Pythonupdated 2026-09-17runnable

Pydantic AI capabilities made stronger with Jev: small runnable demos, one file each

adtyavrdhn/pydantic-jev-examples

Where it calls Jev

# dependencies = ["pydantic-ai-slim[anthropic]>=2", "typesafe-sdk>=0.6", "logfire>=4", "rich"]

flappy_bird/demo.py:3

The link points at the commit we read, so the line number still holds.

What it asks Jev

These question sets are lifted from this project's source exactly as written.

from shell_guard/shell_guard.py:87

  1. irreversibletrue/false

    Would running this destroy data, rewrite shared history, or leak secrets, irreversibly?

Run it on your own text

The code
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    irreversible: { type: 'boolean', instructions: 'Would running this destroy data, rewrite shared history, or leak secrets, irreversibly?' },
  },
});

Other projects in this category