On this page

Introduction to Hive

Hive is an open-source, MIT-licensed GraphQL federation platform - Hive Console (schema registry and observability), Hive Router (Rust) and Hive Gateway (TypeScript).

Hive is a MIT open-source GraphQL platform for managing, collaborating on, and serving all your GraphQL projects. Hive is fully compatible with GraphQL Federation, monolithic, or Schema Stitching projects.

It has three parts, and you can adopt each one on its own:

  • Hive Console - the schema registry and observability layer.
  • Hive Router - a GraphQL Federation router written in Rust.
  • Hive Gateway - a GraphQL gateway written in TypeScript.

Together they give you what you need to gain insights, make decisions, and evolve your GraphQL API with confidence:

Coming from Apollo? See Hive as an alternative to Apollo GraphOS and Hive Router as an alternative to Apollo Router.

Hive Console

Hive Console is our schema registry and the home of your usage insights, alerts, traces and Laboratory. To get started with Hive Console, you can choose between using our hosted version or opt to self-host if your company does not allow cloud solutions. The self-hosted version is the same software, with no feature held back. For most cases, the hosted solution is significantly simpler and very affordable. See Pricing for details.

Hive Router

Hive Router is a high-performance, open-source GraphQL Federation router written in Rust. It acts as the central entry point for all incoming GraphQL requests, efficiently planning and executing them across your distributed subgraph services. It runs as a Docker image or a single binary with a YAML configuration file, and is extended with Rust plugins or coprocessors in any language.

Hive Gateway

Hive Gateway is a GraphQL gateway written in TypeScript that can act as a GraphQL Federation gateway, a subgraph, or a proxy gateway — making it suitable for any GraphQL API. It can be ran as a Docker image, binary, or JavaScript package with minimal configuration, or customized to meet your needs.

Hive Router or Hive Gateway?

Both are MIT licensed, both serve a supergraph from a file or from a schema registry such as Hive Console, and both report usage to Hive Console. They differ in where they run and how you extend them.

Hive RouterHive Gateway
Written inRustTypeScript
Runs asBinary or Docker imageBinary, Docker image, or a package on Node.js, Bun, Deno and serverless platforms
Configured withYAMLTypeScript (gateway.config.ts) or CLI flags
Extended withRust plugins, coprocessors in any languageTypeScript plugins
Federationv2v1 and v2
Non-federated GraphQL APINoYes, as a proxy
SubscriptionsYesYes, including event-driven subscriptions
@defer and @streamNot yetYes
Response cachingNot yetYes
Rate limitingThrough a coprocessor or pluginYes
MCP server for AI agentsNoYes, in beta
Best forThe highest throughput and lowest memory use on dedicated infrastructureTeams that extend the gateway in TypeScript, or run on serverless and edge runtimes

Hive Gateway can also run the query planner of Hive Router as a native addon. See the Rust Query Planner.

Hive Logger

Hive Logger is a lightweight and customizable logging utility designed for use within the GraphQL Hive ecosystem. It works seamlessly in all JavaScript environments, including Node.js, browsers, and serverless platforms.