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:
- Track the evolution of your GraphQL schema, and promote or roll back versions between environments
- Prevent schema changes that break clients, based on real-world traffic and on the persisted documents of your shipped apps
- Analytics and observability on how your GraphQL API is being used, with usage insights and OpenTelemetry traces
- Get notified with metric alerts when traffic, error rate or latency crosses a threshold
- Enforce schema design best practices with schema policies, and publish filtered variants of your graph with contracts
- Serve and secure your GraphQL API with Hive Router or Hive Gateway
- Manage access with SSO, SCIM, role-based permissions and audit logs
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 Router | Hive Gateway | |
|---|---|---|
| Written in | Rust | TypeScript |
| Runs as | Binary or Docker image | Binary, Docker image, or a package on Node.js, Bun, Deno and serverless platforms |
| Configured with | YAML | TypeScript (gateway.config.ts) or CLI flags |
| Extended with | Rust plugins, coprocessors in any language | TypeScript plugins |
| Federation | v2 | v1 and v2 |
| Non-federated GraphQL API | No | Yes, as a proxy |
| Subscriptions | Yes | Yes, including event-driven subscriptions |
@defer and @stream | Not yet | Yes |
| Response caching | Not yet | Yes |
| Rate limiting | Through a coprocessor or plugin | Yes |
| MCP server for AI agents | No | Yes, in beta |
| Best for | The highest throughput and lowest memory use on dedicated infrastructure | Teams 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.