Mishmar is a risk management layer designed for trading bots and AI agents. Its core goal is to enable users to safely authorize trading accounts to automated programs while maintaining strict control over fund operations.
Purpose
Mishmar addresses the risk problem caused by AI agents or trading bots directly holding exchange keys. With Mishmar, users can connect an exchange account once and then decide which agent can view that account, which can trade, and the limits that trades must comply with. Every read and order is recorded.
Key capabilities
- Pre-order rule checks: Every order is checked against user-defined limits before reaching the exchange.
- Human approval for large orders: Orders exceeding the configured threshold are held pending human approval.
- Key separation: No single key can complete a trade independently. For supported exchanges, a two-party signing scheme (such as FROST or two-party ECDSA) is used: the engine holds one part of the key and the agent's signer holds the other part, and the exchange request is signed only when both parties sign together.
- Fine-grained permissions: Read-only agents (permission: read) can be created; such agents have only a Mishmar API key and no signer or trading key, and the engine will reject their trade proposals.
- Full audit: Every read and order decision is recorded, and decisions are signed by the engine and verifiable.
- Multi-platform support: Currently supports Hyperliquid and Binance USDⓈ-M futures, and can run with real funds or on testnet.
Usage
Mishmar offers multiple integration methods:
- SDK integration: Python and TypeScript SDKs are provided. The SDK can run the signer as a subprocess, so the bot itself holds no keys. Orders are submitted as intents, and the subprocess converts them into signed proposals and sends them to the engine.
- CLI tool: Provides the
mishmarcommand-line tool, which can be used to propose, read account information, run the signer, and more. - MCP server: The
mishmar mcpcommand provides a stdio-based MCP server through which language models can obtain tools to propose orders, cancel orders, track pending approval decisions, read positions, P&L, approval records, exchange rules, and more. The model never sees keys, and all order proposals go through engine rule checks. - Read-only AI applications: For AI applications that only need to read account information (such as Claude or Cursor), no installation or keys are required; simply provide the address
https://mcp.mishmar.ioand approve the content it can read in Mishmar.
Use cases
- Use AI agents or trading bots for automated trading while retaining risk controls.
- Allow multiple agents to share the same trading account, each with different permissions and limits.
- Require complete auditing and compliance records of trading activity.
- Allow language models to participate in trading decisions via the MCP protocol without exposing keys.
Limitations
- Currently only Hyperliquid and Binance USDⓈ-M futures are supported.
- The two-party ECDSA signing scheme relies on Coinbase's cb-mpc library and requires a C++ build environment.
- The signer supports Linux and macOS; on Windows it must run via WSL or Docker.
- The core engine for executing rules is a private repository; this project only includes client-side code.
- Some features (such as RSA and proxying) have not yet been built.
- Specific pricing information is not yet available.