← Mike Ichikawa

Microclaw: an AI assistant for Microsoft 365, taken through Microsoft certification

Built solo, March to November 2026. Now a portfolio piece, with the code and evaluations public.

Microclaw in Teams. The user asks it to flag the last email from Marcus, add a follow-up task due Monday, and book 30 minutes tomorrow at 2pm. Microclaw replies that it did all three.
Microclaw in Teams doing three things from one request.
Role
Sole builder: product, engineering, infrastructure, compliance
Published
Microsoft AppSource (May 2026) and the Teams Store (Aug 2026)
Scale
87 tools over Microsoft Graph, 609 automated tests
Tool selection
98.1% tool coverage on 362 blind-written requests, up from 87.0%

What it was

Microclaw was an assistant that lived in Microsoft Teams. You'd ask it, in plain language, to do things across your Microsoft 365 account: “Flag my last email from Marcus, add a follow-up task due Monday, and book 30 minutes tomorrow at 2pm to work on it.” It read and acted on email, calendar, Teams chats, OneDrive and SharePoint files, Excel workbooks, To Do tasks, contacts and OneNote through 87 tools over Microsoft Graph. It also ran standing jobs for you: scheduled tasks, and automations that fire when new mail or a calendar change arrives.

I built it alone, working agent-first with Claude Code: I made the product and design calls and ran the evaluations. It was published on Microsoft AppSource, the Microsoft Commercial Marketplace's storefront for business apps (May 2026), and the Microsoft Teams Store (August 2026), as a paid SaaS product billed through Microsoft.

Measured results

WhatResult
Tool selection, on 362 requests written blind by a separate agent that saw only the tool list: was every tool the request needed offered?98.1% (355/362), vs 87.0% for the earlier selector
Agent eval, 142 cases replayed offline: did it call the right tools?134 of 142 on average over three runs, with 49% fewer prompt tokens than sending every tool
A rejected design: offer the top 3 tools plus a find_tools toolCheaper, but 125/142, and once it claimed to have saved an automation it hadn't. The eval killed it
Test suite609 automated tests, run against a real Postgres in a container
Hosting costAbout $22 a month for the whole service (Azure invoice, September 2026)

The selection code, test sets and an offline re-runnable eval are public: github.com/mtichikawa/m365-agent

The demo console replaying one request. The left side shows a drafted reply. The right side shows tool selection with 39 of 87 tools offered, each model call, the create_draft tool call, and totals for time, model calls, tokens and cost.
The demo console: one request, step by step: model choice, tools offered, each tool call, cost.

Architecture

Teams message ──► Bot Framework endpoint (Node.js / TypeScript, one process on Azure Container Apps)
                     │
                     ├─ Tool selection: embeddings over each tool's description plus 1,053 labeled
                     │  example requests → about 21 of 87 tools offered per message
                     ├─ Model routing: a small model by default, a large one for multi-step work
                     ├─ Agent loop (Azure OpenAI function calling)
                     │     model asks for a tool → permission check in code → Microsoft Graph,
                     │     as the signed-in user → repeat (bounded retries, call cap, compaction)
                     └─ Reply in Teams
   Postgres (row-level security per tenant) · Key Vault · Graph change-notification webhooks
   Microsoft Marketplace fulfillment + metered billing · Bicep infrastructure · GitHub Actions

Getting through Microsoft certification

Publishing meant passing three separate Microsoft reviews:

  1. Marketplace SaaS offers (Standard and Self-Hosted). That meant a legal entity (Oregon LLC, EIN, DUNS, D&B verification), Partner Center tax and payout profiles, a working purchase landing page, and the fulfillment webhook flow.
  2. Teams Store validation: seven review rounds with Microsoft's validation team. Each round's findings were fixed and in production within days, covering:
    • the bot's display name;
    • a welcome message within 3 seconds, even on a cold start;
    • a clear message for users without a plan;
    • meeting-transcript access.
  3. Microsoft 365 App Compliance. The Publisher Attestation (data handling, security, the 25 Graph permissions) was published in August 2026.

I worked a Partner Center membership verification through a formal Microsoft support case to clear the path to the Teams Store.

What I learned

Screenshots

Teams screenshots from the store listing. Click any one to enlarge.

Microclaw in Teams building a one-page brief for a 1:1 meeting from recent emails and OneNote notes.
A one-page brief for a 1:1, from mail and OneNote.
Microclaw in Teams saving an automation that flags emails from Marcus and creates a follow-up task.
Saving an automation from one sentence.
Microclaw in Teams listing tomorrow's calendar and the user's active automations.
Tomorrow's calendar and the active automations.