Skip to content
@the-protobuf-project

The Protobuf Project

The schema is the network. One .proto becomes MCP servers, databases, REST gateways, and services in Go, Rust, and TypeScript.
The Protobuf Project: the schema is the network

Website · Ecosystem · Blogs · Editor · Announcements · Contributors

The schema is the network

The Protobuf Project turns one AIP-annotated .proto into the systems around it: MCP servers and Code Mode APIs for AI agents, the database and its migrations, REST gateways and service layers, message brokers, and embedded wire formats. Generated for Go, Rust, and TypeScript, from the schema you already maintain.

  • Describe it once. Protocol Buffers annotated with Google's API Improvement Proposals.
  • Generate the rest. protoc and buf plugins write the code; shared runtimes carry it.
  • See it first. The editor shows every plugin's real output for one schema.

Projects

Agents

Project What it does
codemode · docs Protoc plugin generating typed, sandboxed Code Mode APIs from gRPC protos: AI agents write TypeScript instead of tool calls.
mcp · docs Your APIs, ready for AI. Generate fully compliant MCP servers in Go, Rust, and C++ straight from your .proto files.

Databases

Project What it does
cache · docs Read-through caching, generated from your protos. Typed, tenant-safe, and invisible to callers. In Go and Rust.
store · docs One schema. Every database. Generate the persistence layer for Go, Rust, TypeScript, and SQL from a single set of protos.
web3 · docs One schema, every chain. Compile your protos to Solidity on EVM, Anchor on Solana, and chaincode on Hyperledger Fabric.

Messaging

Project What it does
http · docs REST, done right. An AIP-native HTTP/JSON gateway for gRPC services, generated from your annotations for Go and Rust.
service · docs Your AIP service layer, written for you. Standard methods, validation, and wiring — generated in Go and Rust from the protos you already have.

Embedded

Project What it does
buffers · docs One schema, every wire format. Turn AIP protos into FlatBuffers, Cap'n Proto, Thrift, ROS 2, and Wire — with fields that never move.

Foundations

Project What it does
protokit · docs The foundation for every generator. Parse protos once into a clean intermediate representation, then focus on what you render.
resourcename · docs AIP resource names, everywhere. Parse and build them from one template in Go, Rust, Python, TypeScript, Swift, and C.
runtime-go · docs The Go runtime beneath every generated service. One interface per job, a driver for every backend. Switch databases or brokers by changing one line.
runtime-rs · docs The Rust runtime beneath every generated service. Storage, streams, caching, and agents — one trait each, with a driver for every backend.
runtime-ts · docs TypeScript runtime for code generated from .proto files: protobuf codecs, HTTP and Connect clients, and Code Mode.
telemetry · docs One framework, every signal. Logs, metrics, traces, and profiles for Go, Rust, Python, C++, and TypeScript, built on OpenTelemetry, with one trace across every language.

Tooling

Project What it does
gapic · docs Google's GAPIC client generators for Go, TypeScript, Python, and Rust. Prebuilt for every platform. Versioned to upstream. Released automatically.
google-api-linter-vscode · docs Design better APIs without leaving your editor. AIP linting for VS Code that explains every finding — and fixes most of them.
homebrew-tap · docs Every tool in The Protobuf Project, one brew install away.
setup-google-api-linter · docs AIP linting on every pull request. Install and run api-linter in GitHub Actions, with results right where you review.

Get involved

Read the blog for how the pieces fit, follow announcements for releases, and see who builds it. Security reports go through SECURITY.md.

Popular repositories Loading

  1. mcp mcp Public

    Your APIs, ready for AI. Generate fully compliant MCP servers in Go, Rust, and C++ straight from your .proto files.

    Go 13 5

  2. store store Public

    One schema. Every database. Generate the persistence layer for Go, Rust, TypeScript, and SQL from a single set of protos.

    Go 2

  3. google-api-linter-vscode google-api-linter-vscode Public

    Design better APIs without leaving your editor. AIP linting for VS Code that explains every finding — and fixes most of them.

    TypeScript 1

  4. telemetry telemetry Public

    One framework, every signal. Logs, metrics, traces, and profiles for Go, Rust, Python, C++, and TypeScript, built on OpenTelemetry, with one trace across every language.

    Go 1

  5. buffers buffers Public

    One schema, every wire format. Turn AIP protos into FlatBuffers, Cap'n Proto, Thrift, ROS 2, and Wire — with fields that never move.

    Go 1 1

  6. homebrew-tap homebrew-tap Public

    Every tool in The Protobuf Project, one brew install away.

    Ruby

Repositories

Showing 10 of 23 repositories

Top languages

Loading…

Most used topics

Loading…