Open-Source AI Crypto Trading Bots

The open-source AI crypto trading bots worth your time are Freqtrade with FreqAI for real machine learning, Jesse for clean research and backtesting, and Hummingbot for market making. All three keep your API keys on your own server.

Building your own bot?Licensed in 39 US states + DC, FCA-registered in the UK Start Trading Securely
Person typing on a laptop at a wooden desk with a coffee cup, notebook and plant
Self-hostedPython, Docker, your server
Real MLFreqAI, peer-reviewed
Keys stay homeno third-party custody of keys
On this page 11
  1. Why open source
  2. Freqtrade + FreqAI
  3. Jesse
  4. Hummingbot
  5. ElizaOS and agent frameworks
  6. Freqtrade vs Jesse vs Hummingbot
  7. Hosting and costs
  8. Security on your own server
  9. GitHub red flags
  10. FAQ
  11. Sources

Key takeaways

  • Freqtrade + FreqAI (GPL-3.0) is the only widely used open-source AI crypto trading bot with peer-reviewed machine learning that retrains itself.
  • Jesse (MIT) is free for research and testnet, but live trading needs a paid lifetime licence from $899 to $1,599.
  • Hummingbot (Apache-2.0) has 318 connectors and is built for market making and arbitrage, with an agentic layer called Condor.
  • ElizaOS (MIT) is a framework for building AI agents, not a ready trading bot.
  • The biggest risk on GitHub is not bad code but fake repos: "AI trading bot" projects that install malware or drain wallets.

Most commercial bots sell you "AI" you cannot inspect. Open-source bots are the opposite: every line is on GitHub, the backtests run on your machine and the API keys never leave your server. The price is effort. You need some Python, a server and the patience to test properly.

This page covers the open-source projects that are actively maintained, what each is good at, how they compare, what it costs to run them and how to avoid the fake "AI crypto trading bot" GitHub repos that exist only to steal from you. If you would rather use a hosted product, start with our ranking of the best AI crypto trading bots.

55.7k
GitHub stars for Freqtrade, the most-starred open-source crypto bot we track
Source: GitHub
20.6k
GitHub stars for Hummingbot, with 318 exchange and DEX connectors
Source: GitHub
8.7k
GitHub stars for Jesse, the research-first Python framework
Source: GitHub

Why choose an open-source AI crypto trading bot?

Three reasons, in order of importance. Custody of keys: a hosted platform stores your exchange API keys on its servers. The 2022 3Commas leak, in which roughly 100,000 keys were reportedly exposed, showed what can happen. A self-hosted bot keeps keys on a machine you control. Transparency: you can read exactly how a signal is computed and how orders are placed, so there is no "proprietary AI" black box. Cost: the software is free. You pay for a server and exchange fees, not a monthly subscription.

The downsides are real too. Nobody will fix a broken strategy for you, there is no support desk, and a misconfigured bot can trade badly 24 hours a day. Open source protects you from the vendor, not from yourself.

Freqtrade + FreqAI: the real machine-learning option

Freqtrade is a Python bot started in 2017 and licensed under GPL-3.0. As of 21 October 2026 its repository had about 55,700 stars and 11,500 forks, with commits the day before we checked. It supports spot trading on Binance, BingX, Bitget, Bybit, Gate, HTX, Hyperliquid, Kraken, OKX and MyOKX, and futures on several of those, plus other venues through the CCXT library without guarantees.

The core bot gives you backtesting, hyperparameter optimisation (hyperopt), dry-run paper trading, a web UI called FreqUI and Telegram control. Strategies are Python classes you write or adapt.

FreqAI is what makes it an AI bot in the real sense. It automates training of regression and classification models (LightGBM, CatBoost, PyTorch, reinforcement learning, with CNN examples) on features you define, and it retrains them periodically during live and dry-run trading so the model adapts as markets change. Backtests simulate that retraining too. The approach is described in a peer-reviewed paper by Robert Caulk and co-authors, "FreqAI: generalizing adaptive modeling for chaotic time-series market forecasts", published in the Journal of Open Source Software in 2022 (DOI 10.21105/joss.04864). The project is not-for-profit: no token and no paid signals.

Jesse: research-first, paid for live trading

Jesse is an MIT-licensed Python framework, created in 2018, with about 8,700 GitHub stars. It is known for clean strategy syntax and accurate backtests, with optimisation, Monte Carlo analysis, a research module, machine-learning tooling and MCP agent workflows (100 per day free) for driving it from AI assistants.

