A new open-source framework called Cobalt is proposing a TypeScript-first way to build GraphQL-style APIs without asking developers to maintain a separate GraphQL schema. The project’s launch page says Cobalt derives the schema from TypeScript resolver code and produces a typed software development kit for clients.
The approach targets a common source of friction in GraphQL projects: the same data contract may be represented in TypeScript interfaces, schema definitions and resolver implementations. When those pieces evolve separately, mismatches can appear between the server’s runtime behavior and the types used by application code. Cobalt’s answer is to treat the TypeScript implementation as the primary definition and generate the transport-facing pieces from it.
According to the project, developers write their application logic once while Cobalt creates the schema and client SDK. The resulting client is intended to provide autocomplete and typed query construction without GraphQL tags, manually written query documents or a client-side code-generation process that must remain synchronized with the backend.
Cobalt positions that design between several established API patterns. REST commonly exposes multiple endpoints and can require explicit controller and serialization layers. Conventional GraphQL gives clients control over the fields they request through a single endpoint, but it adds its own schema language and tooling. TypeScript RPC frameworks can offer a direct typed experience inside a monorepo, although tightly sharing backend types and implementation may become awkward when services are separated or an API is exposed more broadly.
The project claims its inferred-schema model can preserve GraphQL’s contract boundary while offering an authoring workflow closer to a typed RPC system. That is a design goal rather than an independently established performance result. The launch material does not provide comparative benchmarks, production case studies or detailed compatibility findings, so developers will need to evaluate those questions against their own workloads.
Cobalt also pitches compact, colocated code as useful when software is written with AI assistance. Its creators argue that reducing scattered boilerplate can lower the amount of repository context an AI tool must inspect. That claim is plausible as a workflow objective, but the supplied announcement does not quantify token savings or improvements in generated-code quality.
For teams considering the framework, the central tradeoff is therefore straightforward. Cobalt promises fewer duplicated definitions and a generated typed client, while adoption means relying on its compiler to translate TypeScript resolver structure into a stable GraphQL contract. Because the software is open source, developers can inspect that implementation and test whether its schema output, tooling and deployment model fit their systems. The announcement establishes the project’s intended workflow; broader use will determine how well that promise holds across complex APIs.



