python agent for pubsubcat