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. Aimed at Python developers moving AzureOpenAI clients to the v1 endpoint.

  • Score 94
  • 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/.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 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

A

No 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 →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

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.

azure-openai-to-responses Install

Add to stack

Loading.