https://github.com/ericchansen/m365-agent
Every path to publishing agents in Microsoft 365 Copilot — tested and documented.
https://github.com/ericchansen/m365-agent
Last synced: about 1 month ago
JSON representation
Every path to publishing agents in Microsoft 365 Copilot — tested and documented.
- Host: GitHub
- URL: https://github.com/ericchansen/m365-agent
- Owner: ericchansen
- License: mit
- Created: 2026-05-06T00:55:15.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2026-05-06T00:55:25.000Z (2 months ago)
- Last Synced: 2026-05-31T06:27:49.457Z (about 2 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# m365-agent
**Every path to publishing agents in Microsoft 365 Copilot — tested and documented.**
This repo proves out each way to get an agent into M365 Copilot Chat, using the same trivial "hello world" agent. It's the generic reference you need before building a real agent for a specific use case.
## The Seven Paths
| # | Path | Code? | What It Proves |
|---|------|-------|----------------|
| 01 | [Agent Builder (browser)](paths/01-agent-builder/) | None | Zero-code agent in M365 Copilot Chat |
| 02 | [Agents Toolkit declarative](paths/02-agents-toolkit-declarative/) | JSON config | Version-controllable declarative agent |
| 03 | [Copilot Studio](paths/03-copilot-studio/) | None | Low-code visual designer → M365 |
| 04 | [Foundry Hosted Agents](paths/04-foundry-hosted/) | Python | Code → Docker → Foundry → M365 |
| 05 | [Foundry portal](paths/05-foundry-portal/) | None | Zero-code Foundry → M365 |
| 06 | [M365 Agents SDK](paths/06-agents-sdk/) | TypeScript | Custom engine agent → M365 |
| 07 | [MCP Server](paths/07-mcp-server/) | TypeScript | MCP tools → Copilot Studio → M365 |
## Prerequisites
You need an M365 tenant with:
- **Microsoft 365 Copilot license** (trial or paid) — or Copilot Chat with PAYG metering
- **Custom app sideloading enabled** in Teams admin center
- **Copilot Studio generative AI enabled** in Power Platform admin center
**Microsoft SEs:** Request a Copilot Trial promo code via the CES DSC Portal for your MCAP demo tenant.
**Everyone else:** See [Microsoft's prerequisites guide](https://learn.microsoft.com/microsoft-365/copilot/extensibility/prerequisites).
## Status
🚧 **Work in progress.** Testing each path and documenting results. See [docs/comparison.md](docs/comparison.md) for current findings.
## License
[MIT](LICENSE)