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 suitable 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 a neighborhood paper buying and selling engine that lets AI brokers safely take a look at buying and selling logic towards dwell market information with no monetary danger — working a neighborhood state engine that tracks simulated balances, executes restrict and market orders towards the dwell ticker, and calculates unrealized P&L solely offline.
Constructed for the best way 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 offer AI fashions (and builders) secure, native, and prompt entry to crypto markets.
Whether or not you’re an algorithmic dealer, a terminal energy person, or a developer constructing LLM-powered monetary instruments, the Kraken CLI bridges the hole between uncooked AI intelligence and dwell market execution.
Why we constructed it: shifting past uncooked APIs
APIs are designed for programs. However once you ask an AI agent to work together with a uncooked crypto change API, it struggles. It has to write down customized Python scripts, handle cryptographic nonces, deal with complicated HMAC-SHA512 payload signing, and construct its personal retry logic for fee limits.
This course of is extremely error-prone and burns by means of invaluable 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 below the hood:
Constructed-in MCP server
The CLI consists of native assist for the Mannequin Context Protocol (MCP). By merely working 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 obtainable instructions.
Native paper buying and selling engine
Safely take a look at your agent’s buying and selling logic towards dwell market information with out risking a cent. The Kraken paper suite runs a neighborhood state engine that tracks simulated balances, executes restrict/market orders towards the dwell public ticker, and calculates unrealized P&L offline.
Common shell compatibility
In case your agent doesn’t assist MCP, it may possibly merely use the terminal. The CLI ensures clear, machine-readable NDJSON output (-o json) throughout all instructions, making it extremely simple to pipe information into jq or feed it immediately again into an LLM’s context window.
Full change floor space
This isn’t only a primary worth 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 fee 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 long run 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 software, we’re inviting builders, algorithmic merchants, and AI builders to assist form what that future seems like – and to begin constructing it immediately.
Try the complete documentation, supply code, and agent immediate examples on GitHub:
Buying and selling derivatives and different monetary devices, together with leveraged monetary devices, entails vital dangers and isn’t applicable for all traders. See our Danger Disclosure to be taught extra. Geographic restrictions apply.
