What it does
Qlib helps researchers use machine learning for "quant" investing, which means making investment decisions with data and models. It covers the whole process: getting market data, training models, and testing strategies on past data.
Its makers have added RD-Agent, a related tool that uses AI to automate parts of this research. Results on past data don't guarantee future returns.
Who it's for
Researchers and developers working on data-driven investing.
Can I use it without coding?
Developers only. A Python platform that needs programming and data skills. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- API key
- Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe
Where people are talking about it
- Lib0xc: A set of C standard library-adjacent APIs for safer systems programmingHacker News · May 2026
- R&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint OptimizationResearch paper · May 2025
- Qlib: An AI-oriented Quantitative Investment PlatformResearch paper · Sept 2020