Forms, validation and schemas for projects built with AI agents
Form state, schema validation, typed data. 63 tools ranked by how many of 6,258 public projects built with AI coding agents use them, with downloads and GitHub stars. Downloads and stars checked Nov 24, 2026; project counts updated Nov 26, 2026.
How agent projects choose
Among JavaScript/TypeScript projects set up for AI coding agents, Zod leads with 32.5%, ahead of React Hook Form (11.7%) and React Hook Form Resolvers (10.3%). Projects with Zod most often also use TypeScript (93.5%). Among Python projects set up for AI coding agents, Pydantic leads with 33.1%, ahead of jsonschema (6.4%) and Protocol Buffers (2.7%). Projects with Pydantic most often also use Uvicorn (55.0%).
JS / TS
| Zod | 32.5% | |
|---|---|---|
| React Hook Form | 11.7% | |
| React Hook Form Resolvers | 10.3% | |
| Ajv | 3.2% | |
| ajv-formats | 1.2% |
Python
| Pydantic | 33.1% | |
|---|---|---|
| jsonschema | 6.4% | |
| Protocol Buffers | 2.7% | |
| email-validator | 2.5% | |
| marshmallow | 0.6% |
Share of 4,867 JS / TS and 1,623 Python projects in our scan that list each tool.
Head to head: Zod vs AjvPydantic vs jsonschema
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Zod npm TypeScript-first schema validation library with static type inference. |
89 | 1,582 (32.5%) | 471M | 44.4K | MIT |
| React Hook Form npm Performant form state library using React Hooks with minimal rerenders. |
86 | 569 (11.7%) | 68.3M | 44.9K | MIT |
| Pydantic pypi Data validation and parsing library using Python type hints. |
86 | 538 (33.1%) | 292M | 29.6K | MIT |
| React Hook Form Resolvers npm Validation resolvers for React Hook Form supporting Zod, Yup, and others. |
74 | 499 (10.3%) | 54.9M | 2,264 | MIT |
| Ajv npm Fast JSON Schema validator for runtime schema validation and serialization. |
78 | 154 (3.2%) | 547M | 14.9K | MIT |
| jsonschema pypi Python implementation of JSON Schema validation for structured data. |
75 | 104 (6.4%) | 164M | 4,998 | MIT |
| ajv-formats npm Format validation plugin for Ajv JSON schema validator (email, UUID, date, etc). |
59 | 58 (1.2%) | 217M | 229 | MIT |
| zod-to-json-schema npm · no longer maintained Convert Zod validation schemas to JSON Schema format. |
64 | 45 (0.9%) | 102M | 1,247 | ISC |
| Protocol Buffers pypi Serialization format and code generator for structured data. |
77 | 44 (2.7%) | 189M | — | 3-Clause BSD License |
| email-validator pypi Robust email validation library checking syntax and deliverability for Python. |
66 | 41 (2.5%) | 53.3M | 1,465 | Unlicense |
| drizzle-zod npm Generate Zod validation schemas automatically from Drizzle ORM database schemas. |
70 | 39 (0.8%) | 5.1M | 36.4K | Apache-2.0 |
| Valibot npm Modular and type-safe schema validation library for structural data with minimal bundle size. |
68 | 33 (0.7%) | 36M | 9,094 | MIT |
| TypeBox npm JSON Schema type builder with static type resolution for TypeScript validation. |
58 | 32 (0.7%) | 17M | 15 | MIT |
| zod-validation-error npm Format Zod validation errors into user-friendly readable messages. |
60 | 21 (0.4%) | 81.9M | 1,027 | MIT |
| TanStack Form npm Type-safe form state management for React with validation and error handling. |
64 | 20 (0.4%) | 7.2M | 6,771 | MIT |
| class-transformer npm Decorator-based transformation and serialization of plain objects to classes. |
65 | 17 (0.3%) | 18.2M | 7,337 | MIT |
| Yup npm Simple schema validation library for JavaScript with chainable API and error handling. |
69 | 17 (0.3%) | 16.6M | 23.6K | MIT |
| class-validator npm Decorator-based property validation for classes with TypeScript support. |
67 | 16 (0.3%) | 18.2M | 11.9K | MIT |
| express-validator npm Express middleware for input validation and sanitization. |
55 | 14 (0.3%) | 2.1M | 6,230 | MIT |
| Superforms npm · new in the catalog Forms with validation for SvelteKit. |
44 | 12 (0.2%) | 386K | 2,781 | MIT |
| vue-input-otp npm · new in the catalog One-time code input for Vue. |
34 | 12 (0.2%) | 232K | 90 | MIT |
| Formik npm Popular React form state management library with validation and submission handling. |
66 | 11 (0.2%) | 6.4M | 34.3K | Apache-2.0 |
| Swagger Parser npm · new in the catalog Parses and validates Swagger 2.0 and OpenAPI 3 definitions. |
51 | 11 (0.2%) | 8.4M | 1,210 | MIT |
| VeeValidate npm · new in the catalog Form validation for Vue.js. |
53 | 11 (0.2%) | 1.6M | 11.3K | MIT |
| marshmallow pypi Lightweight library for converting complex datatypes to and from native Python datatypes. |
70 | 10 (0.6%) | 22.4M | 7,243 | MIT |
| Validator.js npm String validation and sanitization library for JavaScript. |
70 | 10 (0.2%) | 36.7M | 23.7K | MIT |
| React Phone Number Input npm International phone number input component for React with validation. |
54 | 10 (0.2%) | 4.7M | — | MIT |
| Formsnap npm · new in the catalog Accessible form components for Svelte built on Superforms. |
35 | 10 (0.2%) | 219K | 805 | MIT |
| openapi-pydantic pypi Type-safe OpenAPI schema definitions using Pydantic for API documentation. |
52 | 9 (0.6%) | 19M | 127 | MIT |
| proto-plus pypi Pythonic protocol buffer library wrapping Google protobuf with better ergonomics. |
71 | 8 (0.5%) | 68.3M | 5,422 | Apache-2.0 |
| fastjsonschema pypi Fast JSON schema validation for Python with optimized performance. |
57 | 7 (0.4%) | 30M | 503 | BSD |
| Joi npm Popular schema validation library for runtime data validation with flexible rules. |
69 | 7 (0.1%) | 34.2M | 21.2K | BSD-3-Clause |
| react-number-format npm React component for formatting numbers in inputs with support for currencies, decimals, phone numbers and more. |
58 | 7 (0.1%) | 8.4M | 4,097 | MIT |
| dataclasses-json pypi Serialize and deserialize dataclasses to/from JSON with minimal boilerplate. |
62 | 6 (0.4%) | 12.8M | 1,486 | MIT |
| ormsgpack pypi Fast MessagePack serialization with dataclass and datetime support. |
55 | 6 (0.4%) | 14.5M | 406 | Apache-2.0 OR MIT |
| phonenumbers pypi · new in the catalog Python port of Google's libphonenumber: parse, format and validate phone numbers. |
57 | 5 (0.3%) | 12.7M | 3,782 | Apache-2.0 |
| ArkType npm · new in the catalog Runtime validator with TypeScript's own syntax, fast in editor and at runtime. |
53 | 5 (0.1%) | 3.5M | 7,892 | MIT |
| @cfworker/json-schema npm · new in the catalog JSON Schema validator that runs on Cloudflare Workers and other edge runtimes. |
54 | 4 (0.1%) | 16.6M | 707 | MIT |
| WTForms pypi · new in the catalog Form validation and rendering for Python web apps. |
45 | 4 (0.2%) | 2.6M | 1,583 | BSD |
| Conform npm · new in the catalog Progressively enhanced forms with schema validation for React and Remix. |
41 | 4 (0.1%) | 485K | 2,588 | MIT |
| zod-form-data npm · new in the catalog Zod schema validators for FormData and URLSearchParams parsing. |
34 | 4 (0.1%) | 333K | 967 | MIT |
| jsonref pypi Automatically dereferences JSON Reference objects in Python. |
56 | 3 (0.2%) | 23.1M | 156 | MIT |
| msgspec pypi Fast serialization and validation for JSON, MessagePack, YAML, TOML with schemas. |
58 | 3 (0.2%) | 9.8M | 4,230 | BSD-3-Clause |
| cattrs pypi Structured data serialization for attrs and dataclasses with composition support. |
50 | 3 (0.2%) | 8.5M | 1,061 | MIT |
| Pydantic Extra Types pypi Extended type validators and custom types for Pydantic schema validation. |
49 | 3 (0.2%) | 14.7M | 345 | MIT |
| GraphQL Scalars npm · new in the catalog Ready-made custom GraphQL scalar types (DateTime, Email, URL and more). |
47 | 3 (0.1%) | 5.4M | 1,931 | MIT |
| schema pypi Lightweight Python library for validating data structures against defined schemas. |
55 | 2 (0.1%) | 5.3M | 2,937 | MIT |
| AJV Keywords npm Additional JSON Schema keywords extension for the AJV JSON validator. |
52 | 2 (0.0%) | 116M | 259 | MIT |
| xmlschema pypi · new in the catalog Validates and decodes XML with XML Schema in Python. |
35 | 2 (0.1%) | 1.9M | 474 | MIT |
| py-serializable pypi · new in the catalog Serialize and deserialize Python objects to/from JSON and XML. |
41 | 2 (0.1%) | 12.2M | 7 | Apache-2.0 |
| Schemastery npm Type-driven schema validator providing type-safe data validation. |
76 | 1 (0.0%) | 1.4M | 286K | MIT |
| validators pypi Simple Python data validation library for common types like emails, URLs and credit cards. |
54 | 1 (0.1%) | 6.1M | 1,136 | MIT |
| jsonschema-rs pypi · new in the catalog High-performance JSON Schema validator for Python, written in Rust. |
45 | 1 (0.1%) | 2.5M | 838 | MIT |
| Pandera pypi · new in the catalog Lightweight data validation and testing tool for pandas DataFrames with schema validation. |
46 | 1 (0.1%) | 2.6M | 4,536 | MIT |
| pykwalify pypi Python library and CLI for JSON/YAML schema validation. |
40 | 0 (0.0%) | 628K | 296 | MIT |
| openapi-schema-pydantic pypi OpenAPI v3 specification schema as Pydantic classes for validation. |
35 | 0 (0.0%) | 204K | 122 | MIT |
| GenSON pypi · new in the catalog Generates JSON Schema from example JSON objects. |
45 | 0 (0.0%) | 4.9M | 740 | MIT |
| marshmallow-enum pypi Enum field type for Marshmallow schema validation library. |
47 | 0 (0.0%) | 2M | — | MIT |
| DataShape pypi Data description language for specifying and validating data structures. |
29 | 0 (0.0%) | 10.3K | — | BSD |
| jsonschema-spec pypi Object-oriented JSONSchema specification handling with structured path navigation. |
28 | 0 (0.0%) | 85.7K | 11 | Apache-2.0 |
| Cerberus pypi · new in the catalog Lightweight schema validation for Python dictionaries. |
40 | 0 (0.0%) | 901K | 3,282 | ISC |
| dacite pypi · new in the catalog Simple creation of typed dataclasses from Python dictionaries. |
47 | 0 (0.0%) | 6.9M | 2,076 | MIT |
| json-schema-to-pydantic pypi · new in the catalog Auto-generate Pydantic v2 models from JSON Schema definitions. |
36 | 0 (0.0%) | 760K | 46 | MIT |
Nothing here matches. Search all tools →
Other categories
Web frameworks UI components and icons Styling and CSS Animation and motion 3D and graphics Charts and data visualisation State and data fetching Markdown, editors and content Desktop and mobile apps Utilities Model SDKs Agent, MCP and tool libraries Prompts, structured output and evals ML and data science Databases, ORMs and clients SDKs for hosted services Auth and security libraries Jobs, queues and workflows Files, images and media Scraping, browsers and parsing HTTP servers and APIs HTTP clients and networking Testing Linting and formatting Languages, types and runtimes Build tools and bundlers Dev workflow and config Logging, monitoring and analytics Crypto and web3 Game development