@whitequark I think you are reinventing Bazel's remote execution API: https://github.com/bazelbuild/remote-apis