# keypaste

> Open-source KeePass-based secrets manager where AI coding agents request one field at a time, with user approval and hash-chained logging.

keypaste is an open-source password and secrets manager built on a KeePass (KDBX) file the user owns. AI agents such as Claude Code request a single field of a single item, and the user allows or denies each request. Version 1.0.0 is available for Windows, macOS and Linux, with a CLI and browser extensions.

## What It Is

keypaste keeps passwords, API keys and project values in a local KDBX 4 file that KeePassXC can also open. Local use needs no account, and the project states the vault is not stored in any cloud. A desktop app holds the vault, while a bridge that holds no vault relays agent requests to it.

## How an agent request works

The agent names the item and field and gives a reason. keypaste shows a prompt with the agent's name, the item, the field and the reason in the agent's own words. The user chooses Allow once, Deny or Always allow. Each kind of value can also be preset to Ask, Allow or Block, and passkeys are always blocked. Unanswered prompts expire after 45 seconds and release nothing.

The answer is written to a hash-chained activity log before the value is released, and a value whose log line cannot be written is not released. The site describes the log as tamper-evident, not tamper-proof. A value that is allowed goes to the AI tool and its model provider, and locking stops only future releases.

## Projects, browser fill and sharing

`keypaste run` gives a command a project's values from the vault without writing a .env file, and `.env.keypaste` files hold `kp://` references that are safe to commit. A stage named prod is asked live every time. The browser extension for Chrome, Edge and Firefox fills the login you pick. Share links send an item, encrypted before upload, into another person's keypaste app.

## Connecting AI tools

`keypaste setup` connects Claude Code and Codex and prints configuration for Cursor and Claude Desktop. The 1.0 app also sets up Gemini CLI, Devin and VS Code.

## Features
- One field per agent request with approval prompt
- Allow once, Deny or Always allow answers
- Per-value-type Ask, Allow or Block rules
- Hash-chained tamper-evident audit log
- Logging before value release
- KeePass KDBX 4 vault compatible with KeePassXC
- keypaste run and kp:// references replacing .env files
- Prod stages always asked live
- Browser extension fill for Chrome, Edge and Firefox
- Encrypted share links into another keypaste vault
- CLI with setup, approve, hook, token and share commands
- Scoped tokens for CI
- Auto-lock after idle time

## Integrations
Claude Code, Codex, Cursor, Claude Desktop, Gemini CLI, Devin, VS Code, KeePassXC, Chrome, Firefox, Edge, MCP

## Platforms
WINDOWS, MACOS, LINUX, WEB, API, BROWSER_EXTENSION, VSC_EXTENSION, CLI

## Pricing
Open Source

## Version
1.0.0

## Links
- Website: https://keypaste.com
- Documentation: https://keypaste.com/developers
- Repository: https://github.com/notinferred/keypaste
- EveryDev.ai: https://www.everydev.ai/tools/keypaste
