Expand description
The Vault: the person’s secrets, which agents use by name without seeing them (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md).
The person writes the Vault through the host (server::vault_handlers).
Agents list entries’ names, ask for new ones, and create entries whose value
the Vault makes itself (generate), which no one has seen. Everything here
is blocking (the store, the keychain): call it off the async runtime.
Modules§
- account_
key - The key of an API key account (Connectors > Accounts), kept as an
api-keyentry of the Vault. The account row holds the entry’s id and non-reusable link id (SecretRef::Vault); the key is sealed in the entry like any other, so the person sees it in the Vault, can copy or replace it there, and deleting the account deletes the entry. - agent_
changes - What the person sees instead of a card: the changes agents made that they have not looked at yet, and what they can do about each (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md §5).
- agent_
set - A value an agent had the Vault read is not trusted until the person has seen it (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md R11).
- aws_
import Vaultimport: an agent has the Vault copy a secret from AWS Secrets Manager, so the person never types it and the agent never sees it (docs/specs/SPEC_VAULT_PARITY_ENTRY_HISTORY_REASONS_AND_IMPORT_2026_11_06.md §7).- aws_
import_ batch Vaultimport_batch: an agent has the Vault copy a named list of secrets from AWS Secrets Manager under one approval (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §4).- backed
- A backed entry’s value (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md §11.1): the Vault keeps the entry’s label, kind and grants, and the key itself stays in AWS Secrets Manager. Each use reads it from there with the host’s AWS login, so there is no copy in the Vault to go stale, to sync or to leak, and a change made in Secrets Manager is what the next use gets.
- capture
Terminalrun’scapture: a value a command prints goes straight into the Vault (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.2).- card
- What a card entry knows about itself: its brand, whether its number passes the Luhn check, how its number is grouped, how long its security code is, and its expiry month and year. Pure functions, no store, no seal. docs/specs/SPEC_VAULT_CARD_ENTRIES_FULL_CARD_DATA_AND_AUTOFILL_2026_11_08.md §4.
- card_
fill - What a whole-card fill puts in each field of a form (docs/specs/SPEC_VAULT_CARD_ENTRIES_FULL_CARD_DATA_AND_AUTOFILL_2026_11_08.md §6).
- card_
target - The card a whole-card fill is for, resolved by name before anything is asked (docs/specs/SPEC_VAULT_CARD_ENTRIES_FULL_CARD_DATA_AND_AUTOFILL_2026_11_08.md §6).
- changes
- A password an agent changes on a site that already has an account (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §7.3).
- endpoint_
key - A key an agent’s launch environment names as
ANTHROPIC_AUTH_TOKEN=vault:<entry id>(backend::agent_env): the model endpoint an agent was pointed at wants one. Unlike a model route’s key (route_key), which goes only into srv’s outgoing request, this value is put in the agent’s own process environment, where the agent can read it. So the entry must be one the person has opened to that agent (the Vault’s agents setting,vaults::entry_usable), and every launch it is put in is recorded under the agent’s name. - expiry
- Expiry dates and their reminders (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §15.2).
- files
- Files that hold a Vault value for one command:
Terminalrunwithsecret_files(SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.3), for tools that read a key only from a file (--key-file,GOOGLE_APPLICATION_CREDENTIALS). - generate
- Strong values the Vault makes itself, so no person types them and no agent sees them (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.1).
- github_
secret - The check of a CI secret: a repository’s or an environment’s Actions secret (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §2.6).
- history
- An entry’s history: one row for every change to it and every use of it, in
db_vault_activity(docs/specs/SPEC_VAULT_PARITY_ENTRY_HISTORY_REASONS_AND_IMPORT_2026_11_06.md §5). - import
- Readers for the files other password managers export (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §8.4).
- inspect
- What an agent can ask the Vault about an entry and about the Vault itself:
show,update(details only),verifyandhealth(docs/specs/SPEC_VAULT_PARITY_ENTRY_HISTORY_REASONS_AND_IMPORT_2026_11_06.md §8). Every answer is ids, names, states and counts: no sealed value, tail or hash of one. A problem line says what is wrong in fixed words and never quotes a field’s value. - kdbx_
export - Export the Vault to a password-protected KeePass database (
.kdbx, KDBX 4) (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §8.3), which the person can open in KeePassXC, KeePassDX or Strongbox. The file is for them to take elsewhere, so it is as plain a KeePass database as can be made: - kdbx_
names - The names a Vault entry’s parts and details have in a KeePass entry (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §8.3, §8.4).
- kinds
- What the Vault can hold: each kind of entry, the section it is listed in, its secret parts (sealed, never returned to an agent) and its plain fields (stored as they are; the pane shows them). docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §5.2.
- linked
- A linked entry: an entry that says where a key lives and who reads it, and holds no value (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §2).
- pace
- How much an agent may add or change in an hour (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md R6). Adding and editing ask nobody, so this is the bound on what one misled agent can do before the person looks: a pace, never a permission. A call over the budget is refused at once with the time the budget next has room, and changes nothing. The budget resets by itself as the hour slides.
- plain_
export - Export the Vault as a plain, unencrypted CSV or JSON file, for a person leaving for another manager (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §8.3).
- proposals
- An agent’s request to change where a login is offered, on a login it did not make (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md R8).
- requests
- Agents’ requests for a new Vault entry, waiting for the person (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §5.4).
- route_
key - The key of a model route (
backend::model_gateway), read for the gateway to add upstream. The value goes into one outgoing request and is not returned to any caller that could show it to an agent. The person approved the agent’s use of the route when it was made, so this asks no one; it records the use under the agent’s name, once per agent and route every few minutes, not once per request. - scrub
- Takes a Vault value out of a command’s output before anything reads it (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §7.2).
- seal
- The Vault’s encryption at rest (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §5.5).
- setting_
key - A key a setting names as
vault:<entry id>instead of holding it: srv’s own reader of a service key (voice input’s Groq key, and the other settings keys the same way when they move). The value is read inside srv at the moment of the call, goes into one outgoing request, and is never written to settings.json, a log or the renderer. The spelling is the oneendpoint_keyresolves for an agent’s launch environment. - shares
- Shares: a login the person lets an agent’s own browser profile use (docs/specs/SPEC_VAULT_AGENTS_ENTER_CREDENTIALS_WHEREVER_ASKED_2026_11_16.md §5).
- signins
- Sign-ins a browser profile keeps (spec SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md
§9):
loginentries whoseprofilefield names the profile whose tabs may use them,personalorprofile:<id>. A login without a site belongs to no profile. HTTP Basic/Digest sign-ins are such entries with arealm(andproxyfor a proxy’s), moved here from the keychain once (§5.4, §9.3). - signups
- Sign-ins made on a sign-up form (spec SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md
§6.2): the password srv generates for a new-password field is a
loginentry of its own before the page sees it, taggedUNCONFIRMEDuntil the form is sent with it. It never joins another entry, even one for the same user name: a sign-up the site refuses must not replace a password that works. - slots
- Which parts of which entries an agent may have filled into a web form, and the kind of form field each belongs in (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §6.1, §6.3).
- source_
link - An entry’s machine copy: where a copy of its value lives outside the Vault (a secret store a service reads, a CI secret), and a check that says whether that copy still equals the entry’s value. A first step toward an entry’s “backing” (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md §11.1).
- sync_
activity - The Vault’s activity as sync records (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md section 6.7): append-only per machine, so lines from different machines never conflict.
- sync_
adapter - The Vault’s merge rule as the sync layer’s adapter (
user_sync::adapter): the layer hands over the record’s current header and the incoming one, and this answersApplied,KeptLocalorConflict { current }by the rules ofsuper::sync_merge. It sees headers only, never a body: which side is current is decided by versions, what a change replaced (Header::base, signed by the origin and sealed into the body) and whether the entry is being rotated here. The tags of a conflicted entry, a union of both sides, are put together afterwards from the two bodies. - sync_
capture - The Vault’s entries as records in the sync layer’s log (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md section 6): what a machine writes into a Vault’s collection when its entries change.
- sync_
grant - A site grant (“Always on this site” for an entry) as a sync record (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md
section 6.6). Grants to an agent (
signin:<agent>, a command’s first-use grant) name an agent of one machine and never sync: this module has no way to build a record from one, and the capture writes only a grant whose key is a site. - sync_
links - An entry’s link ids on several machines. A link id is the opaque name a deep link gives a Vault entry
(
agentmux://vault/entry/<link id>): it says nothing about the entry and each machine gives one on first use. A link made on one machine of a shared Vault has to open the entry on the others, so the ids travel in the entry’s sealed body. - sync_
merge - What the Vault does when a record arrives from another machine (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md
sections 6.2 to 6.5): the answer the sync layer asks of an adapter,
Applied,KeptLocalorConflict(both). - sync_
record - A Vault entry as the body of a sync record (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md
sections 6.1 and 6.6): what goes inside the seal of
super::sync_seal, and what a machine that receives one makes of it. - sync_
seal - A Vault record as it leaves the machine: sealed with the Vault’s collection key, so a LAN peer’s log, the relay and the cloud store see only the clear header (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md section 6.1) and never a label, a kind, a site or a value.
- sync_
store - The Vault’s sync rules applied to the store: an entry’s link ids and the activity lines other machines made. The rules
are
sync_linksandsync_activity; this is what reads and writes the tables they decide for. - sync_
take - A record from another machine, taken into the Vault (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md
sections 6.2 to 6.5): the other half of
super::sync_capture, which writes this machine’s changes into the log. - transfer
- Export to and import from the encrypted
.vaultfile (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §8). - uses
- An agent’s use of a Vault entry, waiting for the person to allow it (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §6.4).
- vaults
- Several Vaults on one computer: the person keeps some entries to one set of agents and others to another, or to none (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md §5).
- versions
- An entry’s earlier values (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.4).
- wordlist
- 256 short, common words for suggested
.vaultpassphrases: each is 8 bits, so eight of them are 64 bits, which scrypt then slows down guessing for. The list is fixed:suggestionpicks by index from a random byte.
Structs§
- Entry
Change - A change to an entry from the pane. A part left out keeps its value;
clearempties the parts it names. - Fill
Target - What a web form fill needs to know about an entry, before anything is asked: the entry, the part, and the kind of field that part belongs in.
- Generate
Request - What an agent asks
generatefor. - Generated
- What
generatemade: the entry, never its value. - Line
- A line of the record for something an agent did with an entry, with the reason it gave.
- NewEntry
- A new entry from the pane.
- Vault
Activity - Vault
Agent Entry - An entry as an agent sees it (
Vaultlist): what it is called, what kind it is, when it expires (a date being no secret) and where its machine copy is, if it has one. No value, tail, other field or grant. - Vault
Entry Info - An entry as the pane shows it: no value, only which parts are set and the main value’s last characters.
Constants§
- GENERATED_
KINDS - The kinds
generatemakes, and the part it fills: a value no person needs to choose. An ID number or a card is the person’s, never made up. - LINK_
ID_ PREFIX - The prefix of every link id.
- PERSON
- The actor the activity log names for the person.
Functions§
- activity
- command_
target - What a command’s
secretsentry names ("id"or"id.part"): the entry and the part handed to the process, the kind’s main part unless another is named. Unlike a web form, a command may be given any kind of entry; the person is asked first (spec section 7.3). - create
- Saves a new entry from the person; returns its id.
- create_
in createin the Vaultvault_id, which must exist.- delete
- entry_
of_ link - The entry a link id names, if it still exists.
- fill_
target - Resolves
"id"or"id.part"for a fill, or says why it can’t be filled. - generate_
entry - Creates an entry whose main value the Vault makes, for
actor(the agent that asked). The value goes from the generator into the sealed row and nowhere else. A login with a site is made for no browser profile (generate_entry_insays which). - generate_
entry_ in generate_entryfor an agent whose own browser profile isown_profile(profile:<id>). A login it makes with a site belongs to that profile, and goes in the Vault the profile keeps its sign-ins in when the agent may use it: never Personal’s or another profile’s, which are the person’s. The site and the user name are the agent’s to give; where the sign-in is offered (a realm, a proxy, a profile) is the person’s.- link_
ids - The link id of each entry in
ids, given to those that have none yet (an id is assigned once and kept). - list_
for_ agent - Every entry
agentmay use, as it may see it. Reads no value, so it never needs the keychain. An agent that isn’t proven (None) sees the Vaults open to every agent. - list_
for_ agent_ as list_for_agent, telling the agent whose permanent uid isuidwhich logins are shared with it.- list_
for_ pane - Every entry for the pane, and why the values couldn’t be opened if they couldn’t (the tails are then empty).
- record
- Adds a line to the activity log; a failure to is logged, not raised.
- record_
copy - The host’s report of what became of a copy:
donenotes the use,failedonly says it didn’t happen. - record_
line recordfor an agent’s use or change, with its reason.- record_
row recordwith the line’s other parts given too: the agent’s reason and references.- request_
target - For a value no entry holds yet: the kind’s main part, to be typed by the person.
- reveal
- One part’s value, for the person: shown in the pane (
revealed) or put on the clipboard by the host (copied). Only the host reaches this, after the OS has confirmed the person. A reveal is logged here, the value never is; a copy is logged byrecord_copyonce the host has put it on the clipboard, so the trail never says copied when nothing was. - update
- Changes an entry’s label, fields, tags and the parts given.
- value_
for_ command - A part’s value for a command: the current value, or the version
tnames (id@previous, a rotation’sid@pending). Never returned to an agent. - value_
for_ fill - A part’s value for the host to type; never returned to an agent. The use is logged by the caller, with the site and the outcome.