RPC library for metagist and its workers