System / 01 · Service platform
A service platform engineers chose to use.
My role
Initiator and author of the foundation. Standards, tooling, guide, teaching and adoption support.
Others
15 engineers extended the generator. Teams across the company migrated services and built new ones on it.
Stack
Go monorepo, protobuf contracts, gRPC, HTTP, AMQP, MCP, generated connectors.
01 The problem
Every new service meant hand-writing the same wiring, and every team learned slightly different conventions.
The cost wasn't one big failure. It was a slow tax: repeated setup, uneven quality between services, and integration work redone for every new transport.
02 What I built
CONTRACT
Describe the service once
API, dependencies and transports live in protobuf. One line of contract becomes about ten lines of Go.
ENDPOINT
One endpoint per business operation
gRPC, HTTP, AMQP and MCP are adapters over the same endpoint. Logic is written once.
GUIDE
A path from setup to pull request
A step-by-step guide for new and experienced engineers, backed by meetups and live demos.
AGENTS
Ready for both kinds of AI
19 repository skills teach coding agents the conventions. Product agents get tools through one more adapter.
→ In practice
One contract, every door.
Every door is generated from the same contract. Change the contract once and every open door follows; the business logic stays where it is.
One contract feeds every door: gRPC, HTTP, the queue and agents (MCP). Each is generated; the business logic is written once.
03 How it spread
More than half of service code writes itself.
-
STAGE 1
A generator and one example
Built alongside product work.
-
STAGE 2
Five services migrated
Hand-written wiring fell by two thirds.
-
STAGE 3
Others build and extend it
15 engineers changed the generator itself.
-
STAGE 4
Agents plug in
33 service methods became agent tools without a second implementation.
04 The result, measured
56% of service code, generated.
Non-test service code, 72 platform services
~20h
saved per engineer each month, estimated
72
services on the platform
1 : 46
lines of generator to lines it maintains
33
agent tools from about 12 lines of contract each
05 Where it goes next
One contract for three audiences.
THE ENGINEER
Writes the business logic. Everything around it comes from the contract.
THE CODING AGENT
Learns the conventions from repository skills. Standards are applied on every run, not re-explained in review.
THE PRODUCT AGENT
Calls service methods as tools, by a reviewed opt-in, with the same authorization as every other transport.
Add a protocol once, in the generator, and every service inherits it. MCP was the first proof. The aim is less complexity, more stability, and services and connections that are simple to extend or change.