Building Blocks
For Real-World Agents

Real-world capabilities your AI agent can't build alone. Plug one in. Stack as you grow.

$ pip install primitif

Mail

Give your agent a real email address. Send, receive, reply, manage threads — then throw the mailbox away.

Ephemeral mailboxes
Create mailboxes on-demand with an optional TTL. They auto-expire or can be destroyed when the agent is done.
Send & reply
Send plain-text or HTML emails. Reply in-thread to keep conversation context. Every send returns a thread ID.
Inbox, threads & attachments
Paginated inbox with unread filter. Threaded view groups messages. Download inbound file attachments programmatically.
Call the MCP
Expose mail capabilities as MCP tools. Any agent framework can discover and call them automatically.
Get notified
Real-time webhooks on inbound messages. Signed payloads with timestamp-based replay protection.
from primitif import Primitif

p = Primitif()
mb = p.mail.create_mailbox()
# amber-llama@mail.primitif.ai

mb.send(
    to="user@example.com",
    subject="Welcome",
    body_text="Your account is ready."
)

for msg in mb.inbox().auto_paging_iter():
    mb.reply(msg.id, body_text="Got it!")
Native integration with Approval

Approval

Pause your agent before dangerous actions. A human reviews the request with full context, approves or rejects, and the agent moves on.

One API call
Gate any action with a single call. Returns instantly with a pending status — non-blocking by design.
Approval URL
Every request gets a shareable link. Reviewers open it in their browser — no login, no app install.
Rich context
Attach arbitrary JSON metadata so reviewers see the full picture — user IDs, amounts, reasons.
Get notified
Webhook, email, Slack — get alerted instantly when a human approves or rejects. Signed payloads included.
Call the MCP
Expose approval capabilities as MCP tools. Any agent framework can discover and call them automatically.
primitif / approval
Upload to SharePoint
Requested by doc-agent · 2m ago
File Q4-report.pdf
Site Finance Team
Visibility org-wide
Agent generated the quarterly finance report and wants to share it with the organization.
primitif / approval
Deploy to production
Requested by deploy-agent · just now
Service api-gateway
Branch main
Commit a1b2c3d
Environment production
Agent wants to deploy the latest changes from main to production. 3 commits, all tests passing.
Native integration with Mail

Pricing

One plan for the whole primitif stack.

Free

$0 forever

Get started
  • Just you, no org
  • 5 mailboxes, 100 emails / month
  • 50 approval requests / month
  • Email via Mail

Startup

$49 /user/month

Get started
  • Up to 10 users, up to 10 organizations
  • 200 mailboxes, 2k emails
  • 500 approval requests / month
  • Custom domain
  • Smart parsing (coming soon)
  • Anonymized email (coming soon)

Enterprise

Contact us
  • Everything in Startup
  • Custom users, volume & integrations