Cosmo Connect
Cosmo Connect lets you build and consume federated GraphQL without requiring everyone to learn GraphQL. Backend teams can integrate services using familiar RPC patterns, while frontend teams can use generated, type-safe SDKs instead of writing GraphQL queries.The Challenge
GraphQL adoption often faces two key barriers:- Learning curve - Requiring every developer to learn GraphQL concepts, schema design, and query optimization slows adoption
- Migration complexity - Rewriting existing backend services to adopt GraphQL-native patterns is rarely practical for mature architectures
The Solution
Cosmo Connect removes these barriers by letting teams work with familiar tools:- Backend teams can implement federated subgraphs using standard gRPC instead of GraphQL resolvers
- Frontend teams can use type-safe RPC clients instead of writing GraphQL queries
- The Router handles all GraphQL complexity as a protocol mediation layer
What You Can Build
Connect RPC Clients
Generate type-safe SDKs from GraphQL operations.
Connect gRPC Services
Build federated subgraphs using standard gRPC instead of GraphQL resolvers.
Connect Router Plugins
Extend the router with gRPC services that run as managed local processes.
Architecture
The diagram shows how Cosmo Connect integrates with your existing architecture. Traditional GraphQL clients and Connect-generated clients both communicate with the Router, which federates queries across GraphQL subgraphs, gRPC services, and router plugins.Getting Started
Choose your path based on what you want to build:Deploy Your First gRPC Service
Learn how to integrate a gRPC service into your Cosmo Router.
Deploy Your First Router Plugin
Learn how to use gRPC plugins with Cosmo Cloud & Cosmo Router.
Advanced gRPC Plugin Demo
Explore a full example that embeds a Users service as a Router plugin and composes with a standalone Products subgraph.