prototype client library for magenta