A · leads
langchain
97.9
149,766 stars · MIT
AI Agents
langchain leads by 2.4 · narrow
A · leads
97.9
149,766 stars · MIT
B
95.5
94,309 stars · Apache-2.0
langchain versus ragflow is a AI Agents comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. langchain is written mainly in Python; ragflow is written mainly in Go. The composite score is 97.9 for langchain and 95.5 for ragflow.
langchain has 149,766 GitHub stars to ragflow's 94,309, a gap of 55,457 (1.59×). Forks are 25,149 for langchain and 11,335 for ragflow. On the log scale used inside this pair, adoption is 100 versus 96, and the fork community is 100 versus 92.
Push history: langchain was last pushed on 17 November 2026 (0 days ago), and ragflow was last pushed on 17 November 2026 (0 days ago). Open issues stand at 759 for langchain (0.005 per star) and 1,317 for ragflow (0.014 per star). Issue-health scores are 84 and 84; activity scores are 100 and 100.
langchain is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. ragflow is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 96 for langchain and 96 for ragflow. This is a procurement signal, not legal advice.
In AI Agents, both langchain (149,766 stars) and ragflow (94,309 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: langchain is open source, ragflow is open source.
langchain is ahead on every scored dimension that is not level. Level dimensions: recent activity, issue health, license flexibility, self-hosting. The widest gap is fork community at 8 points (100 vs 92), and the tightest is self-hosting at 0 points (100 vs 100).
langchain finishes ahead at 97.9 against ragflow at 95.5, a 2.4 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | langchain | ragflow |
|---|---|---|
| GitHub stars | 149,766 | 94,309 |
| Forks | 25,149 | 11,335 |
| Open issues | 759 | 1,317 |
| Adoption | 100 | 96 |
| Activity | 100 | 100 |
| Community | 100 | 92 |
| Issue health | 84 | 84 |
| License | 96 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 97.9 | 95.5 |
The agent engineering platform.
RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
langchain has more GitHub stars: 149,766 versus 94,309 for ragflow. The gap is 55,457 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both langchain and ragflow as self-hostable. Confirm each project's deploy docs before you plan a migration.
langchain is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. ragflow is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
langchain scores 97.9 and ragflow scores 95.5. This page calls that a narrow lead for langchain.