Your AI agent already writes your code. pidge lets it handle the rest of your day too: tell you what's new, go through the inbox with you, find that one e-mail, clear out receipts and ads, draft the reply, and run the calendar, across every mailbox you have.
You: Anything important today?
Agent: (mail_brief importance=high)
Two things: Anna asks you to sign the contract before Friday, and Bob's
invitation for Thursday 14:00 is still unanswered.
You: Clear out the rest of my inbox.
Agent: (mail_triage scope=all)
41 messages. First, 23 newsletters and promotions: archive them all?
You: Yes.
Agent: Done. Next, 4 receipts: Telia 449 kr, SL 970 kr, Apple 29 kr, Spotify 119 kr. File them?
Why pidge
- Made for agents, by asking what people say. Fifteen operations, each answering something
people actually ask ("anything new?", "clear my inbox", "archive all invoices", "cancel all my
appointments today") in one or two calls. Short ids (
m12,e3), compact text output, and anext:line telling the agent what to do. - It remembers. pidge keeps a small local index of your recent mail, synced from your mailboxes: "new" means new since you last looked, and "all receipts" or "all commercials" is one query, not a hundred judgements.
- Snappy. Archive, delete, flag: pidge answers at once and does it in the background; a failure is reported on the next answer.
- Safe by construction. Changes to many messages, and anything that e-mails other people, are a plan you approve first. Sending is held for a few seconds to two minutes depending on risk, so you can still say "cancel", and mail that looks sensitive waits for a second yes. Undo is one call. Nothing is deleted permanently, and mail content is marked untrusted so your agent summarises it instead of obeying it.
- All your mailboxes in one view. Microsoft 365, Outlook.com and Gmail, with calendars, merged.
- Everywhere your agent is. A CLI and skill for terminal agents, a local MCP server for desktop apps, and a hosted MCP server for Claude.ai and ChatGPT, all one engine with the same behaviour.
Get started
Then connect your agent:
- Claude Code, Codex, Copilot CLI and other terminal agents:
pidge skill > ~/.claude/skills/pidge/SKILL.md(or your agent's skill folder). - Claude Desktop, Cowork and other local MCP clients: add a stdio server running
pidge mcp serve: - Claude.ai, ChatGPT, phones and voice: a hosted
pidge-mcpserver. The reference server athttps://pidge.mklab.se/mcpis invite-only; self-host your own from the published imageghcr.io/mklab-se/pidge-mcp(Bicep templates for Azure included). See docs/mcp.md.
Using it yourself
More in docs/usage.md, or pidge --help.
Supported providers
Microsoft 365 work and school accounts, personal Microsoft accounts (Outlook.com, Hotmail, Live), and Gmail with Google Calendar (setup).
Contributing
See CONTRIBUTING.md and DEVELOPMENT.md. Changes are listed in CHANGELOG.md, newest first.
License
MIT, see LICENSE.