Skip to main content

Installation

Requirements: Node.js 20+

Quick start

Keypair

Agent (high-level)

Create

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

Lifecycle

Client (low-level)

Direct access to all REST API endpoints.

Error handling

The SDK throws typed errors that map to HTTP status codes:

Dependencies