lend keeps agent credentials local while approving remote requests
Antonio’s lend tool lets a remote coding agent request selected commands on a laptop through an SSH-agent proxy. Policy and local approval gate each request before the command runs with the laptop’s credentials. Results return to the remote agent, while tokens stay local unless the approved command exposes them. Approval controls execution; it does not sandbox the command.
Antonio / pico.sh · Nov 13, 2026
Why it matters
Keeping credentials off a disposable agent VM helps only if the allowed local commands also have narrow authority.
More context
The article was updated November 17. Install lend on both machines, configure explicit command and key rules, and check setup with lend doctor. Start with a read-only command. macOS offers biometric approval; Linux uses a dialog or terminal. The SSH connection must remain open.
Keep in mind
Early MIT-licensed project for macOS and Linux. Commands run as the local user; broad shells, interpreters or secret-printing commands defeat the boundary. Remote caller descriptions are unverified, and anyone reaching the forwarded socket can request actions.
Original read