# Pothos: 7.9 out of 10

A strong pick. 3rd of 10 in [RPC and GraphQL libraries](https://elestia.ai/opensource/api-layers/index.md).

Pothos is a plugin-based, code-first GraphQL schema builder for TypeScript. It gives strong type inference without decorators or code generation. It is the strongest current pick for building a GraphQL schema in TypeScript, but it only builds the schema: you serve it with GraphQL Yoga, Apollo Server or Mercurius.

**Best for:** TypeScript teams building a GraphQL API who want inferred types without decorators or codegen, especially with Prisma or Drizzle.

## Scores

- **Overall: 7.9** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (7.5): Pothos is clearly the best pick for building a code-first GraphQL schema in TypeScript today. It beats TypeGraphQL on type inference and maintenance, and its usage is growing faster than the median. It is a schema builder, not a full server, and it relies heavily on one maintainer. Teams that do not need GraphQL are often better served by tRPC or oRPC.
  - GPT-6.2 Sol (8.2): I would pick Pothos over TypeGraphQL for a new project that wants a code-first GraphQL schema, given its resolver inference, plugin support, and faster release cadence. Its standard schema makes it a good fit with Yoga, while tRPC is a simpler fit for teams that need only TypeScript-to-TypeScript RPC. Smaller verified adoption and reliance on one lead maintainer keep it below the top tier for the full category.
- **Needed by many: 4.0** (likely 2.9 to 5.1)
  - Claude Opus 5.5 (4.0): Pothos serves only TypeScript developers who build GraphQL servers code-first. That is a clear niche inside a category where many teams now pick RPC tools such as tRPC or oRPC. It does run on any runtime and works with any GraphQL server.
  - GPT-6.2 Sol (3.9): GraphQL is an established choice among API teams, and Pothos works across server frameworks. Its audience is narrower because it fits teams that want to author a GraphQL schema in TypeScript. Postman's survey measures GraphQL use among API professionals, so it gives only an indirect estimate of how many JavaScript and TypeScript developers need Pothos.
- **Helps a lot: 8.5** (likely 7.4 to 9.2)
  - Claude Opus 5.5 (8.5): Pothos has excellent type inference without decorators, a minimal core and a deep set of official plugins for Prisma, Drizzle, Relay, DataLoader and auth. Independent comparisons rate it at or near the top of TypeScript GraphQL schema builders. The verbose builder syntax and the need for several plugins keep it short of a 9. Its docs publish an llms-full.txt, which helps AI coding agents.
  - GPT-6.2 Sol (8.5): Resolver inference and a broad plugin catalog make Pothos a strong code-first builder. An independent benchmark found little request-time overhead in its tested stacks, and 4.18.1 fixes a separate slowdown during schema builds. The compiler can catch mistakes in agent-written resolvers, but complex types can slow editor feedback and produce dense errors. The benchmark predates 4.18.1, and coding-agent accuracy was not measured.
- **Holds up over time: 7.7** (likely 6.5 to 8.7)
  - Claude Opus 5.5 (7.5): Activity is very high: about 1,000 commits and 130 releases last year, a release the day before the read, and 140 contributors. The v4 line has been stable for a long time. The main risk is that one lead maintainer does most of the work, and no company funding is visible.
  - GPT-6.2 Sol (7.8): Twelve core versions shipped in a year, and a reported Drizzle limitation drew a community patch that merged the next day. The v4 migration preserves v3 defaults through a compatibility option, though some plugin fixes require coordinated upgrades. Sponsors help support development, while contributions and visible publishing access remain concentrated. One quick merge gives limited evidence about typical response times.
- **Used widely: 4.6** (likely 3.5 to 5.8)
  - Claude Opus 5.5 (5.0): Downloads reached 2.7M in the last 4 weeks, up from 494k a year before. That 5.5x ratio is above the 4.1 median, so Pothos is gaining ground. Dependents (316 repos) and stars (2.6k) are well below TypeGraphQL and Yoga, so the number of projects that choose it is more modest than the downloads suggest.
  - GPT-6.2 Sol (4.2): Four-week downloads rose from 494,024 to 2.72 million, or 5.5× year over year. That exceeds the 4.1× catalog baseline and the growth ratios for TypeGraphQL and Yoga. Ecosyste.ms found 316 dependent repositories and 77 packages, with repository counts near Mercurius and far below TypeGraphQL and Yoga. Repeat installs, plugin-driven installs, and partial repository coverage leave the number of teams choosing Pothos uncertain.
- **Vouched for: 6.3** (likely 4.9 to 7.4)
  - Claude Opus 5.5 (6.0): Recent independent guides, such as Encore's 2026 guide, call Pothos the recommended default for code-first TypeScript GraphQL, and comparison write-ups rank it at the top. The README says Airbnb and Netflix use it, but that claim comes from the project itself. I found no current survey data and almost no Hacker News or Bluesky discussion.
  - GPT-6.2 Sol (6.6): Buildplace reports using Pothos in its backend, and the Hackers’ Pub API lists it and several plugins as dependencies. Prisma and GraphQL Yoga both show how to use it in their current docs, and an independent benchmark found low overhead in its test setup. Recent evidence of adoption at large organizations and broad satisfaction data are limited.
- **Safe: 7.8** (likely 6.6 to 8.9)
  - Claude Opus 5.5 (8.0): No advisories have ever been published, the core has no dependencies besides the graphql peer, and the ISC licence is permissive. No Scorecard data exists, and releases appear to depend on a small number of publishers. That keeps the score from going higher.
  - GPT-6.2 Sol (7.5): Core uses the permissive ISC license and declares GraphQL.js as its only runtime peer dependency. OSV lists zero core advisories, and a November release fixed an authorization issue in the optional scope-auth plugin. Release automation requests npm provenance and configures a publishing token, while the available npm snapshot lists one collaborator. The missing Scorecard and lack of a published GitHub security policy limit confidence.

## Good

- Resolver arguments, parents and return types are inferred from plain TypeScript, with no decorators and no code generation step.
- Official plugins cover Prisma, Drizzle, Relay, DataLoader, auth scopes, errors, validation and tracing.
- The core has no runtime dependencies besides graphql, and its output is a standard schema that works with any GraphQL server.
- It is maintained very actively, with about 1,000 commits and 130 package releases in the last year.

## Bad

- It only builds the schema, so you still need a separate server such as GraphQL Yoga or Apollo Server.
- The fields: (t) => ({...}) builder style is verbose, and validation, DataLoader and directives each need a separate plugin.
- Most of the work comes from one lead maintainer, so the project depends heavily on one person.
- It serves only GraphQL, and many full-stack TypeScript teams now choose tRPC or oRPC instead of GraphQL.

## The numbers

- Downloads, 4 weeks: 2.7M
- In a year: ×5.5
- GitHub stars: 2.6k
- Commits, 12 months: 1k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: ISC
- GitHub: https://github.com/hayes/pothos
- npm: https://www.npmjs.com/package/@pothos/core

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
