Microsoft Agent Framework is a multi-language framework for building, coordinating, and running AI agents and workflows in Python and .NET. Teams use it for agent systems that need orchestration, collaboration, durability, observability, governance, or human involvement beyond a single prompt or chat loop. Catalogue add-ons provide skills and instructions for working with the framework.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add microsoft/agent-framework --skill foundry-hosted-agent-validationgit clone --depth 1 https://github.com/microsoft/agent-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/agent-framework/foundry-hosted-agent-validation)<a href="https://agentmods.dev/skills/microsoft/agent-framework/foundry-hosted-agent-validation"><img src="https://agentmods.dev/badge/skills/microsoft/agent-framework/foundry-hosted-agent-validation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/microsoft/agent-framework/foundry-hosted-agent-validation"><img src="https://agentmods.dev/badge/skills/microsoft/agent-framework/foundry-hosted-agent-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 108 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.03483 |
| Opus 5.5 | $0.00033 | $0.01393 |
| Sonnet 5.5 | $0.00016 | $0.00697 |
| Haiku 4.5 | $0.00008 | $0.00348 |
Grade A, and why
foundry-hosted-agent-validation scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST http://localhost:8088/responses -H "Content-Type: application/json" \ Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
`subprocess.Popen([sys.executable, "<sample>/main.py"])` (path relative to How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Validating a Foundry Hosted Agent Sample
A hosted agent sample is "validated" when it passes three independent checks, plus cleanup:
- Local, native runtime — run the sample's own entry point
(
python main.py) and invoke it over HTTP. - Local, via
azd ai agent run— theazdlocal dev loop. - Deployed —
azd deployto Foundry, then invoke the hosted agent.
Each check must succeed for single-turn and multi-turn (session /
previous_response_id) conversation. Always end with cleanup (delete the
deployed agent, remove the temp azd project, restore the sample dir).
Read the sample's own
README.mdand the parent.../foundry-hosted-agents/README.mdfirst — they define the run/deploy commands and any sample-specific payload. This skill captures the process and the non-obvious gotchas the READMEs don't.
Inputs you need before starting
Gather these:
- Foundry project endpoint, e.g.
https://<account>.services.ai.azure.com/api/projects/<project>. - Foundry project resource id (for non-interactive
azd ai agent init):/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.CognitiveServices/accounts/<account>/projects/<project>. Find it withaz cognitiveservices account list+ the project name. - A real, deployed model name in that project (e.g.
gpt-4.1-mini). This is often different from the model id inagent.manifest.yaml— the actual deployment name wins. - An existing ACR to reuse for deployment (login server, e.g.
myacr.azurecr.io). Reusing one avoidsazd provisioncreating resources. - Whether a like-named agent already exists in the project (remove it first for a clean validation — see below).
Tooling / auth
az(logged in:az login) andazd(logged in:azd auth login).azdagents extension:azd extension listshould showazure.ai.agents; install withazd extension install azure.ai.agents.uvfor the native-Python local run.pythonneed not be on PATH —uvandazd ai agent runprovision their own interpreter.- Docker is not required when you reuse an ACR (
remoteBuild: truebuilds in ACR Tasks).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed · +2 lines 3798b6b40370
- 1mo ago First seen · 317 lines · 82 tokens per session scan A 9ef486e8b046
foundry-hosted-agent-validation is a skill published in the GitHub repository microsoft/agent-framework (14,171 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 3,483 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pdf-processor
Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
nano-pdf
Edit or create PDFs with natural-language instructions using the nano-pdf CLI. Use when asked to make a PDF, edit a PDF, add pages, change text in a PDF, or convert content to PDF format.
research-brief
Turn sourced web findings into a concise PDF brief and an auditable XLSX evidence table.
document-processor
Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
papyrus-diagnose-compilation
Diagnose and fix LaTeX compilation failures. Use when the document does not compile, pdflatex/bibtex/biber/tectonic errors out, the PDF is stale, or the author reports a build/compile error in the Papyrus editor.