[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[AI SDK](/c/ai-sdk/62)

# Azure AI Foundry support

216 views · 5 likes · 5 posts


Philip (@philipbalasanov-7282) · 2026-01-08 · ♥ 3

Hello community!

My name is Phil.

I’m looking for advice on building agentic apps (RAG) using Azure Foundry + TypeScript.
Azure itself provides [Foundry Agent Service](https://learn.microsoft.com/en-us/azure/ai-foundry/what-is-foundry?view=foundry) and its own SDK. From what I see now, I **might need** their SDK to connect to [Foundry's Project and Model](https://learn.microsoft.com/en-us/azure/ai-foundry/quickstarts/get-started-code?view=foundry&tabs=typescript#chat-with-a-model), and maybe set up [continuous evaluation](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/ai/ai-projects/samples/v2-beta/typescript/src/evaluations/continuousEvaluationRule.ts) for my agent(s).

On the flip side, I don't want to lose a DX that AI SDK or such frameworks like Next and Mastra would give me.

I'm aware of [Azure OpenAI Provider](https://ai-sdk.dev/providers/ai-sdk-providers/azure), but it seems like it works with OpenAI-compatible models deployed in [Azure OpenAI Service](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/#overview) (correct me if I'm wrong). As well as Community [azure-ai-provider](https://ai-sdk.dev/providers/community-providers/azure-ai) which I can't consider as mature and battle-tested.

Unfortunatelly, from what I see you either build everything manually like [here](https://github.com/Azure-Samples/mcp-agent-langchainjs/blob/main/packages/agent-api/package.json) and [here](https://github.com/Azure-Samples/azure-ai-travel-agents/blob/main/packages/api-llamaindex-ts/package.json) (note @azure/ai-projects SDK is listed but not used), or you go with vanilla Foundry Agent Service like [here](https://github.com/Azure-Samples/get-started-with-ai-agents/blob/main/src/requirements.txt).

To sum up:

1. I can't limit myself to the OpenAI models only, so I assume that I can't use Azure OpenAI Service --> therefore, Azure AI Foundry is my choice.
2. As of today, I need to build a RAG Agentic App with the conversational UI interface --> that's why I was thinking about modern AI SDK-like frameworks since they have good integration with UI frameworks like [CopilotKit](https://docs.copilotkit.ai/).
3. On the flip side, I don't want to lose in observability, reliability, and testing (read: evaluations), which seems like AI Foundry's strong point.
4. If I create a project inside AI Foundry, wondering if I can connect it with the AI SDK-like frameworks, not losing in benefits described in p.3?

   4.1. If no, my option is obvious --> [Foundry Agent Service](https://learn.microsoft.com/en-us/azure/ai-foundry/agents/overview?view=foundry) and its official SDK

   4.2. If yes, what are the examples of connecting AI SDK-like to AI Foundry project? These [stackoverflow question](https://stackoverflow.com/questions/79787759/how-to-access-non-openai-models-on-azure-ai-foundry-with-langchain), [reddit post](https://www.reddit.com/r/AZURE/comments/1p31ypc/langchain_integration_with_azure_foundry_in/), and [GH thread](https://github.com/orgs/microsoft-foundry/discussions/196#discussioncomment-14737657) make me feel this is a risky endeavour.

Thanks in advance!


system (@system) · 2026-01-20

Hi @philipbalasanov-7282!

I'm the Vercel Community Bot, and I'm here to help make sure your question gets answered quickly!

To help our community team assist you better, could you please provide:

• **Code snippets**
• **Error messages**
• **Config files**
• **Deployment/build logs**
• **Reproduction steps**
• **Environment details**

Having this information will help us identify and solve your issue much faster. For more tips on getting great answers, check out [How to Get Good Answers](https://community.vercel.com/t/how-to-get-good-answers/158). Thanks!


Seamus Reeve (@seamusreeve) · 2026-01-26 · ♥ 1

+1. I think its important. It would be good to get some more clarity from Vercel on the current status and support for connecting AI SDK-like frameworks with Azure Foundry projects. Thanks!


Pauline P. Narvas (@pawlean) · 2026-01-26 · ♥ 1

Thank you for the +1! This is super helpful as we flag to our product teams :slight_smile:


ttavni (@ttavni) · 2026-01-26

Struggling with this as well. The community provider https://github.com/QuailAI/azure-ai-provider does not seem to handle generate object. We are also with Mastra + Vercel AI SDK like @philipbalasanov-7282