# Klav Atlas > Living, auto-generated architecture atlas and reference for Klav (Rust + TypeScript + Swift). Everything here is generated by static analysis of [OmarAlex24/klav](https://github.com/OmarAlex24/klav) (no LLM in the loop): each workspace, protocol edge, flag, and type traces back to a source line with a permalink. Pages are plain Markdown; `llms-full.txt` packs a whole channel into one file; the MCP endpoint answers structured queries. ## Channels - [Stable (v0.15.1)](https://klav.everdoc.dev/stable/index.md): commit 034e81b52d1b from 2026-12-04, 16 workspaces, 1258 entities, 685 flows - [Main (main)](https://klav.everdoc.dev/main/index.md): commit fe8e2a0c8c24 from 2026-12-05, 16 workspaces, 1316 entities, 726 flows ## Architecture - [System architecture](https://klav.everdoc.dev/stable/architecture.md): runtimes, apps, and protocol edges (RPC, HTTP, IPC, MCP, process spawns); workspace table and package families - [@klav/extension](https://klav.everdoc.dev/stable/architecture/klav-extension.md): app (node), Klav browser extension (Chromium and Firefox, Manifest V3) - [@klav/sdk](https://klav.everdoc.dev/stable/architecture/klav-sdk.md): library (node), Klav for agent runtimes in Node: fill, run, inject and totp without handing secrets to the LLM - [Klav](https://klav.everdoc.dev/stable/architecture/klav.md): app (ios, native) - [klav-cli](https://klav.everdoc.dev/stable/architecture/klav-cli.md): cli (rust), Klav command-line interface (binary `klav`, includes `klav mcp`) - [klav-client](https://klav.everdoc.dev/stable/architecture/klav-client.md): library (rust), Klav client library: account, session, encrypted local cache and sync with rollback detection - [klav-core](https://klav.everdoc.dev/stable/architecture/klav-core.md): library (rust), Klav core: cryptography, item model, references, TOTP and agent policy evaluation - [klav-daemon](https://klav.everdoc.dev/stable/architecture/klav-daemon.md): app (rust), Klav local daemon (`klavd`): unlocked state, Touch ID, native messaging - [klav-ffi](https://klav.everdoc.dev/stable/architecture/klav-ffi.md): adapter (native), Klav client bindings for Swift and Kotlin (uniffi) - [klav-forward](https://klav.everdoc.dev/stable/architecture/klav-forward.md): cli (rust), Klav's sandbox forwarder (ADR 0036 §5, §6): claims a sandbox at the credential proxy over a pinned … - [klav-import](https://klav.everdoc.dev/stable/architecture/klav-import.md): library (rust), Reads exports of other password managers and plans how they merge into a Klav project (ADR 0024) - [klav-proto](https://klav.everdoc.dev/stable/architecture/klav-proto.md): contracts (rust), Klav wire protocol: JSON request and response types shared by the server and its clients - [klav-proxy](https://klav.everdoc.dev/stable/architecture/klav-proxy.md): app (rust), Klav credential proxy (ADR 0036): an agent that puts a granted credential into HTTP requests it bui… - [klav-sdk](https://klav.everdoc.dev/stable/architecture/klav-sdk-2.md): library (rust), Klav SDK for agent runtimes: agent identity, signed requests, grants, and actions that never hand v… - [klav-server](https://klav.everdoc.dev/stable/architecture/klav-server.md): app (rust), Klav sync server (zero-knowledge storage of encrypted vaults) - [klav-touchid](https://klav.everdoc.dev/stable/architecture/klav-touchid.md): library (rust), Touch ID unlock for klavd: a Secure Enclave key through a small Swift shim (macOS) - [klav-wasm](https://klav.everdoc.dev/stable/architecture/klav-wasm.md): adapter (wasm), Klav core compiled to WebAssembly for the browser extension ## Flows - [All flows](https://klav.everdoc.dev/stable/flows.md): 685 step-by-step execution paths with source permalinks - [DaemonEngine.unlock](https://klav.everdoc.dev/stable/flows/rpc-daemonengine-unlock.md): 7 steps, complete - [GET /v1/agents](https://klav.everdoc.dev/stable/flows/http-route-get-v1-agents.md): 7 steps, complete - [klav_wasm.generate](https://klav.everdoc.dev/stable/flows/rpc-klav_wasm-generate.md): 3 steps, complete - [Request.resolve](https://klav.everdoc.dev/stable/flows/rpc-request-resolve.md): 1 steps, complete - [klav unlock](https://klav.everdoc.dev/stable/flows/cli-command-klav-unlock.md): 12 steps, complete - [get_totp](https://klav.everdoc.dev/stable/flows/mcp-tool-get_totp.md): 7 steps, complete - [DaemonEngine.lock](https://klav.everdoc.dev/stable/flows/rpc-daemonengine-lock.md): 5 steps, complete - [DaemonEngine.status](https://klav.everdoc.dev/stable/flows/rpc-daemonengine-status.md): 5 steps, complete - [CodeLink.info](https://klav.everdoc.dev/stable/flows/rpc-codelink-info.md): 2 steps, complete - [KlavCore.lock](https://klav.everdoc.dev/stable/flows/rpc-klavcore-lock.md): 1 steps, complete - [DaemonEngine.sync](https://klav.everdoc.dev/stable/flows/rpc-daemonengine-sync.md): 5 steps, complete - [DaemonEngine.pauseAgents](https://klav.everdoc.dev/stable/flows/rpc-daemonengine-pauseagents.md): 5 steps, complete ## Reference - [CLI](https://klav.everdoc.dev/stable/reference/cli.md): 170 CLI commands with flags and arguments - [Environment variables](https://klav.everdoc.dev/stable/reference/env.md): 63 env vars with required flags and defaults - [RPC CodeLink](https://klav.everdoc.dev/stable/reference/rpc/codelink.md): 2 methods with input/output shapes - [RPC DaemonEngine](https://klav.everdoc.dev/stable/reference/rpc/daemonengine.md): 122 methods with input/output shapes - [RPC ImportSession](https://klav.everdoc.dev/stable/reference/rpc/importsession.md): 3 methods with input/output shapes - [RPC klav_ffi](https://klav.everdoc.dev/stable/reference/rpc/klav_ffi.md): 13 methods with input/output shapes - [RPC klav_wasm](https://klav.everdoc.dev/stable/reference/rpc/klav_wasm.md): 7 methods with input/output shapes - [RPC KlavCore](https://klav.everdoc.dev/stable/reference/rpc/klavcore.md): 104 methods with input/output shapes - [RPC Request](https://klav.everdoc.dev/stable/reference/rpc/request.md): 121 methods with input/output shapes - [HTTP _klav](https://klav.everdoc.dev/stable/reference/http/_klav.md): 10 routes - [HTTP healthz](https://klav.everdoc.dev/stable/reference/http/healthz.md): 1 routes - [HTTP v1-account](https://klav.everdoc.dev/stable/reference/http/v1-account.md): 13 routes - [HTTP v1-agent](https://klav.everdoc.dev/stable/reference/http/v1-agent.md): 24 routes - [HTTP v1-agents](https://klav.everdoc.dev/stable/reference/http/v1-agents.md): 8 routes - [HTTP v1-approvals](https://klav.everdoc.dev/stable/reference/http/v1-approvals.md): 3 routes - [HTTP v1-attest](https://klav.everdoc.dev/stable/reference/http/v1-attest.md): 1 routes - [HTTP v1-audit](https://klav.everdoc.dev/stable/reference/http/v1-audit.md): 4 routes - [HTTP v1-auth](https://klav.everdoc.dev/stable/reference/http/v1-auth.md): 8 routes - [HTTP v1-devices](https://klav.everdoc.dev/stable/reference/http/v1-devices.md): 4 routes - [HTTP v1-enroll](https://klav.everdoc.dev/stable/reference/http/v1-enroll.md): 1 routes - [HTTP v1-events](https://klav.everdoc.dev/stable/reference/http/v1-events.md): 1 routes - [HTTP v1-handoff](https://klav.everdoc.dev/stable/reference/http/v1-handoff.md): 2 routes - [HTTP v1-health](https://klav.everdoc.dev/stable/reference/http/v1-health.md): 1 routes - [HTTP v1-internal](https://klav.everdoc.dev/stable/reference/http/v1-internal.md): 2 routes - [HTTP v1-manifest](https://klav.everdoc.dev/stable/reference/http/v1-manifest.md): 2 routes - [HTTP v1-rotations](https://klav.everdoc.dev/stable/reference/http/v1-rotations.md): 2 routes - [HTTP v1-sandboxes](https://klav.everdoc.dev/stable/reference/http/v1-sandboxes.md): 1 routes - [HTTP v1-secret-requests](https://klav.everdoc.dev/stable/reference/http/v1-secret-requests.md): 3 routes - [HTTP v1-status](https://klav.everdoc.dev/stable/reference/http/v1-status.md): 1 routes - [HTTP v1-sync](https://klav.everdoc.dev/stable/reference/http/v1-sync.md): 1 routes - [HTTP v1-tasks](https://klav.everdoc.dev/stable/reference/http/v1-tasks.md): 5 routes - [HTTP v1-vaults](https://klav.everdoc.dev/stable/reference/http/v1-vaults.md): 31 routes - [IPC](https://klav.everdoc.dev/stable/reference/ipc.md): 0 IPC channels - [MCP](https://klav.everdoc.dev/stable/reference/mcp.md): 24 MCP tools, 0 MCP resources, 0 MCP prompts - [UI routes](https://klav.everdoc.dev/stable/reference/routes.md): 0 UI routes - [Changes](https://klav.everdoc.dev/stable/changes.md): releases and commits since the previous release - [Coverage](https://klav.everdoc.dev/stable/about/coverage.md): extraction coverage and documentation drift ## Insights and rules - [Insights](https://klav.everdoc.dev/stable/insights.md): bug hotspots, co-change pairs, orphan contracts, layer violations, and a suggested reading order (from the IR and git history) - [Suggested rules](https://klav.everdoc.dev/stable/rules.md): 22 evidence-backed engineering rules (boundaries, contracts, co-change, hotspots, docs hygiene) - [SKILL.md](https://klav.everdoc.dev/stable/skill.md): the rules as an Agent Skill with YAML frontmatter, ready to drop into `.claude/skills/` or `AGENTS.md` ## Compare - [stable → main](https://klav.everdoc.dev/compare/stable...main.md): +33 RPCs · +5 HTTP routes · +4 CLI commands · +16 schemas · 13 features · 7 fixes ## MCP - [MCP endpoint](https://klav.everdoc.dev/mcp): Streamable HTTP (stateless, JSON responses). Tools: search, get_entity, list_entities, find_usages, get_flow, diff_channels, get_architecture, get_doc, get_hotspots, get_rules, get_impact. Resources: `docs://{channel}/{path}` serves every Markdown page. - [MCP for stable](https://klav.everdoc.dev/stable/mcp): same tools, defaulting to the `stable` channel - [MCP for main](https://klav.everdoc.dev/main/mcp): same tools, defaulting to the `main` channel ## Optional - [Full dump: stable](https://klav.everdoc.dev/stable/llms-full.txt): the whole stable snapshot as one Markdown file - [Full dump: main](https://klav.everdoc.dev/main/llms-full.txt): the whole main snapshot as one Markdown file - [Snapshot JSON: stable](https://klav.everdoc.dev/stable/snapshot.json): canonical Everdoc IR - [Snapshot JSON: main](https://klav.everdoc.dev/main/snapshot.json): canonical Everdoc IR