cd /news/ai-agents/hush-let-an-ai-agent-use-your-secret… · home topics ai-agents article
[ARTICLE · art-41239] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Hush, let an AI agent use your secrets without ever seeing them

Developer Roy Ashbrook released Hush, an open-source secret store for AI agents that injects credentials into commands without exposing plaintext values to stdout, transcripts, or the cloud. The tool uses OS keychains on macOS, Linux, and Windows to keep secrets hidden from agents while allowing them to execute authenticated commands. Hush aims to prevent accidental secret leaks in chat logs and agent workflows.

read3 min views1 publishedJun 26, 2026
Hush, let an AI agent use your secrets without ever seeing them
Image: source

a secret store for AI agents , the one with no get.

get a secret once into the OS keychain, then inject it into commands forever , the value never hits stdout, the transcript, or the cloud.

A secret store for AI agents, with one hard rule: the agent never sees the plaintext.

Values never reach stdout, so they never land in the tool result, the transcript, or the cloud. A secret only ever moves from the store straight into the consumer. There's no get

on purpose, a plain getter is the leak.

The point: you (an agent) are running as the user with their CLIs already authed, so you can already set a server-side secret or call a service , you just can't see the value without it landing in the chat. hush gets it once into the OS keychain, then you inject it into those commands forever. No chat paste, no temp files, no .env

to commit by accident.

If you were handed this repo's url, install yourself, then follow the playbook. Get the hush

script onto the box and read SKILL.md , that's the whole onboarding (it covers store / mint / inject and how to adopt hush in the repo you're working in). The script is one self-contained bash file; put it wherever your agent loads tools or just on your

PATH

:

git clone https://github.com/royashbrook/hush
chmod +x hush/hush

or run it straight from npm without cloning: npx @royashbrook/hush <cmd>

(mac/linux; on windows use the clone, the orchestrator is bash).

Claude Code convenience (auto-loads as a skill): clone straight into the skills dir instead , whole session git clone https://github.com/royashbrook/hush ~/.claude/skills/hush

, or one project ./.claude/skills/hush

. Other agents: see AGENTS.md.

That's it , the human points you here and says "use the hush skill," and you take it from here. The one thing only a human can do is paste a secret they hold: when you hit that, run hush set <name>

and a hidden dialog pops on their screen (you never see the value).

Same clone as above, or just grab the single hush

script and put it on your PATH.

Backends: macOS Keychain, Linux libsecret (secret-tool

), and Windows DPAPI (via PowerShell) are built in. On other platforms keep the same contract with your OS secret store (see SKILL.md). Cross-OS tested in CI (manual workflow_dispatch

, all three runners).

hush set my-vendor-token                      # paste a value you hold (hidden prompt)
printf '%s' "$TOK" | hush set my-vendor-token # ...or pipe it in (scripts/CI), still off argv
hush mint app-operator-key                    # generate + store a random one
hush run TOKEN=my-vendor-token -- some-cmd    # inject into a command, never printed
hush list                                     # names only, never values

Naming: keep the default hush

namespace and prefix names by project (blame-cf-token

, lifescored-gemini-key

) so one keychain search for hush

finds everything. HUSH_NS

is only for a genuinely separate store, not per-project. Need to fix an existing name? hush rename <old> <new>

moves the value internally (never re-asked, never printed). Full docs + the portable contract: SKILL.md.

An agent with shell access can read+write this store, so it's not a lock against a hostile process. It's structure that keeps plaintext out of the transcript and makes "store once, inject everywhere" the easy path. It's also only as durable as the machine it's on (a local keychain) , back the machine up, or sync onward into a real secret manager, and don't make hush the only copy of a secret you can't regenerate. MIT licensed.

── more in #ai-agents 4 stories · sorted by recency
── more on @roy ashbrook 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hush-let-an-ai-agent…] indexed:0 read:3min 2026-06-26 ·