Prime Broker · AI Agent Infrastructure · X Layer

The execution layer
for AI agents
that trade.

AlphaLoop handles everything external agents can't — risk management, position sizing, ML validation, and live Uniswap V3 execution on X Layer. Pay once via x402. Get back a signed trade receipt.

BTC / USD
loading...
ETH / USD
loading...
SOL / USD
loading...
OKB / USD
loading...
BROKER WALLET
0xdec7...Ec7
Chain ID 196

Four agents.
One pipeline.

Every trade request routes through all four agents automatically. Each agent earns a cut of the x402 fee — onchain, every time.

AGENT 01
Scout Agent
Generates real-time directional signals for any crypto asset using RSI, VWAP, Bollinger Bands, momentum, and order book pressure.
Earns$0.000000
60% of signal fee
AGENT 02
Risk Agent
Kelly Criterion position sizing, portfolio heat tracking, dynamic ATR-based stop loss and take profit. Blocks any trade that violates risk parameters.
Earns$0.000000
30% of execution fee
AGENT 03
Learning Agent
Online ML model that learns from every trade outcome. Reweights signal indicators based on historical win rates. Gets smarter every cycle.
Earns$0.000000
25% of full broker fee
AGENT 04
Execution Agent
Executes real Uniswap V3 swaps on X Layer mainnet. Handles approvals, deadlines, and slippage. Returns a verifiable on-chain tx receipt.
Earns$0.000000
40% of execution fee

Real-time performance.

Total Trades
0
Win Rate
Total PnL
$0.00
Best Sharpe
Portfolio Value
$0.00
Agent Earnings
$0.000000
#
Strategy
Win Rate
Sharpe
PnL
Allocation
1
Aggressive
33.3%
2
Balanced
33.3%
3
Conservative
33.4%
Waiting for first trade signal... agent is scanning markets.

Your agent delegates.
AlphaLoop executes.

External agents don't need to know about Kelly Criterion, Uniswap ABIs, or slippage math. They just pay and delegate.

01

Agent sends x402 payment

Any AI agent sends USDT0 to the broker wallet on X Layer. No accounts, no API keys, no OAuth. Just an on-chain payment.

→ x402 PROTOCOL · X LAYER MAINNET · CHAIN ID 196
02

Scout Agent generates signal

Real-time analysis across 5 indicators for any crypto asset. RSI, VWAP, Bollinger Bands, momentum, and live order book pressure.

→ CRYPTOCOMPARE + KRAKEN FEEDS · ANY ASSET
03

Risk Agent validates and sizes

Kelly Criterion determines optimal position size. Portfolio heat check prevents overexposure. Dynamic SL/TP set from ATR proxy.

→ KELLY CRITERION · PORTFOLIO HEAT · DYNAMIC SL/TP
04

Learning Agent approves

Online ML model trained on every previous trade outcome. Blends base confidence with learned win probability. Improves every cycle.

→ SGDCLASSIFIER · ONLINE LEARNING · AUTO-RETRAINING
05

Execution Agent swaps on Uniswap V3

Real swap on Uniswap V3 on X Layer. OKB for gas, USDT0 for trading. Returns tx hash and OKLink explorer link.

→ UNISWAP V3 · X LAYER · OKLINK VERIFIED
06

Fee split to all agents onchain

Each agent earns a fraction of every fee automatically. The agent economy loop running on X Layer mainnet.

→ AGENT ECONOMY LOOP · x402 SPLITS · TRANSPARENT

Connect in minutes.

⬡  Broker wallet: 0xdec754869Aa921661676e5FfB8589556cBDF3Ec7  ·  Chain ID: 196  ·  Token: USDT0
# Any AI agent — Python example import requests # Step 1: pay $0.10 USDT0 to broker wallet on X Layer tx_hash = send_usdt0("0xdec754869Aa921661676e5FfB8589556cBDF3Ec7", 0.10) # Step 2: delegate full execution to AlphaLoop res = requests.post("https://alphaloop.duckdns.org/broker", json={ "asset": "ETH", "agent_id": "your-agent-id", "tx_hash": tx_hash }) # {"status":"success","tx_hash":"0x...","explorer":"https://..."} print(res.json())

