Cosmo Connect

Bring any backend into your federated graph

Two deployment models, zero GraphQL servers required. Wrap REST, SOAP, or any gRPC service into the supergraph.

Router Plugins and gRPC Services. No GraphQL subgraph frameworks required.

Overview

Federation without rewriting backends

Apollo Federation requires every backend to run a GraphQL server. Cosmo Connect removes that requirement. Define a standard subgraph schema, compile it to Protocol Buffer definitions, and implement the service in any gRPC language. The Router handles GraphQL query planning, batching, and response aggregation.

Two deployment models serve different needs. Router Plugins run as local processes alongside the Router for minimal latency and unified deployment. gRPC Services are independent microservices that can scale and deploy anywhere.

Why it matters

Why teams need federation-native integration

Adding backends to a federated graph should not require rewriting them or teaching every team GraphQL. Most organizations have more backends than GraphQL expertise.

Four barriers that slow federation adoption.

Backend teams must learn GraphQL to join the graph.

Every team contributing data needs GraphQL expertise. For Java, Python, or Go teams with no GraphQL background, that is a real adoption cost.

GraphQL library quality varies by language.

Some ecosystems have poor or unmaintained GraphQL server libraries. Teams in those ecosystems have no good path into federation.

Legacy systems require full subgraph rewrites.

REST, SOAP, and internal services need to be rebuilt from scratch to become Apollo Federation subgraphs. That is months of work per service.

Separate subgraph deployments add infrastructure.

Each new capability means a new service to deploy, monitor, and maintain with its own CI/CD pipeline and infrastructure.

Cosmo Connect removes all four barriers. Backend teams implement gRPC contracts. The Router handles GraphQL.

Cosmo Connect capabilities

Cosmo Connect

GraphQL Federation without GraphQL servers. Define a subgraph schema, compile to Protocol Buffers, implement in any gRPC language. The Router translates GraphQL operations to gRPC calls, batches with DataLoader, and assembles responses.

Free / Pro / Enterprise

Use cases

Connect use cases

Real integration patterns and the Cosmo Connect capability behind each one.

Legacy integration

Legacy REST APIs become first-class graph citizens

Scenario

A financial services company has critical REST APIs that cannot be rewritten but need to appear in the federated graph.

How Cosmo handles it

Define a GraphQL subgraph schema representing the REST API. Generate protobuf definitions with the CLI. Implement a thin gRPC adapter that calls the REST endpoints. Connect it to the federated graph.

Outcome

Legacy APIs join the supergraph without rewriting any business logic.

Multi-language teams

Each team uses the language they know

Scenario

An e-commerce platform has services in Java, Python, and Go. Each team wants to keep its language.

How Cosmo handles it

Each team defines their subgraph schema, generates protobuf definitions, and implements the gRPC service in their language. The Router coordinates across all services.

Outcome

Teams maintain technology autonomy while contributing to a unified API.

AI-assisted development

AI coding assistants generate adapter code from proto definitions

Scenario

A team needs to expose multiple internal APIs through GraphQL quickly.

How Cosmo handles it

Define subgraph schemas. Provide OpenAPI specs or example requests to an AI coding assistant. Let it generate adapter code against the strongly-typed proto definitions.

Outcome

Multiple integrations completed in hours with type-safe guarantees.

Which Connect capability do you need?

If you are…Start here
Learning what Cosmo Connect isCosmo Connect
Integrating a REST or SOAP API without a separate serviceRouter Plugins
Building a new microservice with language flexibilitygRPC Services
Needing independent scaling and team autonomygRPC Services
Wanting the lowest latency with unified deploymentRouter Plugins

How Cosmo Connect compares

Cosmo ConnectApollo Federation (GraphQL subgraphs)Apollo Connectors
Backend knowledge requiredgRPC onlyGraphQL + FederationREST/HTTP mapping
Language supportAny gRPC languageLimited by library qualityN/A (declarative)
N+1 handlingDataLoader built-inFramework-dependentN+1 prone
Existing API integrationWrap without rewritingRewrite requiredDeclarative mapping
Setup timeHoursDays/weeksHours

Why teams use Cosmo Connect

  • No GraphQL servers required. Backend teams implement gRPC contracts. The CLI generates protobuf definitions from the GraphQL schema. Teams work with familiar request/response semantics.
  • Any gRPC language works. Go, Java, C#, Python, Rust, Node.js, and many others. Choose the right language for each service's requirements.
  • Wrap existing APIs without rewriting them. REST, SOAP, and legacy services become subgraph participants by adding a thin gRPC adapter. No existing business logic changes.
Get started

Add any backend to your federated graph