18 first-party plugins to wire Pothos into your data layer, your auth model, your tracing stack, and the schema patterns your spec calls for. Every plugin ships with full TypeScript inference and zero runtime overhead beyond what you wire up.
Plug Pothos into the database / data layer you already use.
Efficient Prisma integration that solves N+1 queries and resolves nested fields the smart way.
@pothos/plugin-prismaDrizzle's relational query builder, type-safe and N+1-free out of the box.
@pothos/plugin-drizzleInline data-loaders on your types and fields — no per-app setup ceremony.
@pothos/plugin-dataloaderFold existing GraphQL types or SDL into your Pothos schema.
@pothos/plugin-add-graphqlBuilders for the schema patterns the spec calls for — connections, federation, sub-graphs, and friends.
Cursor-based connections, Node interfaces, and helpers for the Relay spec — done right.
@pothos/plugin-relayApollo Federation 2 schemas, the Pothos way.
@pothos/plugin-federationGenerate multiple subsets of one schema to share code between internal and external APIs.
@pothos/plugin-sub-graphType-safe GraphQL directives for fields, types, and arguments.
@pothos/plugin-directivesDefine plain object types without resolvers or manual type declarations.
@pothos/plugin-simple-objectsInline `input` objects defined right next to the field that uses them.
@pothos/plugin-with-inputAuthorization checks, typed errors, validation, and complexity limits — built in, type-safe.
Field- and type-level authorization checks with scope composition.
@pothos/plugin-scope-authStrongly-typed errors as union return types, with auto-resolved success types.
@pothos/plugin-errorsArgument validation via any StandardSchema v1 library — Zod, Valibot, ArkType.
@pothos/plugin-validationPer-field complexity scoring + query-level limits to protect resolvers.
@pothos/plugin-complexitySubscriptions and execution-plan plugins for real-time and large-graph workloads.
Mocking, tracing, and tools that make Pothos schemas easier to work on.