qlib vs llama_index

qlib and llama_index share 6 technologies: soupsieve, cryptography, torch, beautifulsoup4, bs4, and lxml. Both are written in Python.

Read it as markdown

What they share and what sets them apart

microsoft

qlib

Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

Python50kRead on November 5, 2026, at commit 5435523What is qlib built with?

Only in qlib

In common

run-llama

llama_index

LlamaIndex is the document processing platform for AI

Python52.8kRead on November 5, 2026, at commit 444fdf0What is llama_index built with?

Only in llama_index

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
qlib78,929 lines written219 code files
llama_index473,236 lines written2,055 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
qlib0.2% of its commits signed by AIWith GitHub Copilot
llama_index0.2% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
qlibLast push November 4, 20261,852 commits50,029 stars
llama_indexLast push November 5, 20267,963 commits52,820 stars
TestsThe files that test the code, and the share of code files a test imports.
qlib56 test files36.5% of its code files have a test that imports them
llama_index1,607 test files46.5% of its code files have a test that imports them

Frequently asked questions

Which is bigger, qlib or llama_index?
llama_index, with 473,236 lines written; qlib has 78,929.

The proof: run-llama/llama_index's code at commit 444fdf0

Which has more GitHub stars, qlib or llama_index?
llama_index, with 52,820 stars; qlib has 50,029.

The proof: run-llama/llama_index on GitHub

Which has more tests, qlib or llama_index?
llama_index, with 1,607 test files; qlib has 56.

The proof: run-llama/llama_index's code at commit 444fdf0

Which was updated more recently, qlib or llama_index?
llama_index: its last push was on November 5, 2026, and qlib's on November 4, 2026.

The proof: run-llama/llama_index's commits on GitHub

Which has more commits signed by AI, qlib or llama_index?
In both, an AI signed 0.2% of their commits.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →