Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 92
  • 82k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-responses

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install azure-openai-to-responses in Claude Code

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

A

No 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 →

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.

azure-openai-to-responses Install

Add to stack

Loading.