Microsoft Foundry Alternatives: Moving Agents Off Azure AI Foundry
Table of Contents
Quick answer
Most teams look past Microsoft Foundry Agent Service because their agents have to run somewhere other than Azure: another cloud, their own data center, or more than one place at once. Foundry already hosts agents built with several frameworks and offers models from many labs, so check where it runs before anything else. Hosted agents run on Microsoft-managed infrastructure in Azure. Microsoft's on-premise products we found, Foundry Local and Foundry Local on Azure Local, run models, not Agent Service. We found no documented way to run Agent Service itself on-premise or outside Azure.
- Keep your Agent Framework code and run it yourself: Microsoft Agent Framework
- One platform for every primitive, in your cloud or on-premise: Brainbase
- LangGraph teams, or self-hosting on Kubernetes: LangSmith Deployment
- Moving to Google Cloud: Google Agent Runtime with ADK
- Moving to AWS: Amazon Bedrock AgentCore
- CrewAI teams that want a VPC or self-hosted deployment: CrewAI AMP
- Claude-only agents in your own data center: Claude Managed Agents, self-hosted
- A lightweight SDK you host anywhere: OpenAI Agents SDK
- Durable long-running workflows you build yourself: Temporal
Disclosure: Brainbase publishes this guide and is one of the options compared. We reviewed public product, documentation, and pricing pages on November 24, 2026. We did not run a hands-on benchmark or an independent security review.
First, if you're on classic agents or the Assistants API
Microsoft has two generations of Foundry agents. The new Agent Service is built on the Responses API instead of the older Assistants API, and Microsoft's migration guide says new features and model support are only added to the new agents. The Assistants API page now says the API is retired.
Microsoft provides a migration tool, with limits:
- It doesn't migrate state data such as past runs, threads, or messages.
- Azure Functions tools are supported in classic agents but not in the new ones.
- Connected Agents aren't in the new version. Microsoft recommends the A2A tool instead.
Since you rebuild some of this either way, decide now whether the new Agent Service is the right destination.
When to stay on Foundry
Foundry Agent Service is a managed platform for building, deploying, and scaling agents. Hosted agents can be built with Microsoft Agent Framework, LangGraph, the OpenAI Agents SDK, the Anthropic Agent SDK, or your own code, and each session runs in its own VM-isolated sandbox. The product page lists models from Microsoft, OpenAI, Anthropic, Cohere, DeepSeek, Mistral AI, Meta, and others. Tools come built in or through functions, OpenAPI, and MCP, and A2A v1.0 is generally available. Each agent can have its own Microsoft Entra identity, and agents publish to Teams and Microsoft 365 Copilot.
On pricing, Microsoft charges nothing extra for prompt and workflow agents beyond the models and tools they use. Hosted agents are a different case: the hosted agents page says billing is based on the CPU and memory you allocate, not what you use.
If your company runs on Azure, Entra, and Microsoft 365, staying is often the simplest choice. Reasons teams leave:
- Azure only. Agents can call many models, but Agent Service runs in Azure.
- No on-premise agent runtime. Microsoft's on-premise options run models. We found nothing about running Agent Service on your own hardware.
- Network choices are set at creation. Microsoft's network guide says you can't add network injection to an existing Foundry account for hosted agents.
- A second migration. Classic-agent users rebuild threads and some tools anyway, which makes it a natural point to compare.
How the alternatives compare
Each row reflects public vendor pages on November 24, 2026. "Not stated" means we didn't find it on the pages reviewed.
| Option | Runs outside Azure | On-premise | Frameworks | Models |
|---|---|---|---|---|
| Microsoft Agent Framework | Yes, wherever you run the code | You host it where you choose | Agent Framework | Foundry, Azure OpenAI, OpenAI, Anthropic, Bedrock, Gemini, Ollama |
| Brainbase | Yes (AWS, Azure, Google Cloud, or managed) | Yes, on Enterprise | Harnesses such as Claude Code, Codex, OpenCode | Anthropic, OpenAI, Google, xAI, Meta, open models |
| LangSmith Deployment | Yes (Cloud, BYOC, your infrastructure) | Self-hosted Kubernetes (Enterprise add-on) | LangGraph, Google ADK, Strands, Claude Agent SDK, CrewAI, AutoGen | Not stated on pages reviewed |
| Google Agent Runtime + ADK | Yes (Google Cloud) | Not stated | ADK, LangGraph | Not stated on pages reviewed |
| Amazon Bedrock AgentCore | Yes (AWS) | Not stated | Any open-source framework | Any model |
| CrewAI AMP | Yes | Your own infrastructure | CrewAI | Any LLM |
| Claude Managed Agents, self-hosted | Yes | Yes | Anthropic's harness | Claude |
| OpenAI Agents SDK | Yes, wherever you run the code | You host it where you choose | OpenAI Agents SDK | OpenAI and non-OpenAI providers |
| Temporal | Yes | Self-host (open source) | Any; you build the agent | Any |
The options in detail
Microsoft Agent Framework
If you built hosted agents with Agent Framework, the cheapest move may be to keep the code. Microsoft describes Agent Framework as the direct successor to Semantic Kernel and AutoGen. Its 1.0 release for .NET and Python comes with stable APIs and long-term support. Microsoft calls it 100% open source, with connectors for Foundry, Azure OpenAI, OpenAI, Anthropic Claude, Amazon Bedrock, Google Gemini, and Ollama.
What you lose is the managed layer: hosting, Entra agent identities, managed memory, tracing, and evaluations. You'll run those yourself or get them from another platform.
Brainbase
Brainbase is one platform with the pieces you need to deploy internal agents, managed by Brainbase or on-premise, across any model or harness. Its homepage lists three ways to run it outside Brainbase's cloud:
- Private cloud: your AWS, Azure, or Google Cloud account
- On-premise: your data center, operated with Brainbase
- Hybrid: the control plane at Brainbase, the workloads with you
Per its pricing page, hybrid and on-premise deployment are Enterprise features. On Enterprise you can run agents and your data plane in your own cloud or fully on-premise while Brainbase runs the control plane. The private cloud option means a team can stay in its Azure account while moving off Foundry, or run in more than one cloud.
The primitives line up with most of what Foundry provides:
- An LLM gateway with one API for models from Anthropic, OpenAI, Google, xAI, Meta, and open-model labs
- Sandboxes that start in under 100 milliseconds
- Memory for agents
- Tools, including MCP servers and a browser, where each tool is set to allowed, ask first, or denied
- Evals that run on every agent turn
The Universal Managed Agents API deploys agents across eight or more harnesses, including Claude Code, Codex, and OpenCode. Teams is one of the surfaces Brainbase lists for reaching agents. Brainbase lists SOC 2 Type II, GDPR, and HIPAA, and its pricing page lists a HIPAA BAA, SSO/SAML, and bring-your-own-key.
Brainbase's pages don't mention Foundry, Agent Framework, Semantic Kernel, or a migration path from Azure. Expect to re-create agent definitions rather than import them, and ask how your current framework and identity provider fit.
LangSmith Deployment
LangSmith Deployment runs agents on LangChain's Agent Server, on LangSmith Cloud, in your cloud (BYOC), on your own infrastructure, or as a standalone server. Self-hosted LangSmith runs in your own Kubernetes cluster and is an add-on to the Enterprise plan. The same docs cover deploying Google ADK, Claude Agent SDK, Strands, CrewAI, and AutoGen agents as well as LangGraph. Foundry also hosts LangGraph, so LangGraph code tends to move with few changes. It's the better choice if you already build on LangGraph and want deployment and tracing from one vendor.
Google Agent Runtime with ADK
Google offers a fully managed Agent Runtime for deploying and scaling agents, with quickstarts for agent frameworks including LangGraph. ADK is available in Python, TypeScript, Go, Java, and Kotlin, and its docs cover deploying to Agent Runtime, Cloud Run, or GKE. It's the better choice if you're moving to Google Cloud and Gemini.
Amazon Bedrock AgentCore
AgentCore runs agents built with any open-source framework and any model, with each user interaction in its own Firecracker microVM. It works with existing identity providers, including Microsoft Entra ID, which helps if you're keeping Entra. It runs in AWS only. Read our AgentCore alternatives guide for the details. It's the better choice if you're moving to AWS.
CrewAI AMP
CrewAI AMP is CrewAI's platform to build, deploy, and govern automations with any LLM. It includes role-based access, audit trails, and human-in-the-loop checkpoints. Its pricing page offers deployment on CrewAI's cloud, your own VPC, or your own infrastructure. It fits teams already on CrewAI.
Claude Managed Agents, self-hosted
Anthropic's self-hosted option runs Claude Managed Agents in your cloud account or an on-premise data center. You host the service and the sandboxes, and the model runs at Anthropic or at a provider you choose. Access comes through your Anthropic account team. The limit is model choice: it runs Claude only. Read our Claude Managed Agents alternatives guide for more detail.
OpenAI Agents SDK
The OpenAI Agents SDK is a lightweight library with built-in tracing that works with OpenAI and non-OpenAI models. It's a library, not a hosting service, so you supply the runtime, memory, and tool gateway. Foundry hosts it too, so code written for Foundry hosted agents can often move as is.
Temporal
Temporal is an open-source durable execution layer that you can self-host on Docker or Kubernetes, or buy as a cloud service starting at $50 per million actions. It isn't an agent platform, so you bring your own memory, tool gateway, and evals. It's the better choice when durable execution is the hard part and your team wants to build the rest.
How to migrate
What maps to what
| In Foundry | Where it usually goes |
|---|---|
| Hosted agent (container image) | A container or deployment on the new platform; the agent code often stays |
| Prompt agent | An agent definition on the new platform: instructions, model, and tools |
| Foundry model deployments | The new platform's model gateway, or direct provider APIs |
| Tools (functions, OpenAPI, MCP) | MCP servers and tools on the new platform |
| Toolboxes and Foundry IQ knowledge | MCP servers or a retrieval service you connect |
| Managed memory | A memory service or your own database |
| Entra agent identities | Your identity provider, connected to the new platform |
| Tracing, evaluations, Application Insights | OpenTelemetry export and eval checks on the new platform |
| Publishing to Teams and Microsoft 365 Copilot | The new platform's Teams channel, or a bot you host |
What doesn't carry over
- Threads and run history. Even Microsoft's own migration tool leaves past runs, threads, and messages behind. Export what you must keep.
- Managed memory contents. We found no memory export on Microsoft's pages. Plan to rebuild what your agents need.
- Entra agent identities and permissions. Map each agent's access to the new platform and test it.
- Azure-only tools. Azure Functions, Foundry IQ, and Azure-hosted connectors need new endpoints outside Azure.
- Copilot and Teams publishing. Check how the new platform reaches Teams, and whether you still need Copilot.
- Application Insights dashboards. Traces can move. The dashboards and alerts built on them usually don't.
Run both during cutover
- Pick one agent with clear success criteria and real traffic.
- Build its eval set from Foundry traces and the evaluations you already run.
- Shadow traffic. Give the new version read-only or stubbed tools, so only the Foundry version sends messages or changes records. Score both on the same inputs.
- Switch a small share of users once the new version matches or beats the old one.
- Keep the Foundry agent running until open conversations finish, then repeat per agent.
Questions to ask each vendor
- Can we keep our agent code, such as Agent Framework or LangGraph? What must change?
- Where do the runtime, sandboxes, memory, and data plane run? Which features are missing on-premise?
- Do you support Microsoft Entra ID for sign-in and for agent identities?
- Can agents reach users in Teams, and what does that take?
- Can we export OpenTelemetry traces to our current monitoring tool?
- Which compliance terms (SOC 2, HIPAA BAA) apply to our plan?
FAQ
Can Microsoft Foundry Agent Service run on-premise or outside Azure?
We found no Microsoft page that says so. Hosted agents run on Microsoft-managed infrastructure. Foundry Local and Foundry Local on Azure Local run models on your hardware, not Agent Service. For on-premise options, see our on-premise AI agent platforms guide.
Do I have to rebuild my agents to leave Foundry?
Not always. Hosted agents written with Agent Framework, LangGraph, or the OpenAI Agents SDK are ordinary code, and all three run outside Azure. Prompt agents, threads, memory, and Azure-only tools need rebuilding.
Is the Assistants API still available?
Microsoft's Assistants API page says it's retired and points to the new Agent Service. Its migration guide says historical data stays accessible through the previous API until that API is deprecated.
For more on choosing a platform, see our enterprise AI agent platforms guide and LangChain alternatives guide.
Sources
Reviewed November 24, 2026. Check current vendor documentation and contracts before you decide.
- Microsoft Foundry Agent Service: overview, product page, pricing, hosted agents, migration guide, and virtual networks
- Azure OpenAI Assistants API (retired)
- Foundry Local and Foundry Local on Azure Local
- Microsoft Agent Framework overview and version 1.0 announcement
- LangSmith deployments and self-hosted LangSmith
- Google Agent Runtime and ADK
- Amazon Bedrock AgentCore FAQs
- CrewAI AMP and CrewAI pricing
- Claude Managed Agents self-hosted
- OpenAI Agents SDK
- Temporal self-hosting guide and pricing
- Brainbase home, pricing, LLM gateway, sandboxes, memory, tools, evals, and Universal Managed Agents API