common/ai/client library