Blog Post
Build Long-Running AI Agents on Azure App Service with Microsoft Agent Framework
Thanks for the example. Nice job!
Just curious (I still have to investigate the ins and outs of MAF) but why didn't you use the workflow pattern/classes of MAF?
I thought that was meant to be the way to connect agents and let them cooperate (even in long running job situations).
- jordanseligOct 22, 2025
Microsoft
Great question! This sample intentionally keeps it simple with a single-agent pattern to demonstrate the core async request-reply architecture with App Service. The focus is on showing how to handle long-running agent operations at the infrastructure level (Service Bus + Cosmos DB) on App Service, rather than MAF's multi-agent workflow features. My goal here was to explain how App Service can be used with MAF since I'm sure there are/will be plenty of posts and samples demonstrating multi-agent workflows specifically. But to your point, there's no reason this sample can't be extended to multi-agent and that would be a great next step here. App Service and the described architecture would support it with no problem. If I have some time, I will work on that enhancement myself and share with the community here. Thanks for chiming in!