azure-openai-to-responses
Skill by microsoft
Migrates Python apps from Azure OpenAI Chat Completions to the Responses API. It is for developers who maintain existing Azure OpenAI Python code and want to move it to the newer API.
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/tl/.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/tl/.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
Azure OpenAI to Responses API is a skill that moves Python apps from Chat Completions to the Responses API. It covers changing the AzureOpenAI and AsyncAzureOpenAI clients to the v1 endpoint, along with streaming, tools, structured output, multi-turn chats, EntraID auth, and model compatibility checks. It also includes guidance for LangChain and Microsoft Agent Framework apps.
The skill first checks whether a deployment supports the Responses API, using a small test call and a migrate.py models command that queries Azure for region-specific model support. It then lists Chat Completions call sites, proposes a migration plan, and makes minimal edits. It is for Python developers maintaining Azure OpenAI code. It does not cover new apps, other languages, Azure infrastructure setup, or model deployment.
Written from the project's SKILL.md and checked against it.
What it can do
- Deployment checkSends a small test request to see whether an Azure OpenAI deployment supports the Responses API.
- Model compatibility queryRuns migrate.py models to list Responses, structured output, and tool support for a given region.
- Client migrationMoves AzureOpenAI and AsyncAzureOpenAI clients to the v1 endpoint with the standard OpenAI client.
- Streaming and toolsCovers streaming, tool calls, and structured output when moving to the Responses API.
- Multi-turn and EntraID authCovers multi-turn conversations and EntraID authentication in the migrated code.
- Framework migrationGives before and after steps for LangChain ChatOpenAI and Microsoft Agent Framework clients.
- Frontend migrationReplaces the deprecated @microsoft/ai-chat-protocol package with fetch and NDJSON streaming.
What you need
- An Azure OpenAI resource with a deployed model
- Azure subscription ID and region for the live model query
- A Python codebase that uses the OpenAI SDK
Try asking
- Check if my Azure OpenAI deployment supports the Responses API
- Migrate this Python file from chat.completions to responses
- Switch my AzureOpenAI client to the v1 endpoint in this project
Good to know
- Python only. Node, TypeScript, C#, Java, and Go are out of scope.
- On Azure OpenAI, max_output_tokens has a minimum of 16.
- Older models before gpt-4.1 may not support all Responses API features.
- GitHub Models endpoints do not support the Responses API.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/tl/.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.md28 KB -
references/cheat-sheet.md29 KB -
references/test-migration.md7 KB -
references/troubleshooting.md17 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
Does this skill support languages other than Python?
No. The source says it is focused on Python only and excludes Node, TypeScript, C#, Java, and Go migrations.
Which models work with the Responses API?
Support depends on the model and region. The source recommends running the migrate.py models command or checking Microsoft's model availability table.
Can I keep my GitHub Models code path?
No. The source says GitHub Models endpoints do not support the Responses API, so that code path should be removed during migration.
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.
