There are various types of agents you can find in Foundry - prompt agents, hosted agents, custom agents and one I find interesting than the rest, the external agent. That’s what this post is about.
Often, you build agents outside of Microsoft foundry with your own frameworks and hosting platforms. You can still bring them into Foundry for observability, monitoring & evaluations without moving them.
At #MSIgnite 2026, Microsoft announced external agent registration as GA. You register the agent in your Foundry project, and your agent sends its OpenTelemetry tracs to the projects’ connected Application Insights. Foundry matches those traces to the agent and shows them in its trace view. Foundry keeps only a small registration record: it doesn’t run your agent, route traffic to it, or call it.
Microsoft’s announcement also mentions Insights and continuous evaluation for external agents. I haven’t tried those, so this post sticks to the trace view and trace evaluation.
The easiest way to describe this is to test it, so I did a small Microsoft Agent Framework agent that runs on my own machine, yet shows up in Microsoft Foundry: its runs appear in Foundry’s trace view and get scored by Foundry’s built-in evaluators. Nothing is hosted in Foundry.
I wanted the smallest honest example of an agent that lives outside Foundry but still gets Foundry’s tracing and evaluation.
What the demo does
A support-triage agent reads five sample emails, looks the customer up with one tool, and answers with a category, an urgency, and whether a person should review.
Every run is sent as an OpenTelemetry trace to Application Insights.
You register the agent in your Foundry project, then browse its traces in the portal.
Foundry scores the recorded runs with a judge model (coherence and intent resolution).
How I knew each step worked
Telemetry: a query in Application Insights shows the agent ID with a count of five, one run per email.
Registration: the agent appears under Build, Agents in the Foundry portal, and its Traces tab lists the five runs.
Evaluation: the script prints a report link, and each row shows the email, the reply, a score and the judge’s reasoning.
All the set-up and code you need are here: Foundry external agent demo
Official Microsoft Announcement: External-agent registration is generally available (GA)
If you build your own, I’d like to hear what your first trace looked like.
See you in the next one.

