Mailgent · Identity for AI agents
The identity layer
for AI agents.
One project gives an agent a wallet, inbox, vault, calendar, and DID — everything it needs to operate and to pay for tools in USDC. One curl, one API key.
Pay for tools
Hand Mailgent an x402 URL. It checks your mandate caps, settles USDC on Base, and returns the result — the agent never holds a key.
MCP-native
Mail, vault, calendar, identity, and payments as MCP tools. Or connect any agent via REST and get the same surface.
Identity bundle
One project bundles an agent inbox at *@mailgent.dev, encrypted vault, TOTP, calendar, DID, and a USDC wallet on Base. One signup, one API key.
Pay any x402 URL in one call
import { Mailgent } from "@mailgent/sdk";
const mailgent = new Mailgent({ apiKey: process.env.MAILGENT_API_KEY! });
const paid = await mailgent.payments.pay({
url: "https://api.example.com/search",
});
console.log(paid.content, paid.txHash);