The most popular open-source alternative to Microsoft Foundry Agent Service is LangGraph, with 45.9k GitHub stars.
Other open-source alternatives to Microsoft Foundry Agent Service are AgentScope and Pydantic AI.
Most Microsoft Foundry Agent Service alternatives here are AI Development Platforms tools.
None of these projects names Microsoft Foundry Agent Service itself, but each does the same job; its own description is shown under it.
Stars and activity updated 5 December 2026.
Questions about Microsoft Foundry Agent Service alternatives
Is there an open-source alternative to Microsoft Foundry Agent Service?
Yes. 3 open-source projects can replace Microsoft Foundry Agent Service, for example LangGraph, AgentScope and Pydantic AI. They do the same job as Microsoft Foundry Agent Service, as their own documentation describes.
What is the best open-source alternative to Microsoft Foundry Agent Service?
LangGraph (45.9k GitHub stars) is the most popular open-source alternative to Microsoft Foundry Agent Service on GitHub. Pydantic AI has the most recent code changes. The best choice depends on your needs: compare them side by side, for example LangGraph vs AgentScope.
Are the open-source alternatives to Microsoft Foundry Agent Service free?
All of the 3 projects listed here are free to use under an open-source license, with no license fee: all permissive (such as MIT). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.