View Full API Docs →

AlphaLoop API Docs

Base URL: https://alphaloop.duckdns.org  ·  All payments in USDT0 on X Layer (Chain ID 196)

⬡  Broker wallet: 0xdec754869Aa921661676e5FfB8589556cBDF3Ec7  ·  Send payment → get tx_hash → include in request body
GET /preview/{asset} FREE

Returns live price and confidence score for any crypto asset. Direction is locked behind payment.

GET /preview/BTC GET /preview/ETH GET /preview/SOL // Response { "asset": "BTC", "price": 71477.46, "confidence": 67.2, "direction": "*** PAY $0.01 USDT0 TO UNLOCK ***", "payment_address": "0xdec754869Aa921661676e5FfB8589556cBDF3Ec7", "chain_id": 196 }
POST /signal $0.01 USDT0

Full directional signal from Scout Agent. Returns direction, RSI, momentum, VWAP, and tradeable flag.

ParameterTypeRequiredDescription
assetstringyesAny crypto ticker e.g. BTC, ETH, SOL
tx_hashstringyesUSDT0 payment tx hash on X Layer
// Response { "asset": "BTC", "price": 71477.46, "direction": "UP", "confidence": 67.2, "rsi": 58.3, "momentum": 0.12, "tradeable": true, "agent_earnings": { "scout": 0.006, "risk": 0.004 } }
POST /validate $0.02 USDT0

Submit your own signal for Risk Agent validation. Returns Kelly Criterion position size, stop loss, and take profit levels.

ParameterTypeRequiredDescription
assetstringyesCrypto ticker
directionstringyesUP or DOWN
confidencefloatyes0–100 confidence score
tx_hashstringyesPayment tx hash
// Response { "approved": true, "suggested_size_usdt": 1.25, "stop_loss_pct": 1.2, "take_profit_pct": 2.4, "agent_earnings": { "risk": 0.014, "learning": 0.006 } }
POST /execute $0.05 USDT0

Execute a swap on Uniswap V3 on X Layer. Risk Agent validates, Learning Agent approves, Execution Agent swaps.

ParameterTypeRequiredDescription
assetstringyesCrypto ticker
directionstringyesUP or DOWN
amount_usdtfloatyesTrade size in USDT0
agent_idstringyesYour agent identifier
tx_hashstringyesPayment tx hash
// Response { "status": "success", "tx_hash": "0xabc123...", "explorer": "https://www.oklink.com/xlayer/tx/0xabc123", "asset": "ETH", "direction": "UP", "size_usdt": 1.25 }
POST /broker $0.10 USDT0

Full pipeline. AlphaLoop generates the signal, validates, approves, and executes — all autonomously. Maximum automation for external agents.

ParameterTypeRequiredDescription
assetstringyesCrypto ticker
agent_idstringyesYour agent identifier
tx_hashstringyesPayment tx hash
GET /agents FREE

Live agent status, earnings, and roles.

GET /status FREE

Broker status, portfolio value, performance stats, strategy leaderboard, and agent earnings.

Agent Status

Four autonomous agents running on X Layer mainnet. Each earns a share of every x402 fee processed through AlphaLoop.

Scout Agent
Signal generation · Any crypto asset
$0.000000
TOTAL EARNED
● ACTIVE
Risk Agent
Kelly sizing · Portfolio heat · SL/TP
$0.000000
TOTAL EARNED
● ACTIVE
Learning Agent
Online ML · SGDClassifier · Auto-retrain
$0.000000
TOTAL EARNED
● ACTIVE
Execution Agent
Uniswap V3 · X Layer · OKLink verified
$0.000000
TOTAL EARNED
● ACTIVE
⬡  Wallet: 0xdec754869Aa921661676e5FfB8589556cBDF3Ec7  ·  Chain: X Layer (196)  ·  DEX: Uniswap V3
#
Strategy
Win Rate
Sharpe
PnL
Allocation
1
Aggressive
33.3%
2
Balanced
33.3%
3
Conservative
33.4%
No trades yet. Fund the broker wallet to begin.