Taswar Bhatti
The synonyms of software simplicity
Kimi-K2.7-Code-is-Now-Available-in-Microsoft-Foundry

Demo code located at https://github.com/taswar/KimiFoundryDemo

There are a lot of AI model announcements these days. But every now and then one lands that feels immediately practical for real engineering work.

Kimi K2.7 Code from Moonshot AI showing up in Microsoft Foundry feels like one of those releases.

Microsoft and Moonshot AI have made Kimi K2.7 Code available in the Foundry model catalog starting July 1, 2026. It is designed for the kind of software engineering that does not happen in a single prompt — multi-file refactors, feature work spanning multiple services, debugging sessions that need to hold context across many steps.

That is a different problem space from “generate a todo app in one shot.” And honestly, that is where most development teams are today.

What Is Kimi K2.7 Code?

Kimi K2.7 Code is a coding-focused model from Moonshot AI. It builds on the K2.6 series with three focused improvements:

  • Long-horizon task execution — carries work across multiple files, tools, and steps
  • Stronger end-to-end task completion — designed to finish tasks, not just generate fragments
  • ~30% fewer thinking tokens vs K2.6 — faster responses, lower cost, more work per context window

The 256K context window is the other number worth noting. Large codebases, long refactoring sessions, multiple files in context at once — that is the use case this model is optimized for.

Benchmark Numbers — The Honest Read

Here is how K2.7 Code stacks up against K2.6 and two frontier models:

Kimi K27 Benchmark

Kimi K27 Benchmark

A few things worth flagging:

The Kimi Code Bench numbers are Moonshot AI’s own benchmark — take those as directional. MCP Mark Verified is human-verified and more credible for independent comparison. On that benchmark, K2.7 Code at 81.1 actually beats Claude Opus 4.8 at 76.4. That is the benchmark most relevant to agentic coding workflows with tool use.

On pure coding tasks (Program Bench, MLS Bench Lite), it sits between GPT-5.5 and Claude Opus 4.8. That is a reasonable position for a model priced at 0.95input/4.00 output per million tokens.

Pricing

At $0.95 input, this sits below GPT-4o-class pricing. For long-running coding tasks that consume a lot of output tokens, $4.00/M output is the number to watch. Cached input at $0.19 helps when you are repeatedly loading the same large codebase context.

  Input / 1M tokens Output / 1M tokens Cached Input
Kimi K2.7 Code $0.95 $4.00 $0.19

Top Use Cases

If you are evaluating this model, here is where it fits:

  • Software engineering agents — multi-step planning, tool use, execution across a full development workflow
  • Repository-scale code understanding — analyze, modernize, or refactor large codebases while keeping context across many files
  • Complex feature implementation — changes that span multiple services, components, and repositories
  • Debugging and root cause analysis — deeper code understanding over multi-step investigation workflows

That is a pretty specific profile. This is not a general-purpose chatbot. It is a model built for developer tooling and autonomous coding agents.


Enough Theory. Let’s Actually Call It from C#

Here is a working .NET console app that calls Kimi K2.7 Code through Azure AI Foundry. I am using the Azure AI Inference SDK and DefaultAzureCredential — no API key hardcoded.

Prerequisites

Set your environment variables:

Program.cs

Expected Output

I am running az login so that I am not using API_KEY

Something like:

That is the kind of output you want from a code review tool — specific, actionable, severity-tagged.

Why Run It in Foundry vs Directly?

If you are already in Azure, Foundry gives you a few things you do not get with a direct Moonshot API key:

  • Enterprise security and compliance — governance, data protection, responsible AI tooling built in
  • Side-by-side evaluation — compare Kimi K2.7 Code against GPT-5.5, Claude Opus 4.8, or any other Foundry model using the same evaluation dataset
  • GitHub Copilot and VS Code integration — native compatibility with the developer tools your team already uses
  • No separate infrastructure — model is already deployed, monitored, and scaled for you

That last point matters more than it sounds. The jump from “I tried this in a notebook” to “this is running in our CI pipeline” is usually infrastructure, not capability. Foundry removes that friction.


Final Thoughts

Kimi K2.7 Code in Microsoft Foundry is interesting for developers because it is not just a benchmark improvement. It is a model positioned for the kind of work that is genuinely hard to automate well: long-running, multi-step, multi-file engineering tasks.

