TL;DR
- Kraken CLI is an open-source, single-binary execution engine constructed by Kraken that provides AI brokers and builders direct, native entry to crypto markets — supporting spot buying and selling, futures, staking, subaccount transfers, and WebSocket streaming throughout 134 instructions, all through a zero-dependency Rust binary with clear NDJSON output designed for machine consumption.
- Kraken CLI features a built-in MCP (Mannequin Context Protocol) server, making it the primary crypto change CLI natively appropriate with agentic coding instruments like Claude Code, Codex, and Cursor, in addition to terminal-native agent environments like OpenCode and OpenClaw — enabling AI brokers to immediately perceive and execute change operations with out customized API wrappers, nonce administration, or HMAC signing.
- Kraken CLI ships with an area paper buying and selling engine that lets AI brokers safely take a look at buying and selling logic in opposition to stay market knowledge with no monetary danger — operating an area state engine that tracks simulated balances, executes restrict and market orders in opposition to the stay ticker, and calculates unrealized P&L solely offline.
Constructed for the way in which AI brokers truly work
To speed up this transition to an agentic future, we’re thrilled to open-source the Kraken CLI: a strong, single-binary execution engine purpose-built to present AI fashions (and builders) protected, native, and prompt entry to crypto markets.
Whether or not you’re an algorithmic dealer, a terminal energy consumer, or a developer constructing LLM-powered monetary instruments, the Kraken CLI bridges the hole between uncooked AI intelligence and stay market execution.
Why we constructed it: shifting past uncooked APIs
APIs are designed for methods. However once you ask an AI agent to work together with a uncooked crypto change API, it struggles. It has to jot down customized Python scripts, handle cryptographic nonces, deal with advanced HMAC-SHA512 payload signing, and construct its personal retry logic for price limits.
This course of is very error-prone and burns by means of worthwhile context window tokens.
We constructed the Kraken CLI to summary away the boilerplate. Written solely in Rust, it’s a zero-dependency binary that handles the infrastructure of change connectivity for you, permitting you (and your brokers) to focus purely on buying and selling logic.
Key options for builders
Right here’s what’s underneath the hood:
Constructed-in MCP server
The CLI contains native assist for the Mannequin Context Protocol (MCP). By merely operating kraken mcp, the CLI transforms right into a safe, self-describing plugin for agentic coding instruments like Claude Code, Codex, and Cursor, in addition to terminal-native environments like OpenCode and OpenClaw. Your AI agent immediately understands the schemas for all 134 out there instructions.
Native paper buying and selling engine
Safely take a look at your agent’s buying and selling logic in opposition to stay market knowledge with out risking a cent. The Kraken paper suite runs an area state engine that tracks simulated balances, executes restrict/market orders in opposition to the stay public ticker, and calculates unrealized P&L offline.
Common shell compatibility
In case your agent doesn’t assist MCP, it could merely use the terminal. The CLI ensures clear, machine-readable NDJSON output (-o json) throughout all instructions, making it extremely straightforward to pipe knowledge into jq or feed it instantly again into an LLM’s context window.
Full change floor space
This isn’t only a fundamental value ticker. The CLI helps spot buying and selling, futures buying and selling, staking/earn allocations, subaccount transfers, and even WebSocket streaming.
Enterprise-grade resilience
Constructed-in spot counter/decay and futures token-bucket price limiting guarantee your automated workflows don’t crash when hitting change limits.
One-line set up
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/newest/obtain/kraken-cli-installer.sh | sh
The longer term is agentic
The Kraken CLI is the place the trade is heading: a world the place AI brokers are first-class contributors in monetary markets, not an afterthought bolted onto legacy infrastructure. By open-sourcing this device, we’re inviting builders, algorithmic merchants, and AI builders to assist form what that future seems like – and to start out constructing it immediately.
Take a look at the complete documentation, supply code, and agent immediate examples on GitHub:
Buying and selling derivatives and different monetary devices, together with leveraged monetary devices, includes vital dangers and isn’t acceptable for all buyers. See our Threat Disclosure to study extra. Geographic restrictions apply.

