Agentic workspace over your Outlook, Microsoft 365 files and local machine — powered by your existing GitHub Copilot subscription. Invoke it in Copilot Chat with @coagent.
Features
Outlook (local desktop app — no sign-in needed)
Count emails in any folder (inbox, sent, drafts, deleted), including unread counts
Search mail by subject or sender; read full email bodies
Create draft emails — never sends, you review and send
Read your calendar between any two dates
Cloud — Microsoft 365 via the Graph PowerShell SDK (one-time browser sign-in)
Search your OneDrive files and list recently used files
Download OneDrive/SharePoint files into the workspace for analysis
Search SharePoint sites, document libraries and lists via the Graph API tool
Call any other Microsoft Graph endpoint (Teams, profile, directory, …)
Local machine (PowerShell — every script is shown for your confirmation first)
Read, create, update, move and rename files and folders
Parse and transform data: CSV, JSON, XML, Excel
Complex calculations, aggregations and reporting
Run Python (if installed) for heavy data manipulation, analysis or charts
Usage
@coagent how many unread emails do I have?
@coagent find emails from Alice about the budget
@coagent download Budget.xlsx from OneDrive and plot totals with python
@coagent count the .csv files in my Downloads folder
@coagent /help
Each completed request ends with an approximate token usage summary.
Requirements
Windows with PowerShell 7 (pwsh)
GitHub Copilot (signed in)
Mail/calendar: classic Outlook desktop with a configured profile — "New Outlook" is not supported
Cloud tools: Microsoft Graph PowerShell modules (Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Mail, Microsoft.Graph.Calendar, Microsoft.Graph.Files, Microsoft.Graph.Search -Scope CurrentUser) and a one-time Microsoft sign-in on first cloud call
Limitations
Never sends email — drafts only
Cloud sign-in may pick a cached account; check which account the browser chooses
Stops after 10 tool rounds per request; token counts are approximate