OpenAI maintains a Community Libraries page where we list API clients that developers can use to access the OpenAI API.

If you've built an open source library that you'd like added to this page – thank you! We love to see developers build additional API tooling for other developers. We also want to make sure we are steering developers to good solutions that will make them successful long term, so we have a few criteria that we require before listing libraries on our website.

Please make sure you meet the criteria listed below, and then send a request to our support team using the chat tool in this help center.

  1. Standard open source license
    To be listed, we require that community libraries use a permissive open-source license such as MIT. This allows our customers to more easily fork libraries if necessary in the event that the owners stop maintaining it or adding features.

  2. Load API keys through environment variables
    Code samples in the README must encourage the use of environment variables to load the OpenAI API key, instead of hardcoding it in the source code.

  3. Correct, high quality code that accurately reflects the API
    Code should be easy to read/follow, and should generally adhere to our OpenAPI spec – new libraries should not include endpoints marked as deprecated: true in this spec.

  4. State that it’s an unofficial library
    Please state somewhere near the top of your README that it’s an “unofficial" or "community-maintained” library.

  5. Commit to maintaining the library
    This primarily means addressing issues and reviewing+merging pull requests. It can also be a good idea to set up Github Issue & PR templates like we have in our official node library.

Did this answer your question?