The important detail many comparison posts miss: the free tier is for backtesting and testnet only. Live trading on real exchanges requires a paid lifetime licence: Basic $899 (1 IP, 1 trading route, hourly and daily timeframes), Pro $999 (2 IPs, 10 routes, all timeframes) or Enterprise $1,599 (5 IPs, 50 routes). Supported live venues include Binance, Bybit, Coinbase, Kraken Pro, KuCoin, Gate.io, Hyperliquid, Apex Omni and Lighter. The code is open; live execution is a commercial product.

Hummingbot: market making and arbitrage

Hummingbot is Apache-2.0 licensed, governed by the community-owned Hummingbot Foundation, and had about 20,600 stars when we checked. Its strength is breadth: 318 connectors across centralised exchanges and DEXs. It is designed for market making, where the bot quotes both sides of the order book and earns the spread, and for arbitrage between venues. See our arbitrage bots guide for why that is harder than it sounds.

The AI angle is Condor, described by the project as a harness for building and running agentic strategies and bot instances, alongside a Hummingbot API server. The project reports $47B+ in total volume and 111K+ instances on its public dashboard; those are self-reported figures.

ElizaOS and other agent frameworks

ElizaOS is an MIT-licensed "agentic operating system" for building AI agents, with about 19,600 stars and active commits in October 2026. It is popular for on-chain agents that hold wallets and act on their own, but it is a framework, not a trading strategy. You would still need to write the trading logic and the risk limits. Its old website now redirects to Eliza Research.

You will also see OpenClaw mentioned in trading circles. It is an MIT-licensed, self-hosted general personal assistant, not a crypto product, and users bolt trading "skills" onto it themselves. We cover the risks in OpenClaw for crypto trading, and agent tools more broadly in AI crypto trading agents.

We have left out other projects whose licence, maintenance and features we could not verify for this update.

Freqtrade vs Jesse vs Hummingbot

Freqtrade + FreqAIJesseHummingbot
LicenceGPL-3.0MITApache-2.0
Official sitefreqtrade.iofreqtrade.io ↗jesse.tradejesse.trade ↗hummingbot.orghummingbot.org ↗
Best atStrategy bots with real MLResearch and backtestingMarket making, arbitrage
AIFreqAI adaptive retrainingML module + MCPCondor agent harness
Live trading costFree$899–$1,599 lifetimeFree
Venues10 native + CCXTAbout 10 live venues318 connectors (CEX + DEX)
Skill neededPython, DockerPythonPython, market-making know-how

Our short answer: if you want an AI bot that actually learns, pick Freqtrade. If you mainly want to research ideas with clean code and are willing to pay for live execution, pick Jesse. If you want to provide liquidity or trade across many venues including DEXs, pick Hummingbot. Plenty of developers prototype in one and run in another.

Hosting and running costs

The software is free; running it is not quite. A typical setup is a small Linux virtual server running Docker, close to your exchange's servers if latency matters. A plain rule-based Freqtrade or Jesse bot runs comfortably on modest hardware. FreqAI is heavier: model training needs more CPU and RAM, and deep-learning models benefit from a GPU. Hummingbot market making is sensitive to latency and uptime.

Cost itemWhat drives itHow to keep it down
ServerCPU and RAM for backtests and ML trainingTrain on your own computer, trade on a small server
DataHistorical candles; order-book data for market makingUse exchange downloads built into the frameworks
Exchange feesEvery order the bot placesFewer trades, maker orders, fee tiers
LicencesOnly Jesse for live tradingBacktest free first; buy only if you go live
Your timeSetup, monitoring, updatesDocker images, alerts via Telegram

Compare that with hosted subscriptions of $20 to $150 a month. For small accounts, the server is often cheaper than a subscription; the bigger cost is the hours you spend. The trading bot ROI calculator shows how fees and fixed costs eat into returns.

Hands typing on a laptop showing a price chart in a dim room at night
A self-hosted bot runs wherever you deploy it, which also makes you its security team.

Security: your keys, your server, your responsibility

Self-hosting removes the third-party key store, but it moves the job to you. A sensible baseline:

  • Create API keys with trade permission only and withdrawals disabled, and whitelist your server's IP address on the exchange.
  • Use a dedicated sub-account that holds only the bot's budget.
  • Do not expose the bot's web UI or REST API to the open internet. Use a VPN or SSH tunnel, a strong password and a firewall.
  • Keep secrets in environment variables or a config file outside version control. Never commit a config with keys to GitHub, even a private repo.
  • Update regularly, read release notes, and pin versions so an update never surprises a running bot.
  • Set alerts (Telegram works well) for errors, unusual trade counts and drawdown limits.

What self-hosting fixes

  • No platform-wide API-key database to leak
  • Full audit trail of the code that trades
  • No subscription, no vendor lock-in
  • You choose when to update

What it does not fix

  • A hacked server exposes your keys
  • Bad strategies still lose money
  • Exchange custody risk remains
  • No support desk when something breaks at 3 a.m.

