openai · OpenAI Platform Docs
SDKs and CLI
Instructions for setting up the OpenAI development environment, including exporting API keys as environment variables, installing official language-specific SDKs, and implementing agent orchestration using the Agents...
Derived skill
Files assembled from official documentation
Viewing SKILL.md
SDKs and CLI
Instructions for setting up the OpenAI development environment, including exporting API keys as environment variables, installing official language-specific SDKs, and implementing agent orchestration using the Agents...
When To Use
Use when you need to configure API authentication via environment variables, install official client libraries, or implement agentic workflows using the Agents SDK.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/sdks-and-cli-workflow-guide.md | A guide covering official OpenAI SDKs, the CLI, the Agents SDK, and Azure OpenAI libraries. | Questions about a guide covering official OpenAI SDKs, the CLI, the Agents SDK, and Azure OpenAI libraries. |
examples/sdks-and-cli-openai-cli-environment-variable-setup.bash | A bash script demonstrating how to export the OPENAI_API_KEY environment variable for use with the OpenAI CLI. | Exact payloads, commands, or snippets shown in A bash script demonstrating how to export the OPENAIAPIKEY environment variable for use with the OpenAI CLI. |
examples/sdks-and-cli-openai-cli-api-key-environment-variable-setup.bash | A bash command to set the OPENAI_API_KEY environment variable on Windows using setx. | Exact payloads, commands, or snippets shown in A bash command to set the OPENAIAPIKEY environment variable on Windows using setx. |
What This Skill Covers
- This page covers the main ways to build with the OpenAI API: official SDKs for application code, the OpenAI CLI for shell-native workflows, the Agents SDK fo...
- Main sections:
Create and export an API key,Install an official SDK,Use the Agents SDK,Azure OpenAI libraries,Community libraries.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/libraries.md
