artifical intelligence
88 TopicsMicrosoft Retriever 1 brings sub-second agentic retrieval to Foundry IQ
Microsoft Retriever 1 is an agentic search model trained by Microsoft and now in preview in Foundry IQ. It cuts typical knowledge base retrieval latency by more than 6x, raises search evidence recall by 8–11 points, and lets agents use a third fewer input tokens. It needs no provisioning or reindexing.2KViews1like4CommentsBuild a multi-model video generation workflow with fal on Microsoft Foundry
Building a compelling video experience rarely comes down to finding one model that does everything. Early in the creative process, you may want fast text-to-video generation to explore several directions. Once a composition is established, image-to-video can preserve the starting visual while adding motion. For more directed work, reference inputs can provide additional context from images, video, or audio. Fal on Microsoft Foundry brings these workflows together through a family of video generation models available from the Foundry model catalog. In this tutorial, we build a practical product-campaign workflow that starts with a creative brief and moves through text-to-video, image-to-video, and reference-to-video modalities. Along the way, we show how to select a model for each step, submit asynchronous generation jobs, monitor their status, retrieve the completed video, and structure the code so that it can be reused across models. The scenario: turn one creative brief into a coordinated campaign Imagine that a creative team is introducing a compact premium travel speaker called Northstar. The team needs three short assets: A concept clip to test the campaign mood and visual language quickly. A polished hero clip that animates an approved product image. A campaign variation that uses reference material to reinforce the established product and audio direction. The creative brief is intentionally specific enough to guide generation while leaving room for model interpretation: Creative brief: A matte black portable speaker sits on a weathered stone ledge above a misty alpine lake at sunrise. The camera moves slowly toward the product. Soft wind moves nearby grass. The visual style is premium, cinematic, restrained, and realistic, with cool blues and warm sunrise highlights. Avoid text, logos, extra products, distorted geometry, and abrupt camera movement. This is a useful application pattern because model choice follows the creative task instead of forcing every task through the same endpoint. Choose the model and modality for the job At the time of writing, fal on Microsoft Foundry includes five video models in public preview. All five support text-to-video and image-to-video. MiniMax H3 Max additionally supports reference-to-video. For comprehensive model details, please review the documentation. Model Modalities Best fit in the scenario Deployment offering LTX 2.5 Fast Text-to-video; image-to-video Rapid concept exploration and iteration Global Standard PayGo LTX 2.5 Pro Text-to-video; image-to-video Higher-quality hero output after direction is approved Global Standard PayGo Kling v3 Pro Text-to-video; image-to-video Cinematic or multi-shot alternatives; native audio is available US Data Zone MiniMax H3 Max Text-to-video; image-to-video; reference-to-video Reference-guided campaign variation Global Standard PayGo MiniMax H3 Max Turbo Text-to-video; image-to-video Alternative fast generation path Global Standard PayGo How the asynchronous API workflow works Video generation is asynchronous. A production-oriented client should treat submission, status polling, result retrieval, and download as distinct operations: Authenticate to the Foundry resource with a Microsoft Entra bearer token. Submit a generation request to the selected model and modality route. Capture the request_id returned by the service. Poll the status route until the job reaches a terminal state. Retrieve the completed result and extract the video URL. Download or securely process the generated asset before the result URL expires. Prerequisites An Azure subscription. A Microsoft Foundry resource and project. Subscription Owner or Subscription Contributor access to enable the preview (Fal.EnableDeploy) feature. Foundry Owner access on the project to deploy models. Azure CLI installed and authenticated with az login. Python 3.10 or later with the requests package. Model deployments for the fal models used by the walkthrough. A publicly reachable HTTPS image URL for image-to-video examples, plus reference URLs for the reference-to-video example. Enable fal and deploy the models An administrator first enables the Fal.EnableDeploy preview feature for the Azure subscription. In the Azure portal, open the subscription, select Preview features, search for Fal.EnableDeploy, review the terms and data-handling disclosure, and register the feature. Registration can take up to 30 minutes. After registration, open the Foundry model catalog, select each required fal model, choose Deploy, configure the deployment name and supported deployment offering, and wait until the deployment status is Succeeded. Data handling: fal services are operated outside Microsoft facilities. Review the fal terms, data-egress implications, privacy requirements, and your organization’s compliance obligations before sending prompts or assets. Note: All code samples in this walkthrough use Python and are intended to run in a Jupyter Notebook. Set up the notebook environment The companion notebook can be organized around a shared client so each scenario changes only the endpoint suffix and request payload. %pip install -q requests import json import os import subprocess import time from pathlib import Path from typing import Any, Dict import requests Configure the resource and model deployment names. The deployment names must match the deployments in your Foundry project. FOUNDRY_RESOURCE_NAME = os.environ.get( "FOUNDRY_RESOURCE_NAME", "your-foundry-resource" ) FOUNDRY_HOST = ( f"https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com" ) DEPLOYMENTS = { "ltx_fast": os.environ.get("LTX_FAST_DEPLOYMENT", "ltx-2-5-fast"), "ltx_pro": os.environ.get("LTX_PRO_DEPLOYMENT", "ltx-2-5-pro"), "kling_pro": os.environ.get("KLING_PRO_DEPLOYMENT", "kling-v3-pro"), "minimax_h3": os.environ.get("MINIMAX_H3_DEPLOYMENT", "minimax-h3-max"), } Authenticate for local development This Python helper invokes Azure CLI as a subprocess. It is still Python, not a Bash sample. def get_bearer_token() -> str: command = [ "az", "account", "get-access-token", "--scope", "https://cognitiveservices.azure.com/.default", "--query", "accessToken", "--output", "tsv", ] token = subprocess.check_output(command, text=True).strip() if not token: raise RuntimeError("Azure CLI did not return an access token.") return token def auth_headers() -> Dict[str, str]: return { "Authorization": f"Bearer {get_bearer_token()}", "Content-Type": "application/json", } Create the asynchronous generation client Video generation is asynchronous. The client submits a job, polls its status, retrieves the result, and downloads the completed video. FAILURE_STATES = {"FAILED", "CANCELED", "CANCELLED"} def submit_generation(route: str, payload: Dict[str, Any]) -> str: response = requests.post( f"{FOUNDRY_HOST}{route}", headers=auth_headers(), json=payload, timeout=120, ) response.raise_for_status() request_id = response.json().get("request_id") if not request_id: raise RuntimeError(f"No request_id returned: {response.text}") return request_id def wait_for_completion(request_root: str, request_id: str) -> None: started = time.monotonic() while True: response = requests.get( f"{FOUNDRY_HOST}{request_root}/requests/{request_id}/status", headers=auth_headers(), timeout=60, ) response.raise_for_status() body = response.json() status = body.get("status", "UNKNOWN") print(f"{request_id}: {status}") if status == "COMPLETED": return if status in FAILURE_STATES: raise RuntimeError(f"Generation ended with {status}: {body}") if time.monotonic() - started > 1800: raise TimeoutError(f"Timed out waiting for {request_id}") time.sleep(5) def get_result(request_root: str, request_id: str) -> Dict[str, Any]: response = requests.get( f"{FOUNDRY_HOST}{request_root}/requests/{request_id}", headers=auth_headers(), timeout=60, ) response.raise_for_status() return response.json() def download_video(video_url: str, output_path: str) -> Path: output = Path(output_path) with requests.get( video_url, headers=auth_headers(), stream=True, timeout=180 ) as response: response.raise_for_status() with output.open("wb") as file: for chunk in response.iter_content(1024 * 1024): if chunk: file.write(chunk) return output def run_generation(route, request_root, payload, output_path): request_id = submit_generation(route, payload) wait_for_completion(request_root, request_id) result = get_result(request_root, request_id) video_url = result.get("video", {}).get("url") if not video_url: raise RuntimeError(f"No video URL in result: {result}") download_video(video_url, output_path) return result Step 1: Explore the concept with LTX 2.5 Fast campaign_prompt = """ A premium matte black portable speaker on a weathered stone ledge above a misty alpine lake at sunrise. Slow cinematic push-in. Subtle wind moves the grass. Realistic premium advertising style. No text, logos, duplicate products, warped geometry, or abrupt motion. """.strip() ltx_root = "/providers/falai/lightricks/ltx-2.5" concept_result = run_generation( route=f"{ltx_root}/text-to-video/fast", request_root=ltx_root, payload={ "model": DEPLOYMENTS["ltx_fast"], "prompt": campaign_prompt, "duration": 6, "resolution": "720p", "aspect_ratio": "16:9", }, output_path="northstar_concept_ltx_fast.mp4", ) Step 2: Animate the approved hero image HERO_IMAGE_URL = "https://your-domain.example/northstar-hero.png" hero_result = run_generation( route=f"{ltx_root}/image-to-video/pro", request_root=ltx_root, payload={ "model": DEPLOYMENTS["ltx_pro"], "prompt": ( "Preserve the product design. Add a slow stable camera push, " "subtle drifting mist, and gentle grass movement. No text or cuts." ), "image_url": HERO_IMAGE_URL, "duration": 8, "resolution": "1080p", "aspect_ratio": "16:9", }, output_path="northstar_hero_ltx_pro.mp4", ) Step 3: Test a cinematic alternative with Kling v3 Pro kling_root = "/providers/falai/kling/v3/pro" kling_result = run_generation( route=f"{kling_root}/text-to-video", request_root=kling_root, payload={ "model": DEPLOYMENTS["kling_pro"], "prompt": campaign_prompt, "duration": 6, "aspect_ratio": "16:9", }, output_path="northstar_kling_v3_pro.mp4", ) Step 4: Add reference context with MiniMax H3 Max minimax_root = "/providers/falai/minimax/h3-max" reference_result = run_generation( route=f"{minimax_root}/reference-to-video", request_root=minimax_root, payload={ "model": DEPLOYMENTS["minimax_h3"], "prompt": ( "Preserve the product appearance and follow the visual pacing " "and audio mood of the supplied references. No text or logos." ), "references": [ {"type": "image", "url": "https://your-domain.example/hero.png"}, {"type": "video", "url": "https://your-domain.example/motion.mp4"}, {"type": "audio", "url": "https://your-domain.example/audio.wav"}, ], "duration": 8, "resolution": "768P", }, output_path="northstar_reference_minimax_h3.mp4", ) Display outputs in the notebook from IPython.display import Video, display for path in [ "northstar_concept_ltx_fast.mp4", "northstar_hero_ltx_pro.mp4", "northstar_kling_v3_pro.mp4", "northstar_reference_minimax_h3.mp4", ]: print(path) display(Video(path, embed=True, width=720)) Evaluate and operationalize the workflow Prompt adherence: subject, setting, camera direction, and exclusions. Identity and geometry: product consistency and physical plausibility. Temporal consistency: stable motion, lighting, reflections, and boundaries. Aesthetic fit: alignment with the intended campaign style. Operational fit: latency, supported resolution, duration, region, quota, and cost. Production considerations Use bounded retries with exponential backoff for transient failures. Persist the request ID and last-known job state so polling can resume. Do not log tokens, signed URLs, or sensitive prompts. Move completed outputs to application-controlled storage before temporary links expire. Keep payload construction in model-specific adapters because schemas differ. Managed identity for hosted applications Language: Python from azure.identity import DefaultAzureCredential credential = DefaultAzureCredential() token = credential.get_token( "https://cognitiveservices.azure.com/.default" ).token Troubleshooting 401 or 403: verify token scope, project role, and preview registration. 404: verify the provider, version, model, and modality path. 400: validate every payload field against the selected model schema. Queued job: continue bounded polling and confirm quota and capacity. Unreadable input: verify that the HTTPS asset URL is reachable and unexpired. Missing video URL: inspect the sanitized result and update model-specific parsing. Build around the creative goal The application does not need to be designed around one model. Start with fast text-to-video exploration, move to image-to-video when the composition is approved, and add references when the creative direction needs more context. The companion notebook provides a practical starting point for adapting the prompts, assets, routes, and generation parameters to your own scenario. Conclusion Generative video workflows don't need to be built around a single model or generation technique. With fal models on Microsoft Foundry, you can choose the model and modality that best fit each stage of your application, from quickly exploring ideas with text-to-video to bringing existing visuals to life with image-to-video and adding greater creative direction with reference inputs. In this walkthrough, we showed how those capabilities can come together in a practical, multi-model workflow using Python and Jupyter Notebook. Use the companion notebook to try the examples yourself, experiment with different models and prompts, and adapt the workflow to your own creative scenarios. Appendix API routes for fal video models Each fal model exposes a route for its supported video generation modalities. Replace {FOUNDRY_RESOURCE_NAME} with the name of your Microsoft Foundry resource. Model Modality API route Kling v3 Pro Text-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/kling/v3/pro/text-to-video Kling v3 Pro Image-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/kling/v3/pro/image-to-video LTX 2.5 Fast Text-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/fast LTX 2.5 Fast Image-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/fast LTX 2.5 Pro Text-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/text-to-video/pro LTX 2.5 Pro Image-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/lightricks/ltx-2.5/image-to-video/pro MiniMax H3 Max Text-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/text-to-video MiniMax H3 Max Image-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/image-to-video MiniMax H3 Max Reference-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max/reference-to-video MiniMax H3 Max Turbo Text-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/text-to-video MiniMax H3 Max Turbo Image-to-video https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max-turbo/image-to-video Asynchronous request routes After submitting a generation request, the service returns a request_id. Use that identifier to monitor and retrieve the generation job. Operation HTTP method Route pattern Submit a generation request POST {BASE_URL}/{MODALITY} Check request status GET {BASE_URL}/requests/{REQUEST_ID}/status Retrieve the completed result GET {BASE_URL}/requests/{REQUEST_ID} Download the generated video GET Use the URL returned in video.url For example, a MiniMax H3 Max text-to-video request uses the following URLs: Submit: {BASE_URL}/text-to-video Check status: {BASE_URL}/requests/{REQUEST_ID}/status Retrieve result: {BASE_URL}/requests/{REQUEST_ID} Where BASE_URL is: https://{FOUNDRY_RESOURCE_NAME}.services.ai.azure.com/providers/falai/minimax/h3-max Video generation is asynchronous, so the initial request does not return the completed video. Retrieve the completed result, extract the generated video location from the response, and download or process the asset using the authorization requirements returned or documented for that model. Resources Microsoft Learn: Fal models on Microsoft Foundry (preview) GitHub Samples: https://aka.ms/model-releases278Views0likes0CommentsAutonomous AI Cyberattacks: Architecting Cyber Defense with Azure
Attackers do not need a new vulnerability to change the economics of cyber defense. They can use AI agents to compare patches, identify likely weaknesses, generate candidate exploits, test them, and repeat the loop at machine speed. A recent NDTV report highlighted Google Threat Intelligence Group’s (GTIG) November 2026 finding that threat actors were using large language model (LLM) frameworks to automate vulnerability discovery and exploitation without a human in the loop [1][2]. GTIG also identified an important limitation: many autonomous offensive frameworks currently trade stealth for velocity, producing forensic traffic and recognizable traces [1]. That combination changes the defender’s job. The patch window gets shorter, alert volume rises, and an incident can move from reconnaissance to impact before a manual queue catches up. But speed is not the same as invincibility. Noisy automation creates behavior that defenders can correlate, prioritize, and contain — if the defensive system is designed to reason and act safely at the same tempo. This article proposes an Autonomous Cyber Defense Framework (ACDF): a conceptual, human-governed architecture that combines Microsoft Sentinel, Microsoft Defender XDR, Microsoft Security Copilot, Microsoft Entra, Azure-native automation, and optional custom agents built with Microsoft Foundry Agent Service. ACDF is not a Microsoft product or an official Microsoft framework. It is a reference pattern for deciding where autonomy helps, where deterministic policy must take control, and where a human must approve the next step. Key takeaways Use agents to accelerate investigation and recommendation, not to grant open-ended production authority. Keep authorization and high-impact decisions outside the language model. Separate read, reason, decide, and act into independently governed stages. Start with simulated telemetry and measure both security value and unsafe-action risk. Why autonomous attacks require a different control loop Traditional security operations often follow a human-paced sequence: collect an alert, enrich it, assign it, investigate it, decide on containment, and execute a playbook. An autonomous attacker can run an Observe-Orient-Decide-Act loop continuously across many targets. It can branch, retry, and adapt based on tool output. The underlying techniques are often familiar: stolen credentials, exposed services, unpatched software, weak authorization, and lateral movement. The change is operational compression. GTIG describes automated patch-differential analysis and n-day exploitation pipelines that reduce the time between disclosure and weaponization. It also cautions that AI-generated exploit claims can fail, creating extra verification work for defenders [1]. A useful defensive response is therefore not “let an AI fight an AI.” It is a faster, evidence-driven control loop: Observe: collect endpoint, identity, cloud, network, application, and threat-intelligence signals. Orient: correlate events into an incident and establish asset, identity, and business context. Decide: score risk through deterministic policy, supported by agent-generated analysis and evidence. Act: execute only an allowlisted, least-privileged response appropriate to the risk tier. Learn: record the decision, approval, action, outcome, and analyst feedback for evaluation. The architecture must assume that telemetry, retrieved documents, emails, web content, and even messages from another agent can be hostile. A prompt injection hidden inside a log field should never become an instruction to isolate a device or disable an identity. ACDF: a governed autonomous-defense architecture Figure 1. Proposed ACDF reference architecture. AI can enrich and recommend, while a deterministic policy decision point and human approval gates control consequential actions. 1. Signal and context plane The first layer collects normalized security signals. Microsoft Defender XDR can contribute cross-domain endpoint, identity, email, application, and cloud-app evidence. Microsoft Sentinel can add broader SIEM data, analytics, incidents, and threat hunting. Microsoft Defender for Cloud can contribute cloud workload posture and alerts; Microsoft Entra supplies identity and access context; Azure Monitor and application telemetry add service-level evidence. Coverage matters more than model sophistication. Missing identity logs, stale asset ownership, or incomplete endpoint onboarding can cause a sophisticated agent to produce a precise answer to the wrong question. Before adding agents, validate data freshness, retention, entity mapping, and the ownership of critical assets. 2. Correlation and detection plane Use native detections, behavioral analytics, advanced hunting, and incident correlation to reduce raw events into evidence-backed cases. Microsoft Sentinel data can be used with Security Copilot, and unified incidents in the Microsoft Defender portal can bring Sentinel and Defender XDR context together [3][10]. The Microsoft Sentinel and natural-language-to-KQL plugins described in the Security Copilot integration documentation are in preview, and not all Microsoft Sentinel tables are supported. Advanced hunting with Microsoft Sentinel data also has documented limitations, so generated queries and coverage must be validated before operational use [3][10]. This layer should retain deterministic detections for conditions that must be explainable and repeatable. Agents can propose hunts, summarize evidence, and identify gaps, but a model output is not itself a detection verdict. 3. Agentic analysis plane Use the most managed capability that fits the task. Microsoft Security Copilot and its agents in Microsoft Defender support security workflows such as alert triage, threat intelligence, hunting, and risk analysis [4][5]. Check the current product documentation before deployment: the broader Security Alert Triage Agent coverage includes preview capabilities, and the Security Analyst Agent documentation contains a prerelease notice. For a custom scenario that is not covered by an existing security agent, Microsoft Foundry Agent Service can provide Microsoft Entra identity, managed tools and toolboxes, tracing, and evaluation capabilities [6]. A practical separation of duties is: Intelligence agent: summarizes public advisories and maps them to the organization’s technology inventory. Investigation agent: gathers read-only evidence for an incident and identifies competing hypotheses. Risk agent: proposes a score with citations to the evidence it used. Response planner: selects only from an allowlisted catalog of playbooks and explains prerequisites. These agents should not share a single broad identity. Give each agent the minimum data scope and tools it needs. Treat every inter-agent message as untrusted input and preserve provenance. 4. Policy decision point The policy decision point is deliberately outside the LLM. It combines stable facts — incident severity, asset criticality, identity privilege, confidence, blast radius, action reversibility, change window, and regulatory constraints — into an action tier. A simple policy can be expressed as four levels: Table 1. Proposed ACDF action tiers and execution rules Tier Example outcome Execution rule 0 - Observe Add context, open an incident, notify an analyst May run automatically 1 - Low-impact Increase logging, collect a diagnostic package, add a temporary tag Automatic only when allowlisted and reversible 2 - Contain Isolate one endpoint, revoke one session, block one indicator temporarily Named analyst approval; consider two-person approval for privileged assets 3 - High-impact Disable a privileged identity, remove production access, modify a firewall broadly, delete data No autonomous execution; follow incident command and change-control procedures Risk thresholds must be versioned configuration, not prompt text. The policy engine should fail closed when evidence is missing, conflicting, stale, or outside the evaluated operating range. 5. Controlled action plane Microsoft Sentinel automation rules and playbooks based on Azure Logic Apps can provide a governed response mechanism [7]. Each playbook should have a narrow purpose, a managed identity or other approved authentication method, an explicit resource scope, a timeout, an idempotency key, a rollback path, and structured audit output. The agent does not receive a generic “run command” tool. It can request collect_diagnostics , temporarily_block_indicator , or isolate_single_device , each with a typed schema and preconditions. The policy service reauthorizes every action at execution time. This helps reduce confused-deputy risk and prevents an old approval from being reused against a different resource. 6. Evidence, observability, and learning plane Store a tamper-evident decision record containing the incident ID, evidence references, model and prompt version, policy version, tool request, approver, action result, rollback state, and analyst feedback. Foundry Agent Service supports tracing and evaluation for custom agents [6]; native Microsoft security experiences provide their own evidence and activity views. Do not train directly on every analyst click. A rushed approval, a false positive, or attacker-poisoned telemetry can become a persistent failure pattern. Curate feedback, separate evaluation data from production memory, and require review before changing prompts, policies, or action permissions. Guardrails that matter more than the model The most important controls are architectural: Separate read from write. Investigation agents should be read-only. A distinct action service performs mutations after policy evaluation. Authorize every action. Recheck user, agent, resource, purpose, and policy at execution time — not only when a session starts. Use least privilege and just-in-time access. Use Microsoft Entra role-based access controls and Privileged Identity Management where applicable. Avoid standing administrative credentials. Allowlist tools and parameters. Block arbitrary shell, browser, query, or code execution in the response path unless it is isolated and explicitly required. Require approval for consequence. Human approval is mandatory for high-impact, irreversible, externally visible, privacy-sensitive, or legally significant actions. Limit blast radius. Set maximum affected identities, devices, subscriptions, duration, calls, tokens, and cost per run. Treat context as data, not instructions. Sanitize untrusted fields, isolate system instructions, and do not let retrieved content redefine the agent’s policy. Design for rollback. Temporary blocks should expire; device isolation should have a tested release path; repeated requests should be idempotent. Log enough to reconstruct the decision. Capture evidence and rationale without copying unnecessary secrets or personal data into prompts or long-lived memory. Provide a kill switch. Security operations must be able to suspend an agent, revoke its identity, and disable playbooks independently. These controls align with Microsoft’s AI agent shared responsibility guidance: customers remain accountable for data, identity, authorization, human oversight, and governance, even when using a managed agent platform [8]. OWASP guidance similarly emphasizes least privilege, human approval for high-impact actions, input validation, memory protection, logging, and emergency shutdown [14]. Safe proof of concept: score simulated telemetry and request approval The following Python example is intentionally benign. It does not scan systems, generate exploits, or invoke a live security API. It scores synthetic observations, selects a recommendation from an allowlist, and emits an approval request. Use it to test the control boundary before connecting any production data. from __future__ import annotations from dataclasses import asdict, dataclass from typing import Literal import json import re import uuid Action = Literal[ "no_action", "observe", "collect_diagnostics", "isolate_single_device", ] Status = Literal["evaluated", "rejected"] POLICY_VERSION = "acdf-lab-v1" @dataclass(frozen=True) class SyntheticObservation: incident_id: str device_id: str failed_signins_10m: int privileged_identity: bool unusual_process: bool outbound_spike: bool asset_criticality: int # 1=low, 2=medium, 3=high @dataclass(frozen=True) class Decision: decision_id: str policy_version: str status: Status score: int | None recommendation: Action requires_action_approval: bool requires_human_review: bool evidence: tuple[str, ...] validation_errors: tuple[str, ...] def validate(obs: SyntheticObservation) -> tuple[str, ...]: """Reject malformed or out-of-scope inputs before scoring.""" errors: list[str] = [] if not re.fullmatch(r"SIM-[0-9]{4,8}", obs.incident_id): errors.append("incident_id must be a synthetic SIM identifier") if not re.fullmatch(r"LAB-DEVICE-[0-9]{2,4}", obs.device_id): errors.append("device_id must identify an approved lab device") if type(obs.failed_signins_10m) is not int or not 0 <= obs.failed_signins_10m <= 10_000: errors.append("failed_signins_10m must be an integer from 0 to 10000") if type(obs.privileged_identity) is not bool: errors.append("privileged_identity must be boolean") if type(obs.unusual_process) is not bool: errors.append("unusual_process must be boolean") if type(obs.outbound_spike) is not bool: errors.append("outbound_spike must be boolean") if type(obs.asset_criticality) is not int or obs.asset_criticality not in {1, 2, 3}: errors.append("asset_criticality must be 1, 2, or 3") return tuple(errors) def evaluate(obs: SyntheticObservation) -> Decision: errors = validate(obs) if errors: # Fail closed: reject the record and propose no action. return Decision( decision_id=str(uuid.uuid4()), policy_version=POLICY_VERSION, status="rejected", score=None, recommendation="no_action", requires_action_approval=False, requires_human_review=True, evidence=(), validation_errors=errors, ) score = 0 evidence: list[str] = [] if obs.failed_signins_10m >= 20: score += 20 evidence.append("failed_signins_10m>=20") if obs.privileged_identity: score += 25 evidence.append("privileged_identity") if obs.unusual_process: score += 25 evidence.append("unusual_process") if obs.outbound_spike: score += 20 evidence.append("outbound_spike") score += {1: 0, 2: 5, 3: 10}[obs.asset_criticality] if score >= 70: action: Action = "isolate_single_device" elif score >= 35: action = "collect_diagnostics" else: action = "observe" consequential = action == "isolate_single_device" return Decision( decision_id=str(uuid.uuid4()), policy_version=POLICY_VERSION, status="evaluated", score=score, recommendation=action, requires_action_approval=consequential, requires_human_review=consequential, evidence=tuple(evidence), validation_errors=(), ) sample = SyntheticObservation( incident_id="SIM-0042", device_id="LAB-DEVICE-07", failed_signins_10m=24, privileged_identity=False, unusual_process=True, outbound_spike=True, asset_criticality=2, ) invalid_sample = SyntheticObservation( incident_id="PROD-0042", # Rejected: outside this synthetic lab scope. device_id="SERVER-01", failed_signins_10m=-1, privileged_identity=False, unusual_process=False, outbound_spike=False, asset_criticality=9, ) valid_decision = evaluate(sample) rejected_decision = evaluate(invalid_sample) assert valid_decision.recommendation == "isolate_single_device" assert valid_decision.requires_action_approval is True assert rejected_decision.status == "rejected" assert rejected_decision.recommendation == "no_action" print(json.dumps(asdict(valid_decision), indent=2)) print(json.dumps(asdict(rejected_decision), indent=2)) The key design choice is not the score. It is the boundary: the program creates a recommendation and evidence record, but it has no credential and no function that can isolate a device. Malformed or out-of-scope input is rejected with no_action and routed for review. A separate approval and action service would validate the request again, re-check current policy and authorization, bind the approval to the exact action and lab resource, enforce an expiry, and then invoke a narrowly scoped playbook. To extend the lab safely: Replace the single sample with version-controlled synthetic JSON Lines files. Add unit tests for thresholds, missing fields, duplicate requests, expired approvals, and rollback. Mock the playbook endpoint; return deterministic success, failure, timeout, and partial-completion responses. Add a read-only agent that explains the deterministic decision, then test whether hostile text inside a telemetry field can alter the proposed action. Never use real customer data, production credentials, malware, exploit code, or internet scanning in the experiment. Evaluate the system without inventing success Do not claim that an agent “reduces response time” or “improves accuracy” until the system has been evaluated against a documented baseline. A reproducible evaluation can compare three modes on the same labeled, synthetic scenario set: Rules only: deterministic scoring and static playbook selection. Agent assisted: an agent enriches and explains; policy still decides. Agent plus governed action: low-risk actions can run; consequential actions require approval. Record the dataset version, scenario families, label owner, product configuration, model version, prompts, policy version, run count, and randomization settings. Measure: Table 2. Reproducible evaluation metrics Metric Definition Detection precision and recall Correct suspicious classifications relative to the labeled set Alert-to-decision latency Time from final synthetic event to a complete recommendation Unsafe-action proposal rate Proposals that violate the action policy divided by all proposals Approval override rate Approved recommendations that analysts change or reject Evidence completeness Required evidence fields present and traceable to source records Idempotency pass rate Repeated requests produce no duplicate side effect Rollback success rate Reversible actions restored within the test objective Cost per evaluated incident Model, compute, and automation cost for each completed case Define gates before running the test. For example, any Tier 3 autonomous action, cross-tenant data exposure, policy bypass, or unlogged tool call should fail the release. Report confidence intervals or raw counts, not only percentages, and publish negative cases. An agent that is faster but proposes unsafe containment is not an improvement. Operational rollout: earn autonomy in stages A production journey should expand authority only after evidence supports it: Shadow: the agent reads copied or synthetic data and produces recommendations that no one acts on. Assist: analysts can inspect evidence and manually launch existing playbooks. Approve: the system creates a typed action request; an authorized analyst approves it. Bounded autonomy: only reversible Tier 0 or Tier 1 actions run automatically within strict scope and volume limits. Continuous assurance: red-team prompt injection, poisoned telemetry, permission drift, model changes, tool failures, and rollback every release cycle. Keep emergency response outside the experimental agent path. If the agent is unavailable or produces conflicting evidence, analysts must retain access to the native Microsoft Defender and Microsoft Sentinel workflows. Limitations and design boundaries ACDF does not eliminate cyber risk, replace patch management, or guarantee containment. Its effectiveness depends on telemetry quality, identity hygiene, asset context, well-tested playbooks, supported product capabilities, licensing, region, and operational maturity. Some Microsoft security agent capabilities and Security Copilot integrations are in preview and can change. Not all Microsoft Sentinel tables are supported in every Copilot or advanced-hunting path. Verify current documentation, permissions, query behavior, licensing, regional availability, and support boundaries before production use [3][4][5][10]. Language models can hallucinate, overgeneralize, follow malicious instructions embedded in context, or vary between runs. Deterministic policy reduces these risks but cannot compensate for incorrect labels, missing logs, compromised administrators, or an overly permissive action catalog. Legal, privacy, employee-monitoring, customer-contract, and regulatory obligations may also restrict what data an agent can process and which actions it may recommend or execute. Finally, autonomous defense should not become a reason to normalize autonomous disruption. The objective is controlled speed: faster evidence gathering, better prioritization, and narrowly governed response with clear accountability. Start with one bounded control loop Choose one high-volume, low-consequence security workflow. Build a synthetic scenario set, define an allowlisted action catalog, and separate the agent from the policy and action services. Connect read-only evidence first. Then run the evaluation until you can explain every decision, reproduce every result, and roll back every permitted action. If you already use Microsoft Defender XDR and Microsoft Sentinel, start by exploring their unified incidents, advanced hunting, Security Copilot integration, and documented agents. Treat preview capabilities and generated queries as inputs for validation, not as automatic authority. Use Microsoft Foundry Agent Service only when a custom agent is justified, and keep the action boundary outside the model. Autonomous attackers compress time. Defenders can respond by compressing analysis — without compressing governance. References Google Threat Intelligence Group, GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant Threshold, November 16, 2026. NDTV, Google Warns 'Era Of Autonomous AI Attacks Has Arrived', November 18, 2026. Microsoft Learn, Security Copilot with Microsoft Sentinel. Microsoft Learn, Deploy AI agents in Microsoft Defender. Microsoft Learn, Microsoft Security Copilot Security Analyst Agent overview. Microsoft Learn, Agents in Microsoft Foundry. Microsoft Learn, Azure Logic Apps for Microsoft Sentinel playbooks. Microsoft Learn, AI agent shared responsibility model. Microsoft Learn, What is Privileged Identity Management?. Microsoft Learn, Advanced hunting with Microsoft Sentinel data in Microsoft Defender. NIST, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1. NIST, The NIST Cybersecurity Framework (CSF) 2.0. MITRE, ATLAS: Adversarial Threat Landscape for Artificial-Intelligence Systems. OWASP Cheat Sheet Series, AI Agent Security Cheat Sheet.546Views2likes1CommentNative real-time multilingual transcription is now generally available, and faster
In July, real-time transcription went multilingual for the first time. multilingual post-stream refinement entered public preview, so a single live session could recognize multiple languages, including switches mid-conversation, without knowing the language in advance. Today, multilingual post-stream refinement is generally available in Azure Speech, part of Microsoft Foundry. It also has a new engine. Instead of running a second recognition pass in parallel and waiting for it to finish, multilingual post-stream refinement now runs on an LLM Speech streaming model. The result is refined final transcripts that arrive much sooner. What’s new Generally available: Multilingual real-time transcription, with code-switching and no locale preselection, is ready for production. Faster final results: The streaming model removes the wait for a separate second pass. Final results typically arrive in around 100 milliseconds. Phrase lists: Bias recognition toward product names, people, and domain terms in multilingual sessions. This was the most requested capability from the preview. Each phrase list can have up to 200 phrases and 3,200 characters. 61 multilingual locales: Up from 29 at preview. Diarization included: Multilingual transcripts still show who said what. Why the new architecture matters Partial and final results do different jobs. Partial results drive live captions and voice-agent turn-taking. Final results feed storage, analytics, search, summarization, and downstream AI. In preview, multilingual post-stream refinement paired a real-time recognizer with a second, non-streaming recognition pass that refined each final result with broader audio context. That improved accuracy, but applications had to wait for the second pass before the refined final arrived. Multilingual post-stream refinement now runs natively on an LLM Speech streaming model inside the real-time service, so refined finals arrive without that extra wait. The integration doesn’t change. If you already use multilingual post-stream refinement, you get the new engine with no code changes. This update applies to real-time speech to text through the Speech SDK. If the player doesn't load, open the video in a new window: Open video Get started Enable Post-Stream Refinement with open-range language detection, then add a phrase list if you need it: Multilingual Post-Stream Refinement requires Speech SDK 1.50 or later. import azure.cognitiveservices.speech as speechsdk import time done = False speech_config = speechsdk.SpeechConfig(subscription="YourSpeechKey", endpoint="YourSpeechEndpoint") # Enable multilingual post-stream refinement. speech_config.set_property( speechsdk.PropertyId.SpeechServiceResponse_PostProcessingOption, "PostRefinement", ) # An empty configuration enables open-range language detection. auto_detect_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig() audio_config = speechsdk.AudioConfig(filename="multilingual.wav") speech_recognizer = speechsdk.SpeechRecognizer( speech_config=speech_config, auto_detect_source_language_config=auto_detect_config, audio_config=audio_config, ) def recognized_cb(evt: speechsdk.SpeechRecognitionEventArgs) -> None: if evt.result.reason == speechsdk.ResultReason.RecognizedSpeech: language = speechsdk.AutoDetectSourceLanguageResult(evt.result).language print(f"RECOGNIZED ({language}): {evt.result.text}") def stop_cb(evt: speechsdk.SessionEventArgs) -> None: global done done = True speech_recognizer.recognized.connect(recognized_cb) speech_recognizer.session_stopped.connect(stop_cb) speech_recognizer.canceled.connect(stop_cb) speech_recognizer.start_continuous_recognition() try: while not done: time.sleep(0.5) finally: speech_recognizer.stop_continuous_recognition() Tip: For the lowest final-result latency in voice-agent scenarios, commit results explicitly when your application detects the end of a turn, instead of relying only on the service’s silence timeout. What else: more languages for monolingual post-stream refinement This release also expands monolingual post-stream refinement, for sessions where you know the language up front. It now supports 148 locales, up from 29, which matches fast transcription coverage. Monolingual post-stream refinement keeps its existing design, a second recognition pass that runs in parallel with real-time streaming. For the full list, see Speech to text language support. Which mode should I use? Your scenario Use Why Language unknown up front, or speakers switch languages Multilingual post-stream refinement low latency final results, open-range detection, code-switching, 61 locales Known single language, broadest locale coverage Monolingual post-stream refinement 148 locale coverage Designed for global, real-time workloads Global contact centers, where callers start or continue in different languages. Voice agents that must handle code-switching without restarting the session, and recognize product and customer names with phrase lists. International meetings, webinars, and live captioning. Travel, automotive, media, and consumer apps serving many markets. Availability Multilingual post-stream refinement is available in six regions: Central India, East US, North Europe, Southeast Asia, West US, and West US 2. For complete locale and region lists, see Speech to text language support and Supported regions for Azure Speech. Get started today Read the documentation: Multilingual post-stream refinement Phrase lists: Improve recognition accuracy with phrase list Check locale and region support: Speech to text language support and Supported regions for Azure Speech. Azure Support: File a support request through the Azure portal GitHub: Open issues on the Azure Speech SDK samples repository664Views1like1CommentYour Agents Are Running. But Are They Safe and Compliant?
An AI agent can perform perfectly and still violate your organization’s policies. Picture an enterprise running hundreds of agents across customer service, financial transactions, and internal workflows. Every operational dashboard looks healthy: tasks are completing and targets are being met. But are those agents using approved models? Accessing only authorized tools? Running the required safety protections? And when one violates a requirement, can an administrator tell which policy failed, which asset is affected, and what to change? An operationally healthy fleet isn’t necessarily a safe or compliant one. As organizations move from experimenting with individual agents to running AI across business-critical operations, it’s no longer enough to define policies and trust each team to implement them. Enterprises need to enforce the controls that matter at runtime, verify those controls actually work, and confirm, across the fleet, that they’re in place. That’s what Microsoft Foundry Safety brings together. It’s the home for the capabilities that keep agents inside the boundaries you set: Foundry Guardrails: safety controls a developer configures and Foundry applies at runtime. agent controls: the managed policy engine underneath Guardrails, enforcing deterministic rules, classifiers, and LLM-based judgments across frameworks and clouds. Safety Rubric Evaluators: spec-driven evaluations that measure whether a control actually holds, before and after you ship. AI Red Teaming Agent: adversarial probing that finds failures before an attacker does. Compliance dashboard: the new experience that confirms, across your entire fleet, that these controls are assigned, in place, and holding. Each of these has its own story. Governing hundreds or thousands of agents is a different challenge than building one. The new Manage experience in Microsoft Foundry brings fleet inventory, operational telemetry, cost, and compliance into a single view. The Foundry Governance blog walks through Fleet, Operations, and Cost in depth. This post, however, focuses on the capabilities that tells you whether your fleet is safe and compliant. Compliance: from requirements to action At the center of this experience is Foundry Manage → Compliance, bringing together relevant governance signals from Azure Policy, Microsoft Defender for Cloud, and Microsoft Purview. Four complementary views help administrators investigate their AI estate: Compliance view What it helps answer Policy Which organizational policies apply, and where are violations occurring? Asset Is a particular agent, model deployment, or toolbox compliant? Security posture Which security recommendations require attention? Data security & governance What Purview coverage and data-security findings are relevant to my AI assets? Understand compliance from the policy or the asset Administrators and developers come to Compliance with different questions. An administrator may start with an organization-wide requirement and ask which resources violate it, across a subscription or resource group. A developer is more likely to start with a particular agent and ask which policy it failed, why, and what needs to change. The Policy and Asset views support these complementary workflows. Through its integration with Azure Policy, Microsoft Foundry brings organizational governance into the context of your AI estate. Administrators can define and assign policies at the appropriate scope, review compliance status, identify violating assets, and investigate policy requirements. These capabilities span model deployments, agent configurations, tools, network egress, and safety controls, as outlined below: Policy category What organizations can govern Models Restrict deployments to approved models or publishers and enforce model eligibility requirements, such as excluding preview models. Agents Govern approved agent types and trusted Hosted Agent container images. Tools Govern tool usage and connections, including approved tool types, MCP endpoints, and connectors. Network egress Control which outbound destinations hosted agents are permitted to access. Safety controls Establish requirements for safety guardrails, such as harmful-content filtering, jailbreak protection, indirect-attack protection, and custom controls. For example, an organization might establish a policy restricting AI deployments to an approved set of models. In Manage → Compliance → Policy, an administrator can review the assigned policy, examine its scope and configured parameters, understand whether it is compliant, and identify the exact model deployments that violate the requirement. They can also inspect the policy definition, enforcement effect, and available evaluation details to understand why an asset is noncompliant. For changes to assignments or exemptions, Foundry links to the relevant Azure Policy management experience. Audit and Deny provide different levels of control. Audit identifies noncompliant resources without blocking operations. Where supported, Deny prevents new noncompliant create or update operations, while existing resources that violate the policy remain flagged until remediated. The effects available depend on the specific policy definition. This gives administrators a clearer view of not just which policies exist, but where they apply, how they are configured, and which resources require attention. The Asset view provides the complementary perspective. Starting from a flagged customer-support agent, a developer or administrator can examine the relevant policy evaluations and identify the cause: perhaps a disallowed model deployment or a missing required protection. The agent may be operating successfully from an application perspective while remaining noncompliant. Operational health and policy compliance are not the same thing. And knowing a violation exists is only useful if you can act on it. Foundry connects the affected asset to the requirement and the relevant management experience, helping teams determine whether to update a configuration, enable a protection, or follow an Azure Policy workflow. From compliance requirements to safety controls enforced at runtime Configuration compliance is essential, but agents introduce another challenge: an agent can be configured correctly and still attempt an action that violates a business rule. Imagine a financial-services agent offering a new credit product to a customer who has disclosed financial hardship, or an agent attempting a transaction above its authorized limit. These are runtime behavioral requirements that depend on what the agent is doing in the moment. That's why we're bringing more flexible safety controls into the Foundry developer experience. Define safety controls once. Apply them automatically at runtime. With Microsoft Foundry Guardrails, developers can configure safety controls through Build → Guardrails or programmatically through the API. These controls include supported built-in safety protections, such as harmful-content filtering and prompt-attack protection. The architecture is also evolving to support more expressive organization-specific requirements through deterministic business rules and LLM-based judgments. Once a guardrail policy is configured and assigned to a supported agent, Foundry automatically applies its supported controls at runtime. Developers don't need to build a separate policy-evaluation and enforcement integration for the supported Foundry-hosted execution path. The runtime invokes the applicable protections at supported intervention points and applies their decisions as part of execution. Behind this experience are our investments in the open-source Agent Control Specification (ACS), Agent Hooks, and the managed agent controls service. Agent Hooks defines where the runtime can intervene; ACS defines the policy evaluation contract; the managed service evaluates supported policies; and the Foundry runtime enforces the returned decisions. For example, consider an insurance agent processing a policyholder's request to change a beneficiary. An organization might want to require verified identity context before the update, use an LLM judge to detect possible coercion requiring escalation, and apply built-in classifiers to relevant content risks. These are illustrative policy patterns, with availability depending on the supported controls and intervention points. Developers define the boundaries. Foundry handles runtime application of assigned, supported guardrails. Azure Policy complements this experience by establishing and auditing supported organizational requirements; an Azure Policy assignment is not a prerequisite for a properly assigned guardrail to operate at runtime. For more on the underlying architecture and cross-framework integration, see agent controls announcement. Check that the control actually works: Safety Rubric Evaluators Enforcing a control and verifying it holds are two different things. Safety Rubric Evaluators (preview), built on our open-source ASSERT work, turn a plain-language safety policy plus your agent’s own definition and traces into a structured set of Allowed and Disallowed behaviors, then score conversations on two independent metrics, whether the agent did something disallowed, and whether it refused something legitimate. Measuring those separately matters: the easiest way to drive unsafe outputs to zero is to make an agent refuse everything ambiguous, and a single blended score would hide that over-refusal. Teams can generate a rubric from a policy, review and version it in the Evaluator Catalog, and re-run it before and after a mitigation to confirm a fix reduced risk without breaking legitimate user workflows. Together, the pieces form a loop: Guardrails and agent controls enforce policy at runtime, Safety Rubric Evaluators and AI Red Teaming measure whether it holds, and Compliance confirms coverage across the fleet. (Read the Safety Rubric Evaluators deep dive →) Security and data governance belong in the same view Compliance doesn't stop at resource policies and runtime guardrails. An AI resource can meet its configuration requirements and still have security weaknesses or data-exposure risks. Security posture: Microsoft Defender for Cloud The Security posture view surfaces relevant Defender for Cloud recommendations for supported resources. For example, an administrator may discover a recommendation to disable local key-based authentication on a Foundry resource, see which AI resource is affected, and navigate to Defender for deeper investigation and remediation. Data security and governance: Microsoft Purview The Data security & governance view brings relevant Microsoft Purview information into Foundry, including supported coverage information, agent interactions, and prioritized data-security findings. As agents retrieve documents and process sensitive records, administrators can investigate relevant data-protection signals in the context of their AI estate, then use Purview for specialized management and remediation. From compliance signals to action An administrator may begin in Fleet or the Policy view to assess an organization-wide requirement, identify noncompliant assets, and navigate to Azure Policy for an assignment change or exemption. A developer may begin with an agent in the Asset view, inspect the specific violation, and update its model, tool configuration, or guardrails. Both benefit from seeing the requirement and the affected asset in the same Foundry management experience. If an agent is experiencing errors or elevated latency, Operations provides relevant telemetry. If the concern is infrastructure security, teams can investigate in Defender. If it involves sensitive enterprise information, Purview provides its specialized data-security workflows. These systems retain distinct responsibilities for policy evaluation, runtime enforcement, and evidence. What changes is that teams no longer have to begin their investigations with disconnected information scattered across multiple systems. Foundry connects the AI assets organizations build with the policies, protections, and governance insights they need to operate them responsibly. Get started Building an agent that works is only the beginning. The next challenge is building an AI fleet your organization can confidently operate and govern. With Microsoft Foundry Safety, we’re bringing the capabilities that keep agents safe into one place: Guardrails and agent controls to enforce policy at runtime, Safety Rubric Evaluators and AI Red Teaming to verify it holds, and the new Compliance experience to confirm coverage across the fleet. Together with the broader Manage experience — fleet inventory, operational monitoring, and cost — these help organizations move from defining policies to enforcing, verifying, and confirming them. Ready to explore? Start in Microsoft Foundry: Manage your AI fleet: Discover your agents, models, and other AI assets across supported scopes, and understand fleet-level activity and health. Explore Compliance: Navigate to Manage → Compliance to investigate organizational policies, noncompliant assets, security recommendations, and data-governance insights. Understand Azure Policy: Learn how to establish organizational requirements, manage policy assignments, and review compliance results. Configure runtime safety with Foundry Guardrails: Navigate to Build → Guardrails or use the supported API to define and assign safety controls that Foundry automatically applies to supported agents at runtime.391Views0likes0CommentsFrom Agents to Digital Coworkers with Foundry autonomous agents
We are already building agents that reason, retrieve knowledge, call tools, and execute multistep workflows. Some assist people directly. Others run in the background. Increasingly, multiple agents collaborate to get a job done. So what makes a Foundry autonomous agents different? Is it another form of automation? Another autonomous agent? An agent with more tools, better memory, or a task that runs longer? Those capabilities can exist in other agents too. "The more important shift is from an agent that performs work to a digital coworker with its own identity, a standing role in the organization, and a manager accountable for its operation." That changes more than what the agent can do. It changes the operating model around it. A different class, not just a more capable agent We often describe agents by how they are implemented: prompts, custom code, tools, skills, orchestration, models, or managed runtimes. We also describe them by what they can do: reason, plan, remember, retrieve information, use tools, or act autonomously. Foundry autonomous agents introduce another useful distinction: "Who is acting?" Microsoft Learn overview describes three agent types: Agent type Who acts? Where it fits Assistive agent An agent acting on behalf of a signed-in user, within that user's permissions Personal assistance, such as preparing a meeting brief Background service agent An agent using its own app-only permissions, without an agent user account Backend automation, such as responding to an infrastructure alert Foundry autonomous agents An agent with both an agent identity and an agent user account, acting as itself in Microsoft 365 A digital coworker coordinating work with a team These three agent types also represent different operating models for how agents participate in an organization. Autonomy alone does not define a Foundry autonomous agent. The more important distinction is that a Foundry autonomous agent can operate under its own organizational identity rather than inheriting a user's identity to perform its work. That distinction becomes particularly important when an agent moves from helping an individual complete a task to taking on an ongoing responsibility for a team. Its own place in the organization hierarchy Every Foundry agent has a Microsoft Entra agent identity. A Foundry autonomous agent additionally has an Entra agent user account. The two serve different purposes. The agent identity secures the infrastructure and resources used to run the Foundry autonomous agent. The agent user account gives the digital coworker its presence in Microsoft 365 and a place within the organization. This introduces a different collaboration model. Instead of interacting with software that always operates through someone else's identity, a team can work with a digital coworker under its own name. Authorized actions can be associated with that account rather than whichever teammate happens to be signed in. This is particularly valuable in two scenarios: Group work, where there is no obvious person whose identity the agent should borrow. Event-driven work, where the agent may need to respond even when no person is actively signed in. The important distinction is that this is not simply a background service with more automation. The Foundry autonomous agent becomes an organizational participant in Microsoft 365, with its own identity, defined responsibilities, and a manager accountable for its operation. Build once, hire multiple times The second major difference is the developer and deployment model. With Foundry autonomous agent, developers publish a blueprint that teams can use to create their own instances. Think of the blueprint as defining the digital role: Its purpose and instructions, Capabilities and tools, Expected behavior, Supporting platform infrastructure, And the technical boundaries within which its instances operate. Each hired instance then has its own identity, agent user account, assignment, and independently granted access. Imagine a Release Manager blueprint that knows how to track commitments, generate summaries, and work with project information. One team can hire an instance for its release work. Another can hire an instance for a different program. Both digital coworkers share the underlying implementation. They do not automatically share access to each other's business resources. Capability belongs to the blueprint. Business access belongs to the instance. That separation is essential. Adding a SharePoint tool does not automatically grant access to a SharePoint site. Likewise, administrative consent to an API capability does not, by itself, authorize access to every business resource behind it. This allows organizations to reuse a blueprint without hard-coding one team's projects, credentials, or data into the shared implementation. From an agent endpoint to a digital team member The third difference is how people work with the agent over time. A traditional agent experience often starts with an interaction: Ask a question. Invoke a workflow. Get a response. A digital coworker can instead have a standing responsibility that continues across individual interactions. Consider a digital Workstream Manager. Its job is not simply to answer questions about a project. Its responsibility might be to maintain visibility into commitments and outstanding work. A teammate asks it to track a proposal review. The digital coworker records the owner and expected date. Later, the manager asks what remains open, and the digital coworker prepares a workstream summary from the work it has been tracking. The reviewed Workstream Manager sample provides a concrete starting point for exploring this model: persistent work items, manager-controlled teammate access, on-demand summaries, and Microsoft 365 tools for authorized information sources. The important idea here is continuity of responsibility. Instead of treating every interaction as an isolated request, the digital coworker performs a defined role across the team's work. An agent can complete a request. A digital coworker can hold a bounded responsibility over time. Accountability Matters as Much as Autonomy Autonomy gets much of the attention in conversations about AI agents. But as agents become organizational participants, accountability becomes equally important. The Foundry autonomous agent makes this operating model explicit. Different organizational roles participate at different stages: Developers build, publish, and evolve the blueprint and its agent behavior. Azure administrators help provision and govern the supporting Azure resources. Identity and Microsoft 365 administrators review the permissions and organizational access the agents require. Hiring managers hire and onboard instances for their teams. Managers oversee those instances within their assigned responsibilities. Tenant administrators and security teams maintain governance across the broader agent estate. Onboarding establishes the practical boundaries of a particular digital coworker: who can interact with it, which conversations or events it responds to, whom it can communicate with, which resources it can access, and which information sources can ground its work. The manager then oversees that instance while developers continue improving the shared blueprint and administrators govern the broader fleet. This is more than assigning an owner to a software deployment. The manager is accountable for whether the digital coworker should continue performing its role, whether its scope should change, and when it should stop operating. That leads to an important design principle: Autonomy should increase only when identity, authorization, observability, and accountability increase with it. Building the Coworker Is Only Half the Architecture Microsoft Foundry provides the pro-code path for building the behavior of these digital coworkers: custom agent logic, model integration, tools, persistence, orchestration, and evaluation. But building the agent is only part of the architecture. Enterprise adoption also requires controls around identity, permissions, inventory, security, compliance, monitoring, and lifecycle management. Microsoft Agent 365 complements the development model by providing enterprise controls around the agent estate and integrating with capabilities across Microsoft Entra, Defender, and Purview. This distinction matters because designing an effective digital coworker is not only about deciding what it can do. We also need to determine: Who it is, What it can access, Who manages it, Where it can operate, How its activity is observed, and when its authority should end. Network isolation, permissions, data boundaries, telemetry, evaluation, and lifecycle controls therefore become architectural concerns, not afterthoughts. The goal is to control not only how the digital coworker works, but also where, for whom, and under whose authority it works. Start With a Role, Not with Autonomy Foundry autonomous agent can support individuals, teams, and broader organizational processes. But organizations should not start by asking: How autonomous can we make this agent? A more useful question is: What responsibility could we give a digital coworker that has a clear purpose, bounded access, measurable outcomes, and a named manager? Start with one role. Give it explicit responsibilities. Define what it can and cannot access. Determine what requires human approval. Establish how its manager will observe, coach, and eventually offboard it. Then expand its responsibilities and autonomy as confidence grows. The move from agents to digital coworkers is not about making every agent autonomous. It is about giving the right agents a defined identity, a bounded responsibility, and a place in how an organization gets work done. Get Started If you are exploring Foundry autonomous agent, a practical path is: 1. Clone the repository and open the sample folder. These PowerShell commands select the source snapshot reviewed for this article: git clone https://github.com/microsoft-foundry/foundry-samples.git Set-Location foundry-samples git checkout f960ccb05b003fa274e9b5903f9d39ac1228eb65 Set-Location samples\python\autopilot-agents\hello-world Follow the Hello World README for Python 3.11 or later locally, PowerShell 7, Azure CLI 2.80 or later, Azure Developer CLI 1.32 or later, and the azure.ai.agents extension 1.0.0-beta.16 or later. The declared hosted runtime is Python 3.13. Keep the parent autopilot-agents\scripts directory: provisioning and session updates use shared helpers. Before provisioning, confirm a supported hosted-agent region, a Responses-compatible model with quota, resource-management permissions, and Foundry project access. Arrange a tenant administrator for blueprint approval. Sign-in and provisioning do not grant the developer missing permissions; Microsoft 365 licensing and tenant app policies are separate items that would need to be addressed. 2. Define the behavior in Python In Hello World's agent\app.py, the message handler calls the configured model through the Foundry project. This is an excerpt from its existing respond function, not a standalone application: if context.activity.text: response = await project.get_openai_client().responses.create( model=os.environ["AZURE_AI_MODEL_DEPLOYMENT_NAME"], input=context.activity.text, ) await send_reply(context, response.output_text) The same file constructs ActivityAgentServerHost with digital_worker=True and registers the Teams handlers. The preview SDK provides the activity-message endpoint, readiness endpoint, hosting, and storage lifecycle. Setting that flag selects the Autopilot identity model; it does not define a useful role or grant business-data access. For richer behavior, the sibling samples separate the responsibilities: File, relative to autonomous agents What it implements hello-world\agent\activity_routing.py Selects supported direct, group, and tagged channel messages foundry-toolbox\agent\toolbox.py Discovers and validates allowed tools; uses Microsoft Agent Framework to handle model-selected calls meeting-assistant\agent\app.py Registers meeting handlers and obtains Work IQ tokens using agent-user authorization meeting-assistant\agent\meeting_lifecycle.py Coordinates meeting start, end, transcript readiness, and persisted occurrence state meeting-assistant\agent\meeting_analysis.py Extracts explicit agenda items and validates structured closure classifications and evidence references 3. Separate deployment configuration from tool configuration Deployment and tool definitions have different jobs. Hello World's azure.yaml describes the hosted service and Microsoft 365 publication. Selected fields are shown below; retain the complete source file when deploying: services: hello-world-autopilot: host: azure.ai.agent project: . language: python codeConfiguration: runtime: python_3_13 entryPoint: main.py kind: hosted protocols: - protocol: activity version: 2.0.0 activity: digitalWorkerType: m365 publish: publishScope: tenant canRespondWithoutMention: true appVersion: 1.0.0 agentDisplayName: Hello World Autopilot The full file includes descriptions, developer and privacy URLs, environment settings, and resource sizing. Review the publication metadata before using it for your organization. canRespondWithoutMention is a publication setting, not a replacement for routing logic: Hello World still requires mentions for channel messages. For a concrete tool manifest, Foundry Toolbox supplies this separate toolbox.yaml: name: public-docs description: Microsoft Learn documentation and Bing-backed public web search. tools: - type: mcp server_label: learn server_url: https://learn.microsoft.com/api/mcp allowed_tools: - microsoft_docs_search - microsoft_docs_fetch - microsoft_code_sample_search require_approval: never - type: web_search name: web_search description: Search the public web for current information with source links. Microsoft Agent Framework discovers those functions and handles model-selected calls. The sample validates a read-only tool allowlist; require_approval: never is specific to this public-information example, not a recommendation for tools that write or access sensitive data. When deploying that sibling sample, follow its README to install azure.ai.toolboxes, create public-docs from toolbox.yaml, and save its MCP endpoint as TOOLBOX_ENDPOINT before azd deploy. Merely adding the YAML file does not create or connect a Toolbox. Public Web Search incurs additional charges and has separate data-handling boundaries; use public questions only. Meeting Assistant uses a different connection: Work IQ MCP, with the delegated WorkIQAgent.Ask permission declared in its azure.yaml and agent-user authorization configured at runtime. Follow its README for the newer agent extension requirement, 1.0.0-beta.18 or later, and a model supporting structured outputs. It also needs tenant consent, transcript API access, applicable licensing, and a Work IQ spending policy. 4. Package and deploy the Python code directly After completing the Hello World README's setup, run the following from its folder containing azure.yaml: $tenantId = "<tenant-id>" az login --tenant $tenantId azd auth login --tenant-id $tenantId azd env new my-hello-world azd provision azd deploy azd ai agent show This agent will also show up in Microsoft Foundry Portal 5. Publish the blueprint, then approve and hire an instance Review Hello World's activity.publish metadata, then submit the deployed agent to Microsoft 365: azd ai agent publish Deployment, publication, approval, and hiring are separate steps. An AI Administrator or Global Administrator approves the requested blueprint in the Microsoft 365 admin center and verifies its presence in the Agent 365 registry. A licensed user can then create an instance in Teams through Apps > Agents for your team, subject to tenant app policies. For Hello World, start with a direct message: "Say hello and tell me what you can help with." Check group-chat delivery and tagged channel messages separately. For Meeting Assistant, use synthetic meeting data to check agenda extraction, event delivery, transcript access, and evidence quality; its behavior is not a Hello World feature. For code-only changes, run azd deploy again. Existing sessions can remain on an older sandbox; the sample provides an explicit update helper: References New to autonomous agent? Start with the overview. Focus on the identity model and the distinction between a reusable blueprint and a hired instance. Ready to build? Start with the Python Hello World walkthrough. Deploy the code, inspect the hosted agent in Foundry, publish the blueprint, obtain approval, and create an instance in Teams. Then choose Foundry Toolbox for public-information grounding or Meeting Assistant for an event-driven team responsibility. Use each sample's own README and configuration together; their tools and prerequisites differ. Planning governance? Review the lifecycle and Agent 365 integration guide. Identify the Azure administrator, developer, tenant approver, and instance manager before deployment. Check current regional support, permissions, and licensing; the autonomous agent quickstart currently requires Frontier enrollment and an available Agent 365 Frontier license for each hired instance. What is an autopilot in Microsoft Foundry? - agent types, identity, blueprints, and collaboration patterns. Autopilot lifecycle in Microsoft Foundry - roles, hiring, onboarding, and accountability. Microsoft Agent 365 integration with Foundry - governance integration and hosted-agent telemetry requirements. Microsoft Agent 365 overview - product name, capabilities, and current product availability. Build your first autopilot - current prerequisites and documented publishing flow. foundry-samples/samples/python/foundry-autopilot-agent at main · microsoft-foundry/foundry-samples Happy Reading!393Views0likes0CommentsKnowledge graphs in Foundry IQ improve evidence recall with fewer tokens
Knowledge graphs in Foundry IQ, now in public preview, add two capabilities. Entities answered 93.5% of structured queries correctly versus 26.1% for RAG, using 64% fewer tokens. Topics improved evidence recall on thematic questions by up to 13.2 points over vector search.3.7KViews3likes0CommentsBuild a dual-mode voice agent in Microsoft Foundry with native subagents
Voice agents are changing how companies interact with customers. From service questions to technical support, the expectation is the same: a natural conversation that leads to useful, reliable answers. But responding quickly and resolving a complex request are not always the same task. Some questions can be answered directly. Others require information from backend systems, specialized analysis, or several steps to determine what should happen next. The challenge is to support that deeper work without putting the conversation on hold, or giving an answer before the necessary information is available. In this blog, I will walk through a dual-mode voice-agent pattern in Microsoft Foundry. A frontline agent manages the real-time conversation, while a backend agent handles specialized work. We will explore how these responsibilities work together, how the frontline can continue interacting while backend processing runs, and how to configure and verify the experience. The pattern is broadly applicable, with particular relevance to telecom customer service and support. You will learn how to: Separate real-time conversation from specialized backend work. Configure a native voice subagent Understand how Voice Agents build on Voice Live Test delayed responses, interruptions, missing information, and backend failures. How voice agents work Before we look at our full workflow. Lets have a look at the voice experience in Microsoft Foundry. A voice application needs to carry audio, manage the conversation, and connect that conversation to useful information or actions. Those responsibilities work together, but they are not the same layer. A browser or contact-center connector handles audio capture and playback The voice runtime manages streaming and turn-taking Instructions, knowledge, and authorized tools determine what the agent can say and do. In Microsoft Foundry, Voice Live provides the real-time speech foundation. Voice Agents build on it with a named, versioned agent definition and capabilities such as tools, tracing, and evaluation. The diagram below shows the underlying voice pipeline. Audio arrives from the client Before anything else, Voice Live cleans up that audio. It uses conversational enhancements that can reduce background noise and echo and help detect when a speaker has finished a turn. The exact combination depends on the selected model, pipeline, and audio settings; not every session uses all the processing stages shown The conversation can then either follow a native speech-to-speech path. A model in the GPT Realtime family processes spoken input directly and produces a spoken response. Supported configurations can also use Azure Speech voices for output, so choosing a realtime model does not mean we must use its native output voice. Alternatively, a cascaded pipeline converts speech to text, sends that text to a language model or agent, and synthesizes the response as speech. This separates the recognition, conversation model, and voice choices. Voice Live can manage that pipeline without us writing the streaming and turn-taking loop ourselves. In either path, useful answers may also require knowledge sources or external tools. These connections give the agent access to information and actions beyond the conversation itself. Configure the required permissions and safety controls for the selected model and application; a tool or content-safety box in the diagram is not a substitute for those decisions. On the return path, speech streams back to the client for playback. Where supported, Azure Speech provides standard and HD voices, with custom voice subject to access requirements. These choices describe how the spoken conversation runs. The dual-mode pattern adds a different separation: the frontline owns that conversation, while a backend agent handles a focused task. It does not require two speech-to-speech models, and the backend does not speak directly to the caller. How the frontline and backend work together To keep the conversation responsive while specialized work runs, we separate the caller-facing interaction from the backend task. Each agent has a clear responsibility: The frontline agent is responsible for the interaction. It listens, takes turns, answers supported questions, and explains what happens next. The backend agent has a different job: work through a focused task, such as reviewing incident evidence or recommending a troubleshooting sequence. The important part is that delegation does not have to take the caller out of the conversation. The frontline can remain active while the backend works. In the native subagent pattern, this behavior is configured through the agent definitions, instructions, and response policy rather than a separate routing model The following diagram shows how those responsibilities fit together: The voice client captures and streams the caller’s audio: The client connects the caller to the frontline voice agent, sends microphone audio, and plays returned speech. It can also display transcripts and runtime events. The client can send audio and receive events concurrently. The frontline voice agent decides whether to answer directly or delegate: The frontline owns the live conversation. It handles straightforward requests within its configured knowledge and permissions without invoking the backend. When a request needs specialized work, the frontline uses its instructions and the configured subagent’s description to determine when to delegate. Direct answers return through the voice client without a backend invocation. Foundry invokes the configured backend subagent. The voice agent’s subagent_config references a backend in the same Foundry project by name. Foundry invokes that backend for the delegated task. The frontline retains ownership of the voice conversation; the caller is not transferred to the backend. The backend performs the task and uses its tools. A prompt or hosted agent follows its own instructions and can retrieve data, call APIs, or execute supported functions. Access to service information, incident records, or diagnostics must be explicitly configured and authorized. Meanwhile, the frontline keeps the voice interaction active. Its response_policy controls an immediate acknowledgment, gap-filling speech, and supported progress updates. The basic sample enables only immediate_ack=True; additional behavior requires configuration. The frontline can receive further caller input, but it must not invent backend findings while waiting. Further caller input does not automatically update an in-flight backend task. Results and supported progress return through Foundry. The backend returns its output to the frontline through managed delegation. Where supported and enabled, progress can also inform the conversation before completion. The diagram’s return arrow does not mean every backend automatically streams intermediate findings. The frontline presents the result to the caller. Following its instructions, it explains the findings, communicates uncertainty, and identifies appropriate next actions. Speech streams back through the client for playback. The backend does not speak directly to the caller, and its output is not necessarily identical to the spoken response. Note: The GPT Live samples demonstrate an alternative implementation of the conversation/backend split. They use VoiceAgentLiveDefinition and live.connect(), with direct Responses or managed prompt-agent delegation. The design goal is responsiveness without sacrificing depth. A fast acknowledgment improves perceived waiting time; it does not shorten the underlying investigation or guarantee an accurate answer. Measure conversational responsiveness and backend task quality separately. Decide when the frontline should ask for help With the flow in place, the next question is when the frontline should ask for help. Define clear boundaries in the frontline agent’s instructions and the subagent’s capability description. Rule 1: Answer directly when the frontline has sufficient grounded information and permission to respond. Rule 2: Delegate when the backend owns the required capability. This might include combining information from several systems, assessing service impact, investigating symptoms, or developing a troubleshooting plan. Rule 3: Escalate when the request exceeds the automated workflow’s boundaries. Define what should happen when an action requires human approval, evidence remains insufficient, or a tool failure prevents progress. Implement and test the human-handoff or failure path; instructions alone do not provide it. From the caller’s perspective, this should feel like one conversation, not a handoff between agents. The frontline listens, clarifies the request, and brings in specialized help when needed. The caller does not need to understand which backend agent or tool is doing the work. When backend processing begins, an enabled acknowledgment can make that transition clear: “Let me check that for you.” If gap-filling speech or supported progress updates are configured, the frontline can keep the caller informed while the task runs. Those updates should reflect what is actually known, without implying that a check has completed or a result has been confirmed. Once the backend returns, the frontline explains the outcome in language suited to the conversation. That might be a confirmed finding, a recommended next step, or a clear statement that more information is needed. The goal is not to fill every pause with speech. It is to keep the caller oriented while specialized work happens in the background, and to make the eventual answer useful, understandable, and grounded in evidence. Build the native voice-subagent workflow Now that we have defined the conversation flow, let’s configure the agents behind it. We will use native voice subagents throughout this walkthrough: a VoiceAgentDefinition for the frontline, a prompt agent for the backend, and subagent_config to connect them. Voice subagents are currently in preview. Microsoft does not recommend features in preview for production workloads. Step 1: Give the backend one focused responsibility Start with the work the frontline should delegate. A useful backend has a clear responsibility. The subagent can be a Foundry prompt agent or a hosted agent in the same project. For our example here we will create a prompt agent that can analyze information supplied to it. It can be connected to knowledge bases and different tools to help. You can also create a subagent in the Microsoft Foundry portal or deploy a code-based hosted agent. Keep the instructions specific to the backend’s actual capabilities. If it can only analyze supplied information, say so. If you later add an incident lookup, update the instructions and capability description to reflect that change. Instructions guide model behavior; they do not enforce permissions or guarantee an output schema. Restrict access in the tools and services themselves, and validate any structured fields your application relies on. Separate read-only investigation from actions that change a customer account or service. Step 2: Connect the backend to the frontline Next, we can create the caller-facing voice-based agent. We can create this using the SDK. In its instructions we should explain when to delegate to the backend agent and we should add the backend agent to its subagent_config. In the subagent_config, you identify the backend agent by name and describe when the voice-based agent should delegate a request to it in the agent_capabilities, which describes the specialist’s responsibility. You can use the following code to spin up such an agent (Also see: Use a subagent in a Voice-based agent - Microsoft Foundry | Microsoft Learn) import os from azure.ai.projects import AIProjectClient from azure.ai.projects.models import ( RealtimeAudioFormatsAudioPcm, VoiceAgentAudioConfig, VoiceAgentAudioInputConfig, VoiceAgentAudioOutputConfig, VoiceAgentDefinition, VoiceAgentInputTranscription, VoiceAgentServerVadTurnDetection, VoiceAgentSubagent, VoiceAgentSubagentConfig, VoiceAgentSubagentResponsePolicy, ) from azure.identity import DefaultAzureCredential endpoint = os.environ["FOUNDRY_PROJECT_ENDPOINT"] model = os.environ.get("FOUNDRY_VOICE_MODEL", "gpt-realtime-2.1") definition = VoiceAgentDefinition( model_type="managed", model=model, instructions=( "You are a real-time customer support assistant for service incidents. " "Handle straightforward factual and support-process questions directly. " "For complex troubleshooting, SLA-risk triage, root-cause hypotheses, " "or multi-step remediation planning, call forward_to_subagent for " "the configured telco support agent. " "After the subagent returns, provide a concise, customer-safe summary " "and next actions. " "Do not present uncertain reasoning as confirmed fact." ), store=True, output_modalities=["audio"], audio=VoiceAgentAudioConfig( input=VoiceAgentAudioInputConfig( format=RealtimeAudioFormatsAudioPcm(rate=24000), turn_detection=VoiceAgentServerVadTurnDetection( threshold=0.5, prefix_padding_ms=300, silence_duration_ms=1000, ), transcription=VoiceAgentInputTranscription( model="azure-speech", ), ), output=VoiceAgentAudioOutputConfig( format=RealtimeAudioFormatsAudioPcm(rate=24000), voice="en-US-JennyNeural", voice_type="azure-standard", ), ), subagent_config=VoiceAgentSubagentConfig( subagents=[ VoiceAgentSubagent( agent_name="[BACKEND AGENT NAME]", agent_capabilities=( "Performs deeper SLA-risk triage and troubleshooting " "reasoning, including structured cause hypotheses " "and remediation planning." ), response_policy=VoiceAgentSubagentResponsePolicy( immediate_ack=True, ), ) ], ), ) with ( DefaultAzureCredential() as credential, AIProjectClient( endpoint=endpoint, credential=credential, allow_preview=True, ) as project_client, ): voice_agent = project_client.agents.create_version( agent_name="frontline-voice-agent", definition=definition, description="Voice frontline with subagent delegation", ) print( f"Created voice agent '{voice_agent.name}', " f"version {voice_agent.version}" ) While you currently can't link these subagents through the portal You can see the subagents linked and its instructions in the portal by clicking on the YAML button. Step 3: Configure what the caller hears while waiting With the basic connection in place, we can decide how the frontline should support the caller during backend work. Use the optional response_policy object to control what the voice agent says while it waits for a subagent: immediate_ack: Specifies whether the voice agent immediately acknowledges that it forwarded the request. ack_instructions Provides instructions for generating the immediate acknowledgment. enable_delta_progress Emits progress incrementally instead of waiting for the subagent invocation to finish. The default is false. gap_filling_interval Sets the period without subagent content or user input before a gap-filling response. Use a value from 5 through 120 seconds. gap_filling_instructions Provides instructions for speech generated while the voice agent waits for progress. progress_instructions Provides instructions for summarizing streamed subagent progress as speech. progress_update_interval Sets the minimum time between spoken progress updates. Use a value from 5 through 300 seconds. Step 4: Start a conversation with the voice agent With the frontline and its subagent configured, we can now test the spoken experience. The quickest starting point is the Foundry playground: open the project containing both agents, go to Build → Agents, select frontline-voice-agent, and open it in the playground. Start a voice session and allow microphone access. This tests the saved agent configuration without building a local audio client. For a custom application, we can use the shared native microphone client linked here (Native voice client: dependencies, launch commands, and event handling) or the complete client in the Microsoft Learn walkthrough. Configure it with the same Foundry project endpoint and the name created in Step 2: frontline-voice-agent. The client connects through beta.voice_agents.realtime.connect(), sends microphone audio, and receives speech and events concurrently. The example uses 24 kHz PCM audio and plays the returned audio chunks as they arrive. Follow the setup and readiness sequence of the client we choose rather than combining snippets from different clients. Voice activity detection identifies speech boundaries; the frontline instructions and subagent configuration still determine when to delegate. Start with a general support question, then ask for analysis that should use the backend. Check the execution evidence as well as the spoken answer: an acknowledgment alone does not prove that the subagent ran. In our current configuration, only immediate_ack is enabled, so additional gap filling or progress narration should not be assumed. Use headphones to prevent speaker audio from feeding back into the microphone. Then introduce a delayed response, a caller correction, missing evidence, and a backend failure. Check how the frontline responds and what the execution trace shows. Test interruptions separately: stopping audio playback does not prove that the backend task was canceled. From a microphone to a contact-center call The microphone client helps us validate the agent. Connecting it to a contact center adds another layer: a channel integration that bridges call audio and call-control events to the voice runtime. The division between frontline and backend remains useful, but a working local conversation does not automatically provide telephony routing or human transfer. The Azure-Samples Call Center Voice Agent Accelerator documents browser testing and multiple telephony providers, including Genesys Cloud, Azure Communication Services, and Twilio. It provides a reference for the channel-integration layer. There are also call-center-specific accelerators e.g. This Genesys Voice Live Connector sample. This integration option uses Genesys Cloud AudioConnector and a connector service between Genesys and Azure Voice Live. The connector handles the channel protocol and audio conversion; the agent handles the conversation and its configured tools. Conclusion A dual-mode voice agent separates responsibilities that operate on different timelines. The frontline keeps the conversation clear and responsive; the backend performs specialized work. Native subagent delegation connects them without handing the caller over to another speaking agent. The value is not constant speech or an instant answer to every request. It is an interaction that stays understandable while the necessary work happens, then delivers a response grounded in what that work actually established. Next Steps Ready to go deeper? Use a subagent in a Voice-based agent (preview) – Follow the end-to-end walkthrough to create a backend subagent, configure delegation, and test the spoken experience. Configure a voice agent – Explore model selection, audio settings, turn detection, voices, and agent behavior. Native voice-subagent samples – Explore working examples that connect a frontline voice agent to prompt or hosted backend agents. Voice Live overview – Learn about the underlying speech capabilities, supported models, and regional availability. Genesys Cloud Voice Live Connector – Explore a sample audio bridge between Genesys Cloud and Azure Voice Live, with a simulator for local testing. Call Center Voice Agent Accelerator – Explore deployment guidance and reference integrations for browser-based conversations and supported telephony providers.314Views0likes0CommentsReal-Time Multichannel Speech-to-Text is now generally available
In August, we introduced Real-Time Multichannel Speech-to-Text in public preview. It gave contact centers and conversational AI builders a simpler way to transcribe stereo audio without giving up channel separation. Today, Real-Time Multichannel Speech-to-Text is generally available in Azure Speech, part of Microsoft Foundry. You can now run stereo transcription in production with the same simple Speech SDK integration. This release also adds the capability preview customers asked for most: language identification alongside multichannel. Since the public preview launched in August, customers have run more than 3 million real-time multichannel sessions, led by contact center workloads in production. A quick recap: why channel separation matters In many contact center and communication scenarios, each participant is already recorded on a separate channel. For example, the customer is on one channel and the agent on the other. That separation carries valuable context, especially when people interrupt each other or speak at the same time. Until now, teams had to choose between two imperfect options. They could split channels and run parallel transcription pipelines, which adds operational overhead. Or they could merge channels into one stream, which can hurt transcription quality and speaker separation. Real-Time Multichannel Speech-to-Text removes that tradeoff. Azure Speech transcribes up to two channels independently in a single real-time session, and every recognition result is tagged with its source channel. If the player doesn't load, open the video in a new window: Open video What’s new at general availability Production-ready: Real-time multichannel transcription is now generally available and supported for production workloads. Same price as single channel: Multichannel transcription is priced the same as single-channel real-time transcription, so keeping channels separate doesn't cost more. Language identification with multichannel: Each channel can be recognized in its own language. For example, an English-speaking agent and a Spanish-speaking customer can be transcribed in the same session, and each result carries both its channel and its detected language. Works with the features you already use: Diarization, custom speech, semantic segmentation, and TrueText all work with multichannel. Same Speech SDK, recognition events, endpoint, and authentication. One configuration setting turns it on. Get started If you already use Azure Speech, getting started is simple. Enable multichannel processing, and optionally add an automatic language detection configuration: import azure.cognitiveservices.speech as speechsdk import time ENABLE_LID = False done = False speech_config = speechsdk.SpeechConfig(subscription="YourSpeechKey", endpoint="YourSpeechEndpoint") # Enable Multichannel processing speech_config.set_property(speechsdk.PropertyId.Speech_EnableMultiChannelProcessing, "true") # Optional: identify the language on each channel auto_detect_config = None if ENABLE_LID: speech_config.set_property(speechsdk.PropertyId.SpeechServiceConnection_LanguageIdMode, "Continuous") auto_detect_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig(languages=["en-US", "es-MX"]) else: speech_config.speech_recognition_language = "en-US" audio_config = speechsdk.AudioConfig(filename="stereo.wav") speech_recognizer = speechsdk.SpeechRecognizer( speech_config=speech_config, auto_detect_source_language_config=auto_detect_config, audio_config=audio_config, ) # Print Multichannel results def recognized_cb(evt: speechsdk.SpeechRecognitionEventArgs) -> None: if evt.result.reason == speechsdk.ResultReason.RecognizedSpeech: label = f"channel {evt.result.channel}" if ENABLE_LID: label += f" | {speechsdk.AutoDetectSourceLanguageResult(evt.result).language}" print(f"RECOGNIZED ({label}): {evt.result.text}") def stop_cb(evt: speechsdk.SessionEventArgs) -> None: global done done = True speech_recognizer.recognized.connect(recognized_cb) speech_recognizer.session_stopped.connect(stop_cb) speech_recognizer.canceled.connect(stop_cb) speech_recognizer.start_continuous_recognition() try: while not done: time.sleep(0.5) finally: speech_recognizer.stop_continuous_recognition() To also identify individual speakers within a channel, use ConversationTranscriber instead of SpeechRecognizer. Each result then includes both the channel and the speaker ID. Built for real-world conversations Contact centers and CCaaS platforms: Keep agent and customer audio separate for agent assist, quality monitoring, compliance, and post-call analytics, without running two pipelines. Multilingual customer service: Language identification lets each side of the call be transcribed in its own language, ready for translation, summarization, or routing. Conversational AI: Channel-aware transcripts give voice agents and copilots a cleaner record of who said what for downstream reasoning and summarization. Good to know Supports up to two channels, with continuous recognition. Heavily overlapping speech on both channels can increase result latency. Phrase lists, multilingual models, post-stream refinement, and pronunciation assessment aren't supported with multichannel in this release. Requires Speech SDK 1.51 or later. For Go, and for channel metadata on diarization results in JavaScript, use version 1.52 or later. Get started today Real-Time Multichannel Speech-to-Text is now generally available in Azure Speech. If you’ve been choosing between parallel pipelines and mixed-audio compromises, you can now keep stereo channel separation in production, with built-in language identification. Read the documentation: How to transcribe multichannel audio in real time Watch the demo: https://aka.ms/stt-multichannel-demo Azure Support: File a support request through the Azure portal GitHub: Open issues on the Azure Speech SDK samples repository439Views1like0CommentsAzure OpenAI Decisions API: Now generally available in Microsoft Foundry
AI applications and agents do more than generate content. They constantly make decisions about what should happen next. Which model should handle this request? Is a customer issue urgent? Did an agent’s output meet the required criteria? Should a workflow continue, try another approach, or involve a person? As agents become more sophisticated, these decisions can happen hundreds or even thousands of times across a workflow, and not every one of them requires a full generative response. On October 22, we brought the OpenAI Decisions API to Microsoft Foundry, giving developers a purpose-built way to make fast, focused decisions across AI applications and agentic workflows. The Decisions API evaluates text, images, and structured inputs and turns them into actionable choices, probabilities, and scores. It brings intelligence directly into the control flow of an application, helping developers determine what should happen next without relying on traditional generative inference for every step. This represents an important evolution in how models can be used within AI systems. Sometimes you need a model to create. Sometimes you need it to reason deeply across a complex problem. And sometimes, the most valuable thing a model can do is make a focused decision that helps the rest of the system move forward. Decision-making is becoming a core part of agentic applications Consider an AI customer service agent handling an incoming request. Before it generates a response, the application may need to understand what the customer is asking about, determine how urgent the issue is, identify which model or tool is best suited to handle it, and decide whether specialized expertise is required. Once a response has been generated, the application may need to evaluate it again, determining whether it adequately addressed the customer's issue, met the application's requirements, or should be escalated for human review. For an agentic workflow, that distinction can be significant. Before work begins, an application can evaluate an incoming request and route it to the right model or tool. During execution, an agent can assess possible actions and choose the appropriate next step. After another model completes a task, the application can evaluate the output against defined criteria and decide whether to continue, retry, take a different path, or bring a person into the workflow. Before work begins: Evaluate an incoming request and route it to the right model or tool. During execution: Assess possible actions and choose the appropriate next step. After a task completes: Evaluate the output against defined criteria and decide whether to continue, retry, take a different path, or bring a person into the workflow. These decisions may be small individually, but collectively they shape how an agent behaves. Giving developers a model designed specifically for these moments creates an opportunity to build systems that can make these choices efficiently while reserving more computationally intensive reasoning and generation for the parts of the experience that need them. Turn inputs into decisions your application can use The Decisions API gives developers a dedicated endpoint for evaluating inputs against questions they define. Each question supports one of three focused outcomes: a probability, a choice from a predefined set of options, or a score against a defined rubric. Instead of parsing generated text to determine what a model meant, application code can work with defined values designed to inform what happens next. Probability: Determine whether a condition is true and return a confidence value. Multiple choice: Select from a predefined set of options. Rubric scoring: Score an input against defined criteria. Instead of parsing generated text to determine what a model meant, application code can work with defined values designed to inform what happens next. Use the right model for the right moment What makes this especially powerful is the impact on real-world agentic applications. As agents become more sophisticated, they make hundreds or even thousands of decisions across workflows. The latency and cost of each decision can quickly compound. With the Decisions API, developers can bring intelligence directly into these critical decision points, from dynamically routing requests and prioritizing customer issues to evaluating agent outputs and deciding when human intervention is needed. This is an important shift from using AI primarily to generate content toward using AI to drive responsive, efficient, and intelligent systems. For developers, the opportunity isn't simply to build agents capable of doing more. It's to make those agents faster, more cost-efficient, and practical to operate at enterprise scale. That could mean routing a request to the appropriate model rather than automatically using a larger model, prioritizing customer issues before an agent begins working on them, or evaluating an agent's output before deciding whether a workflow can continue autonomously. In each of these cases, the model isn't responsible for producing the final experience. It's helping the application intelligently decide how that experience should unfold. Building AI systems that can decide what comes next The broader shift here is from thinking about AI primarily as something that generates an answer to thinking about intelligence as something that can be embedded throughout an application. Generative models remain essential for creating, reasoning, and interacting with users, but increasingly sophisticated agents also need intelligence between those moments to continuously determine what to do next. Developers can use it alongside other models to create workflows where reasoning, generation, evaluation, routing, and decision-making each happen where they make the most sense. As those workflows become longer and more autonomous, having a focused way to make the many smaller decisions along the way can become just as important as the models performing the largest tasks. Get started with the Decisions API For developers, the Decisions API is available through a dedicated /openai/v1/decisions endpoint on an Azure OpenAI resource and is available with GPT-6 Luna. Developers can call the endpoint using OpenAI SDKs or REST, pass their GPT-6 Luna deployment name in the model field, and authenticate using an API key or Microsoft Entra ID. Learn more about the Decisions API → Learn how it works here. Try the Decisions API in Microsoft Foundry → https://ai.azure.com As we continue expanding the models and capabilities available through Microsoft Foundry, I'm particularly excited about what this unlocks for developers building the next generation of AI applications. The opportunity isn't simply to give agents access to increasingly capable models. It's to build systems that can apply the right intelligence at the right moment, from the complex reasoning and generation that users see to the many decisions happening behind the scenes. The next generation of AI applications won't just be defined by how well they generate. They'll also be defined by how intelligently and efficiently they decide what to do next. Pricing (per 1M tokens) Decision API supported model Input Output Cached input 30-minute cached write GPT-6 Luna $0.10 N/A $0.01 $0.125 Start building with the Azure OpenAI Decisions API in Microsoft Foundry today to bring reliable, structured decision-making to your apps and agents.4.3KViews2likes0Comments