# Intent catalog

Source: https://botpassword.com/docs/intents

BotPassword gives agents 13 intents. Each is an outcome the agent asks for, such as "sign in" or "rotate", and none returns a secret value, except through a grant that allows disclosure (credential helpers, `run_with`; see the [security model](/docs/security-model#what-are-sealed-and-disclosing-grants)). The only reveal path is the human interface. The same catalog is served over [MCP](/docs/mcp-server), the [CLI](/docs/cli) and the [credential helpers](/docs/credential-helpers), all through one daemon and one policy implementation.

## What are the design rules?

1. **Outcomes, not values.** Every intent returns a [typed outcome](/docs/typed-outcomes) and redacted output.
2. **Approval lives in BotPassword.** An agent can request access; it cannot grant it.
3. **One catalog, every harness.** MCP tool, `bpw` subcommand or native helper, same decision.
4. **Ask once, then stay out of the way.** Inside a grant, intents run without prompts.
5. **Say plainly that it is safe.** Tool descriptions and installed instructions state that values never reach the agent.

## What is in the catalog?

Not every intent is built. The table marks each one: **Built** works today, **Partly built** works for part of the cases, and **Planned, not built yet** means the daemon checks the request against policy and answers `not_implemented`. The Claude Code and Codex [guides](/docs/guides/claude-code) show what to try today. Each intent name links to its reference page, generated from the MCP tool definitions: every parameter, the result fields, an example call and the [outcomes](/docs/outcomes) it can return.

| Intent | Agent supplies | BotPassword does | Agent gets back | Default friction |
|---|---|---|---|---|
| [`status`](/docs/intents/status) | nothing | Built. Reports lock state, the client's identity and active grants for this project | Metadata only | none |
| [`list_credentials`](/docs/intents/list_credentials) | optional filter (provider, site, project) | Built. Lists credentials this client is granted, with allowed intents | Names, provider, account, environment, allowed intents; never values | none |
| [`request_access`](/docs/intents/request_access) | credential ref, intents, scope, lifetime and why | Built. Shows the request in the desktop app's Ledger and in `bpw access list`; you approve with your master password or decline. Approval on your phone is planned, not built yet | `approval_required` (with a request ID to check), then `approved` (with a grant reference), `denied` or `expired` | one approval |
| [`run_with`](/docs/intents/run_with) | credential refs, mapping to env vars, files or sealed placeholders, command | Built. Sealed on Linux and macOS: the command gets a placeholder that a per-run proxy swaps for the value only on the grant's hosts (see [Security model](/docs/security-model)). Disclosing, with the grant's opt-in: values injected by environment variable or a 0600 temporary file, never on the command line. Redacts known values from output | Exit code and redacted output | none within grant; disclosing needs opt-in |
| [`http_request`](/docs/intents/http_request) | credential ref, method, URL, headers, body | Built. Validates the destination against the credential's allowed hosts and paths, then injects auth | Status, headers and body with credential-shaped values redacted, or `value_reflected` if the response holds the credential | none within grant |
| [`cli_login`](/docs/intents/cli_login) | tool (git, docker, aws or kubectl), host (`site`) and credential ref | Built. Checks the grant and returns the tool, credential, canonical site and setup lines saying how to point the tool at its [credential helper](/docs/credential-helpers); the helper then hands the value to the tool inside an agent session. Always disclosing: the tool, and code the agent runs, can read the value. Never returns a value itself. For `gh`, `wrangler` and `npm` use `run_with`. Not built yet: OAuth device logins, AWS short-lived credentials, and asking for a `cli_login` grant through `request_access` (you add it with `bpw grant add`) | Setup lines, or a typed outcome such as `scope_denied`, `disclosure_not_granted`, `session_required`, `vault_locked`, `grant_expired` or `needs_human` | none within grant |
| [`sign_in`](/docs/intents/sign_in) | credential ref, the site, optionally a tab and whether to submit, and either a local DevTools (CDP) endpoint for the browser the agent drives or none for your own browser's extension | Over CDP: connects to the browser on this machine, picks the one tab at the site, and fills username and password only in a frame whose origin, and every frame above it, is exactly the granted site, checking again in the page as it writes. Without a CDP endpoint: your paired BotPassword extension, with agent mode turned on (Chrome), does the same in your own browser, reading the origins from the browser itself. Both are disclosing: the page, and over CDP the agent, can read what was filled, so the grant must allow disclosure. A sealed fill is planned, not built yet | The fields filled and whether the form was submitted (never whether the site accepted the login), or a typed outcome such as `scope_denied`, `disclosure_not_granted` or `needs_human` | none within a grant for that site |
| [`fill_totp`](/docs/intents/fill_totp) | credential ref, the site, and the browser as for `sign_in` | BotPassword computes the current code from the saved seed and fills it with the same origin checks, over CDP or through your paired extension; the code is never in the result. Always disclosing | The field filled, or a typed outcome | none within a grant for that site |
| [`change_password`](/docs/intents/change_password) | site URL and target browser | Planned, not built yet. Will generate a password to the site's rules, saves it as a pending revision first, fills current, new and confirm fields, submits | Changed, failed (old password still current), or unknown (both kept) | one-time toggle per credential |
| [`rotate`](/docs/intents/rotate) | credential ref, optional strategy | Partly built: an agent reaches it only through an autopilot grant on an item you set up with `bpw rotate configure` (Cloudflare tokens and AWS IAM keys); otherwise the daemon answers `not_implemented`. It runs the [rotation state machine](/docs/rotation) | Rotated (new revision reference), or partially rotated with the exact pending step | one-time toggle per credential |
| [`capture_secret`](/docs/intents/capture_secret) | where the new secret appears: a page element or a command's stdout | Planned, not built yet. Will read the value directly into a new vault item; the agent's copy of output is redacted | New item reference | none (write-only) |
| [`store_secret`](/docs/intents/store_secret) | a value the agent already legitimately holds, with title, provider and site | Built for new items, rate-limited; a revision of an existing item answers `not_implemented`. It stores a value as a new item, marked "agent-supplied" in history | Item reference | none (write-only) |
| [`generate_password`](/docs/intents/generate_password) | site rules (optional) | Planned, not built yet. Will generate a password and stores it as a pending item | Item reference | none |

## Why are some intents write-only?

`store_secret` (built) and the planned `capture_secret` and `generate_password` can only add data. Today `store_secret` for a new item is allowed for an enrolled agent client without a prompt; the other two are planned, and `capture_secret` will need a grant.

## Which intents need a separate switch?

`rotate` (partly built) and `change_password` (planned, not built yet) mutate both a provider or site and the vault, so they have their own grant flags. Today the only route for an agent is a `rotate` grant with autopilot (`bpw grant add --autopilot`); the per-credential one-time toggle needs the confirmation sheet, which is planned. Company policy can forbid autopilot for company credentials. See [Grants and approvals](/docs/grants-and-approvals).

## How does a request flow through?

1. The agent calls an intent over the agent endpoint.
2. The daemon evaluates client, grant, session, intent and credential in `agent_policy::evaluate`, the single policy implementation.
3. If allowed, the daemon performs the secret-bearing step itself.
4. The agent receives a typed outcome and redacted output.

## What are the honest limits?

- In a browser the agent drives, a filled value exists in the page and the agent's browser tool could technically read it back. A fill through your own paired extension keeps the browser out of the agent's hands, but the page and other extensions can still read the field, so it is disclosing too. A sealed mode, filling in a browser profile the agent does not script, is planned, not built yet.
- A disclosing `run_with` hands the value to the child process, and that process and other same-user processes can read it. A sealed `run_with` does not, but the command can use the credential at the grant's hosts while it runs.
- Redaction is best effort; it catches known values and simple encodings, not every transformation.
- CAPTCHAs, device checks and email confirmations return `needs_human`. Bypassing bot detection is out of scope.

Examples use placeholder references such as `cloudflare/prod-deploy`. For per-provider detail see [/keys](/keys); for harness pages see [/agents](/agents).
