Skip to content

agensai send <amount> <token> to <recipient> --as <ens>

Transfer tokens from an agent to a recipient.

agensai send 10 USDC to treasury.acme.eth --as my-agent.agensai.eth

Arguments

ArgumentDescription
<amount>Decimal amount in token units.
<token>Symbol (USDC, ETH) or contract address / ENS.
to <recipient>ENS name or 0x address.

Required flags

FlagPurpose
--as <ens>The agent acting as sender.

Output

✔ Transaction submitted
  From:  my-agent.agensai.eth
  To:    treasury.acme.eth
  Value: 10 USDC
  Tx:    0x9c41…ab23

The transaction is checked against the agent's policy bundle before submission. Policy violations are caught early and exit with code 4.