NOFX is an open-source autonomous AI trading assistant. Unlike traditional AI tools that require you to manually configure models, manage API keys, and wire up data sources β NOFX's AI perceives markets, selects models, and fetches data entirely on its own. Zero human intervention. You set the strategy, the AI handles everything else.
Fully autonomous: The AI decides which model to use, what market data to pull, when to trade β all by itself. No manual model configuration. No juggling API keys for different services. Just fund a USDC wallet and let it run.
What makes it different: built-in x402 micropayments. No API keys. Fund a USDC wallet and pay per request. Your wallet is your identity.
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Open http://127.0.0.1:3000. Done.
How x402 Works
Traditional flow: register account β buy credits β get API key β manage quota β rotate keys.
x402 flow:
Request β 402 (here's the price) β wallet signs USDC β retry β done
No accounts. No API keys. No prepaid credits. One wallet, every model.
Built-in x402 Providers
| Provider | Chain | Models |
|---|---|---|
| <img src="web/public/icons/claw402.png" width="20" height="20" style="vertical-align: middle;"/> Claw402 | Base | GPT-5.4, Claude Opus, DeepSeek, Qwen, Grok, Gemini, Kimi β 15+ models |
What It Does
| Feature | Description |
|---|---|
| Multi-AI | DeepSeek, Qwen, GPT, Claude, Gemini, Grok, Kimi, MiniMax β switch anytime |
| Multi-Exchange | Binance, Bybit, OKX, Bitget, KuCoin, Gate, Hyperliquid, Aster, Lighter |
| Strategy Studio | Visual builder β coin sources, indicators, risk controls |
| AI Competition | AIs compete in real-time, leaderboard ranks performance |
| Telegram Agent | Chat with your trading assistant β streaming, tool calling, memory |
| Dashboard | Live positions, P/L, AI decision logs with Chain of Thought |
Markets
Crypto Β· US Stocks Β· Forex Β· Metals
Exchanges (CEX)
| Exchange | Status | Register (Fee Discount) |
|---|---|---|
| <img src="web/public/exchange-icons/binance.jpg" width="20" height="20" style="vertical-align: middle;"/> Binance | β | Register |
| <img src="web/public/exchange-icons/bybit.png" width="20" height="20" style="vertical-align: middle;"/> Bybit | β | Register |
| <img src="web/public/exchange-icons/okx.svg" width="20" height="20" style="vertical-align: middle;"/> OKX | β | Register |
| <img src="web/public/exchange-icons/bitget.svg" width="20" height="20" style="vertical-align: middle;"/> Bitget | β | Register |
| <img src="web/public/exchange-icons/kucoin.svg" width="20" height="20" style="vertical-align: middle;"/> KuCoin | β | Register |
| <img src="web/public/exchange-icons/gate.svg" width="20" height="20" style="vertical-align: middle;"/> Gate | β | Register |
Exchanges (Perp-DEX)
| Exchange | Status | Register (Fee Discount) |
|---|---|---|
| <img src="web/public/exchange-icons/hyperliquid.png" width="20" height="20" style="vertical-align: middle;"/> Hyperliquid | β | Register |
| <img src="web/public/exchange-icons/aster.svg" width="20" height="20" style="vertical-align: middle;"/> Aster DEX | β | Register |
| <img src="web/public/exchange-icons/lighter.png" width="20" height="20" style="vertical-align: middle;"/> Lighter | β | Register |
AI Models (API Key Mode)
| AI Model | Status | Get API Key |
|---|---|---|
| <img src="web/public/icons/deepseek.svg" width="20" height="20" style="vertical-align: middle;"/> DeepSeek | β | Get API Key |
| <img src="web/public/icons/qwen.svg" width="20" height="20" style="vertical-align: middle;"/> Qwen | β | Get API Key |
| <img src="web/public/icons/openai.svg" width="20" height="20" style="vertical-align: middle;"/> OpenAI (GPT) | β | Get API Key |
| <img src="web/public/icons/claude.svg" width="20" height="20" style="vertical-align: middle;"/> Claude | β | Get API Key |
| <img src="web/public/icons/gemini.svg" width="20" height="20" style="vertical-align: middle;"/> Gemini | β | Get API Key |
| <img src="web/public/icons/grok.svg" width="20" height="20" style="vertical-align: middle;"/> Grok | β | Get API Key |
| <img src="web/public/icons/kimi.svg" width="20" height="20" style="vertical-align: middle;"/> Kimi | β | Get API Key |
| <img src="web/public/icons/minimax.svg" width="20" height="20" style="vertical-align: middle;"/> MiniMax | β | Get API Key |
AI Models (x402 Mode β No API Key)
15+ models via Claw402 β just a USDC wallet
Screenshots
<details> <summary><b>Config Page</b></summary>| AI Models & Exchanges | Traders List |
|---|---|
| <img src="screenshots/config-ai-exchanges.png" width="400"/> | <img src="screenshots/config-traders-list.png" width="400"/> |
| Overview | Market Chart |
|---|---|
| <img src="screenshots/dashboard-page.png" width="400"/> | <img src="screenshots/dashboard-market-chart.png" width="400"/> |
| Trading Stats | Position History |
|---|---|
| <img src="screenshots/dashboard-trading-stats.png" width="400"/> | <img src="screenshots/dashboard-position-history.png" width="400"/> |
| Positions | Trader Details |
|---|---|
| <img src="screenshots/dashboard-positions.png" width="400"/> | <img src="screenshots/details-page.png" width="400"/> |
| Strategy Editor | Indicators Config |
|---|---|
| <img src="screenshots/strategy-studio.png" width="400"/> | <img src="screenshots/strategy-indicators.png" width="400"/> |
| Competition Mode |
|---|
| <img src="screenshots/competition-page.png" width="400"/> |
Install
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Railway (Cloud)
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
# Prerequisites: Go 1.21+, Node.js 18+, TA-Lib
# macOS: brew install ta-lib
# Ubuntu: sudo apt-get install libta-lib0-dev
git clone https://github.com/NoFxAiOS/nofx.git && cd nofx
go build -o nofx && ./nofx # backend
cd web && npm install && npm run dev # frontend (new terminal)
Update
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Setup
Beginner mode: First-time users get a guided onboarding flow β select beginner mode at registration and the system walks you through AI, exchange, and strategy setup step by step.
Advanced mode:
- AI β Add API keys or configure x402 wallet
- Exchange β Connect exchange API credentials
- Strategy β Build in Strategy Studio
- Trader β Combine AI + Exchange + Strategy
- Trade β Launch from the dashboard
Everything through the web UI at http://127.0.0.1:3000.
Deploy to Server
HTTP (quick):
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
# Access via http://YOUR_IP:3000
HTTPS (Cloudflare):
- Add domain to Cloudflare (free plan)
- A record β your server IP (Proxied)
- SSL/TLS β Flexible
- Set
TRANSPORT_ENCRYPTION=truein.env
Architecture
NOFX
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Web Dashboard β
β React + TypeScript + TradingView β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β API Server (Go) β
ββββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββββββββββ€
β Strategy β Telegram β
β Engine β Agent β
ββββββββββββ΄βββββββββββ΄βββββββββββ΄βββββββββββββββββ€
β MCP AI Client Layer β
β βββββββββββββ βββββββββββββ βββββββββββββ β
β β API Key β β x402 β β β β
β β DeepSeek β β Claw402 β β β β
β β GPT,Claude β β β β β β
β βββββββββββββ βββββββββββββ βββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Exchange Connectors β
β Binance Β· Bybit Β· OKX Β· Bitget Β· KuCoin Β· Gate β
β Hyperliquid Β· Aster DEX Β· Lighter β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Docs
| Architecture | System design and module index |
| Strategy Module | Coin selection, AI prompts, execution |
| FAQ | Common questions |
| Getting Started | Deployment guide |
Contributing
See Contributing Guide Β· Code of Conduct Β· Security Policy
Contributor Airdrop Program
All contributions are tracked. When NOFX generates revenue, contributors receive airdrops.
Pinned Issues get the highest rewards.
| Contribution | Weight |
|---|---|
| Pinned Issue PRs | β β β β β β |
| Code (Merged PRs) | β β β β β |
| Bug Fixes | β β β β |
| Feature Ideas | β β β |
| Bug Reports | β β |
| Documentation | β β |
Links
| Website | nofxai.com |
| Dashboard | nofxos.ai/dashboard |
| API Docs | nofxos.ai/api-docs |
| Telegram | nofx_dev_community |
| @nofx_official |
Risk Warning: AI auto-trading carries significant risks. Recommended for learning/research or small amounts only.
Sponsors
<a href="https://github.com/pjl914335852-ux"><img src="https://github.com/pjl914335852-ux.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/cat9999aaa"><img src="https://github.com/cat9999aaa.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/1733055465"><img src="https://github.com/1733055465.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/kolal2020"><img src="https://github.com/kolal2020.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/CyberFFarm"><img src="https://github.com/CyberFFarm.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/vip3001003"><img src="https://github.com/vip3001003.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/mrtluh"><img src="https://github.com/mrtluh.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/cpcp1117-source"><img src="https://github.com/cpcp1117-source.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/match-007"><img src="https://github.com/match-007.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/leiwuhen1715"><img src="https://github.com/leiwuhen1715.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/SHAOXIA1991"><img src="https://github.com/SHAOXIA1991.png" width="50" height="50" style="border-radius:50%"/></a>