entra-agentid-samples
Copilot instructions12 starsChanged 7 months agoMITView on GitHub
This repository contains Microsoft Entra Agent ID sample agents that demonstrate the sidecar identity pattern — the Microsoft Entra SDK for Agent ID runs as a companion container and handles all token acquisition for your agent code. Extended workflows are packaged as skills under .claude/skills/<name>/SKILL.md. When the user's request matches a skill's description, load the relevant SKILL.md in full before taking action: The CLAUDE.md at the repository root is the primary entry point for agent-based tools and mirrors this guidance.
- Reads credentials
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- deploy-agent-aca-awsSkill
- deploy-agent-aca-devSkill
- entra-agent-id-setupSkill
- teardown-agent-aca-awsSkill
- teardown-agent-aca-devSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 15
Always confirm the target Azure account, tenant ID, and subscription ID with the user before running any deployment, provisioning, or …
- Very specific: line 16
Never commit .env, deploy-vars.sh, tenant GUIDs, app/client GUIDs, or any secret values.
- Distinctive: line 17
Prefer editing existing files over creating new ones.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot instructions for entra-agentid-samples
This repository contains Microsoft Entra Agent ID sample agents that demonstrate the sidecar identity pattern — the Microsoft Entra SDK for Agent ID runs as a companion container and handles all token acquisition for your agent code.
Repository layout
sidecar/dev/— local-LLM sample (Ollama + LangChain + Flask)sidecar/aws/— AWS Bedrock sample (Claude model + Azure→AWS OIDC federation)sidecar/weather-api/— shared downstream API that validates agent tokensdeploy/azure/container-apps/— Azure Container Apps deployment tutorialsscripts/— PowerShell bootstrap for Blueprint + Agent Identity + Client SPA
Working in this repository
- Always confirm the target Azure account, tenant ID, and subscription ID with the user before running any deployment, provisioning, or cleanup command.
- Never commit
.env,deploy-vars.sh, tenant GUIDs, app/client GUIDs, or any secret values. - Prefer editing existing files over creating new ones.
Skills
Extended workflows are packaged as skills under .claude/skills/<name>/SKILL.md. When the user's request matches a skill's description, load the relevant SKILL.md in full before taking action:
entra-agent-id-setup— provision Blueprint + Agent Identity + Client SPA in Microsoft Entra IDdeploy-agent-aca-dev— deploy the local-LLM sample to Azure Container Appsdeploy-agent-aca-aws— deploy the AWS Bedrock sample to Azure Container Apps
The CLAUDE.md at the repository root is the primary entry point for agent-based tools and mirrors this guidance.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

