Qlib

Qlib is a Python framework that helps quant researchers build and test AI-driven investment models.

What it is good for

  • Testing stock trading ideas with machine learning models
  • Backtesting investment strategies on historical market data
  • Automating factor mining and model tuning for quant research
  • Building a full research pipeline from data to trade execution

At a glance

Who it is for
Setup
Requires programming

Level 5 of 5. You need to write code to use it.

Cost
Free and open source
Type
Framework or SDK
Tasks
Works with
RD-Agent

Momentum

Rank this week
Not ranked yet
Best rank
None yet
GitHub stars
49,930

GitHub numbers as of Nov 2, 2026. Updated weekly.

48.6k 49.3k 50k Sep 24, 2026 Nov 2, 2026
GitHub stars for Qlib: 48,663 on Sep 24, 2026, 49,930 on Nov 2, 2026. Source: GitHub.

Official links

Setup steps are on the official pages. We do not repeat them here, since they change.

Questions

Is Qlib free?
Yes. It is free and open source (MIT license).
Do I need to know how to code to use Qlib?
Yes. You need to write code to use it.
What does Qlib work with?
According to its own documentation, it works with RD-Agent.
What is Qlib good for?
Testing stock trading ideas with machine learning models, backtesting investment strategies on historical market data, automating factor mining and model tuning for quant research, and building a full research pipeline from data to trade execution.

Similar agents

  • Scientific Agent Skills

    Scientific Agent Skills is a collection of 177 skills that teaches an AI agent scientific tools and databases for research work.

  • TradingAgents

    TradingAgents is a multi-agent framework that simulates a trading firm of LLM analysts, researchers, and managers to evaluate stock trades for researchers and developers.

  • OpenBB

    OpenBB is an open data platform that connects financial data sources to Python, dashboards, and AI agents for analysts.

  • Vibe-Trading

    Vibe-Trading is a personal trading agent that runs research, backtests and trading tasks for investors who want AI to do the analysis.

  • notebooklm-py

    notebooklm-py is an unofficial Python API and agent skill that lets developers and AI agents drive Google Gemini Notebook from code, scripts, and tools like Claude Code.

  • tick-stock-panel

    TSP is a self-hosted A-share quant workbench that lets investors build strategies, run backtests, and monitor stocks for individuals who write their own rules.

Last updated Nov 2, 2026. Tracked since Oct 28, 2026. The summary was written by an AI model from the project's own description and checked against our copy rules. Spotted an error? Tell us.