0%

Announcing the Kraken CLI: the best crypto trading tool built for AI agents

1 hour ago 4 min read
News Article Banner Image

Whether you’re an algorithmic trader, a terminal power user, or a developer building LLM-powered financial tools, the Kraken CLI bridges the gap between raw AI intelligence and live market execution.

Why we built it: moving beyond raw APIs

APIs are designed for systems. But when you ask an AI agent to interact with a raw crypto exchange API, it struggles. It has to write custom Python scripts, manage cryptographic nonces, handle complex HMAC-SHA512 payload signing, and build its own retry logic for rate limits.

This process is highly error-prone and burns through valuable context window tokens.

We built the Kraken CLI to abstract away the boilerplate. Written entirely in Rust, it is a zero-dependency binary that handles the infrastructure of exchange connectivity for you, allowing you (and your agents) to focus purely on trading logic.

Key features for developers

Here’s what’s under the hood:

Built-in MCP server

The CLI includes native support for the Model Context Protocol (MCP). By simply running kraken mcp, the CLI transforms into a secure, self-describing plugin for agentic coding tools like Claude Code, Codex, and Cursor, as well as terminal-native environments like OpenCode and OpenClaw. Your AI agent instantly understands the schemas for all 134 available commands.

Local paper trading engine

Safely test your agent’s trading logic against live market data without risking a cent. The Kraken paper suite runs a local state engine that tracks simulated balances, executes limit/market orders against the live public ticker, and calculates unrealized P&L offline.

Universal shell compatibility

If your agent doesn’t support MCP, it can simply use the terminal. The CLI guarantees clean, machine-readable NDJSON output (-o json) across all commands, making it incredibly easy to pipe data into jq or feed it directly back into an LLM’s context window.

Full exchange surface area

This isn’t just a basic price ticker. The CLI supports spot trading, futures trading, staking/earn allocations, subaccount transfers, and even WebSocket streaming.

Enterprise-grade resilience

Built-in spot counter/decay and futures token-bucket rate limiting ensure your automated workflows don’t crash when hitting exchange limits.

One-line installation

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh | sh

The future is agentic

The Kraken CLI is where the industry is heading: a world where AI agents are first-class participants in financial markets, not an afterthought bolted onto legacy infrastructure. By open-sourcing this tool, we’re inviting developers, algorithmic traders, and AI builders to help shape what that future looks like – and to start building it today.

Check out the full documentation, source code, and agent prompt examples on GitHub:

View our GitHub repository

Trading derivatives and other financial instruments, including leveraged financial instruments, involves significant risks and is not appropriate for all investors. See our Risk Disclosure to learn more. Geographic restrictions apply.

The post appeared first on Kraken Blog.

Popular news

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 more tags

How to Set Up and Use Trust Wallet for Binance Smart Chain

Your Essential Guide To Binance Leveraged Tokens

Your Essential Guide To Binance Leveraged Tokens

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)
#Subscriptions

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)

What is Grid Trading? (A Crypto-Futures Guide)

What is Grid Trading? (A Crypto-Futures Guide)

Start trading with Cryptohopper for free!

Free to use - no credit card required

Let's get started
Cryptohopper appCryptohopper app

Disclaimer: Cryptohopper is not a regulated entity. Cryptocurrency bot trading involves substantial risks, and past performance is not indicative of future results. The profits shown in product screenshots are for illustrative purposes and may be exaggerated. Only engage in bot trading if you possess sufficient knowledge or seek guidance from a qualified financial advisor. Under no circumstances shall Cryptohopper accept any liability to any person or entity for (a) any loss or damage, in whole or in part, caused by, arising out of, or in connection with transactions involving our software or (b) any direct, indirect, special, consequential, or incidental damages. Please note that the content available on the Cryptohopper social trading platform is generated by members of the Cryptohopper community and does not constitute advice or recommendations from Cryptohopper or on its behalf. Profits shown on the Markteplace are not indicative of future results. By using Cryptohopper's services, you acknowledge and accept the inherent risks involved in cryptocurrency trading and agree to hold Cryptohopper harmless from any liabilities or losses incurred. It is essential to review and understand our Terms of Service and Risk Disclosure Policy before using our software or engaging in any trading activities. Please consult legal and financial professionals for personalized advice based on your specific circumstances.

©2017 - 2026 Copyright by Cryptohopper™ - All rights reserved.