head to head · open source
langchain vs a-stock-data
langchain has 148,892 GitHub stars, 25,031 forks, 492 open issues and last shipped yesterday. a-stock-data has 11,416 stars, 2,062 forks, 5 open issues and last shipped 4 days ago. langchain leads on adoption by 1,204% (148,892 vs 11,416 stars). langchain is written in Python under MIT; a-stock-data is written in Python under Apache-2.0. langchain has attracted 17% as many forks as stars, a-stock-data 18%. langchain was the more recently maintained of the two, and both are self-hostable with no licence fee.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| langchain | a-stock-data | |
|---|---|---|
| GitHub stars | ★ 149K | ★ 11K |
| License | MIT | Apache-2.0 |
| Written in | Python | Python |
| Last push | 2026-11-02 | 2026-10-30 |
| Forks | ⑂ 25K | ⑂ 2.1K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick langchain if
- You weight community size — 149K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick a-stock-data if
- You want the a-stock-data feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and a-stock-data fits your workflow better
About langchain
The agent engineering platform. LangChain is a framework for building agents and LLM powered applications. It helps you chain together interoperable components and third party integrations to simplify AI application development — all while future proofing decisions as the underlying technology evolves. [!TIP] Just getting started? Check out Deep Agents — a higher level package built on LangChain for agents that have built in capabilities for common usage patterns such as planning, subagents, file system usage, and more. Quickstart If you're looking for more advanced customization or agent orchestration, check…
read the full langchain overview →
About a-stock-data
简体中文 English a stock data A 股全栈数据工具包 — 12 层架构 · 60 个端点 · 22 个数据源 · 零鉴权 架构 · 快速开始 · 端点清单 · 使用示例 · FAQ · 更新日志 一个自包含的 Skill 文件,把分散在 22 个数据源里的 A 股原始数据整合成 AI 编程助手直接能用的工具集。你不用再背 mootdx 的 K 线参数、东财的 PDF Referer 头、iwencai 的 X Claw 鉴权——全部封装好了。主源被封还有「备用源速查」可降级。 兼容 Claude Code · Codex · OpenClaw Skill 文件本质是结构化 Markdown + 内嵌 Python,任何支持上下文注入的 AI 编程助手都能用。 架构 十二层之外另附 备用源速查 & 降级策略 :龙虎榜/资金流/公告备胎,以及沪深官方两融、北交所当前行情与五档备胎。使用范围和真实数据日期见 SKILL.md 对应章节。 快速开始 3 步,2 分钟。 启动 Claude Code,说一句「帮我看看 688017 的估值」,自动激活。 Codex / OpenClaw 用户: 把 SKILL.md 的内容贴入你的系统 prompt 或项目上下文文件即可,内嵌的 Python 代码可直接执行。 60 个端点能力清单 共 55 个主入口、5
read the full a-stock-data overview →
More in AI & Machine Learning
Related comparisons
More AI Development Platforms projects
Compare either of these against the rest of the AI Development Platforms field.
Frequently asked questions
Is langchain or a-stock-data more popular?
langchain has 148,892 GitHub stars and a-stock-data has 11,416. langchain has the larger community by that measure.
Are langchain and a-stock-data free?
Both are open source. langchain is licensed under MIT and a-stock-data under Apache-2.0. Neither carries a licence fee.
What is the difference between langchain and a-stock-data?
langchain is written in Python and a-stock-data in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, langchain or a-stock-data?
Choose langchain if you want the larger community (148,892 stars) or its MIT licence terms. Choose a-stock-data if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.