The MCP Mark Verified score beating Claude Opus 4.8 is the number I would keep an eye on as agentic coding workflows mature. If your team is building AI-assisted developer tooling or coding agents, this is one worth evaluating.

If you are already on Azure AI Foundry, the model is in the catalog now. Start with the C# code above, swap in your own endpoint, and run it against a real method from your codebase. That will tell you more than any benchmark.


Resources

Azure 5 Highlights Thursday

Published: 2026-06-11
Source: https://www.linkedin.com/pulse/5-highlights-thursday-11th-june-2026-113-edition-taswar-bhatti-bxojf

Here is the #113 edition of 5 Highlights Thursday. I hope this newsletter will help you in your Azure journey and keep you informed. Feel free to forward this along to anyone who you think may enjoy or better ask them to subscribe.

1. Microsoft Build 2026 Day 2 LIVE | GitHub Copilot, VS Code, Foundry & Community Sessions

You could watch Microsoft Build 2026 Day 2 on YouTube if you missed it! Start your morning with GitHub, VS Code, and everything Copilot, then dive into a full day of live programming and breakouts.

2. Scott and Mark learn…how agents reshape software engineering

Join Scott Hanselman & Mark Russinovich on this Breakout session on how AI is changing how software is created—and what it means to be a software engineer. We’ll explore how AI agents are reshaping development: where they accelerate progress, where they fall short, and what’s changing for the profession. Along the way, we’ll share failure modes, lessons learned, and propose ways engineers and organizations can adapt. Real talk, no hype.

3. Scott and Mark learn to Vibe Check with Steve Sanderson

Join Steve Sanderson & Scott Hanselman on how AI can turn an idea into a working demo faster than ever. But can that demo survive two experts who have seen every trick in the book? In this live Build showcase, developers present AI-assisted apps, agents, tools, and workflows to Mark Russinovich and Scott Hanselman. Mark and Scott will ask how it works, where the seams are, what the AI actually built, and whether the result is clever prototype, production-ready software, or something unexpectedly magical. Come for the demos. Stay for the technical reveal.

4. Fluent UI Blazor: The next step

In this session, Denis Voituron and Vincent Baaij will show you what is new in the next major version of the Microsoft Fluent UI Blazor library.

5. One policy engine to govern them all: Securing agentic AI with Microsoft Purview

In this episode, returning expert guest Innocent Wafula joins us to explore how organizations can securely scale Agentic AI across platforms using Microsoft Purview as the centralized policy engine. Through a live architecture walkthrough, you’ll see how agents built on Microsoft Foundry and AWS Bedrock can leverage the same Purview instance for real-time policy evaluation and unified data protection. Learn how a “build anywhere, govern once” approach empowers developers to innovate faster while enabling security teams to maintain centralized control over sensitive data.


As always, please give me feedback on LinkedIn. Which bullet above is your favorite? What do you want more or less of? Other suggestions? Please let me know.

Last by not least, know someone who might be interested in this newsletter? Share it with them.

Subscribe on LinkedIn

Have a wonderful Thursday 🙂

Taswar

Azure 5 Highlights Thursday

Published: 2026-06-04
Source: https://www.linkedin.com/pulse/5-highlights-thursday-4th-june-2026-112-edition-taswar-bhatti-uac1f

Here is the #112 edition of 5 Highlights Thursday. I hope this newsletter will help you in your Azure journey and keep you informed. Feel free to forward this along to anyone who you think may enjoy or better ask them to subscribe.

1. Microsoft Build 2026 Day 1 LIVE | Opening Keynote, Live Coding & Demos

If you have missed it don’t worry you can watch the MS Build Day 1 again on Youtube.

2. OpenClaw + Windows: Microsoft Build 2026

Watch Samantha Song and Scott Hanselman demo OpenClaw on Windows, and are joined on stage by @Peter Steinberger, the Claw Father himself, to talk about the latest in OpenClaw, at Microsoft Build 2026.

3. Building for the agentic web with .NET 11

The demands on modern web apps are increasing. Users expect more performance, airtight security, and even agentic capabilities. What does the next generation of web apps look like on .NET? In .NET 11, ASP.NET Core and Blazor are getting faster and more secure at the core, closely integrated with Aspire for distributed app development, and a new set of building blocks — agents, tools, skills, and components — for building agentic web apps. Get ready to build for the modern agentic web with Daniel Roth

