Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

TypeBox

JSON Schema type builder with static type resolution for TypeScript validation.

Forms, validation and schemas npm MIT

Used in agent projects
30
0.6% of 4,818 JS/TS repos built with AI coding agents
Gid Score
55 /100
#1110 of 3,794 tools, #29 in forms, validation and schemas · ranking
Rank in forms, validation and schemas
#13 of 61
by use in those projects
Downloads
118M
npm, last 7 days, @sinclair/typebox
GitHub stars
12
1 forks · last push Jul 18, 2026

How TypeBox is used

TypeBox is a dependency in 30 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,818 JavaScript/TypeScript ones), #13 of 61 in forms, validation and schemas. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 71; those are left out of every share on this page. The most used alternative in our scan is Zod (1,553 projects). Projects that use it most often also use Clack Prompts (80.0%), oxfmt (80.0%), oxlint (80.0%). It is more common in projects set up for OpenClaw (8.5%) than for GitHub Copilot (0.2%).

TypeBox popularity over time

Top tools by Gid Score

TypeBox: downloads per weeknpm, @sinclair/typebox 66,935,693
TypeBox: GitHub starssinclairzx81/sinclair-typebox 12

Gid Score 55: downloads 100, use in agent projects 46, GitHub stars 0, downloads trend 56 (each 0-100). How it is calculated.

Often used with TypeBox

Clack Prompts80.0% of TypeBox projects · 80.1× more than average
oxfmt80.0% of TypeBox projects · 32.2× more than average
oxlint80.0% of TypeBox projects · 26.6× more than average
oxlint-tsgolint80.0% of TypeBox projects · 59.1× more than average
Playwright Core80.0% of TypeBox projects · 66.2× more than average
tsx80.0% of TypeBox projects · 5.3× more than average
yaml80.0% of TypeBox projects · 25.7× more than average
Vitest80.0% of TypeBox projects · 3.9× more than average

By coding agent

Claude Code0.8% of projects set up for it
OpenClaw8.5% of projects set up for it
Gemini CLI3.0% of projects set up for it
GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list TypeBox as a dependency.

Install

Packagenpm install @sinclair/typebox
Main stacksTypeScript / JavaScript (24), Python (6)
Example projectsBitterbot-AI/bitterbot-desktop, ArgentAIOS/argentos-core, raucvr/Group-Goki, fatihguner/foreman, hashSTACS-Global/EnClaws

Alternatives to TypeBox

All forms, validation and schemas

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside TypeBox are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Zod npm
TypeScript-first schema validation library with static type inference.
88 1,553 (32.2%) 207M 44.2K MIT
Ajv npm
Fast JSON Schema validator for runtime schema validation and serialization.
75 151 (3.1%) 233M 14.9K MIT
Valibot npm
Modular and type-safe schema validation library for structural data with minimal bundle size.
62 33 (0.7%) 13.1M 9,044 MIT
Yup npm
Simple schema validation library for JavaScript with chainable API and error handling.
64 17 (0.4%) 6.8M 23.7K MIT

More in Forms, validation and schemas: React Hook Form Pydantic React Hook Form Resolvers jsonschema ajv-formats Protocol Buffers zod-to-json-schema email-validator

Is TypeBox right for your project? Ask AgentGid →