Agent Compass by iggym Integration pack →

Agent Compass › Guides › Agents × passwords

Guide · the step other agent sites skip

Using AI agents with your password manager

You've picked an agent. Now it needs to log in to things — and the naive way (paste your passwords into the chat, or an export into its memory) is exactly how a convenient tool becomes the worst decision you made this year. Here's the safe pattern, and the working integration pack that implements it for SiloFree.

The five golden rules

  1. An agent never holds your master passphrase or Secret Key. Not in chat, not in config, not in “memory”. There is no workflow where that's required.
  2. An agent never receives a password export. A CSV of your vault is a master key wearing a trench coat.
  3. Agents get tools, not secrets. Expose scoped, revocable operations (get the TOTP code for X, look up which logins exist) — never the vault itself.
  4. TOTP beats passwords, passwords beat card numbers. A 30-second code is self-expiring; a password is forever. Grant in that order, and keep card numbers off-limits by default.
  5. Every grant is auditable and killable. If you can't see what the agent did and switch it off in one step, don't connect it.

Why scoped tools work

What the naive way looks like

“Muse/Dots/Autopilot, here's my GitHub password so you can update CI.” The password now lives in agent memory on someone else's server, in a transcript, possibly in training or incident-response queues. Deletion models vary — Dots deletes memory as a full reset ✓, Grok Bot shares one computer across every bot ✓ — and prompt injection can make the agent send what it holds.

What the scoped way looks like

The agent calls a tool on your machine: get_totp("GitHub CI") → returns a code valid for the next ~30 seconds, then worthless. Metadata queries (search_titles("aws")) return names, not secrets. Password retrieval is off unless you flip a flag and restart the bridge. The vault stays encrypted; the agent sees single-use output.

Permission tiers (use exactly this order)

TierThe agent mayFlagNotes
0 · Vault healthSee item counts, lock state, last-updated. Nothing else.statusAlways on. Useful for “is my vault stale?” prompts. No secrets.
1 · TOTPAsk for a time-limited 2FA code for a named login.totpDefault on in the MCP server. The single most useful, least dangerous grant.
2 · Titles & domainsSearch/list login names and domains — no credentials.titlesOff by default. Metadata reveals a lot; grant per-project.
3 · SecretsRetrieve a password/API key for one named item.secretsOff by default. Grant only for short tasks on a machine you control; re-lock after.
∞ · The vault fileNever. Not the export, not the passphrase, not the Secret Key.—Not implemented anywhere in the pack. By design.

Patterns per agent

✅ Native MCP agents

Claude (Cowork/Code), Cursor, Grok Bot, Microsoft Autopilot, Dots (via connector) run the SiloFree MCP server locally: tools arrive with the scope flags you chose, auto-lock wipes keys after N minutes, and nothing ever leaves the machine in stdio mode. Setup →

🟡 REST/connector agents

Dots custom connectors, Perplexity Computer, Siri AI Shortcuts talk to the same bridge over local HTTP with a bearer token (OpenAPI included). If the agent is cloud-side, you must expose the bridge via your own tunnel — decide if that trust zone is worth it. Details →

🟡 A2A-capable stacks

Any A2A client can discover the bridge's agent card (skills: vault status, TOTP, titles) and speak to it at POST /a2a — experimental, disabled unless you start the bridge with --a2a. Details →

🚫 No-API consumer agents

Muse, Instinct, Gemini Spark, Cue have no third-party tool channel today. The safe pattern is human-in-the-loop: the agent tells you it needs a code; you read it from SiloFree yourself. Do not paste secrets into their chats to “teach” them. See the honest matrix →

Practical recipes

  1. TOTP for CI deploys. Agent runs your deploy, hits a 2FA wall, calls get_totp, moves on. You never see a password in a transcript.
  2. Vault hygiene sweep. Weekly: vault_status + search_titles to flag logins older than a year, reused domains, missing TOTP — a “checkup” prompt with zero secret exposure.
  3. Onboarding a teammate. Titles scope only: the agent lists which logins exist for a service so it can request the right ones from a human.
  4. The one-off password fetch. Restart the bridge with --scope status,totp,titles,secrets, do the task, restart without it. Auto-lock (15 min default) is the seatbelt, not the license.

Even scoped, remember the blast radius

A TOTP grant plus an email grant is a 2FA-bypass kit if the agent can be injected. Keep the trust-zone rule: separate surfaces for agent-email and agent-TOTP, or accept one without the other. Check the incident tracker before connecting a new agent.

Next step

The whole pack is two files: agent-compass/integrations/mcp-server.mjs (zero dependencies, Node ≥ 22.5) and an OpenAPI spec. Setup takes one command per agent → Integration pack.