OpsCanary
azureai mlPractitioner

Unlocking Voice Agents with Microsoft Foundry: Continuous Optimization in Action

5 min read Azure BlogSep 24, 2026Reviewed for accuracy
Share
Practitioner — Hands-on experience recommended

Microsoft Foundry is revolutionizing how teams build and optimize voice agents. By providing a model-agnostic foundation, it allows developers to create agents that can be continuously improved based on real-world performance. This is crucial in a landscape where user expectations for responsiveness and quality are ever-increasing. The Foundry Agent Service supports both prompt and hosted voice agents, making it easier to integrate voice capabilities into your applications.

The operational backbone of Foundry lies in its hill-climbing approach: observe, evaluate, optimize, validate, and repeat. This iterative process ensures that your agents are not only functional but also fine-tuned for quality, latency, and cost. The Microsoft Agent Framework enhances this by adding resilience capabilities, allowing hosted agents to continue functioning even after a request disconnects. This means you can maintain a seamless user experience, even in the face of unexpected interruptions.

As voice agents are currently in public preview, it's essential to stay updated on their capabilities and limitations. The Foundry Toolkit in Visual Studio Code will soon enable developers to create, run, speak with, and debug voice agents directly within their development environment. This integration streamlines the workflow and enhances productivity, making it easier to leverage voice technology effectively.

Key takeaways

  • →Utilize the Foundry Agent Service for a model-agnostic foundation to build voice agents.
  • →Implement the hill-climbing approach to continuously optimize your agents based on production traces.
  • →Leverage long-running resilience to ensure hosted agents recover from unexpected disconnections.
  • →Prepare for the Foundry Toolkit in Visual Studio Code to simplify the development of voice agents.

Why it matters

In production, the ability to continuously optimize voice agents can significantly enhance user engagement and satisfaction. This leads to better performance metrics and reduced operational costs.

Code examples

plaintext
AZD AI provides a repeatable, source-controlled workflow for configuring and deploying voice agents.
plaintext
Foundry Toolkit in Visual Studio Code (coming soon) enables developers to create, run, speak with, and debug voice agents without leaving their development environment.

When NOT to use this

The official docs don't call out specific anti-patterns here. Use your judgment based on your scale and requirements.

Want the complete reference?

Read official docs

Test what you just learned

Quiz questions written from this article

Take the quiz →
DigitalOceanSponsor

Simple, affordable cloud — VMs, Kubernetes, and managed databases in minutes. Trusted by 600,000+ developers. Spin up a Droplet in 60 seconds.

Try DigitalOcean →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.