# Guides

> OmarAlex24/klav · channel `main` · main · documentation indexed from the repository by Everdoc.

90 documents.

- [AGENTS](guides/agents.md) (`AGENTS.md`)
- [Klav — guía para agentes que trabajan en este repo](guides/claude.md) (`CLAUDE.md`) · stale
- [Contributing to Klav](guides/contributing.md) (`CONTRIBUTING.md`) · stale
- [API de klav-server (v1)](guides/docs/api.md) (`docs/api.md`) · stale
- [CLI klav](guides/docs/cli.md) (`docs/cli.md`) · stale
- [0001 · From scratch and in Rust, with a shared core](guides/docs/decisiones/0001-rust-desde-cero.md) (`docs/decisiones/0001-rust-desde-cero.md`)
- [0002 · Agents have their own key pair](guides/docs/decisiones/0002-agentes-con-identidad-propia.md) (`docs/decisiones/0002-agentes-con-identidad-propia.md`) · stale
- [0003 · AGPL for the server, Apache-2.0 for the rest](guides/docs/decisiones/0003-licencias.md) (`docs/decisiones/0003-licencias.md`)
- [0004 · Vault = profile, project = scope; each with its own key](guides/docs/decisiones/0004-boveda-proyecto.md) (`docs/decisiones/0004-boveda-proyecto.md`) · stale
- [0005 · Cryptographic dependencies of klav-core](guides/docs/decisiones/0005-dependencias-criptograficas.md) (`docs/decisiones/0005-dependencias-criptograficas.md`)
- [0006 · Evaluation semantics of agent policies](guides/docs/decisiones/0006-semantica-de-politicas.md) (`docs/decisiones/0006-semantica-de-politicas.md`) · stale
- [0007 · klav-proto crate for the HTTP protocol](guides/docs/decisiones/0007-crate-klav-proto.md) (`docs/decisiones/0007-crate-klav-proto.md`) · stale
- [0008 · Server stack: axum, sqlx Any, SQLite and Postgres](guides/docs/decisiones/0008-pila-del-servidor.md) (`docs/decisiones/0008-pila-del-servidor.md`)
- [0009 · OPAQUE with opaque-ke: suite, KSF and the crypto-bigint advisory](guides/docs/decisiones/0009-opaque.md) (`docs/decisiones/0009-opaque.md`)
- [0010 · KDF minimum on the server and hosted plan to-dos](guides/docs/decisiones/0010-decisiones-fase-3-y-plan-alojado.md) (`docs/decisiones/0010-decisiones-fase-3-y-plan-alojado.md`)
- [0011 · klav-client library, client TLS and local keys](guides/docs/decisiones/0011-cliente-tls-y-jerarquia-local.md) (`docs/decisiones/0011-cliente-tls-y-jerarquia-local.md`) · stale
- [0012 · klavd daemon: local engine, socket with peer UID and line-delimited JSON protocol](guides/docs/decisiones/0012-daemon-klavd.md) (`docs/decisiones/0012-daemon-klavd.md`) · stale
- [0013 · Touch ID on macOS: Swift shim with CryptoKit, Secure Enclave key without *entitlements*, and mlock postponed](guides/docs/decisiones/0013-touch-id-secure-enclave.md) (`docs/decisiones/0013-touch-id-secure-enclave.md`) · stale
- [0014 · Agents (phase 4): registration, grants, signed requests, approvals, audit log, MCP and SDK](guides/docs/decisiones/0014-agentes-fase-4.md) (`docs/decisiones/0014-agentes-fase-4.md`) · stale
- [0015 · Approvals that serve the retry, explicit approval_id and agent waiting](guides/docs/decisiones/0015-aprobaciones-reutilizables-y-espera.md) (`docs/decisiones/0015-aprobaciones-reutilizables-y-espera.md`) · stale
- [0016 · Attachments for agents with inject, in the same decision as the item](guides/docs/decisiones/0016-adjuntos-para-agentes.md) (`docs/decisiones/0016-adjuntos-para-agentes.md`) · stale
- [0017 · Browser extension: thin client of klavd over native messaging, klav-wasm for the pure parts and the no-daemon mode postponed](guides/docs/decisiones/0017-extension-de-navegador.md) (`docs/decisiones/0017-extension-de-navegador.md`) · stale
- [0018 · iOS app: klav-ffi with uniffi, Face ID with the Secure Enclave, Credential Provider without network and approvals over APNs](guides/docs/decisiones/0018-app-ios.md) (`docs/decisiones/0018-app-ios.md`) · stale
- [0019 · Name: Lacre becomes Klav](guides/docs/decisiones/0019-nombre-klav.md) (`docs/decisiones/0019-nombre-klav.md`) · stale
- [0020 · Passkeys: Klav as a WebAuthn authenticator (ES256, synced discoverable credentials), the private key sealed with the vault key, RustCrypto's p256/ecdsa, and the PSL only for the rpId](guides/docs/decisiones/0020-passkeys.md) (`docs/decisiones/0020-passkeys.md`) · stale
- [0021 · Task requests: an agent asks at once for the items and permissions of a job, the person approves a single card, and Klav creates a lease over that set of targets](guides/docs/decisiones/0021-solicitudes-de-tarea.md) (`docs/decisiones/0021-solicitudes-de-tarea.md`) · stale
- [0022 · Generator with per-site rules, generator and password history sealed with the vault key, vault health on the client, and agent-assisted password change](guides/docs/decisiones/0022-generador-historial-y-cambio-asistido.md) (`docs/decisiones/0022-generador-historial-y-cambio-asistido.md`) · stale
- [0023 · CI on Celesto: a single job with the seven tasks in parallel](guides/docs/decisiones/0023-ci-en-celesto.md) (`docs/decisiones/0023-ci-en-celesto.md`) · stale
- [0024 · Importers: Bitwarden, 1Password, Google Authenticator and browsers, with format detection, lossless merging, and minimal in-house readers for ZIP and protobuf](guides/docs/decisiones/0024-importadores.md) (`docs/decisiones/0024-importadores.md`) · stale
- [0025 · Parent site: offer a login saved for a subdomain on its parent domain's page, only when the person picks it](guides/docs/decisiones/0025-sitio-padre.md) (`docs/decisiones/0025-sitio-padre.md`) · stale
- [0026 · klavd reads without waiting for the server (*stale-while-revalidate*)](guides/docs/decisiones/0026-lecturas-sin-esperar-al-servidor.md) (`docs/decisiones/0026-lecturas-sin-esperar-al-servidor.md`) · stale
- [0027 · App de Mac: SwiftUI nativa sobre klavd, barra de menús y ventana, un DMG que instala todo y actualizaciones sin dependencias](guides/docs/decisiones/0027-app-de-mac.md) (`docs/decisiones/0027-app-de-mac.md`) · stale
- [0028 · Default server at api.klav.dev: pinned in the binary, "Use my own server" collapsed and the Railway accounts migrated without touching anything](guides/docs/decisiones/0028-servidor-por-defecto-klav-dev.md) (`docs/decisiones/0028-servidor-por-defecto-klav-dev.md`) · stale
- [0029 · Add a device with a QR code: the device that is already signed in passes the Secret Key to the new one with HPKE, through the server as a blind relay, and the person only types their password](guides/docs/decisiones/0029-anadir-dispositivo-con-qr.md) (`docs/decisiones/0029-anadir-dispositivo-con-qr.md`) · stale
- [0030 · Security round 2026-11: vault key signed by the account, inject without TOTP and with its residual risk written down, approvals verified by the SDK, strict rules for klav log verify, decisions bound to what was shown, tasks without a site, and sites added by agents pending confirmation](guides/docs/decisiones/0030-ronda-de-seguridad-2026-11.md) (`docs/decisiones/0030-ronda-de-seguridad-2026-11.md`) · stale
- [0031 · Repositorio en inglés y listo para open source](guides/docs/decisiones/0031-repositorio-en-ingles-y-open-source.md) (`docs/decisiones/0031-repositorio-en-ingles-y-open-source.md`) · stale
- [0032 · Environments per repository](guides/docs/decisiones/0032-entornos-por-repositorio.md) (`docs/decisiones/0032-entornos-por-repositorio.md`) · stale
- [0033 · Agents from the Mac app: connecting agent clients (MCP and skill), "Pause agents" on the account, and activity over the audit log](guides/docs/decisiones/0033-agentes-desde-la-app-de-mac.md) (`docs/decisiones/0033-agentes-desde-la-app-de-mac.md`) · stale
- [0034 · CI on Boat: the same ci job, on boat-large](guides/docs/decisiones/0034-ci-en-boat.md) (`docs/decisiones/0034-ci-en-boat.md`) · stale
- [0035 · Set up codes in Klav (iOS): the app opens otpauth:// links, the person chooses the login and confirms, and nothing is replaced without "Replace"](guides/docs/decisiones/0035-configurar-codigos-en-ios.md) (`docs/decisiones/0035-configurar-codigos-en-ios.md`) · stale
- [0036 · Sandboxes de agentes: un proxy propio pone las credenciales y el sandbox solo lleva una credencial suya](guides/docs/decisiones/0036-sandboxes-de-agentes.md) (`docs/decisiones/0036-sandboxes-de-agentes.md`) · stale
- [0037 · Delete the account from the app: the master password again through OPAQUE, plus Face ID or Touch ID where Klav uses it; 7 days to cancel from any device, agents cut off at once, and no server response ever deletes a local copy](guides/docs/decisiones/0037-borrar-la-cuenta.md) (`docs/decisiones/0037-borrar-la-cuenta.md`) · stale
- [0038 · Deployed services: enrollment with a domain challenge, a key ratchet with clone detection, policies with a sealed usage record, and incident mode](guides/docs/decisiones/0038-deployed-services.md) (`docs/decisiones/0038-deployed-services.md`) · stale
- [0039 · Public docs site: Nimbus in apps/docs, static and in English, with what works today and an "On the way" section](guides/docs/decisiones/0039-public-docs-site.md) (`docs/decisiones/0039-public-docs-site.md`) · stale
- [0040 · Contribution gating and Discussions: what "block PRs" means for Klav, Discussions with Ideas and Q&A, and the eight required checks](guides/docs/decisiones/0040-contribution-gating-and-discussions.md) (`docs/decisiones/0040-contribution-gating-and-discussions.md`) · stale
- [0041 · Presence before klavd hands out a value, and an inject card that shows the command](guides/docs/decisiones/0041-presence-for-values-and-the-inject-card.md) (`docs/decisiones/0041-presence-for-values-and-the-inject-card.md`) · stale
- [0042 · Sandboxes for daily use: one command from the proxy's host, a Tailscale key per sandbox, and a minimal Boat environment](guides/docs/decisiones/0042-sandboxes-for-daily-use.md) (`docs/decisiones/0042-sandboxes-for-daily-use.md`) · stale
- [0044 · The credential proxy's key at rest: an alarm for a new address, an egress address signed by the person, and the proxy's memory kept out of swap and core dumps](guides/docs/decisiones/0044-proxy-key-at-rest.md) (`docs/decisiones/0044-proxy-key-at-rest.md`) · stale
- [0045 · Deployed services without a provider key where the provider allows it: the proxy signs a workload identity, and a key with limits elsewhere](guides/docs/decisiones/0045-keyless-services.md) (`docs/decisiones/0045-keyless-services.md`) · stale
- [0046 · Agent secret requests: an agent proposes a secret item, the person enters it in a hidden input on their device, and the value never touches the LLM](guides/docs/decisiones/0046-agent-secret-requests.md) (`docs/decisiones/0046-agent-secret-requests.md`) · stale
- [0047 · Agent origin, machine metadata and person-owned labels](guides/docs/decisiones/0047-agent-origin-and-labels.md) (`docs/decisiones/0047-agent-origin-and-labels.md`) · stale
- [0048 · Invite-only free beta on api.klav.dev, per-account quotas, the waitlist as the invite queue, and installing Klav without Docker](guides/docs/decisiones/0048-invite-beta-and-distribution.md) (`docs/decisiones/0048-invite-beta-and-distribution.md`) · stale
- [0049 · MCP gateway: remote MCP servers through klav-proxy, with per-tool rules signed in the grant, filtered tools/list, tool-level approvals and audit, for sandboxes and for the agents on the person's Mac](guides/docs/decisiones/0049-mcp-gateway.md) (`docs/decisiones/0049-mcp-gateway.md`) · stale
- [0050 · Auto-issued beta invites through Cloudflare Email Sending and Turnstile](guides/docs/decisiones/0050-auto-beta-invites.md) (`docs/decisiones/0050-auto-beta-invites.md`) · stale
- [0051 · Klav Cloud's hosted credential proxy: klav-proxy in an AWS Nitro Enclave, verified by the person's devices before any credential is wrapped for it](guides/docs/decisiones/0051-hosted-nitro-enclave-proxy.md) (`docs/decisiones/0051-hosted-nitro-enclave-proxy.md`) · stale
- [0052 · WebSocket tunnels through HTTPS_PROXY (sandbox mode (b)), and a Postgres credential proxy with a SQL guard](guides/docs/decisiones/0052-websocket-tunnels-and-postgres-sql-guard.md) (`docs/decisiones/0052-websocket-tunnels-and-postgres-sql-guard.md`) · stale
- [0053 · Sandbox MCP: klav-forward mcp, a sandbox's read-only view of its own grant, and secret requests from inside a sandbox, through the pinned channel and without vault keys](guides/docs/decisiones/0053-sandbox-mcp.md) (`docs/decisiones/0053-sandbox-mcp.md`) · stale
- [0054 · Database items (ItemKind::Database) and agent-proposed environment links](guides/docs/decisiones/0054-database-items.md) (`docs/decisiones/0054-database-items.md`) · stale
- [0055 · Vault and Sentinel: the product's two layers, Klav Cloud as Sync and Sentinel, and a calmer Mac app](guides/docs/decisiones/0055-vault-and-sentinel-architecture.md) (`docs/decisiones/0055-vault-and-sentinel-architecture.md`) · stale
- [0056 · Temporary credentials](guides/docs/decisiones/0056-temporary-credentials.md) (`docs/decisiones/0056-temporary-credentials.md`) · stale
- [Decisiones (ADR)](guides/docs/decisiones/readme.md) (`docs/decisiones/README.md`) · stale
- [Diseño visual y de interacción](guides/docs/diseno-visual/readme.md) (`docs/diseno-visual/README.md`) · stale
- [Klav — design document (v0.1)](guides/docs/diseno.md) (`docs/diseno.md`) · stale
- [Especificación criptográfica de Klav (formato v1)](guides/docs/especificacion-cripto.md) (`docs/especificacion-cripto.md`) · stale
- [Browser extension](guides/docs/extension.md) (`docs/extension.md`)
- [What Klav does](guides/docs/features.md) (`docs/features.md`)
- [GitHub settings](guides/docs/github-settings.md) (`docs/github-settings.md`)
- [Glossary (Spanish → English)](guides/docs/glossary.md) (`docs/glossary.md`) · stale
- [iOS app](guides/docs/ios.md) (`docs/ios.md`) · stale
- [klavd: local daemon and its protocol](guides/docs/klavd.md) (`docs/klavd.md`)
- [App de Mac](guides/docs/macos.md) (`docs/macos.md`) · stale
- [Modelo de amenazas de Klav](guides/docs/modelo-de-amenazas.md) (`docs/modelo-de-amenazas.md`) · stale
- [Política de privacidad](guides/docs/privacidad.md) (`docs/privacidad.md`) · stale
- [Testing phase 5 (extension) in Dia and Chrome](guides/docs/probar-fase-5.md) (`docs/probar-fase-5.md`) · stale
- [Testing phase 6 (iOS) on an iPhone](guides/docs/probar-fase-6.md) (`docs/probar-fase-6.md`) · stale
- [Testing milestone A on your Mac](guides/docs/probar-hito-a.md) (`docs/probar-hito-a.md`) · stale
- [Testing the Mac app on a clean Mac](guides/docs/probar-mac.md) (`docs/probar-mac.md`) · broken
- [Publicar la extensión en las tiendas](guides/docs/publicar-extension.md) (`docs/publicar-extension.md`) · stale
- [Publishing the iOS app on the App Store](guides/docs/publicar-ios.md) (`docs/publicar-ios.md`) · stale
- [Releasing Klav's downloads](guides/docs/releasing.md) (`docs/releasing.md`) · stale
- [Roadmap de Klav](guides/docs/roadmap.md) (`docs/roadmap.md`) · stale
- [Self-hosting klav-server](guides/docs/self-hosting.md) (`docs/self-hosting.md`) · stale
- [Sitio web y lista de espera (klav.dev)](guides/docs/sitio-web.md) (`docs/sitio-web.md`) · stale
- [Testing agents from the Mac app by hand](guides/docs/try-agents-mac.md) (`docs/try-agents-mac.md`) · stale
- [Testing sandboxes by hand](guides/docs/try-sandboxes.md) (`docs/try-sandboxes.md`) · stale
- [Klav](guides/readme.md) (`README.md`) · stale
- [Security policy](guides/security.md) (`SECURITY.md`) · stale
- [Migrate a project to Klav (no loose files, split by environment)](guides/skill/klav-migrate/skill.md) (`skill/klav-migrate/SKILL.md`) · stale
- [Set up Klav with the person](guides/skill/klav-setup/skill.md) (`skill/klav-setup/SKILL.md`) · stale
- [Klav: secrets you use without seeing](guides/skill/skill.md) (`skill/SKILL.md`) · stale
