Give AG2 conversable agents email capabilities with MultiMail — centralized oversight ensures every email from any agent in the group is properly authorized.
AG2 is a community fork of AutoGen that provides a multi-agent conversation framework. It maintains API compatibility with AutoGen while adding community-driven features for production use. When AG2 agents in a group chat need to send email, MultiMail provides centralized oversight that catches sends from any agent in the conversation.
In AG2's multi-agent setup, multiple agents may independently decide to trigger email actions. MultiMail's centralized oversight is essential here: regardless of which agent in the group chat calls the send endpoint, the email is gated for human review in gated_send mode.
Integration uses AG2's function registration system. Define email functions and register them with your AssistantAgent instances, just as you would with AutoGen.
AG2 group chats involve multiple agents that can all trigger actions. MultiMail's centralized oversight ensures every email from any agent passes through the same review queue, preventing unauthorized sends.
AG2 maintains AutoGen API compatibility, so MultiMail integrations written for AutoGen work with AG2 unchanged. Same function registration, same tool calling patterns, same email oversight.
AG2 focuses on production readiness. MultiMail's oversight modes align with this goal — graduated trust from gated_all to autonomous lets you deploy email-capable agents with appropriate safety controls.
AG2 agents can generate and execute code that might include email operations. MultiMail's API-level oversight catches email sends from both registered functions and dynamically generated code.
No code, no dashboard. Paste this to your AI agent — it connects MultiMail, creates an inbox, and builds the flow for you.
Sign up at multimail.dev, create a mailbox, and generate an API key from your dashboard. Your key will start with mm_live_.
Install AG2 and the HTTP library for calling the MultiMail API.
Create email functions that call the MultiMail API. Register them with your AssistantAgent using register_for_llm and with UserProxyAgent using register_for_execution.
Set up an AssistantAgent with a system message explaining the oversight mode, or create a group chat with a designated email agent.
Review emails queued by AG2 agents in the MultiMail dashboard. Approve or reject before delivery.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a hosted MCP server. Formally verified in Lean 4.