Skip to content

Releases

0.23.0

Choose a tag to compare

@stevederico stevederico released this 01 Nov 23:54

First public release.

agent-keychain is a zero-crate Rust secret store for Linux that gives an AI agent a secret only after you approve that request with your login password, in the polkit prompt. No account, no cloud, no dependencies: std only, [dependencies] is empty.

Highlights

  • get / set / rm / list / log, every value-touching request approved in a polkit prompt that names the secret and the caller
  • with github --for 2h -- claude: approve once, then that program and its children get those secrets without prompts until it expires
  • One prompt at a time, and backoff after a denial, so an agent cannot wear you down
  • Vault encrypted with XChaCha20-Poly1305 (ported from libsodium), key sealed by systemd-creds (TPM2 when present)
  • Daemon runs as its own system user under a hardened systemd service; every request is logged, never values
  • scan finds keys in plain files (.env, ~/.npmrc, ...) without printing them; import stores them under one approval
  • doctor, skill (guide for AI agents), --json everywhere, per-command help

Install

git clone https://github.com/stevederico/agent-keychain
cd agent-keychain && ./install.sh
agent-keychain doctor

Needs Rust, systemd and polkit. See SPEC.md for the threat model, including what it does not cover.