azure-openai-to-responses
Skill by microsoft
Migrates Python apps from Azure OpenAI Chat Completions to the Responses API. It covers moving AzureOpenAI clients to the v1 endpoint, plus streaming, tools, structured output and model compatibility checks.
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/translations/ms/.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/translations/ms/.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 agent skill guides an assistant through migrating a Python codebase from Azure OpenAI Chat Completions to the Responses API. It covers moving AzureOpenAI and AsyncAzureOpenAI clients to the standard OpenAI client with the v1 endpoint, along with streaming, tools, structured output, multi-session handling, Entra ID authentication and model compatibility checks. The skill includes a short test call for a deployment and a command that queries Azure Resource Manager to show Responses support by region. It also gives change notes for Microsoft Agent Framework, LangChain and a deprecated frontend package.
The skill is aimed at developers who want to move existing Python apps to Responses, or upgrade the OpenAI Python SDK for Azure OpenAI. The source says it is only for Python and only for Azure OpenAI. It should not be used to build new apps from scratch, migrate Node, TypeScript, C#, Java or Go code, set up Azure infrastructure, or deploy models. The skill also says it should not keep backward compatibility shims or commit changes to git.
Written from the project's SKILL.md and checked against it.
What it can do
- Client migrationMoves AzureOpenAI and AsyncAzureOpenAI clients to the standard OpenAI client with the v1 endpoint.
- Model compatibility checkTests a deployment with a short Responses API call and lists model support by region.
- Streaming, tools and structured outputCovers streaming, tool use and structured output when moving to Responses.
- Framework notesGives changes for Microsoft Agent Framework and LangChain, including use_responses_api=True.
- Reasoning model notesExplains parameter changes for o-series models, such as temperature and max_output_tokens.
- Frontend package replacementDescribes replacing the deprecated @microsoft/ai-chat-protocol package with ndjson-readablestream.
What you need
- Python codebase that uses Azure OpenAI
- Azure OpenAI endpoint and API key
- Azure subscription ID for the model compatibility command
Try asking
- Migrate this Python app from Chat Completions to the Responses API
- Switch my AzureOpenAI client to the v1 OpenAI client
- Check whether my Azure OpenAI deployment supports Responses
Good to know
- Python only. Node, TypeScript, C#, Java and Go are out of scope.
- Azure OpenAI only. Not for infrastructure setup or model deployment.
- Models older than gpt-4.1 may not support all Responses API features.
- Makes working tree edits only. Does not commit changes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/ms/.agents/skills/azure-openai-to-responses/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md26 KB -
references/cheat-sheet.md28 KB -
references/test-migration.md7 KB -
references/troubleshooting.md16 KB
Alternatives to azure-openai-to-responses
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
azure-openai-to-responses: common questions
Can it migrate Node or TypeScript code?
No. The source says the skill is only for Python and should not be used for Node, TypeScript, C#, Java or Go.
Does it keep backward compatibility?
No. The source says not to keep compatibility shims and to migrate code to the new API shape.
Which models are supported?
The source says models older than gpt-4.1 may not support every Responses feature. It points to a model compatibility command and a region availability table.
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 92 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: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
