libpwmd provides an API for connecting to pwmd. It supports remote connections over an SSH channel and a pinentry program for passphrase retrieval. It also includes a command line client with an interactive shell-like interface.