Self-hosted bot, regulated home for the rest

A bot sub-account only needs its trading budget. For coins you are not actively trading, CEX.IO is a long-running option: operating since 2013, a FinCEN-registered MSB with money transmitter licences in 39 US states plus DC, FCA-registered in the UK, with 2FA, multi-sig wallets and cold storage. It does not offer trading bots itself.

Registrations checked October 2026 on the company's legal pages. Availability depends on your country; crypto is high-risk.

  • Since 2013One of the longest-running crypto exchanges still operating
    source
  • 39 US states + DCFinCEN-registered MSB with state money transmitter licences (NMLS 1804170)
    source
  • FCA-registeredUK cryptoasset business under the MLRs, FRN 1007192
    source
  • PCI DSS Level 1Card-payment security standard, 2026 certificate published
    source

AI crypto trading bot GitHub red flags

Search GitHub for an AI crypto trading bot and you will find thousands of repos. A few are excellent. Many are abandoned student projects. Some are traps. In February 2025 Kaspersky reported a campaign it called GitVenom: hundreds of fake GitHub projects posing as automation tools, crypto bots and utilities, with AI-generated README files and artificially inflated commit counts. The code pulled in an info-stealer, remote-access tools and a clipboard hijacker that swapped copied wallet addresses for the attackers' own. One attacker wallet reportedly received about 5 BTC.

Good signs are the opposite: a long commit history from many contributors, an open issue tracker with real discussion, a clear licence, documentation that explains risk, and no promise of returns. When in doubt, run unfamiliar code in a throwaway virtual machine with no wallets on it. For broader scam patterns, read our AI crypto trading scams guide.

Ready to build? Our step-by-step guide to building an AI crypto trading bot shows how to combine a model, deterministic execution and guardrails. Nothing here is financial advice; automated trading can lose money quickly.

Frequently asked questions

What is the best open-source AI crypto trading bot?

For real machine learning, Freqtrade with its FreqAI module is the strongest choice: it trains and retrains models such as LightGBM, CatBoost and PyTorch networks, and the method is published in a peer-reviewed paper. Jesse is cleaner for research and backtesting, and Hummingbot is the standard for market making. Read our Freqtrade review for the details.

Is Freqtrade really free?

Yes. Freqtrade is GPL-3.0 open source, not-for-profit, with no token and no paid signals. You pay only for your own server, data and exchange fees. Be wary of anyone selling a "premium Freqtrade bot" with guaranteed returns; strategies are just Python files, and nobody can guarantee their results.

Is Jesse free for live trading?

No. Jesse is MIT-licensed and free for backtesting, optimisation and testnet trading, but live trading on real exchanges needs a paid lifetime licence. As of October 2026 the tiers were $899 (Basic), $999 (Pro) and $1,599 (Enterprise), differing in IP addresses, trading routes and timeframes.

Is it safe to download a crypto trading bot from GitHub?

Only from well-known projects, and only after checking what you run. Kaspersky reported in 2025 on hundreds of fake GitHub projects, including crypto bots, that installed stealers and a clipboard hijacker that swapped wallet addresses. Stick to established repositories, read install scripts, never paste a seed phrase or private key, and test on a spare machine.

Can I build my own AI crypto trading bot in Python?

Yes. Freqtrade and Jesse are Python frameworks, and you can also write a bot from scratch with an exchange library and add a model or an LLM on top. Start with backtesting and paper trading, keep execution rules deterministic and add guardrails. Our build an AI crypto trading bot guide walks through it.

Do open-source trading bots make money?

The software does not make money; strategies sometimes do. Open-source bots give you full control and honest backtests, but a strategy that looks great in a backtest is often overfitted to the past. Treat any shared strategy as a starting point, run it in dry-run mode for weeks and expect live results to be worse than the backtest.

Sources and fact-check dates

We link to primary sources wherever possible. Dates show when the page was published or when we last checked it.

  1. Freqtrade GitHub repository (licence, stars) · checked 2026-10-21
  2. FreqAI documentation · checked 2026-10-21
  3. Caulk et al., FreqAI paper, Journal of Open Source Software (2022) · checked 2026-10-21
  4. Jesse GitHub repository · checked 2026-10-21
  5. Jesse pricing (live trading licences) · checked 2026-10-21
  6. Hummingbot GitHub repository · checked 2026-10-21
  7. Hummingbot: connectors and Condor · checked 2026-10-21
  8. ElizaOS GitHub repository · checked 2026-10-21
  9. Decrypt: crypto-stealing malware spread through fake GitHub repositories (Kaspersky GitVenom) · Feb 2025, checked 2026-10-21
  10. The Hacker News: GitVenom malware campaign · Feb 2025, checked 2026-10-21