Expand description
Svault — an AI-aware secret access layer.
The crate is organized into a reusable core and a set of frontends that
drive it:
core— crypto, vault storage, the policy engine, the AI judge, and supporting primitives. Frontend-agnostic.daemon— the Unix unlock daemon and its client.tui— the interactive terminal UI.cli— thesvaultcommand-line interface (entry point:cli::run).mcp— the local Model Context Protocol server (svault mcp), a stdio JSON-RPC frontend that exposes gated secret access to AI agents.gui— placeholder for a future graphical frontend.
The svault binary (main) is a thin wrapper over
cli::run. Each frontend reuses core without touching the others.
Note: the core module deliberately shadows the std core crate; the
source uses std throughout, so this is safe. Reach the std crate with
::core if ever needed.
Modules§
- cli
- CLI frontend — the
svaultcommand-line interface. - core
- Core layer — the reusable, frontend-agnostic heart of Svault.
- daemon
- Background unlock daemon (Unix only).
- gui
- GUI frontend — placeholder.
- mcp
- MCP frontend — a local Model Context Protocol server (
svault mcp). - tui
- Interactive terminal UI (Ratatui) — launched when
svaultis run with no subcommand. Covers the full Step 1 workflow without leaving the keyboard: list vaults, create, lock/unlock, edit settings, and add/view/delete secrets.