agensai exec <ens> <method>
params
Call any contract method from an agent.
agensai exec my-agent.agensai.eth \
--to uniswap.eth \
--method "swap(address,address,uint256)" \
--args USDC,ETH,50000000Required flags
| Flag | Purpose |
|---|---|
--to <ens-or-0x> | Contract to call. |
--method <signature> | Solidity method signature. |
Optional flags
| Flag | Purpose |
|---|---|
--args <comma-separated> | Method arguments. |
--value <amount> | Native value to send. |
--abi <path> | Override ABI for decoding. |
The CLI encodes calldata, checks against the active policy bundle, and submits via the JAW bundler.