4. Claude Opus 4.8 is now available in Microsoft Foundry

Embedded content: Claude Opus 4.8 is now available in Microsoft Foundry – Taswar Bhatti

Check out my blog post on Claude Opus 4.8 on Microsoft Foundry I also have sample code on how to use it.

5. GitHub App + Rayfin: Microsoft Build 2026

Cassidy Williams shows the Rayfin in the GitHub Copilot app at Microsoft Build 2026.


As always, please give me feedback on LinkedIn. Which bullet above is your favorite? What do you want more or less of? Other suggestions? Please let me know.

Last by not least, know someone who might be interested in this newsletter? Share it with them.

Subscribe on LinkedIn

Have a wonderful Thursday 🙂

Taswar

Claude Opus 4.8 is now available in Microsoft Foundry

There are a lot of AI model announcements these days, but every now and then one lands that feels immediately practical for real engineering work.

Claude Opus 4.8 showing up in Microsoft Foundry feels like one of those releases.

Microsoft is positioning Claude Opus 4.8 around coding, agentic workflows, and deeper reasoning for enterprise scenarios, while Anthropic describes it as their most intelligent generally available Opus model for coding and agents.

What makes this interesting is not just “the benchmark number went up again.” The more important part is that these newer models are getting better at actual developer workflows:

  • reasoning across multiple files
  • maintaining context longer
  • handling multi-step tasks
  • recovering from mistakes
  • following structured instructions
  • working more reliably in tooling pipelines

That is a pretty different problem space compared to “generate a todo app in one prompt.”

And honestly, that is where most teams are today.


The shift from “AI chatbot” to “AI teammate”

A lot of developers already use AI for small tasks:

  • regex generation
  • boilerplate APIs
  • unit tests
  • SQL queries
  • debugging weird errors at 2AM

But the new generation of models is moving into a more interesting space: helping with systems-level work.

Think things like:

  • reviewing architecture decisions
  • planning refactors
  • migrating legacy code
  • analyzing logs and incident summaries
  • understanding large repositories
  • generating implementation plans instead of isolated snippets

That is the type of workload Claude Opus 4.8 seems designed for. Microsoft’s Foundry blog specifically calls out longer-running tasks, deeper reasoning, and more reliable tool use for agentic workflows.

And if you are already building internal copilots or AI-assisted engineering workflows, having this available inside Microsoft Foundry means you can evaluate it alongside other models without building ten different integration layers.


Let’s build something real with C# with EntraID

Enough marketing though.

Let’s actually call Claude Opus 4.8 from a .NET console app using the Azure AI Inference SDK.

This is the official SDK Microsoft documents for Azure AI Foundry model inference. It supports chat completions for Foundry-hosted models using ChatCompletionsClient

This sample keeps things simple:

  • console app
  • DefaultAzureCredential
  • BearerTokenPolicy
  • no API key
  • a realistic prompt that asks Claude to help modernize a messy ASP.NET Core API

Create the project and add your endpoint to environment variables

Program.cs


Final thoughts

Claude Opus 4.8 in Microsoft Foundry looks genuinely interesting for developers because it is not only being framed as a better model — it is being framed as a better model for the kind of work developers actually do:

  • coding with context
  • multi-step problem solving
  • architecture-aware suggestions
  • agentic workflows
  • professional and enterprise reasoning

That is a much better story than “new model, now with extra adjectives.”

If your team already lives in Azure, already experiments with coding assistants, or is building internal AI tooling, this is definitely one worth trying.

Resources

Claude Opus 4.8 is now available in Microsoft Foundry Blog
Model Card

Azure 5 Highlights Thursday

Published: 2026-05-20
Source: https://www.linkedin.com/pulse/5-highlights-thursday-21st-may-2026-111-edition-taswar-bhatti-kwige

Here is the #111 edition of 5 Highlights Thursday. I hope this newsletter will help you in your Azure journey and keep you informed. Feel free to forward this along to anyone who you think may enjoy or better ask them to subscribe.

1. STATE-Bench – Memory-agnostic Benchmark

Join
Jorge Arteiro, Lewis Liu, Pablo Castro and Nishant Yadav where they introduce STATE-Bench is a new open-source benchmark designed to measure whether memory actually improves AI agent performance on realistic, stateful enterprise tasks. Instead of testing simple recall, it evaluates how agents handle procedural workflows, reliability across repeated runs, efficiency, and user experience in domains like customer support, travel, and shopping. In this episode, we’ll explore why traditional memory benchmarks fall short, how STATE-Bench closes that gap, and what it means to “bring your own memory” to a benchmark built for production readiness.

