Skip to content

API Reference

This page collects all APIs the paiOS engine exposes. Use it to find the right interface for your use case (local IPC, remote control, or tool integration).

APITransportUse caseReference
gRPC APIUDS (local) or TCP/TLS (remote)Primary interface: lifecycle, config, status, inference. Type-safe Protocol Buffers.gRPC API Reference: services and messages
REST APIHTTPOllama and OpenAI client compatibility (convenience).API domain: gateway and routing
MCP ServerSSE / stdioHost PC integration (Claude Desktop, OpenClaw, Cursor). Engine exposes tools and sensors.API domain: MCP Server adapter; C4 Architecture: system context

For architecture (routing matrix, port isolation, security), see the API domain (api) and Security.

  • REST endpoint reference (OpenAI/Ollama compatibility)
  • Hardware specifications and pinouts
  • CLI reference (if applicable)