azure-openai-to-responses
Skill76k starsChanged 5 months agoMITView on GitHub
Shift Python apps dem from Azure OpenAI Chat Completions go Responses
- Reads credentials
- Commits and pushes
2 other projects use a version of this, 2 of them edited; 2 of 2 edited versions we compared changed its rules.
How people change it
2 of 2 edited versions changed its rules.
Of the 2 edited versions we compared: 2 made changes of their own.
Rules people drop
- If e return 404, e mean say di deployment model no de support Responses yet — check di reference down or redeploy with correct model.dropped by 2 of 2
reasoning_effort: If app dey usereasoning_effort(low/medium/high), keep am — Responses API support this for o-series models.dropped by 2 of 2top_p: No support for o-series — remove if e dey.dropped by 2 of 2- No block or refuse migrate based on model version. Dis advisory be just info.dropped by 2 of 2
- No other changes dey needed —
Agentand tools API still the same.dropped by 2 of 2 - Run tests/lints; fix small breaks introduced by migration.dropped by 2 of 2
- Only change files inside git workspace. No write outside.dropped by 2 of 2
- Keep streaming semantics if e dey before; otherwise use non-streaming.dropped by 2 of 2
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- microsoft/generative-ai-for-beginnersedited, first seen Jul 14, 2026
- Azure-Samples/azure-openai-to-responsesedited, first seen Apr 6, 2026
Who's talking about microsoft/ai-agents-for-beginners
- @rodtrent.com“AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents …”Bluesky · Feb 14, 2025 · 25 likes
- A Hacker News story“Lessons to Get Started Building AI Agents”Hacker News · Jul 4, 2025 · 10 points
- @rdenadai.dev“Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS.”Bluesky · Sep 7, 2025 · 7 likes
- @alvinashcraft.com“AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. …”Bluesky · Feb 22, 2025 · 7 likes
- @ottorinobruni.bsky.social“🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, …”Bluesky · Nov 20, 2026 · 4 likes
The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 88
Talked about on GitHub, Bluesky and Hacker News (88 times).
On GitHub · 50
- Oct 14, 2026"Lesson" is not being translated. (en→ja) — Azure/co-op-translator1 reaction
- Jul 25, 2026Previous and Next lessons have not been translated. (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Jul 4, 2026Translated the markdown header ## Summary to ## まとめ (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Mar 31, 2026"Join the [Microsoft Foundry Discord]~" has not been translated. (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- Mar 17, 2026The headline has not been translated (en→ja) — Azure/co-op-translator1 reaction · 2 comments
45 more on GitHub
- Mar 15, 2026Code block before and after it has not been translated. (en→ja) — Azure/co-op-translatorsays it tested it1 reaction · 3 comments
- Nov 18, 2025README Structure — notoriousmic/github-copilot-workshop1 reaction
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction · 1 comment
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction
- Sep 15, 2025HTML tags (e.g., <a>) are stripped or lost during translation — Azure/co-op-translator1 reaction · 2 comments
- Sep 7, 2025``` not handled correctly (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- May 7, 2025Correcting all misc errors found across code samples for Lessons 04, 06, 09. — jabari-max/Mohammadhadi-Jabari1 reaction
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T010: retrieval with source attribution — scenario assessment [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T009: confidence-gated escalation — evaluation experiment [09-metacognition] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T008: allowlisted action policy — failure and recovery example [06-building-trustworthy-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T007: dependency-plan validation — worked example with checks [07-planning-design] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T006: dependency-plan validation — refactor the teaching example [08-multi-agent] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T005: bounded agent loop — offline service adapter [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T004: trace aggregation — invariant and state trace [10-ai-agents-production] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T003: agent-component routing — compare two approaches [03-agentic-design-patterns] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T002: retrieval with source attribution — boundary-case lesson extension [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T001: bounded agent loop — runnable concept example [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T030: model-manifest selection — scenario assessment [17-creating-local-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T029: trace aggregation — evaluation experiment [16-deploying-scalable-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T028: bounded agent loop — failure and recovery example [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T033: retrieval with source attribution — invariant and state trace [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T032: bounded agent loop — compare two approaches [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T038: prompt-template escaping — failure and recovery example [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T037: typed tool dispatch — worked example with checks [04-tool-use] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T036: bounded conversation memory — evaluation experiment [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T035: bounded conversation memory — refactor the teaching example [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T034: retrieval with source attribution — offline service adapter [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T040: confidence-gated escalation — scenario assessment [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T039: bounded conversation memory — boundary-case lesson extension [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T044: bounded conversation memory — invariant and state trace [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T043: agent-component routing — offline service adapter [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T042: dependency-plan validation — compare two approaches [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T049: tamper-evident action receipt — scenario assessment [18-securing-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T048: prompt-template escaping — evaluation experiment [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T047: agent-component routing — failure and recovery example [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T046: trace aggregation — worked example with checks [10-ai-agents-production] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T050: confidence-gated escalation — runnable concept example [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T055: confidence-gated escalation — offline service adapter [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T052: agent-component routing — compare two approaches [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T057: dependency-plan validation — worked example with checks [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T056: agent-component routing — refactor the teaching example [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 16, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-09-10 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-07-13 → 0-unstable-2026-09-10 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.microsoft.ai-agents-for-beginners: init at 0-unstable-2026-07-13 — sudosubin/agents.nix0 reactions
- Sep 6, 2026Batch 78: Claude usage-limit tips, n8n grounding technique, coding-agent CLIs, OSS-to-service ideas — dmavridi6478/business0 reactions
On Bluesky · 35
- Feb 14, 2025AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai...… — @rodtrent.com25 likes and reposts · 1 reply
- Sep 7, 2025Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS. — @rdenadai.dev7 likes and reposts
- Feb 22, 2025AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners #ai #aiagents… — @alvinashcraft.com7 likes and reposts
- Nov 20, 2026🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, multi-agents, production & more… — @ottorinobruni.bsky.social4 likes and reposts
- Apr 4, 202510 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai... — @asiermarques.com3 likes and reposts
30 more on Bluesky
- Mar 23, 2025📦 microsoft / ai-agents-for-beginners ⭐ 5,023 (+55) 🗒 Jupyter Notebook 10 Lessons to Get Started Building AI Agents — @github-trending.bsky.social3 likes and reposts
- Oct 20, 2026Stage 3: Agent fundamentals AI Agents for Beginners, Microsoft (18 lessons, 77k+ stars) github.com/microsoft/a... Hugging Face AI Agents… — @astrodevil1.bsky.social2 likes and reposts · 1 reply
- May 18, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 62,102 (+180) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Dec 17, 2025Microsoft AI agents for beginners resource 👀 #fyp #typescript #agent #coding #llm #viral #viralvideo github.com/microsoft/ai... — @krystalmess.bsky.social2 likes and reposts
- Nov 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 44,431 (+193) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Sep 7, 2025AI Agents for Beginners 11 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners — @pythonhub.dev2 likes and reposts
- Jun 16, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 27,064 (+437) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Apr 26, 2025🚀 Dive into Microsoft’s “AI Agents for Beginners” a 10-lesson course designed to help you build AI agents using tools like Azure AI Agent… — @sean.techsnazzy.com2 likes and reposts
- Apr 21, 2025DesktopCommander MCP is trending on GitHub! Check it out alongside other amazing projects from: @microsoft github.com/microsoft/ai..., @n8n… — @desktopcommander.bsky.social2 likes and reposts
- Feb 14, 2025Microsoft’s #AI Agents for Beginners is a great hands-on resource for learning AI agents from scratch. Perfect for beginners and developers… — @mertyeter.bsky.social2 likes and reposts
- Jul 17, 2026微软开源了一套免费课程《AI Agents for Beginners》,GitHub 已封战 61k+ 星。 课程内容:什么是 AI Agent、怎么用 Tool/MCP、多代理人系统、Context 管理、让 AI 操作浏览器、安全部署——一路到完整实战。… — @anotherbug.com1 likes and repost
- Jun 8, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- May 3, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Apr 21, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 57,227 (+131) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Feb 14, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Jan 10, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Dec 5, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Sep 8, 2025AI Agent for Beginners: github.com/microsoft/ai... ---- 📌 Join 3,000+ ML enthusiasts and professionals from 100 countries. ✅ Learn AI for… — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jul 23, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jun 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 25,485 (+175) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- May 29, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 22,020 (+180) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Apr 14, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 14,149 (+688) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 10, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 11,709 (+403) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Mar 23, 2025Fundamentals of building AI Agents, a place to start. github.com/microsoft/ai... — @cloudnativeboy.bsky.social1 likes and repost
- Feb 22, 2025🤖 Include anche esempi di implementazione di workflow usando #Autogen. 🚀 È un contributo davvero interessante. Insieme al corso… — @alessiopomaro.it1 likes and repost · 1 reply
- Jul 1, 20261. Hugging Face — AI Agents Course huggingface.co/learn/agent... 2. Microsoft — AI Agents for Beginners github.com/microsoft/a... 3.… — @aipromptgirl.bsky.social0 likes and reposts · 1 reply
- Jan 3, 2026AI Agents for Beginners (Microsoft) A free, structured 11-lesson course to get started with AI agents the right way.… — @jackfusion.bsky.social0 likes and reposts · 1 reply
- Jul 20, 20252️⃣ AI Agents for Beginners Free 11-part intro course, build your first AI agents step-by-step. 🔗 github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Jun 13, 2025GitHub repo → github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Mar 24, 2025Microsoft's "AI Agents for Beginners," is designed to teach you everything you need to know to start building AI Agents. The course… — @kuanhoong.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Jul 4, 2025Lessons to Get Started Building AI Agents10 points
- Apr 14, 2025AI Agents for Beginners2 points
- Feb 14, 2025AI Agents for Beginners – A 10 Lesson Course2 points
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- microsoft/generative-ai-for-beginners★ 121k19% same
- Azure-Samples/azure-openai-to-responses★ 644% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository338 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
- 15-browser-use/llms.txtllms.txt
- azure-openai-to-responsesSkill
- deploying-scalable-agentsSkill
- jupyter-notebookSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 12 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 65
If e return 404, e mean say di deployment model no de support Responses yet — check di reference down or redeploy with correct model.
- Distinctive: line 69
Run di built-in model compatibility tool to see wetin dey available with Responses API support for your region:
- Very specific: line 100
reasoning_effort: If app dey use reasoning_effort (low/medium/high), keep am — Responses API support this for o-series models. - Very specific: line 102
top_p: No support for o-series — remove if e dey. - Distinctive: line 110
No block or refuse migrate based on model version.
- Very specific: line 116
If codebase get GitHub Models path (look for base_url wey point to models.github.ai or models.inference.ai.azure.com), remove am completely …
- Very specific: line 146
No other changes dey needed — Agent and tools API still the same.
- Very specific: line 150
Add use_responses_api=True to ChatOpenAI().
- Very specific: line 176
Remove AIChatProtocolClient instantiation (new ChatProtocol.AIChatProtocolClient("/chat")).
- Distinctive: line 188
Update callers to use Responses output schema.
- Distinctive: line 189
Run tests/lints; fix small breaks introduced by migration.
- Distinctive: line 196
Only change files inside git workspace.
- Distinctive: line 197
No preserve backward-compatibility shims.
- Distinctive: line 198
No leave tombstone/transition comments or backup files.
- Distinctive: line 199
Keep streaming semantics if e dey before.
- Distinctive: line 200
Ask approval before run commands or network calls if approval mode dey.
- Distinctive: line 201
No run git add/git commit/git push.
- Very specific: line 207
If your codebase dey use AzureOpenAI or AsyncAzureOpenAI constructors, migrate to standard OpenAI / AsyncOpenAI constructors first.
- Very specific: line 225
Remove api_version argument from client construction.
- Very specific: line 226
Remove AZURE_OPENAI_VERSION / AZURE_OPENAI_API_VERSION environment variables from .env, app settings, and Bicep/infra files.
- Very specific: line 228
Ensure openai>=1.108.1 in requirements.txt or pyproject.toml.
- Very specific: line 247
Run the detect_legacy.py script to find all call sites wey need migration:
- Very specific: line 317
Few-shot tool examples: if conversation get hardcoded tool call examples, change dem to {"type": "function_call", "id": "fc_...", …
- Very specific: line 319
Multi-turn: keep conversation history for the app.
- Very specific: line 369
Make sure store: false dey for all Responses requests.
- Distinctive: line 370
No rely on previous message IDs or server-stored context.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Migrate Python Apps from Azure OpenAI Chat Completions to Responses API
AUTHORITATIVE GUIDANCE — FOLLOW EXACTLY
Dis skill dey migrate Python code wey dey use Azure OpenAI Chat Completions come use di unified Responses API. Abeg follow dis instructions sharply. No try do your own mapping of parameters or create new API shapes.
Triggers
Activate dis skill wen user want:
- Migrate a Python app from Azure OpenAI Chat Completions to Responses API
- Upgrade Python OpenAI SDK usage to di latest API shape for Azure OpenAI
- Prepare Python code for GPT-5 or newer models wey need Responses on Azure
- Switch from
AzureOpenAI/AsyncAzureOpenAIgo standardOpenAI/AsyncOpenAIclient with di v1 endpoint - Fix deprecation warnings wey concern
AzureOpenAIconstructors orapi_version
⚠️ Model Compatibility — CHECK FIRST
Before you migrate, make sure say your Azure OpenAI deployment support Responses API.
1. Smoke-test your deployment (fastest)
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AZURE_OPENAI_API_KEY"],
base_url=f"{os.environ['AZURE_OPENAI_ENDPOINT'].rstrip('/')}/openai/v1/",
)
try:
resp = client.responses.create(
model=os.environ["AZURE_OPENAI_DEPLOYMENT"],
input="ping",
max_output_tokens=50,
store=False,
)
print(f"✅ Deployment supports Responses API: {resp.output_text}")
except Exception as e:
print(f"❌ Deployment does NOT support Responses API: {e}")Note:
max_output_tokensget minimum 16 for Azure OpenAI. If value less than 16, e go return 400 error. Use 50+ for smoke tests.
If e return 404, e mean say di deployment model no de support Responses yet — check di reference down or redeploy with correct model.
2. Check models wey dey your region (recommended)
Run di built-in model compatibility tool to see wetin dey available with Responses API support for your region:
python migrate.py models --subscription YOUR_SUB_ID --location YOUR_REGIONDis one dey query Azure ARM live and show compatibility matrix — which models dey support Responses, structured output, tools, etc. Use --filter gpt-5.1,gpt-5.2 to narrow results or --json for scripting.
3. Full model support reference
- Live query:
python migrate.py models(see am above — region-specific, always updated) - Browse availability: Model summary table and region availability
- Quickstart & guidance: https://aka.ms/openai/start
⚠️ Older model limitations
WARNING: Older models (before
gpt-4.1) fit no fit support all Responses API features fully.Known limitations with older models:
reasoningparameter: No support for many non-reasoning models. Only migratereasoningif e already dey for original code.seedparameter: No dey support at all for Responses API — remove from all requests.- Structured output via
text.format: Older models no sure to enforcestrict: trueJSON schemas well.- Tool orchestration: GPT-5+ dey manage tool calls as part of internal reasoning. Older models for Responses still dey work but dem no get dis deep integration.
- Temperature constraints: Wen you dey migrate to
gpt-5, temperature gats be blank or set to1. Older models no get dis kind limit.
O-series reasoning models (o1, o3-mini, o3, o4-mini)
O-series models get them own special parameter limits. If your app dey target o-series models during migration:
temperature: Gats be1(or no include am). O-series no fit take other values.max_completion_tokens→max_output_tokens: Apps wey dey use Azure-specificmax_completion_tokensmust switch gomax_output_tokens. Set am high (4096+) because reasoning tokens dey count against limit.reasoning_effort: If app dey usereasoning_effort(low/medium/high), keep am — Responses API support this for o-series models.- Streaming behavior: O-series models fit hold output till reasoning finish before e dey send text delta events. Streaming still work, but first
response.output_text.deltafit show late than GPT models. top_p: No support for o-series — remove if e dey.- Tool use: O-series models support tools via Responses API same as GPT, but tool call orchestration quality depend on model.
Action — proactive model advisory: During scan, check which model app dey target (deployment names, env vars, config). If model before gpt-4.1 (no be gpt-4.1+), tell user beforehand:
- Migration go work for basic text, chat, streaming, and tools for their current model.
- Newer models (
gpt-5.1,gpt-5.2) get better tool orchestration, structured output enforcement, reasoning, and cross-region availability. - Dem suppose think about upgrading deployment when dem ready — e no go block migration.
No block or refuse migrate based on model version. Dis advisory be just info.
GitHub Models no support Responses API
GitHub Models (
models.github.ai,models.inference.ai.azure.com) no support Responses API.
If codebase get GitHub Models path (look for base_url wey point to models.github.ai or models.inference.ai.azure.com), remove am completely during migration. Responses API need Azure OpenAI, OpenAI, or compatible local endpoint (e.g., Ollama with Responses support).
Action during scan:
- Flag any GitHub Models code paths for removal.
Framework Migration
Plenty apps dey use higher-level frameworks on top of OpenAI. When you dey migrate dem, the framework own API go change — no be only the underlying OpenAI calls.
Microsoft Agent Framework (MAF)
Check your MAF version first — migration depends on whether you dey on MAF 1.0.0+ or before 1.0.0 beta/rc.
MAF 1.0.0+ (agent-framework-openai >= 1.0.0)
OpenAIChatClient dey use Responses API already — no migration needed. If codebase dey use old OpenAIChatCompletionClient (we dey use chat.completions.create), switch am to OpenAIChatClient.
| Before | After |
from agent_framework.openai import OpenAIChatCompletionClient | from agent_framework.openai import OpenAIChatClient |
OpenAIChatCompletionClient(...) | OpenAIChatClient(...) |
To check your version: python -c "import agent_framework_openai; print(agent_framework_openai.__version__)"
MAF pre-1.0.0 (beta/rc releases)
For pre-1.0.0 MAF, OpenAIChatClient dey use Chat Completions. Upgrade to agent-framework-openai>=1.0.0 so that OpenAIChatClient go use Responses API by default.
No other changes dey needed — Agent and tools API still the same.
LangChain (langchain-openai)
Add use_responses_api=True to ChatOpenAI(). Change response access from .content to .text.
| Before | After |
ChatOpenAI(model=..., base_url=..., api_key=...) | ChatOpenAI(model=..., base_url=..., api_key=..., use_responses_api=True) |
result['messages'][-1].content | result['messages'][-1].text |
For complete before/after code examples, see cheat-sheet.md.
Frontend Migration Guidance
Responses API na server-side matter. Migrate your Python backend; frontend HTTP contract suppose no change unless your backend na thin pass-through — if na so, consider use Responses request shape to drop translation layer. If frontend dey call OpenAI directly with client-side key, make dem move those calls to backend first.
@microsoft/ai-chat-protocol deprecation
The @microsoft/ai-chat-protocol npm package don deprecate, make you replace am with ndjson-readablestream. If you see am for frontend:
- Replace di CDN script tag:
<!-- Before --> <script src="https://cdn.jsdelivr.net/npm/@microsoft/ai-chat-protocol@.../dist/iife/index.js"></script> <!-- After --> <script src="https://cdn.jsdelivr.net/npm/ndjson-readablestream@1.0.7/dist/ndjson-readablestream.umd.js"></script> - Remove
AIChatProtocolClientinstantiation (new ChatProtocol.AIChatProtocolClient("/chat")). - Replace
client.getStreamedCompletion(messages)with directfetch()call to backend streaming endpoint. - Replace
for await (const response of result)withfor await (const chunk of readNDJSONStream(response.body)). - Change property access from
response.delta.content/response.errortochunk.delta.content/chunk.error.
Goals
- List all Python call sites wey dey use Chat Completions or old Completions for Azure OpenAI.
- Propose migration plan and sequence for Python codebase.
- Apply safe, small edits to switch to Responses API.
- Update callers to use Responses output schema; no backcompat wrappers.
- Run tests/lints; fix small breaks introduced by migration.
- Prepare small, reviewable change sets and give final summary with diffs (no commit).
Guardrails
- Only change files inside git workspace. No write outside.
- No preserve backward-compatibility shims; migrate code to new API shape.
- No leave tombstone/transition comments or backup files.
- Keep streaming semantics if e dey before; otherwise use non-streaming.
- Ask approval before run commands or network calls if approval mode dey.
- No run
git add/git commit/git push; only produce working-tree edits.
Step 0: Azure OpenAI Client Migration (Prerequisite)
If your codebase dey use AzureOpenAI or AsyncAzureOpenAI constructors, migrate to standard OpenAI / AsyncOpenAI constructors first. Azure-specific constructors don deprecate for openai>=1.108.1.
Why the v1 API path?
The new /openai/v1 endpoint dey use standard OpenAI() client instead of AzureOpenAI(), no need api_version parameter, and e dey work the same for OpenAI and Azure OpenAI. Di same client code dey future-proof — no version management needed.
Key changes
| Before | After |
AzureOpenAI | OpenAI |
AsyncAzureOpenAI | AsyncOpenAI |
azure_endpoint | base_url |
azure_ad_token_provider | api_key |
api_version=... | Remove completely |
Cleanup checklist
- Remove
api_versionargument from client construction. - Remove
AZURE_OPENAI_VERSION/AZURE_OPENAI_API_VERSIONenvironment variables from.env, app settings, and Bicep/infra files. - Rename
AZURE_OPENAI_CLIENT_ID→AZURE_CLIENT_IDfor.env, app settings, Bicep/infra, and test fixtures (standard Azure Identity SDK convention). - Ensure
openai>=1.108.1inrequirements.txtorpyproject.toml.
Environment variable migration
| Old env var | Action | Notes |
AZURE_OPENAI_VERSION | Remove | No need api_version with v1 endpoint |
AZURE_OPENAI_API_VERSION | Remove | Same as above |
AZURE_OPENAI_CLIENT_ID | Rename → AZURE_CLIENT_ID | Standard Azure Identity SDK convention for ManagedIdentityCredential(client_id=...) |
AZURE_OPENAI_ENDPOINT | Keep | Still need for base_url construction |
AZURE_OPENAI_CHAT_DEPLOYMENT | Keep | Use as model param in responses.create |
AZURE_OPENAI_API_KEY | Keep | Use as api_key for key-based auth |
For client setup code examples (sync, async, EntraID, API key, multi-tenant), see cheat-sheet.md.
Step 1: Detect Legacy Call Sites
Run the detect_legacy.py script to find all call sites wey need migration:
python skills/azure-openai-to-responses/scripts/detect_legacy.py .Or run these searches manually — every match be migration target:
# Ol API calls (gats rewrite)
rg "chat\.completions\.create"
rg "ChatCompletion\.create"
rg "Completion\.create"
# Old Azure client constructors (gats change)
rg "AzureOpenAI\("
rg "AsyncAzureOpenAI\("
# How responses path dem dey access (gats update)
rg "choices\[0\]\.message\.content"
rg "choices\[0\]\.delta\.content"
rg "choices\[0\]\.message\.function_call"
rg "choices\[0\]\.message\.tool_calls"
# Tool definitions wey dey old inside nested form (gats flatten)
rg '"function":\s*{\s*"name"'
rg "pydantic_function_tool"
# Tool results for old form (gats change to function_call_output)
rg '"role":\s*"tool"'
rg '"tool_call_id"'
# Old parameters (gats remove or change name)
rg "response_format"
rg "max_tokens\b" # change name to max_output_tokens
rg "['\"]seed['\"]" # remove entirely
# Old environment variables (gats clean)
rg "AZURE_OPENAI_API_VERSION|AZURE_OPENAI_VERSION"
rg "AZURE_OPENAI_CLIENT_ID" # e suppose be AZURE_CLIENT_ID
# GitHub Models endpoints (gats remove — Responses API no dey support)
rg "models\.github\.ai|models\.inference\.ai\.azure"
# Framework level old patterns (gats update)
rg "OpenAIChatCompletionClient" # MAF 1.0.0+: change to OpenAIChatClient
rg "ChatOpenAI\(" | grep -v "use_responses_api" # LangChain: need use_responses_api=True
# Test setup (gats update)
rg "ChatCompletionChunk|AsyncCompletions\.create" tests/
rg "_azure_ad_token_provider" tests/
rg "prompt_filter_results|content_filter_results" tests/
rg "choices\[0\]" tests/
# Content filter error body access (gats update — structure don change)
rg 'innererror.*content_filter_result|error\.body\["innererror"\]'
rg "content_filter_result\[" # Old singular form — now content_filter_results (multiple) inside content_filters array
# Raw HTTP calls go Chat Completions endpoint (gats update URL)
rg "/openai/deployments/.*/chat/completions"
rg "api-version="Heuristics (detect and rewrite)
- Chat Completions client:
client.chat.completions.create→client.responses.create(...). - Azure client constructors:
AzureOpenAI(...)→OpenAI(base_url=..., api_key=...). - Tools: change function-calling tool definitions from nested style (
{"type": "function", "function": {"name": ...}}) go flat Responses style ({"type": "function", "name": ...}); usetool_choice; return tool results as{"type": "function_call_output", "call_id": ..., "output": ...}items (no be{"role": "tool", ...}). - Tool round-trips: wen model return function calls, add
response.outputitems join the conversation (no be manual{"role": "assistant", "tool_calls": [...]}dict), den addfunction_call_outputitems for each result. - Few-shot tool examples: if conversation get hardcoded tool call examples, change dem to
{"type": "function_call", "id": "fc_...", "call_id": "fc_...", ...}+{"type": "function_call_output", ...}items. IDs suppose start withfc_. pydantic_function_tool(): dis helper still dey make old nested style and no go good witresponses.create(). Replace am wit manual tool definitions or flatten wrapper.- Multi-turn: keep conversation history for the app; pass earlier turns through
inputitems. - Formatting: change Chat top-level
response_formattotext.formatfor Responses. Correct shape:text={"format": {"type": "json_schema", "name": "Output", "strict": True, "schema": {...}}}. - Content items: change Chat
content[].type: "text"to Responsescontent[].type: "input_text"for user or system turns. - Image content items: change Chat
content[].type: "image_url"to Responsescontent[].type: "input_image". Theimage_urlfield switch from nested object{"url": "..."}to flat string. Check cheat sheet for before and after examples. - Reasoning effort: ONLY migrate
reasoningif e already dey for original code. - Content filter error handling: error body structure don change. Chat Completions used
error.body["innererror"]["content_filter_result"](singular); Responses API useerror.body["content_filters"][0]["content_filter_results"](plural inside array). Code wey dey useinnererrorgo raiseKeyError. Change am to use di new path. - Raw HTTP calls: if app dey call Azure OpenAI REST API directly (like
requests,httpx, etc.) wen dem dey use/openai/deployments/{name}/chat/completions?api-version=..., change dem to/openai/v1/responses. Request body change:messages→input, addmax_output_tokensandstore: false, removeapi-versionparam. Response body change:choices[0].message.content→output[0].content[0].text(note:output_textna SDK convenience property wey no dey raw REST JSON).
Step 2: Apply Migration
Migration notes (Chat Completions → Responses)
- Why migrate: Responses na one API wey dey handle text, tools, and streaming well-well; Chat Completions don old. Wit GPT-5, Responses dey needed for beta performance.
- HTTP: Azure endpoint change from
/openai/deployments/{name}/chat/completionsto/openai/v1/responses. - Fields: change
messages→input,max_tokens→max_output_tokens.temperatureno change. - Formatting: change
response_formattotext.formatwit correct object. - Content items: change Chat
content[].type: "text"to Responsescontent[].type: "input_text"for system or user turns. - Image content items: change Chat
content[].type: "image_url"to Responsescontent[].type: "input_image". Flattenimage_urlfield from{"image_url": {"url": "..."}}to{"image_url": "..."}(plain string — e fit be HTTPS URL ordata:image/...;base64,...data URI).
Parameter mapping reference
| Chat Completions | Responses API |
prompt | input |
messages | input (array of items) |
max_tokens | max_output_tokens |
response_format | text.format (object) |
temperature | temperature (no change) |
stop | stop (no change) |
frequency_penalty | frequency_penalty (no change) |
presence_penalty | presence_penalty (no change) |
tools / function-calling | tools (no change) |
seed | Remove am (no support) |
store | store (set am to false) |
content[].type: "text" | content[].type: "input_text" |
content[].type: "image_url" | content[].type: "input_image" |
"image_url": {"url": "..."} | "image_url": "..." (flat string) |
For complete before/after code examples, see cheat-sheet.md.
For test infrastructure migration (mocks, snapshots, assertions), see test-migration.md.
For troubleshooting errors and gotchas, see troubleshooting.md.
Data Retention & State
- Make sure
store: falsedey for all Responses requests. - No rely on previous message IDs or server-stored context; keep state client side and minimize metadata.
Acceptance Criteria
Code-level gates (all must pass)
- No find
rg "chat\.completions\.create|ChatCompletion\.create|Completion\.create"for migrated files. - No find
rg "AzureOpenAI\(|AsyncAzureOpenAI\("— all constructors useOpenAI/AsyncOpenAIwith v1 endpoint. - No find
rg "models\.github\.ai|models\.inference\.ai\.azure"— GitHub Models code paths don remove. - No find
rg "OpenAIChatCompletionClient"— MAF 1.0.0+ usesOpenAIChatClient(wey dey use Responses API). For pre-1.0.0, upgrade toagent-framework-openai>=1.0.0. - All
ChatOpenAI(...)calls getuse_responses_api=True. - No find
rg "choices\[0\]"— all response reading dey useresp.output_textor Responses output format. - No
response_formatat top level; all structured output usetext={"format": {...}}. openai>=1.108.1andazure-identitydeyrequirements.txtorpyproject.toml; dependencies don reinstall.store=Falseset for everyresponses.createcall.- No
api_versionfor client build; removeAZURE_OPENAI_API_VERSIONfrom env and infra.
Test infrastructure gates (all must pass)
- No find
rg "ChatCompletionChunk|AsyncCompletions\.create|chat\.completions" tests/. - No find
rg "_azure_ad_token_provider" tests/— assertions update to checkisinstance(client, AsyncOpenAI)orbase_url. - No find
rg "prompt_filter_results|content_filter_results" tests/— Azure-specific filter mocks don remove. - Mock fixtures use
kwargs.get("input")no bekwargs.get("messages"). - Snapshot / golden files don update to Responses streaming shape (no
choices[0],function_call,logprobs, etc.). pytestpass well wit zero failures after test update.
Behavioral gates (verify manually or with test harness)
- Basic completion: non-streaming
responses.createreturn non-emptyoutput_text. - Stream parity: if original code use streaming, migrated code streams and yield
response.output_text.deltaevents wit non-empty deltas. - Structured output: if you dey use
text.formatwitjson_schema,json.loads(resp.output_text)go succeed and match the schema. - Tool-call loop: if you dey use tools, model go issue tool calls, app go run dem, then follow-up request go return final
output_text(no infinite loop). - Async parity: if you use
AsyncAzureOpenAIbefore,AsyncOpenAIequivalent go work witawait. - Error rate: no new 400/401/404 errors compared to pre-migration baseline.
Deliverables
- Summary go show edited files, before/after counts of old call sites, and next steps.
- Changes go be working-tree edits only (no commits).
SDK Version Requirements
| Package | Minimum Version |
openai | >=1.108.1 |
azure-identity | Latest (for EntraID auth) |
References
- Cheat Sheet — all code snippets
- Test Migration — mocks, snapshots, assertions
- Troubleshooting — errors, risk table, gotchas
- detect_legacy.py — automated scanner
- Azure OpenAI Starter Kit
- Azure OpenAI Responses API docs
- Azure OpenAI API version lifecycle
- OpenAI Responses API reference
<!-- CO-OP TRANSLATOR DISCLAIMER START -->Disclaimer: Dis document don translate wit AI translation service Co-op Translator. Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