2. Estimate costs with confidence using the new Sentinel Cost Estimator

Join Product Manager Shubh Khandhadia who introduces the new Microsoft Sentinel Cost Estimator, a web-based tool on the Microsoft Sentinel pricing page that helps sellers, customers, and partners estimate costs before deployment. Learn how to access and use the estimator, model ingestion, storage, and query costs, understand key meters and included benefits, and build 3-year projections to support more effective long-term planning.

3. Grok 4.3 in Microsoft Foundry: A Practical C# Guide for Developers

Content: Grok 4.3 in Microsoft Foundry: A Practical C# Guide for Developers – Taswar Bhatti

Here is a blog post I wrote about Grok 4.3 with sample code in C# on how to use it. Check it out and tell me what you think?

4. Security Copilot chat experience in Microsoft Defender

Join Senior Product Manager Yuval Derman for this episode to discuss the Security Copilot chat experience in Microsoft Defender and how assistive AI is transforming modern security operations. Learn how Security Copilot serves as the AI layer across Microsoft’s integrated security platform, enabling SOC teams to work faster and more effectively through context-aware, natural language experiences embedded directly into their workflow. Discover how analysts can investigate incidents, correlate signals across alerts, identities, and devices, and accelerate response actions using real-time Defender telemetry.

5. Azure MCP and Azure Skills

Explore Azure MCP Server and Azure Skills working together to extend AI capabilities across Azure services. In this video, we walk through the developer experience in VS Code, showing how to configure, run, and interact with Azure Skills seamlessly.


As always, please give me feedback on LinkedIn. Which bullet above is your favorite? What do you want more or less of? Other suggestions? Please let me know.

Last by not least, know someone who might be interested in this newsletter? Share it with them.

Subscribe on LinkedIn

Have a wonderful Thursday 🙂

Taswar

Grok 4.3 in Microsoft Foundry

If you’ve been building AI-powered apps lately, you’ve probably noticed that the conversation is shifting. It’s no longer just about “generate text.” It’s about reasoning, multi-step workflows, and agents that actually do things. That’s why I got excited when I saw Grok 4.3 land in Microsoft Foundry. This isn’t just another model drop — it’s a serious step toward agentic AI systems that can reason, plan, and integrate with tools in real-world scenarios. And the best part? You can start using it today with familiar patterns in .NET.

What’s intresting about Grok 4.3?

Let me cut through the marketing and tell you what stood out to me as a developer.
From the official announcement, Grok 4.3 focuses on:

  • Strong instruction following (finally predictable behavior)
  • Better tool usage and agent workflows
  • Reduced hallucinations / improved truthfulness
  • More reliable multi-step reasoning
  • Support for longer conversations and context

And on Microsoft Foundry specifically, it supports up to a 200K token context window, which means:

You can feed it large documents, long histories, or complex workflows without constantly chunking everything.

What I like here is the direction: This is clearly designed for real enterprise workflows, not just chat demos.

Where I see this being useful

Based on what Microsoft shared, a few scenarios jump out immediately:

  • Security copilots / incident assistants
  • Developer copilots for large codebases
  • Workflow automation agents
  • Document-heavy use cases (legal, finance, compliance)
  • Multimodal reasoning (text + diagrams + structured data)

C# Example of Calling Grok

As you know me I like to go into the code of things to see how things work, so lets get practical.

Prerequisites

  • .NET 8+
  • Azure / Foundry deployment of Grok 4.3
  • Azure.Identity + OpenAI SDK
  • OpenAI-compatible v1 API pattern

C# Sample Code

My Take on this

Personally, this is one of the more interesting additions to Microsoft Foundry recently. Not because it’s “just smarter” — but because it’s clearly designed for: Agent-based systems, Workflow automation and Real production scenarios

Resources

Azure 5 Highlights Thursday

Published: 2026-04-30
Source: https://www.linkedin.com/pulse/5-highlights-thursday-30th-april-2026-110-edition-taswar-bhatti-dobcf

Here is the #110 edition of 5 Highlights Thursday. I hope this newsletter will help you in your Azure journey and keep you informed. Feel free to forward this along to anyone who you think may enjoy or better ask them to subscribe.

