lend keeps coding-agent credentials on the laptop
Original title: Running coding agents without handing them my credentials
The SSH-agent proxy runs approved commands locally so VM agents never receive tokens or private keys.
A developer described lend, a proxy in front of the local SSH agent, for agents running on disposable VMs. Requests to sign or run commands such as gh are checked against a laptop policy and need approval, including Touch ID, before they execute locally. The author uses it with herdr, Ovis, and an MCP tool, run_local_command, so Claude Code on a VM can call laptop tools without copying credentials.
- Default policy is deny; allowed commands and SSH keys are listed explicitly.
- lend ssh starts a per-connection proxy that stops when SSH exits.
- Caller-supplied reasons are marked unverified and cannot change policy.
- Ovis sends push notifications so approvals can be answered from a phone.
- AI models
- Claude CodeCodex
From the original article
11 min read at blog.antonio.cx
I built lend to let remote agents use tools on my laptop with my approval. Here's how it fits into my workflow. I use agents heavily these days as part of my toolchain.
By antoniomika · blog.antonio.cx
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.