# Microsoft Foundry Fixes AI Agent Errors

> Microsoft's Foundry AI platform analyzes agent activity to fix errors without manual work.
- Title: Microsoft Foundry Fixes AI Agent Errors · Cloud Wars
- Summary: Microsoft's Foundry AI platform analyzes agent activity to fix errors without manual work. Microsoft's Foundry AI platform uses trace analysis to identify…
- Keywords: microsoft, foundry, agent, traces, errors, azure, Fixes, Cloud Wars
- Source: Cloud Wars — https://cloudwars.com/ai/microsoft-foundry-crunches-volumes-of-agent-activity-to-investigate-correct-errors
- Author: Tom Smith
- Published: 2026-10-05T14:00:00+00:00
- Read time: 1 min
- Topics: microsoft, foundry, ai, agent, traces, errors, azure
## AI Agent Mistakes
When AI agents make mistakes, developers need to manually reconstruct failures and search for patterns in traces or logs.
## Foundry Insights Feature
Microsoft's Foundry platform analyzes traces to determine likely causes of agentic mistakes and recommends fixes.
## Pattern Detection
Insights in Foundry analyzes volumes of traces stored in Azure Monitor Application Insights to find patterns.
## Error Types
Findings include failures in tool calls, context handling, output quality, reliability, latency, or unnecessary token use.
## Fixing Errors
Possible responses include targeted changes, adding evaluation coverage, routing issues to owners, or using Agent Optimizer.
## Real Example
An order-status lookup failure causing unsupported delivery claims can be identified across hundreds of requests.
## Key takeaway

Microsoft's Foundry AI platform uses trace analysis to identify and correct AI agent mistakes automatically.