DEV Community

YCM Jason
YCM Jason

Posted on

Try baymutt! An agent-native, zero-knowledge secret store.

Solves parallel agent onboarding friction

I have been a huge fan of 1Password for years. For human workflows, it is brilliant.

Then I started delegating more and more of my development work to coding agents, and the cracks started showing fast.

If you are anything like me, a serial project starter (I won't claim I finish every single idea, but I definitely spin up at least one new project every month), you know the exact friction I am talking about. Existing secret managers were designed for humans clicking around a vault, not for autonomous agents spinning up environments in parallel.

So I built baymutt: a free, open-source, agent-native, zero-knowledge secret store.


Why Existing Secret Managers Break Down with Agents

My frustration boiled down to two problems that got worse every time I scaled up my agent setup.

1. The manual onboarding dance

Spinning up a new project with a coding agent usually looks like this:

  1. The agent needs an API key, a webhook secret, and a freshly generated signing key.
  2. Even if the agent knows how to generate a secret or where a token lives, it still hands the baton back to you.
  3. You jump out of your terminal, run a command or dig through a dashboard to grab a key, open 1Password, create an item, copy exact variable names, paste values in, and finally go back to the chat to type "I'm done".

Do this once a year and you barely notice. Do it every month across a growing pile of side projects and it becomes deeply irritating UX.

2. Approval fatigue and blind approving

Even after everything is set up, the day-to-day friction doesn't stop.

1Password prompts for approval every time an agent requests secret access, and even with varlock's cache, it still interrupts your flow constantly. Worse still, the approval prompt gives you zero context: it doesn't tell you which agent is asking, why it needs the secret, or what it is trying to do.

When you have 5 or 6 agents running in parallel, those prompts blur together completely. You stop reading them and start blind-approving just to make the pop-up go away, which defeats the entire point of having an approval gate in the first place.


How baymutt Fixes the Agent Workflow

I designed baymutt around how coding agents actually work, keeping humans in control without turning you into a full-time copy-paste relay.

1. ask: One composable link instead of ten chat turns

Instead of walking you through secret setup piece by piece, an agent composes a single ask (a list of everything it needs) and hands you one link.

In a single ask, an agent can request to:

  • Create a new environment
  • Generate a random secret automatically
  • Prompt you to paste an external API key (complete with a hint on exactly where to find it)
  • Request access to the resulting secrets

You open one page, see the full picture with clear context, fill in only what genuinely requires a human, and hit approve. The agent picks up and carries on automatically. No more bouncing between windows or typing "done" into the chat.

2. Read-only, expiring keys by default

Agents shouldn't get broad vault access, and you shouldn't have to babysit a biometric prompt every five minutes.

When you approve an ask, baymutt mints a scoped, read-only key tied strictly to the specific environments you picked, with an expiry window you choose.

  • The key can never write secrets or widen its own access.
  • You know exactly what you authorised and when it expires, so you are no longer blind-approving mystery prompts across half a dozen parallel sessions.
  • Built for CI too: an ask can pipe a key straight into gh secret set without the secret value ever touching your screen.

3. Zero-knowledge by default

Convenience shouldn't mean handing your keys to a third-party server.

With baymutt, every secret value, environment name, and secret name is sealed in your browser before it ever leaves your machine. baymutt never holds the keys to read your secrets. On top of that, every write is versioned, and every read and write shows up in the activity log so you always have a clear audit trail.

4. Built for agents + varlock

The CLI is JSON-first and designed specifically for agents, meaning it never prints raw secret values to stdout.

It also ships with a plugin for @varlockdev, allowing agents to run commands with secrets injected safely at runtime rather than pulling sensitive values into the model's context window.


Give It a Try

If you are juggling multiple coding agents and getting tired of playing human clipboard, or catching yourself blind-approving yet another contextless security prompt, give baymutt a spin.

It is completely free and open source:

👉 https://baymutt.fsh.ba

I'd love to hear how you are currently handling secrets with your coding agents, and what parts of the workflow still drive you mad. Drop a comment below or open an issue!

Top comments (7)

Collapse
 
calemanurquiza profile image
Carlos María Alemán Urquiza •

The context-rich ask is a nice answer to blind approving. A question from the freelance side: if I set up the environments for a client project, can ownership of them be handed over to the client at the end? With zero-knowledge storage, I'd want that path to be explicit before the engagement closes.

Collapse
 
ycmjason profile image
YCM Jason •

That's a great great great idea! Currently there's no way to transfer ownership of your environment. I've got some idea how the traferring would work.

If you are interested, feel free to reach out to me on X! I'd love to hear more to ensure I build the right thing! x.com/ycmjason

Collapse
 
calemanurquiza profile image
Carlos María Alemán Urquiza •

Glad it's useful. I'd make the transfer two-step: the client accepts and confirms access first, and only then does the previous owner lose it, with a record of who did what and when. It's also worth deciding whether secrets the previous owner could read should be rotated after handover.

Collapse
 
galagent profile image
Qingfeng •

The ask bundle is the right instinct - six parallel agents each firing an approval prompt is exactly how you train a human to click yes without reading. Bundling gives you one decision with context instead of six without it.

One thing I would push on: a scoped read-only key still has to be read by the agent's process, and that read is where the value escapes. An env dump, a stack trace, a log line in a subprocess - none of those need the agent to be curious, and all of them put the secret in the transcript. The stronger version is that the secret never becomes a value the agent can print: it gets attached to the one call that needs it, at the moment of use.

Second, expiring keys are only provably well-behaved if something records what each key was used for. An expiry window answers "until when", not "on what". If the audit entry carries a path plus a hash of what was touched (not the value), you can tell a legitimate expiry from a leak after the fact - and the log itself stops being a copy of the vault.

Curious how you handle the first one, since zero-knowledge at rest is only half the story once the value is in a process's memory.

Collapse
 
ycmjason profile image
YCM Jason •

Really appreciate the thoughtful pushback, and you are spot on about both points.

On the first one: honestly, how a secret is handled after retrieval isn't really baymutt's concern right now (or at least not something we have focused on yet). We wanted baymutt to stay focused on the storage, onboarding (ask), and scoped access layer rather than trying to own the entire runtime boundary.

Existing tooling like varlock already does a great job for me on the post-retrieval side (injecting secrets safely and helping prevent accidental leaks into logs or agent transcripts), which is exactly why we built first-class support for it instead of trying to reinvent that layer.

You are completely right that the stronger version is never letting the process see the raw value at all (like a proxy attaching credentials to the specific outbound call), and pairing that with downstream usage auditing ("used on what", not just "valid until when"). At the vault layer, baymutt can log every read and write and keep keys short-lived and scoped, but once a value leaves baymutt, we rely on runtime tools to handle the rest.

Definitely an interesting problem space, though composing baymutt with something like varlock already covers the gap really well for my workflow without needing a full proxy layer.

Collapse
 
nezhinsky profile image
Mikhail Nezhinsky •

Secrets can also leak the other way, into what the agent writes down after it got them. I keep my hooks, skills, rules and notes for coding agents in a private repository with drybag, and its note sync runs a secret scan before every commit and push. With zero-knowledge storage the vault side is closed. Does baymutt do anything for a value the agent already has and then pastes into a file or a log?

github.com/dry-bag/drybag

Collapse
 
ycmjason profile image
YCM Jason •

Short answer: no, baymutt itself doesn't scan files or logs after the fact.

Our approach is to keep raw values out of the agent's context in the first place. The baymutt CLI never prints secret values, and when paired with varlock, secrets are injected directly into the subprocess at runtime while varlock run automatically redacts sensitive values from captured stdout/stderr (so a stray log line shouldn't land in the agent's transcript either).

Where things can still leak is if a subprocess writes directly to a file on disk or transforms a value before printing it. varlock does have varlock scan for pre-commit checks, and running a secret scan on agent notes and configs like you are doing with drybag is solid defence in depth for that layer.