Running coding agents without handing them my credentials

By hackernews · · Agents

Running coding agents without handing them my credentials

I use agents heavily these days as part of my toolchain. I usually have a few going at once: Claude Code working in one repo, Codex reviewing a branch in another, and something long-running in the background.

I built lend to let remote agents use tools on my laptop with my approval. Here's how it fits into my workflow.

Background #

I use agents heavily these days as part of my toolchain. I usually have a few going at once: Claude Code working in one repo, Codex reviewing a branch in another, and something long-running in the background. I often have them review each other's work too.

None of them run on my laptop. They run on VMs I can throw away, and my laptop keeps the stuff I care about: my SSH keys, my 1Password vault, and the gh and cloud CLIs that are logged in as me.

I run those agents on picd, our hosting service at pico.sh. It gives me my own VM with a Docker engine and a shell over SSH. I run herdr and the agents there, and my home directory persists across restarts so my dotfiles and tools stay in place.

This works great until an agent needs something on my laptop. In this post I'll go over how I run agents in parallel with herdr and Ovis, and the tool I wrote to deal with credentials, lend.

What Hacker News is saying

  • “I was originally using Agent Vault (https://github.com/Infisical/agent-vault), but it looks like the company behind it is putting it on end of life and SasSifying it.”
  • “This is pretty interesting.”
  • “Neat! Can this work with any http request as well?”
  • “Docker sandboxes support secret injection.”

Read the full discussion on Hacker News →

Source: https://blog.antonio.cx/running-agents-with-lend

More stories