Skip to main content

Connect RPC

Use the Buf Schema Registry (BSR) to install auto-generated, type-safe clients for your language.
Supported Languages: TypeScript/JavaScript, Python, Go, Swift, Kotlin, Dart
Best For: Advanced users who want direct access to the RPC protocol with full type safety

Buf Registry

Browse the schema and generated SDKs

Connect RPC Docs

Learn about Connect RPC protocol

Installation

Usage Examples

Key Mapping (TypeScript)

File Extensions: If you are using ES Modules (modern Node.js or Vite), you may need to add the .js extension to your imports even in TypeScript: import { EmailService } from "@buf/.../v1/email_connect.js";