{
  "repo": "tidbcloud/dataflow-service",
  "binary": "agent",
  "binary_path": "cmd/agent/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "services": [
    {
      "name": "DataflowAgentRuntime",
      "package": "cmd/agent/main.go",
      "methods": [
        {
          "name": "agent grpc+http runtime",
          "name_key": "Runtime DataflowAgentRuntime.Server",
          "input": "TLS flags, cluster model, and agent server configuration",
          "output": "long-running gRPC server with HTTP gateway",
          "type": "grpc"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cmd/agent starts grpc.StartGRPCServer(...) and http.StartHttpServer(...) concurrently."
    ]
  }
}
