Beta

Talk to A2A servers and manage this agent exposure and callers

Usage: mf a2a [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf a2a exposureManage this agent’s hosted A2A exposure
mf a2a callersManage callers authorized to invoke this agent
mf a2a cardFetch and print an Agent Card
mf a2a statusShow callable peers and in-flight outbound calls
mf a2a sendSend a message to a granted peer (name/id from mf a2a status) or a raw A2A url
mf a2a tasksTrack A2A tasks

mf a2a exposure

Manage this agent’s hosted A2A exposure

Usage: mf a2a exposure [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf a2a exposure getShow hosted A2A exposure and public endpoints
mf a2a exposure enableExpose this agent as an A2A server
mf a2a exposure disableStop exposing this agent as an A2A server

mf a2a exposure get

Show hosted A2A exposure and public endpoints

Usage: mf a2a exposure get [options]

Options

OptionsPurpose
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a exposure enable

Expose this agent as an A2A server

Usage: mf a2a exposure enable [options]

Options

OptionsPurpose
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a exposure disable

Stop exposing this agent as an A2A server

Usage: mf a2a exposure disable [options]

Options

OptionsPurpose
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a callers

Manage callers authorized to invoke this agent

Usage: mf a2a callers [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf a2a callers listList peer and external callers
mf a2a callers addAdd an external client or peer agent caller
mf a2a callers revokeRevoke an A2A caller grant

mf a2a callers list

List peer and external callers

Usage: mf a2a callers list [options]

Options

OptionsPurpose
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a callers add

Add an external client or peer agent caller

Usage: mf a2a callers add [options]

Options

OptionsPurpose
--externalcreate an External client bearer
--caller-agent-id <id>authorize a Manyfold peer agent
--name <name>External client label
--expires-in-days <days>positive integer; omit for no expiry
--replace-existingreplace an existing grant for the peer agent
--jsonemit JSON (includes a new External client token)
-h, --helpdisplay help for command

mf a2a callers revoke

Revoke an A2A caller grant

Usage: mf a2a callers revoke [options] <tokenId>

Arguments

ArgumentPurpose
<tokenId>

Options

OptionsPurpose
-y, --yesconfirm revocation
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a card

Fetch and print an Agent Card

Usage: mf a2a card [options] <url>

Arguments

ArgumentPurpose
<url>

Options

OptionsPurpose
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a status

Show callable peers and in-flight outbound calls

Usage: mf a2a status [options]

Options

OptionsPurpose
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a send

Send a message to a granted peer (name/id from mf a2a status) or a raw A2A url

Usage: mf a2a send [options] <target> <prompt>

Arguments

ArgumentPurpose
<target>
<prompt>

Options

OptionsPurpose
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
--context-id <id>reuse an A2A context (conversation)
--task-id <id>continue an existing task
--skill <id>select a remote skill by id
--input-file <path>attach a file as an A2A file part
--streamstream status + artifact chunks (SSE)
--asyncsubmit and return a task id immediately (poll with mf a2a tasks get)
--timeout <seconds>client deadline in seconds (0 disables; default 900)
-h, --helpdisplay help for command

mf a2a tasks

Track A2A tasks

Usage: mf a2a tasks [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf a2a tasks listList this agent’s outbound A2A calls
mf a2a tasks getFetch a task by id (target = peer name/id or url)
mf a2a tasks cancelCancel a task by id
mf a2a tasks subscribeResubscribe to a task SSE stream (reconnect)

mf a2a tasks list

List this agent’s outbound A2A calls

Usage: mf a2a tasks list [options]

Options

OptionsPurpose
--state <state>filter by state (e.g. working)
--peer <agentId>filter by peer (target agent id)
--jsonemit JSON
-h, --helpdisplay help for command

mf a2a tasks get

Fetch a task by id (target = peer name/id or url)

Usage: mf a2a tasks get [options] <target> <taskId>

Arguments

ArgumentPurpose
<target>
<taskId>

Options

OptionsPurpose
--waitpoll until the task reaches a terminal state
--timeout <seconds>deadline for —wait (0 disables; default 900)
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a tasks cancel

Cancel a task by id

Usage: mf a2a tasks cancel [options] <target> <taskId>

Arguments

ArgumentPurpose
<target>
<taskId>

Options

OptionsPurpose
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command

mf a2a tasks subscribe

Resubscribe to a task SSE stream (reconnect)

Usage: mf a2a tasks subscribe [options] <target> <taskId>

Arguments

ArgumentPurpose
<target>
<taskId>

Options

OptionsPurpose
--bearer <token>bearer token for a raw url target (”-” reads stdin; falls back to $MF_A2A_BEARER)
--jsonemit raw A2A JSON instead of a human summary
--allow-http-localhostallow http:// and localhost/private targets (local dev only)
-h, --helpdisplay help for command
Was this page helpful?