@coinfello/agent-cli npm package gives your agent a wallet backed by the macOS Secure Enclave and a CLI interface to CoinFello. Use this if your agent doesn’t have a wallet yet.
How It Works
- The CLI creates an ERC-4337 smart account using the macOS Secure Enclave as the hardware signer
- Your agent writes fine-grained ERC-7710 delegations to CoinFello (e.g. swap permissions on specific tokens)
- CoinFello executes delegated actions from your agent’s smart account — even when your agent isn’t connected
Funds never leave your agent’s wallet. ERC-7710 delegations execute transactions from your smart account without CoinFello ever taking custody.
Example: Automated Rebalancing
Delegate swap permissions to let CoinFello automatically rebalance your agent’s token portfolio:- Agent connects via CLI and creates a smart account
- Agent delegates swap permissions for specific tokens
- CoinFello monitors markets and executes rebalancing swaps from the agent’s account
- Agent can revoke delegations at any time
Key Standards
| Standard | Role |
|---|---|
| ERC-4337 | Smart account for the agent’s wallet |
| ERC-7710 | Fine-grained delegation for non-custodial automation |
| Secure Enclave | Hardware-level key management |