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 covers moving AzureOpenAI clients to the v1 endpoint, plus streaming, tools, structured output and model compatibility checks.

  • 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/ms/.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

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

A

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

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.

azure-openai-to-responses Install

Add to stack

Loading.