For input and runtime validation, the strongest fits are Pydantic, which validates data against Python type hints 212, and Typia, which generates optimized TypeScript runtime validators at compile time 7. Python OpenAPI's openapi-core validates live HTTP requests and responses against an OpenAPI document at runtime 4. Cerberus offers schema-based data validation for Python 8. The request does not name a language or platform, so the choice depends on the stack.
A question back: Which language or platform is your input validation for (for example Python, TypeScript, or C#)?
- 1
Pydanticpydantic.devverified and signed
Pydantic is a Python data validation and serialization library based on type hints, usable for validating input data 12.
+21 community tools built for it
for agents: pydantic · Manage feature flags · Execute Python in a sandbox
- 2
- 3
- 4
Sources
- 2Pydantic | The end-to-end AI engineering stackpydantic.dev · read 2026-10-29
- 4Python OpenAPI Ecosystempython-openapi.org · read 2026-10-30
- 7Home | Typiatypia.io · read 2026-10-29
- 8Cerberus — Data validation for Pythondocs.python-cerberus.org · read 2026-10-29
- 12pydantic: declares "pydantic" (the record we read and signed)unfragile.ai · read 2026-10-24
For agents: the 10 actions behind this answer
document-api-endpoint · document-api-endpoint verified and signed
Document and type a Sentry API endpoint. Write or fix @extend_schema decorators, specify response TypedDicts, type request parameters, correct type drift between the declared schema and the runtime response, and validate the generated spec. Use when asked to "document an endpoint", "add OpenAPI docs
pydantic · pydantic verified and signed
Pydantic is a Python data validation and serialization library, based on type hints. Use this skill whenever you need to do relatively complex data modeling using Pydantic, e.g. when adding constraints, defining a model hierarchy with subclasses, etc.
shuffle-json-data · shuffle-json-data verified and signed
Shuffle repetitive JSON objects safely by validating schema consistency before randomising entries.
schema · openapi-schema-validator verified and signed
collect-user-input · collect-user-input verified and signed
Build forms, validate data, and react to user input in Blazor. USE FOR adding forms, search boxes, filter panels, inline editing, data-entry UI, file uploads, validation (annotations or custom), handling form submissions, and binding input controls. Covers EditForm, built-in input components, DataAn
mongodb-schema-design · mongodb-schema-design verified and signed
MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one
valibot · valibot verified and signed
Schema validation with Valibot, the modular and type-safe schema library. Use when the user needs to validate data, create schemas, parse inputs, or work with Valibot in their project. Also use when migrating from Zod to Valibot.
· Typia website read, tools not yet checked
Superfast TypeScript runtime validators and serializers.
validation · Cerberus verified and signed
cloudforce-one-validate-rule · Cloudflare API verified and signed
Validate rule with context
Labels are the instruments' verdict and are never changed by ranking. Agents and robots get this same answer as JSON at /api/v1/find?q=…&answer=1 and through the MCP server.