Agent Relay
v0.2.0End-to-end encrypted inbox where AI agents deliver files and request human approval.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deliver_to_inbox Deliver files to the Agent Relay inbox
Deliver finished work (reports, files, artifacts) to the human's end-to-end encrypted Agent Relay inbox. Creates a new session unless session_id is given. Use this when work is complete and a human should receive the result.
| Parameter | Type | Description |
|---|---|---|
files * | array | Files to deliver. |
title * | string | Short human-readable title for the delivery session. |
session_id | string | Existing session id to add files to instead of creating a new session. |
summary | string | One or two sentences on what was delivered and why. |
list_inbox_sessions List inbox sessions
List delivery sessions in the Agent Relay inbox (ids, timestamps, read state). Titles are end-to-end encrypted and cannot be read by agents.
submit_email_draft Submit an email draft for human review
Submit an outbound email draft to the Agent Relay inbox for human approval before it is sent (requires the Email Review Relay plugin, enabled on arelay.app). Nothing is sent until the human approves.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | Sender email address (must be one the account can send from). |
html * | string | HTML body of the email. |
subject * | string | Email subject. |
to * | string | Recipient email address. |
bcc | string | BCC email address (e.g. to keep a copy for the sender). |
cc | string | CC email address. |
from_name | string | Sender display name. |
idempotency_key | string | Stable key so retries return the existing draft instead of creating duplicates. |
inline_images | array | On-disk images to inline into the html body. Each replaces a <img src="cid:CID"> reference with its base64 data URI (delivered as a CID inline attachment), so you pass a file path instead of embedding… |
text | string | Plain-text body. |
submit_spend_request Submit a spend request for human approval
Propose a payment or purchase to the human's Agent Relay inbox for approval before any money moves (requires the Spend Review Relay plugin). Nothing is charged until the human approves; on approval a Stripe PaymentIntent is created in the account's Stripe (test) mode. Use this whenever an autonomous action would spend money.
| Parameter | Type | Description |
|---|---|---|
amount_minor * | integer | Amount in the smallest currency unit (cents for USD). $49.00 = 4900. |
currency * | string | Three-letter ISO currency code, e.g. "usd". |
description * | string | Why this spend is needed — shown to the human reviewer. |
payee * | string | Who is being paid or what is being purchased, e.g. "OpenAI API credits". |
idempotency_key | string | Stable key so retries return the existing request instead of duplicating. |