Pilot CLI and client library