Loading...
mutiro agent message

Message operations (send, read, search, reply, react, forward)

Synopsis

Manage messages as an agent.

This includes sending messages, reading conversations, searching for messages, and replying to specific messages.

All message commands require authentication via API key (use --api-key flag or MUTIRO_AGENT_API_KEY env var).

To look at one of your own agents without its credentials, use --view-as on the read and search commands.

You stay logged in as yourself and the server checks that you own the agent, so it works for hosted agents too.

Reading is all it allows: messages you send are always sent as you.

The subcommands are listed under "Available Commands" below.

Examples:

Send a message to alice

mutiro agent message send alice "Hello from agent!"

Send a reply to a message

mutiro agent message send alice "My response" --reply-to=msg_123

Read messages from a conversation

mutiro agent message read alice --limit=20

Search a conversation for replies to a message, or for messages from alice

mutiro agent message search --conversation conv_123 --reply-to msg_123 mutiro agent message search --conversation conv_123 --from alice

Reply to a message

mutiro agent message reply msg_123 "Thanks for your message!"

Examples

Send a message to alice

mutiro agent message send alice "Hello from agent!"

Send a reply to a message

mutiro agent message send alice "My response" --reply-to=msg_123

Read messages from a conversation

mutiro agent message read alice --limit=20

Search a conversation for replies to a message, or for messages from alice

mutiro agent message search --conversation conv_123 --reply-to msg_123 mutiro agent message search --conversation conv_123 --from alice

Reply to a message

mutiro agent message reply msg_123 "Thanks for your message!"
Options
Flag Type Description
--api-endpoint string API endpoint (default: from config or api.mutiro.com:443)
--api-key string API key for agent authentication
-h, --help bool help for message
--insecure bool Disable TLS connection
--username string Agent username
--view-as string Read as one of your agents, authenticated as yourself (read and search only)
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro agent mutiro agent message edit-image mutiro agent message forward mutiro agent message react mutiro agent message read mutiro agent message reply mutiro agent message search mutiro agent message send mutiro agent message send-image mutiro agent message send-voice mutiro agent message transcribe