Krexa Docs

A typical run

From an idea to a live agent, step by step.

Decode

Call krexa_decode_strategy with a post link or plain text. Keep the decodeId.

Test

krexa_backtest for a fast first look. Then krexa_deep_backtest_start, and krexa_job_get until it is done.

Paper

krexa_paper_start runs the rule on live prices with pretend money. Read it with krexa_paper_status.

Ask to deploy

krexa_deploy_request with limits. Give the person the approvalUrl. venue is solana, hyperliquid, jupiter-perps, polymarket-perps, polymarket, or an exchange perps venue in the person's own account: binance-perps, bybit-perps, okx-perps, kraken-perps or coinbase-perps. Perps also take maxLeverage in limits (default 2). For an exchange, never ask for its API key: if the answer says exchangeKey: "missing", send the person to the nextStep link first. Exchange perps need a deep backtest on that same exchange.

{
  "decodeId": "<decodeId>",
  "venue": "solana",
  "limits": {
    "maxTradeUsdc": 50,
    "dailyBudgetUsdc": 200,
    "maxDailyLossUsd": 40
  }
}

Wait for approval

krexa_deploy_status until it says live, rejected or expired.