1. AI Memory Patterns: Save Tokens, Cut Costs

AI systems must retain conversation history, tool outputs, and user context across multiple turns. Basic approaches can quickly inflate token usage or lose critical context. In this session, Chander D. (CEO of Cazton, 15-time Microsoft MVP) explores three memory patterns implemented using Azure Cosmos DB NoSQL

2. Getting Started with Security Copilot

This session walks through what you actually need to get started with Microsoft Security Copilot. It covers the E5 inclusion requirements and provide a practical, day‑one overview of the core experiences and agents you’ll use immediately—so you can move from setup to real value faster.

3. How do we draw agentic borders?

As AI agents become more capable—and more autonomous—one question rises fast: How do we draw agentic borders? For many organizations, this is also a sovereignty question: what stays in-country, who can access it, and how do you enforce policy across systems and regions? In this episode of The Shift Podcast: Agentic Edition, Evelyn Ozzie , Meena J Gowdar, Edouard de Cremiers, Karim Batthish from Microsoft Azure explore the evolving boundaries between agents, humans, systems, and responsibility—and what it takes to keep trust and accountability as AI becomes more agentic.

4.Azure SRE Agent: End to end agentic operations platform for any kind of toil and at enterprise scale

In this Azure Friday session, join Scott Hanselman & Shamir Abdul Aziz walk through how to get started with Azure SRE Agent and demonstrate how agentic workflows can be applied to real operational scenarios—from help desk tickets to cost analysis and reporting and anything in between.

5.Hooking Up All the Things, Making Your Developer’s Life Easier

Want to simplify distributed app development and stop wiring everything together manually? In this @VisualStudioLive session from Visual Studio Live! Las Vegas 2026, Jeffrey T. Fritz shows how to use .NET Aspire to orchestrate services, containers, and integrations so you can “hook up all the things” and make your developer life easier.


As always, please give me feedback on LinkedIn. Which bullet above is your favorite? What do you want more or less of? Other suggestions? Please let me know.

Last by not least, know someone who might be interested in this newsletter? Share it with them.

Subscribe on LinkedIn

Have a wonderful Thursday 🙂

Taswar

Azure AI Foundry GPT-5.5

OpenAI’s GPT-5.5 is now generally available (GA) in Microsoft Foundry, and this is one of those releases that matters less for “chat” and more for getting actual work done—end-to-end.

The big theme: messy, multi-step requests → completed tasks, with stronger reliability in planning, tool use, UI navigation, and recovery when something breaks mid-flow.

If you’re building internal copilots, engineering assistants, or “agentic” workflows that touch code + docs + systems, GPT-5.5 is positioned as a practical step forward in coding/debugging intelligence, long-context reasoning, computer-use accuracy, and token efficiency for longer-running workloads.

Why this release is different

In many enterprise environments, the hardest part isn’t generating an answer—it’s executing a workflow: interpret intent, plan steps, call tools, verify output, and keep going even after a failed command or a UI detour.
Microsoft frames Foundry as the “platform layer” that turns frontier models into governable systems (security, compliance, management), while GPT-5.5 brings improvements specifically tuned for sustained professional workflows.

What’s improved in GPT-5.5 (developer lens)

1) Agentic task execution (plan → act → finish)

GPT-5.5 is designed to handle multi-step execution, not just single-turn responses—planning and following through across tools and systems.
That’s exactly what you want when the task is “fix the bug, update the tests, and summarize the PR impact,” rather than “explain the bug.”

2) Coding + debugging that feels closer to real engineering

OpenAI highlights stronger performance in writing and debugging code, while Microsoft emphasizes agentic coding and more reliable execution for engineering workflows.
In practice, this maps well to: navigating large repos, doing root-cause analysis (RCA), anticipating downstream test updates, and validating changes before you ship.

3) Long-context reasoning that stays coherent

Both announcements point to GPT-5.5 handling large documents, codebases, and extended histories without losing the thread—critical for enterprise work where context is fragmented across tickets, specs, and logs.

4) Computer use (UI navigation) with better accuracy + recovery

A lot of agent workflows eventually hit a UI: portals, dashboards, admin blades, internal tools. GPT-5.5 puts emphasis on improved “computer use” accuracy—clicking the right thing, backtracking, and recovering when the workflow changes.

5) Token efficiency for long-running workflows

Long workflows can be expensive—not only because they’re long, but because retries and drift multiply tokens. GPT-5.5 is positioned as more efficient, often completing tasks with fewer tokens and fewer retries (especially in coding-style flows).

Top use cases (what I’d actually build with it)

A) Software engineering workflows (repo-scale)

  • Navigate large codebases and keep context across multiple files/modules.
  • Debug ambiguous failures, do RCA, propose fixes, and anticipate impact.
  • Identify test gaps and generate validation scripts (unit/integration).

B) Document + knowledge work (high-fidelity extraction)

  • Pull structured insights from contracts/specs/invoices/research docs.
  • Synthesize across multiple sources while keeping citations/traceability in your workflow design.

C) Agentic business process automation

  • Plan and execute multi-step workflows across systems (CRM, ITSM, internal portals).
  • Generate finished artifacts (docs/sheets/decks) as part of an automated pipeline.

D) Computer-use scenarios (UI-driven automation)

  • Navigate UI flows more accurately; recover when a click path fails.
  • Great fit for repeatable tasks that don’t have clean APIs (yet).

E) Spreadsheet reasoning (structured data)

  • Stronger reasoning on structured tables to support summarization, anomaly detection, and transformations

Minimal “hello world” – Chat Completions (C#)

This example mirrors the OpenAI v1 pattern used by Foundry/Azure OpenAI docs and is a good baseline for API-first apps.
(You’ll plug in your endpoint + deployment name; for enterprise, prefer Entra ID flows.)

Minimal “hello world” – Chat Completions (Python)

Python is great for quick evaluation, prompt iteration, and building internal tooling.

 

Conclusion: GPT-5.5 is built for “execution,” not just “answers”

If your AI roadmap includes agents that:

  • touch multiple tools,
  • reason across long contexts,
  • navigate UIs,
  • generate real artifacts (code/docs/sheets/decks),
  • and keep going when workflows break…

…then GPT-5.5 in Microsoft Foundry is a release worth testing early—because it targets the exact failure modes that show up when you move from demo to production.
And with Foundry’s deployment model + enterprise governance story, you can evaluate and productionize without reinventing the operational layer every time a new frontier model lands.

Bonus

Azure 5 Highlights Thursday

Published: 2026-04-23
Source: https://www.linkedin.com/pulse/5-highlights-thursday-23th-april-2026-109-edition-taswar-bhatti-1exif

Here is the #109 edition of 5 Highlights Thursday. Happy Childrens Day if you are in Turkiye. 👶 I hope this newsletter will help you in your Azure journey and keep you informed. Feel free to forward this alng to anyone who you think may enjoy or better ask them to subscribe.

1. Microsoft Agent Framework releasing version 1.0

Microsoft Agent Framework has reached version 1.0 — making production-grade agent development feel like normal software development. In this episode, Jorge Arteiro, Shawn Henry and @Rong Lu walk through what’s new in the v1.0 GA release: stable APIs, multi-agent orchestration with handoff patterns, and support for Python and .NET.

2. Using Microsoft Agent Framework with Foundry managed memory

In this episode, Jorge Arteiro, Amy Boyd and Lewis Liu dive into Memory in Foundry Agent Service — a managed, long-term memory layer that turns stateless LLM calls into stateful, continuous agents. Lewis Liu and Amy Boyd walk through how memory is natively integrated with Microsoft Agent Framework and LangGraph, enabling agents to persist user preferences, conversation context, and task outcomes across sessions — with zero infrastructure overhead. See how per-user memory scoping, automatic memory extraction, and CRUD APIs give developers full control while keeping enterprise governance built in.

3. Azure confidential computing in the sovereign cloud era

Join Vikas Bhatia, head of product for Azure Compute Security & Confidential Computing, as he presents the latest innovations in Azure Confidential Computing and Microsoft Sovereign Cloud. This session explores how Azure empowers organizations to achieve digital sovereignty, secure sensitive data, and meet global compliance requirements. Learn about real-world use cases, hardware advancements, and strategies for resilient, mission-critical workloads—directly from the leader driving Azure’s security vision.

4. Discover, manage, and secure AI agents with Microsoft Agent 365

In this session from Vasu Jakkal RSAC 2026 Main Stage keynote, see how Microsoft Agent 365 helps organizations discover, manage, and secure AI agents at scale. Learn how IT and security teams gain centralized visibility into agent activity, apply consistent policies, and protect data across the agent lifecycle, no matter where agents are built or deployed.

5. From code to cloud: Deploy an AI agent to Microsoft Foundry in minutes with azd

Embedded content: From code to cloud: Deploy an AI agent to Microsoft Foundry in minutes with azd

This post walks through the full end-to-end workflow: deploying an AI agent to Microsoft Foundry, invoking it remotely, running it locally for development, and monitoring it in real time—all from Visual Studio (VS) Code.


As always, please give me feedback on LinkedIn. Which bullet above is your favorite? What do you want more or less of? Other suggestions? Please let me know.

Last by not least, know someone who might be interested in this newsletter? Share it with them.

Subscribe on LinkedIn

Have a wonderful Thursday 🙂

Taswar

gpt-image-2-microsoft-foundry-for-developers

Generative AI for images has gone from “cool demo” to something teams actually run in production. Microsoft has now made OpenAI’s GPT‑image‑2 generally available in Microsoft Foundry, and it’s a meaningful upgrade for developers building image-heavy workflows at scale.

This isn’t just “another image model.” GPT‑image‑2 focuses on instruction accuracy, higher resolution output, localization, and enterprise‑ready scaling—all crucial if you’re building real products instead of playing with prompts.

Let’s break down what’s new, why it matters, and how this changes image generation inside Microsoft Foundry.


Key Improvements in GPT‑Image‑2

1. Stronger Real‑World Context

GPT‑image‑2 is trained with knowledge up to December 2025, giving it better awareness of:

  • Current products
  • Modern design patterns
  • Recent cultural references

More importantly, it uses enhanced “thinking” capabilities to:

  • Refine outputs
  • Self-check generated content
  • Create multiple image variations from a single request

That makes it feel less like a static image generator and more like a creative assistant you can automate.


2. Built‑In Multilingual and Localization Support

One standout improvement is better multilingual understanding, especially for:

  • Japanese
  • Korean
  • Chinese
  • Hindi
  • Bengali

This matters when you need:

  • Text rendered correctly inside images
  • Culturally accurate visuals
  • Region-specific variations generated automatically

For global products, this alone removes a huge amount of downstream manual work.


Example of image created with GPT-Image-2 vs MAI-Image-2e

var prompt = “Create a simple poster-style graphic with 3 panels showing the same message rendered in Japanese, Korean, and Hindi. The message should be short and generic like ‘Hello World’. Use clean typography, white text on colored blocks, modern UI style, high legibility, no logos.”;

GPT Image 2 MAI Image 2e

GPT-Image-2

MAI-Image-2e


3. High‑Resolution Image Generation (Up to 4K)

GPT‑image‑2 introduces 4K image support, making it viable for:

  • Marketing assets
  • Product mockups
  • High-quality digital content

Important technical constraints to keep in mind:

  • Maximum pixel count: ~8.3 million pixels
  • Minimum pixel count: ~655k pixels
  • Dimensions must be multiples of 16
  • Requests exceeding limits are automatically resized

Supported resolutions include:

  • 1024 × 1024
  • 1536 × 1024
  • 1024 × 1536
  • 4K custom-sized images (within limits)

This brings image generation much closer to production-grade quality, not just prototyping.


Intelligent Routing: Less Guesswork for Developers

One of the more subtle—but important—features is the intelligent routing layer.

Instead of forcing developers to manually pick image sizes every time, Foundry can now automatically select the best configuration based on the request.

Routing Mode 1: Legacy Size Selection

If you’ve used previous image APIs, this mode maps your request to familiar tiers (small, standard, large) without you changing anything.

Routing Mode 2: Token‑Based Size Buckets

A more advanced mode where requests are routed using token buckets (16 → 96 tokens), offering more granular scaling while still abstracting complexity away from the app layer.

The net result: cleaner code, fewer hardcoded decisions, and more consistent outputs.


C# Code to generate your own image


Final Thoughts

GPT‑image‑2 is less about flashy demos and more about operational reality:

  • Fewer retries
  • Better instruction adherence
  • Cleaner localization
  • Higher‑quality visuals at scale

If you’re building AI‑powered apps, internal tools, or content pipelines on Azure, this model is a strong signal that image generation is now a serious enterprise capability, not an experiment.

UA-4524639-2