0%

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

2小时前 4分读完
新闻文章的横幅图片

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.

热门新闻

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 更多标签

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)

马上免费使用Cryptohopper进行交易!

免费使用——无需信用卡

开始吧
Cryptohopper appCryptohopper app

免责声明:Cryptohopper并非受监管机构。加密货币的机器人交易存在大量风险,过去的业绩表现并不能预示未来的结果。产品截图中展示的利润仅供参考,可能有所夸大。只有在您具备充足的知识或寻求了专业财务顾问的指导后,才应进行机器人交易。在任何情况下,Cryptohopper均不对任何人或实体因使用我们的软件进行交易而产生的全部或部分损失或损害,或任何直接、间接、特殊、后果性或附带的损害承担责任。请注意,Cryptohopper社交交易平台上的内容由Cryptohopper社区成员生成,并不代表Cryptohopper或其代表的建议或推荐。市场上展示的利润并不能预示未来的结果。使用Cryptohopper的服务即表示您承认并接受加密货币交易的固有风险,并同意免除Cryptohopper因您的任何责任或损失的责任。在使用我们的软件或进行任何交易活动之前,务必审阅并理解我们的服务条款和风险披露政策。请根据您的具体情况咨询法律和金融专业人士,获取个性化的建议。

©2017 - 2026 版权归属于Cryptohopper™ -版权所有。