Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
nofx is a widely-adopted Go project in the AI payments / x402 ecosystem, focused on agentictrading, ai, ai-trading, arbitrage. It currently has 12,595 GitHub stars and 3,016 forks, and sits alongside related tools like CloddsBot, AIephant-AI-Agent-Gateway, sperax-crypto-mcp, dna-x402, crypto-quant-signal-mcp, stronghold.
nofx is the most-starred project in the directory — an AI trading terminal covering US stocks, commodities, forex and crypto, written in Go. Its topic footprint (exchanges, perp DEXs, arbitrage) shows the ambition: one assistant across both traditional and on-chain venues.
Why it matters for agent payments specifically: trading agents are the most demanding payment customers — they earn and spend autonomously at machine speed, which is exactly the pattern x402 and agentic-commerce rails are built for. nofx is a reference for what a financially autonomous agent looks like in production, and a natural integration target for agent-payment infrastructure.
Best for: teams building trading or DeFi agents who want a battle-tested terminal to study or extend.
Backed by vergex.trade
English · 中文 · 日本語 · 한국어 · Русский · Українська · Tiếng Việt
NOFX is an open-source trading terminal where the strategy is a language model. Each trader runs a continuous loop — read market structure, decide, execute, record the reasoning — while a Go runtime clamps every order to hard risk limits the model cannot override.
Traders compose freely: any model, any of nine exchanges, any strategy. Run several side by side and compare them on a public leaderboard by realized return. Everything runs on your own machine; exchange credentials are encrypted at rest and never leave it.
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
The terminal opens at http://127.0.0.1:3000.
First run
NOFX is free and open source. Opening an account through the partner links below carries reduced trading fees and funds continued development.
| Exchange | Status | Register with fee discount |
|---|---|---|
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register |
https://github.com/user-attachments/assets/3310f495-14c5-4586-a1cc-3d32e44aa505
Decisions come from a language model reading the Claw402.ai · Vergex data stack: a live signal board that ranks every market with directional bias and signal strength, per-symbol Signal Lab deep signals, cost-basis and liquidation heatmaps that show where the crowd's fuel and walls sit, and real-time market net flow — cross-checked against raw candles and the trader's own live track record. Execution does not.
Every order passes through limits enforced in code, outside the model's reach:
| Position limits | Max concurrent positions, notional capped as a ratio of equity, one position per symbol |
| Leverage clamps | Hard caps applied at order-sizing time, independent of what the model requests |
| Exchange-side protection | Stop-loss and take-profit placed on the exchange immediately after every entry |
| Drawdown auto-close | Profitable positions that give back too much from their peak are closed |
| Trade throttling | Minimum hold times, per-symbol re-entry cooldowns, per-cycle and per-hour entry limits |
| Safe mode | Repeated model failures block new entries until the model recovers |
| Launch preflight | Model access, wallet funds, strategy, and exchange balances verified before a trader may start |
Each decision is stored with the model's full reasoning. There is no position without a paper trail.
| Autopilot | Guided launch: fund, connect, deposit, start — with server-side preflight throughout |
| Strategy Studio | Style presets, coin universes, indicators, leverage, entry confidence, custom prompts |
| Competition | Public leaderboard ranked by realized return, each entry attributed to its model |
| Dashboard | Live positions, orders, statistics, and the reasoning behind every decision |
| Overview | Market Chart |
|---|---|
![]() |
![]() |
| Trading Stats | Position History |
|---|---|
![]() |
![]() |
| Strategy Editor | Indicators Config |
|---|---|
![]() |
![]() |
| Competition | Configuration |
|---|---|
![]() |
![]() |
Eight providers with your own keys — DeepSeek, OpenAI, Claude, Qwen, Gemini, Grok, Kimi, MiniMax — including custom endpoints and model names.
Or no keys at all: Claw402 meters model usage per call in USDC over the x402 protocol. A wallet on Base replaces every API key.
| Provider | Access |
|---|---|
| Claw402 | Pay-as-you-go AI models with official discount |
Crypto perpetuals on all nine exchanges. On Hyperliquid, the same runtime also trades tokenized US equities, commodities, indices, FX, and pre-IPO perps — TSLA, NVDA, GOLD, SPX, EUR, OPENAI — alongside crypto.
┌─────────────────────────────────────────────────┐
│ Trading Terminal │
│ React · TypeScript · TradingView │
│ Dashboard · Strategy Studio · Competition │
├─────────────────────────────────────────────────┤
│ API Server (Go) │
│ JWT auth · encrypted credential store │
├──────────────┬──────────────┬───────────────────┤
│ Strategy │ Autopilot │ Trader Runtime │
│ Engine │ Preflight │ Risk Engine │
├──────────────┴──────────────┴───────────────────┤
│ AI Model Layer │
│ DeepSeek · OpenAI · Claude · Qwen · Gemini │
│ Grok · Kimi · MiniMax · Claw402 (x402 USDC) │
├─────────────────────────────────────────────────┤
│ Exchange Connectivity │
│ Binance · Bybit · OKX · Hyperliquid · Bitget │
│ KuCoin · Gate · Aster · Lighter │
└─────────────────────────────────────────────────┘
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Railway
Docker
curl -O https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d
Windows — install Docker Desktop, then:
curl -o docker-compose.prod.yml https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d
From source — Go 1.21+, Node.js 18+:
git clone https://github.com/NoFxAiOS/nofx.git && cd nofx
go build -o nofx && ./nofx # backend
cd web && npm install && npm run dev # frontend, in a second terminal
Update — re-run the install script; it upgrades in place.
HTTP
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
# http://YOUR_IP:3000
HTTPS via Cloudflare
TRANSPORT_ENCRYPTION=true in .env| Getting Started | Deployment and exchange API guides |
| Architecture | System design and module index |
| Strategy Module | Coin selection, AI prompts, execution |
| FAQ | Common questions |
| Troubleshooting | Diagnosing common issues |
Telegram · Twitter/X · Issues · vergex.trade · Live dashboard
Code, documentation, translations, and bug reports are all welcome — see the Contributing Guide, Code of Conduct, and Security Policy.
NOFX tracks meaningful contributions and intends to reward contributors as the ecosystem grows. Priority issues carry higher weight.
| Contribution | Weight |
|---|---|
| Pinned Issue PRs | ★★★★★★ |
| Code (Merged PRs) | ★★★★★ |
| Bug Fixes | ★★★★ |
| Feature Ideas | ★★★ |
| Bug Reports | ★★ |
| Documentation | ★★ |
If NOFX is useful to you, a star helps other traders find it.
Automated trading involves substantial risk. AI-driven strategies are experimental and can lose money. Size positions appropriately, understand each venue, and never trade funds you cannot afford to lose. Full disclaimer.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Alephant is an open-source AI Agent Gateway for routing, tracking, and controlling LLM usage across AI agents, members, and workflows, and for publishing agent capabilities as paid endpoints with x402 and MPP payment rails.
MCP server and plugin for Sperax Protocol – USDs, SPA, veSPA & Demeter on Arbitrum and BNB Chain. Listed on Anthropic's official MCP Registry.
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
AI trading brain for crypto perps — composite signals, funding rate arb scanning, and market regime detection via MCP
A CLI-driven security proxy that scans every HTTP request for threats using the Citadel AI engine — paid per request via the x402 protocol.
Golang SDK for A2A Protocol
Publishes localhost services to the agentic web through self-hostable, trustless relays with x402 payments.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Go implementation of the x402 payment protocol
URL shortener