azure-openai-to-responses
Skill by microsoft
Migrates Python apps from Azure OpenAI Chat Completions to the Responses API. Aimed at Python developers moving AzureOpenAI clients to the v1 endpoint.
Install azure-openai-to-responses
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.claude/skills && cp -r /tmp/ai-agents-for-beginners/.agents/skills/azure-openai-to-responses ~/.claude/skills/azure-openai-to-responsesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-openai-to-responses in Claude Code
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-agents-for-beginners/.agents/skills/azure-openai-to-responses ~/.gemini/antigravity-cli/skills/azure-openai-to-responsesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-openai-to-responses in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill migrates Python applications from Azure OpenAI Chat Completions calls to the Responses API. It covers moving AzureOpenAI and AsyncAzureOpenAI clients to the standard OpenAI client on the v1 endpoint, along with streaming, tools, structured output, multi-turn conversations, EntraID auth, and model compatibility checks.
The skill starts with a smoke test of the deployment and refers to a model compatibility command that queries Azure for region-specific support. It then enumerates call sites, proposes a plan, and applies minimal edits. It also covers framework changes for Microsoft Agent Framework and LangChain. It is aimed at Python developers with existing Azure OpenAI apps. It is Python-only, does not cover Node, TypeScript, C#, Java, or Go, and is not meant for building new apps from scratch.
Written from the project's SKILL.md and checked against it.
What it can do
- Client migration to v1 endpointReplaces AzureOpenAI and AsyncAzureOpenAI with OpenAI and AsyncOpenAI on the /openai/v1 endpoint.
- Deployment smoke testSends a short request through the Responses API to check that a deployment supports it.
- Model compatibility checkRefers to a command that lists which models support Responses, structured output, and tools in a region.
- Streaming, tools, and structured outputMigrates streaming, tool calls, and structured output to the Responses API shape.
- Multi-turn and EntraID authCovers multi-turn conversations and Entra ID authentication during migration.
- Framework migration guidanceDescribes changes for Microsoft Agent Framework and LangChain (use_responses_api=True).
- Config cleanupRemoves api_version settings and renames AZURE_OPENAI_CLIENT_ID to AZURE_CLIENT_ID.
What you need
- An Azure OpenAI deployment
- Python codebase
- openai>=1.108.1 in requirements.txt or pyproject.toml
- A git workspace
Try asking
- Migrate my AzureOpenAI client in this Python app to the v1 endpoint
- Convert my chat.completions calls to the Responses API with streaming
- Check whether my Azure OpenAI deployment supports the Responses API
Good to know
- Python only. Node, TypeScript, C#, Java, and Go are not covered.
- Azure OpenAI specific. GitHub Models does not support the Responses API.
- Older models may not support all Responses API features.
- Produces working-tree edits only and does not commit changes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/azure-openai-to-responses/SKILL.md, .agents/skills/azure-openai-to-responses/scripts/detect_legacy.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md23 KB -
references/cheat-sheet.md27 KB -
references/test-migration.md6 KB -
references/troubleshooting.md14 KB -
scripts/detect_legacy.py7 KB
Alternatives to azure-openai-to-responses
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
azure-openai-to-responses: common questions
Does this skill work with Node or TypeScript apps?
No. The source states that this skill is Python-only and does not cover Node, TypeScript, C#, Java, or Go migrations.
Can I use it to start a new app?
No. The source says not to use it for building new apps from scratch and recommends starting with the Responses API directly.
Which models are needed for the Responses API on Azure?
The source says the deployment must support the Responses API and recommends checking region-specific model availability first. It notes that older models predating gpt-4.1 may not support all features.
How do I install azure-openai-to-responses?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-openai-to-responses free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-openai-to-responses safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-openai-to-responses?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
