Didit Copilot: shipping an AI agent that lives inside the app

We just shipped Didit Copilot, an AI agent embedded in the Didit identity-verification console. It queries your data through an MCP server, drives the UI through WebMCP tools, and falls back to inferring the DOM. Here is the full architecture — gui-agent, Mastra, and the lessons — so you can build the same for your product.