A
ai-engineering-from-scratch
96.5
79,233 stars · MIT
AI Agents
langchain leads by 1.4 · narrow
A
96.5
79,233 stars · MIT
B · leads
97.9
149,766 stars · MIT
ai-engineering-from-scratch versus langchain is a AI Agents comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. Both projects are written mainly in Python. The composite score is 96.5 for ai-engineering-from-scratch and 97.9 for langchain.
langchain has 149,766 GitHub stars to ai-engineering-from-scratch's 79,233, a gap of 70,533 (1.89×). Forks are 14,142 for ai-engineering-from-scratch and 25,149 for langchain. On the log scale used inside this pair, adoption is 95 versus 100, and the fork community is 94 versus 100.
Push history: ai-engineering-from-scratch was last pushed on 17 November 2026 (0 days ago), and langchain was last pushed on 17 November 2026 (0 days ago). Open issues stand at 68 for ai-engineering-from-scratch (0.001 per star) and 759 for langchain (0.005 per star). Issue-health scores are 96 and 84; activity scores are 100 and 100.
Both ai-engineering-from-scratch and langchain are listed as MIT. 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. The license score is therefore level at 96 versus 96, and the decision moves to adoption, activity, and hosting. This is a procurement signal, not legal advice.
In AI Agents, both ai-engineering-from-scratch (79,233 stars) and langchain (149,766 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: ai-engineering-from-scratch is open source, langchain is open source.
The lead is split. ai-engineering-from-scratch is furthest ahead on issue health (96 to 84), while langchain is furthest ahead on fork community (100 to 94). Choose the dimension a rollout cannot compromise on.
langchain finishes ahead at 97.9 against ai-engineering-from-scratch at 96.5, a 1.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 | ai-engineering-from-scratch | langchain |
|---|---|---|
| GitHub stars | 79,233 | 149,766 |
| Forks | 14,142 | 25,149 |
| Open issues | 68 | 759 |
| Adoption | 95 | 100 |
| Activity | 100 | 100 |
| Community | 94 | 100 |
| Issue health | 96 | 84 |
| License | 96 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 96.5 | 97.9 |
Learn AI Engineering! Learn it. Build it. Ship it for others.
The agent engineering platform.
langchain has more GitHub stars: 149,766 versus 79,233 for ai-engineering-from-scratch. The gap is 70,533 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both ai-engineering-from-scratch and langchain as self-hostable. Confirm each project's deploy docs before you plan a migration.
ai-engineering-from-scratch 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. 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. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
langchain scores 97.9 and ai-engineering-from-scratch scores 96.5. This page calls that a narrow lead for langchain.