Developers

bleib is open source and in development. The wallet works today; this page shows how it fits together, so you can try it and tell us what you need.

View on GitHub

A local door over MCP

bleib runs a local Model Context Protocol server, over stdio and over Streamable HTTP bound to 127.0.0.1. Agents call bleib_status first, then bleib_context_request with a purpose and the kinds of information they need. When permission is missing they get an approval_required state with a link for the person, never a bare error.

Each agent is paired once with a short-lived code and gets its own credential. Agents can never unlock the wallet or approve their own access.

Open formats

  • Memory is Markdown with frontmatter, compatible with OpenClaw and Hermes workspace files.
  • Permissions and logs follow the Human Context Protocol, with destination and exact-content receipts added.
  • Receipts align with ISO/IEC TS 27560 and the W3C Data Privacy Vocabulary.
  • Files are encrypted with age; keys come from your passphrase and never leave your device.

Built on

bleib stands on open work by others. Thank you.

Model Context Protocol
How agents connect to the wallet.
OpenClaw
The workspace memory format bleib reads and writes.
Hermes Agent
By Nous Research; uses the same workspace format.
Human Context Protocol
By Loyal Agents (Stanford Digital Economy Lab and Consumer Reports); the model for permissions and logs.
ISO/IEC TS 27560
The structure of consent records.
W3C Data Privacy Vocabulary
The kinds of personal information.
OSAP consent receipts
IETF draft; the receipt export.
Memory Projection Record
IETF draft; a fingerprint of exactly what was released.
age
By Filippo Valsorda; encrypts your files.

Try it

Node 20 or newer, on Linux or macOS. Install from npm, then follow the setup guide for your AI app.

npm install --global @bleib/wallet
bleib init
bleib pair 'Claude Code' --destination provider:Anthropic
bleib serve

Licence

The bleib app
AGPL-3.0-or-later
File format, spec and SDK
Apache-2.0

The app stays open: anyone who runs a changed version as a service must share their changes. The format and SDK are permissive, so any AI app can integrate bleib freely.

Get involved

The code is on GitHub at github.com/rouxdutoit/bleib. Open an issue, send a pull request, or write to hello@rouxdutoit.com. Please report security issues by email, not in public.