Skip to content

gRPC API Reference

PAI uses gRPC over Unix Domain Sockets (UDS) for inter-process communication. This provides maximum performance, type safety via Protobuf, and access control via Linux file permissions.

The API definitions are located in engine/proto/service.proto.

API documentation will be generated from Protocol Buffer definitions. Coming soon.

  • Transport: Unix Domain Sockets (UDS) - zero networking overhead
  • Protocol: gRPC with Protocol Buffers
  • Access Control: Linux file permissions (User/Group isolation)
  • Default: No network ports open

For future video streams or raw sensor fusion, we plan to implement a hybrid model:

  • Control Plane: gRPC for control messages
  • Data Plane: Shared Memory Ring Buffer for bulk data