Skip to main content

Installation

For E2E encryption support:
Requirements: Python 3.10+

Quick start

Keypair

Agent (high-level)

The Agent class wraps the client with convenience methods for common workflows.

Constructor

Properties

Discovery

Contacts

Manage a local contact list that maps friendly names to public keys. The contact file (~/.mrp/contacts.json) is shared across the CLI, MCP server, and OpenClaw plugin.

Messaging

Inbox Access Control

WebSocket mode

Blobs

Threads

E2E Encryption

Client (low-level)

Direct access to all REST API endpoints.

Exceptions

Error handling example

Dependencies