foundry-samples / meeting-assistant
AGENTS.md476 starsChanged 3 months agoMITView on GitHub
These instructions apply only to this sample, not to other Autopilot samples. Spell out Autopilot and ActivityProtocol in documentation; do not abbreviate either. Keep MEETING_OBJECTS.md and the related README descriptions up to date whenever meeting behavior changes. This includes Activity routes or payload fields, calendar-event selection, identity bindings, Work IQ paths and query fields, recording/transcript retrieval, persisted state, and source-link rendering. Update the object relationships, per-payload pointer tables, synthetic examples, lookup flow, limitations, and source references affected by the change.…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository294 other files it gives its agents.
- samples/cli/prompt-agents/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/a2a/01-delegation/caller/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/a2a/01-delegation/executor/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/agent-skills/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/azure-search-rag/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/browser-automation/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/egress-control/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/file-tools/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/foundry-memory-rag/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/foundry-toolbox-mcp-skills/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/foundry-toolbox-server-side/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/harness-data-processing/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/harness-research/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/harness-scaling-capabilities/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/hello-world/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/invocations-echo-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/local-tools/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/mcp-tools/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/observability/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/resilient-workflow/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/simple-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/steerable-workflow/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/steering/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/teams-activity/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/text-search-rag/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/toolbox-auth-paths/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/agent-framework/workflows/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/invocations/HelloWorld/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/invocations/human-in-the-loop/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/invocations/notetaking-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/invocations_ws/HelloWorld/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/background-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/browser-automation/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/env-vars-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/HelloWorld/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/notetaking-agent/AGENTS.mdAGENTS.md
- samples/csharp/hosted-agents/bring-your-own/responses/openai-computer-tool/AGENTS.mdAGENTS.md
- samples/python/autopilot-agents/foundry-toolbox/AGENTS.mdAGENTS.md
- samples/python/autopilot-agents/hello-world/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/a2a/01-delegation/caller/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/a2a/01-delegation/executor/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/invocations/01-basic/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/invocations/02-content-safety-guardrail/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/01-basic/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/02-tools/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/04-foundry-toolbox/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/05-workflows/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/06-files/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/07-skills/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/07-teams-activity/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/08-observability/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/09-declarative-customer-support/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/10-downstream-azure/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/11-azure-search-rag/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/12-foundry-skills/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/13-foundry-memory/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/14-browser-automation-agent/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/15-optimization-travel-approver/AGENTS.mdAGENTS.md
- samples/python/hosted-agents/agent-framework/responses/16-content-safety-guardrail/AGENTS.mdAGENTS.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 2 are common, 2 are distinctive, and 1 is very specific to this project.
≈2
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
- Very specific: line 9
Keep MEETING_OBJECTS.md and the related README descriptions up to date whenever meeting behavior changes.
- Distinctive: line 15
Update the object relationships, per-payload pointer tables, synthetic examples, lookup flow, limitations, and source references affected …
- Common: line 19
Update that expected behavior when newly discovered edge cases require changes.
- Common: line 20
Never add real meeting content, tenant/user IDs, artifact IDs, credentials, or live notification URLs to documentation examples.
- Distinctive: line 46
Do not infer cross-conversation blocking merely from the handler-instance lock.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
Meeting Assistant Autopilot
These instructions apply only to this sample, not to other Autopilot samples.
Meeting documentation maintenance
Spell out Autopilot and ActivityProtocol in documentation; do not abbreviate either.
Keep MEETING_OBJECTS.md and the related README descriptions up to date whenever meeting behavior changes. This includes Activity routes or payload fields, calendar-event selection, identity bindings, Work IQ paths and query fields, recording/transcript retrieval, persisted state, and source-link rendering.
Update the object relationships, per-payload pointer tables, synthetic examples, lookup flow, limitations, and source references affected by the change. State expected payload fields and object relationships directly, distinguishing fields the sample consumes from fields present but unused or available through APIs. Update that expected behavior when newly discovered edge cases require changes. Never add real meeting content, tenant/user IDs, artifact IDs, credentials, or live notification URLs to documentation examples.
Hosted session and lock scope
azure.yaml deploys this sample as a Foundry-hosted Microsoft 365 Autopilot
using ActivityProtocol. Its hosted Teams delivery uses conversation-scoped
sessions. Foundry gives each session a dedicated VM-isolated sandbox, so unrelated
conversations do not share a Python process or its in-memory locks.
See Foundry hosted-agent isolation and sessions and conversations.
MeetingHandlers.lifecycle_lock in agent/app.py belongs to one handler instance
inside that process. It is not a deployment-wide lock. Holding it across state
reload, Work IQ calls, model inference, posting, and readiness retries intentionally
serializes lifecycle turns for the same conversation. Reloading state inside the
lock prevents concurrent turns in that process from acting on stale snapshots.
Recurring meeting occurrences in the same chat share conversation state and this serialization. Different conversations have separate hosted sandboxes. A shared local server can handle several chats in one process and serialize them, but that is a different topology from this sample's hosted deployment.
Review guidance
- Do not infer cross-conversation blocking merely from the handler-instance lock. A finding of that kind needs evidence that distinct conversations actually share a process in the targeted deployment.
- Preserve same-conversation state serialization. Do not replace it with per-conversation lock management solely to address a hypothetical shared replica.
- Continue reporting demonstrated same-conversation concurrency defects, deadlocks, incorrect session routing, or other genuine lifecycle failures.
- The lock is process-local and is recreated on restart. It does not provide distributed coordination or cross-replica exactly-once delivery.
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.

