HomeSample Page

Sample Page Title


TL;DR

  • Kraken CLI is an open-source, single-binary execution engine constructed by Kraken that offers 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 by way of 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 alternate 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 alternate 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 check buying and selling logic towards reside market knowledge with no monetary danger — operating an area state engine that tracks simulated balances, executes restrict and market orders towards the reside ticker, and calculates unrealized P&L fully 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 robust, single-binary execution engine purpose-built to offer AI fashions (and builders) protected, native, and on the spot 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 reside market execution.

Why we constructed it: shifting past uncooked APIs

APIs are designed for techniques. However while you ask an AI agent to work together with a uncooked crypto alternate API, it struggles. It has to write down customized Python scripts, handle cryptographic nonces, deal with advanced HMAC-SHA512 payload signing, and construct its personal retry logic for charge limits.

This course of is very error-prone and burns via beneficial context window tokens.

We constructed the Kraken CLI to summary away the boilerplate. Written fully in Rust, it’s a zero-dependency binary that handles the infrastructure of alternate 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 beneath 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 accessible instructions.

Native paper buying and selling engine

Safely check your agent’s buying and selling logic towards reside market knowledge with out risking a cent. The Kraken paper suite runs an area state engine that tracks simulated balances, executes restrict/market orders towards the reside public ticker, and calculates unrealized P&L offline.

Common shell compatibility

In case your agent doesn’t assist MCP, it may well 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 alternate 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 charge limiting guarantee your automated workflows don’t crash when hitting alternate 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 members 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 appears to be like like – and to start out constructing it at the moment.

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, includes vital dangers and isn’t applicable for all buyers. See our Threat Disclosure to study extra. Geographic restrictions apply.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles