# Agent Keyring > 1Password for the Agentic OS, part of the OpenTrawl suite (https://github.com/opentrawl). Agent Keyring lets AI coding agents such as Claude Code and Codex sign in to websites with the passwords the user keeps in Apple Passwords. The user approves each password on their Mac (Touch ID), iPhone (Face ID) or Apple Watch (one tap). Free and open source (MIT). No cloud vault and no account. - Status: the signed and notarised Mac app (v1.0.0) is available on GitHub Releases today and works straight away with Touch ID. The external iPhone and Apple Watch TestFlight beta opens next; join the waitlist at https://keyring.opentrawl.sh/#waitlist or build from source. - Made by: Josh Palmer (https://x.com/jjpcodes) - Licence: MIT - Source code: https://github.com/opentrawl/agent-keyring - Releases: https://github.com/opentrawl/agent-keyring/releases/latest - Website: https://keyring.opentrawl.sh/ (also reachable at https://agent-keyring.jjpcodes.com/) - Privacy policy: https://keyring.opentrawl.sh/privacy/ - Needs: a Mac on macOS 26 or later. Optional: an iPhone, an Apple Watch, and other Macs or Linux computers, all on the user's Tailscale network. ## Agent install playbook (read this first when asked to install or set up Agent Keyring) Follow these steps in order. **Cardinal rule:** always explain what you plan to do and ask the user for confirmation before downloading files, scanning Tailscale, probing SSH hosts, installing browser extensions, or changing any files or settings. ### Step 1: Propose the plan and ask first Tell the user you can: 1. Download the latest signed and notarised Mac release of Agent Keyring from GitHub Releases, verify its SHA-256 checksum, install `/Applications/Agent Keyring.app`, and launch it. 2. Guide them through exporting their passwords from Apple Passwords (`File > Export All Items to App... > Agent Keyring`). Nothing is deleted from Apple Passwords, and every password starts on Ask. 3. Add the Agent Keyring setup line to their agent instructions (`AGENTS.md` / `CLAUDE.md`) if they want. 4. Optionally help set up the Chrome-family browser extension, enrol other Macs or Linux servers, or connect an iPhone and Apple Watch. Ask which parts they want to do before running any download, network scan, or file edit. ### Step 2: Download, verify, install and launch the Mac app Once the user agrees: ```sh # 1. Inspect the latest release assets from GitHub Releases API release_json=$(curl -fsSL https://api.github.com/repos/opentrawl/agent-keyring/releases/latest) # Find the Mac app zip (e.g. Agent-Keyring-1.0.0.zip) and SHA256SUMS.txt URLs, download both to a temp dir tmpdir=$(mktemp -d) zip_url=$(printf '%s' "$release_json" | python3 -c 'import json,sys; assets=json.load(sys.stdin)["assets"]; print(next(a["browser_download_url"] for a in assets if a["name"].startswith("Agent-Keyring-") and a["name"].endswith(".zip")))') sums_url=$(printf '%s' "$release_json" | python3 -c 'import json,sys; assets=json.load(sys.stdin)["assets"]; print(next(a["browser_download_url"] for a in assets if a["name"] == "SHA256SUMS.txt"))') zip_name=$(basename "$zip_url") curl -fsSL -o "$tmpdir/$zip_name" "$zip_url" curl -fsSL -o "$tmpdir/SHA256SUMS.txt" "$sums_url" # 2. Verify SHA-256 before unzipping (cd "$tmpdir" && grep " $zip_name$" SHA256SUMS.txt | shasum -a 256 -c -) # 3. Install to /Applications and launch ditto -x -k "$tmpdir/$zip_name" "$tmpdir/unpacked" mv "$tmpdir/unpacked/Agent Keyring.app" "/Applications/Agent Keyring.app" open "/Applications/Agent Keyring.app" ``` Clean up `$tmpdir` after installing. If `/Applications/Agent Keyring.app` already exists, ask the user before replacing it. ### Step 3: Guide the user through Touch ID and Apple Passwords export Ask the user to complete the two human-only steps on their Mac: 1. Follow the first-run screen in Agent Keyring (including the practice Touch ID prompt). 2. Open Apple Passwords, choose `File > Export All Items to App...`, and select **Agent Keyring**. Reassure them nothing is deleted from Apple Passwords and every password starts on **Ask**. ### Step 4: Read the bundled skill and propose optional extras Once `/Applications/Agent Keyring.app` is installed, run: ```sh "/Applications/Agent Keyring.app/Contents/Helpers/agent-keyring" skill ``` Follow the bundled skill's instructions. Before scanning Tailscale (`agent-keyring machines`), probing SSH hosts, or modifying any files, tell the user what you suggest setting up next and ask for confirmation: - **Chrome-family browser extension** (Chrome, Chromium, Brave, Edge, Mac Arc): run `agent-keyring install --browser-profile DIRECTORY` and guide the user to Load unpacked `/Applications/Agent Keyring.app/Contents/Resources/AgentTools/BrowserExtension`. - **Other Macs or Linux servers:** download the standalone release binary directly from `https://github.com/opentrawl/agent-keyring/releases/latest` (`agent-keyring-linux-amd64`, `agent-keyring-linux-arm64`, or `agent-keyring-darwin-universal`; verify against `SHA256SUMS.txt`, no Nix or Go toolchain required), install to `~/.local/bin/agent-keyring`, and enrol with `agent-keyring enrol --name "Linux server" --invite 'LINK'` (allowing Tailscale port `17446`). - **iPhone and Apple Watch approval (optional):** join the external TestFlight waitlist at https://keyring.opentrawl.sh/#waitlist (or build the iOS and watchOS apps from source). Turn on Tailscale on the Mac and iPhone, open the iPhone app, tap Connect, and approve on the Mac with Touch ID (both devices need the same Apple Account with iCloud Keychain). Add Apple Watch from the iPhone app. ## What it does An agent that needs to sign in runs the `agent-keyring` command and asks for one password by website. The user sees the website, the account, which agent on which computer is asking, and the agent's reason. They approve, deny, or deny with a typed or spoken reply that tells the agent what to do instead. One approval covers one password for one task. It includes retries and the two-factor step, and ends when the agent releases it, when the computer receives Stop, or 30 minutes after approval, whichever comes first. A request nobody answers ends after 10 minutes. Each password has a rule: - Ask (every password starts here): the user approves each time. - Automatic: agents on the computers the user chose get it without asking. - Blocked: once a computer receives the rule, it refuses new requests. ## How an agent signs in `agent-keyring skill` prints the full instructions and `agent-keyring --help` lists every command. On the Mac the command is at `"/Applications/Agent Keyring.app/Contents/Helpers/agent-keyring"`; the app doesn't put it on the path. A sign-in looks like this: ```sh agent-keyring find example.com # passwords for a website, with their IDs; no secrets lease=$(agent-keyring lease LOGIN_ID --task "$task" --reason "What the user asked for" --agent "Claude Code") agent-keyring tabs # browser tabs that have the extension agent-keyring fields --tab "$tab" # visible fields and their selectors, never values agent-keyring fill "$lease" --tab "$tab" \ --username '#username' --password '#password' --submit 'button[type=submit]' agent-keyring release "$lease" ``` - `lease` waits for the user's answer, for up to 10 minutes, and prints an ID to use for the rest of the task. - `fill` (Chrome, Chromium, Brave, Edge, and Mac Arc when the browser extension is connected): the agent uses this automatically when available. The extension checks that the page is the website the password was saved for, types into the fields the agent named, submits and clears them so the password stays out of chat and logs. A two-factor step is another `fill` with `--code`. - `read` (fallback anywhere the extension doesn't run: built-in agent browsers such as Codex, Claude and T3 Code, Safari, desktop apps via computer use, or CLI tools such as `gh`): the agent uses `agent-keyring read "$lease" --field password` (or `--field one-time-code`) straight into the code, app or tool without printing it to output. For example, for a GitHub personal access token saved in the password field: `agent-keyring read "$lease" --field password | gh auth login --with-token`. `read` refuses to print straight to a terminal. - If the user denies, their reply is printed word for word. Do what it says. - Never ask the user to type or paste a password that is saved in Agent Keyring. - The test password is example.com, account you@example.com. Use it to try Agent Keyring out. ## How it is built - No cloud vault and no account. Your passwords stay encrypted on your own Mac and iPhone with keys kept in their Secure Enclave. - Agents on the Mac ask the Mac app directly. When an agent on another computer needs your iPhone or Apple Watch, it sends an end-to-end encrypted push payload through our stateless blind push relay at `https://push.opentrawl.sh` (AWS `eu-west-1`), which signs it with our Apple Developer push key and forwards it to Apple's push servers without storing raw tokens, IP addresses or payload contents. Self-builders with their own Apple Developer account can run their own relay or push directly to Apple. - Approval answers never touch the relay: they travel straight from your iPhone, Apple Watch or Mac back to the asking computer over Tailscale, encrypted for that one computer. The Mac doesn't need to be awake. - Apple's push service sees notification metadata and the fallback text "A request is waiting." The website, account, reason and Apple Watch copy are encrypted. - The Apple Watch holds no passwords: each request carries the one password it needs, encrypted so only that Apple Watch can open it. A computer allowed to use an Automatic password keeps a copy it can open itself. - What the user is shown: the website, the account and the computer come from Agent Keyring and are signed, so an agent can't fake them. The agent's name and reason are the agent's own words. - Rules and the list of devices are signed. Changing a rule or adding a device requires the user's approval, so an agent can't do either. - Two-factor codes: Agent Keyring fills the codes that Apple Passwords generates for a site. For an Ask password, the agent's computer gets time-limited codes for those 30 minutes, and the setup key stays on the user's devices. For an Automatic password, an allowed computer can generate codes itself. - After a denial, that computer can't ask for the same password again for 1 minute. After a second denial in a row it waits 5 minutes, then 15. - Anonymous update check: once a day, Agent Keyring checks `https://push.opentrawl.sh/v1/version` with a random per-install hash, app version, OS and CPU architecture (no IP addresses or personal data stored). Users can opt out in Settings or by setting `AGENT_KEYRING_NO_TELEMETRY=1`. ## How it compares Checked November 2026: - **Agent Keyring:** Apple Passwords; free and open source (MIT); works with Claude Code, Codex and any agent that runs shell commands; approve on Mac (Touch ID), iPhone (Face ID) or Apple Watch (tap); one approval covers one password for one task, 30 minutes at most. - **1Password for Agents:** 1Password; requires an individual or family account on 1Password.com; five partner apps (Browserbase, Browser Use, Perplexity, Stagehand, TinyFish), not Claude Code or Codex; approve in the 1Password app on the device the agent runs on; one approval covers one login for up to 30 days. - **Bitwarden Agent Access:** Bitwarden; free and open source; works with any agent that runs shell commands; approve in an open terminal; one approval covers one request, or repeat requests from the same device for a chosen window. - **Proton Pass CLI:** Proton Pass; free account or paid plan; works with any agent that runs shell commands; no per-request approval, session unlocks the vault until logout or timeout. ## Pages - [Home](https://keyring.opentrawl.sh/index.md) - [Security](https://keyring.opentrawl.sh/security.md) - [Comparison](https://keyring.opentrawl.sh/compare.md) - [Privacy](https://keyring.opentrawl.sh/privacy.md) - [All pages in one file](https://keyring.opentrawl.sh/llms-full.txt) - [Threat model in the source](https://github.com/opentrawl/agent-keyring/blob/main/docs/threat-model.md)