chayvolta/u_u/m365-agents-py
Claude Code and agent skill by chayvolta/u_u
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Microsoft 365 Agents SDK for Python. Build multichannel agents for Teams/M365/Copilot Studio with aiohttp hosting, AgentApplication routing, streaming responses, and MSAL-based auth.
Install
npx vskill@latest install chayvolta/u_u/m365-agents-pySKILL.md
The same SKILL.md was published earlier as chayvolta/u_u/m365-agents-py.
Microsoft 365 Agents SDK (Python)
Build enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft Agents SDK with aiohttp hosting, AgentApplication routing, streaming responses, and MSAL-based authentication.
Before implementation
- Use the microsoft-docs MCP to verify the latest API signatures for AgentApplication, start_agent_process, and authentication options.
- Confirm package versions on PyPI for the microsoft-agents-* packages you plan to use.
Important Notice - Import Changes
⚠️ Breaking Change: Recent updates have changed the Python import structure frommicrosoft.agentstomicrosoft_agents(using underscores instead of dots).
Installation
Environment Variables (.env)
Core Workflow: aiohttp-hosted AgentApplication
AgentApplication Routing
Streaming Responses with Azure OpenAI
OAuth / Auto Sign-In
Copilot Studio Client (Direct to Engine)
Best Practices
- Use
microsoft_agentsimport prefix (underscores, not dots). - Use
MemoryStorageonly for development; use BlobStorage or CosmosDB in production. - Always use
load_configuration_from_env(environ)to load SDK configuration. - Include
jwt_authorization_middlewarein aiohttp Application middlewares. - Use
MsalConnectionManagerfor MSAL-based authentication. - Call
end_stream()in finally blocks when using streaming responses. - Use
auth_handlersparameter on message decorators for OAuth-protected routes. - Keep secrets in environment variables, not in source code.
Reference Files
| File | Contents | |
|---|---|---|
| references/acceptance-criteria.md | Import paths, hosting pipeline, streaming, OAuth, and Copilot Studio patterns |
Reference Links
| Resource | URL | |
|---|---|---|
| Microsoft 365 Agents SDK | https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/ | |
| GitHub samples (Python) | https://github.com/microsoft/Agents-for-python | |
| PyPI packages | https://pypi.org/search/?q=microsoft-agents | |
| Integrate with Copilot Studio | https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/integrate-with-mcs |
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.antigravity/skills/m365-agents-py/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chayvolta/u_u/m365-agents-py)