---
title: "ai-engineering-from-scratch vs langchain-hs"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/rohitg00-ai-engineering-from-scratch-vs-tusharad-langchain-hs"
tools: ["rohitg00-ai-engineering-from-scratch", "tusharad-langchain-hs"]
---

# ai-engineering-from-scratch vs langchain-hs

*GraphCanon updated Jul 11, 2026*

## Verdict

Pick ai-engineering-from-scratch when ai-engineering-from-scratch is primarily Python; langchain-hs is Haskell; pick langchain-hs when langchain-hs is primarily Haskell; ai-engineering-from-scratch is Python.

[ai-engineering-from-scratch](https://aiengineeringfromscratch.com) reports 38k GitHub stars, 6.3k forks, and 96 open issues, last pushed Jun 25, 2026. [langchain-hs](https://tusharad.github.io/langchain-hs/) has 52 stars, 7 forks, and 2 open issues, last pushed Jun 28, 2026. Figures are from public GitHub metadata via [ai-engineering-from-scratch's repository](https://github.com/rohitg00/ai-engineering-from-scratch) and [langchain-hs's repository](https://github.com/tusharad/langchain-hs).

| | [ai-engineering-from-scratch](/tools/rohitg00-ai-engineering-from-scratch.md) | [langchain-hs](/tools/tusharad-langchain-hs.md) |
| --- | --- | --- |
| Tagline | Learn it. Build it. Ship it for others. | Haskell implementation of LangChain |
| Stars | 37,922 | 52 |
| Forks | 6,329 | 7 |
| Open issues | 96 | 2 |
| Language | Python | Haskell |
| Adopt for | Specifically designed for individuals looking to build a comprehensive understanding of AI tools and frameworks from the ground up. | - |
| Persona | - | - |
| Runtime | - | - |
| License | MIT | MIT |
| Categories | LLM Frameworks, AI Agents, Developer Tools, Computer Vision | LLM Frameworks |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [ai-engineering-from-scratch](/tools/rohitg00-ai-engineering-from-scratch.md) | [langchain-hs](/tools/tusharad-langchain-hs.md) |
| --- | --- | --- |
| Days since push | 15d | 13d |
| Open issues (now) | 96 | 2 |
| Security scan | No MCP manifest | No lockfile |
| Full report | [trust report](/tools/rohitg00-ai-engineering-from-scratch/trust.md) | [trust report](/tools/tusharad-langchain-hs/trust.md) |

## Decision facts: ai-engineering-from-scratch

- **Pricing:** freemium - The `ai-engineering-from-scratch` repository is free and open-source under an MIT license, but for full access to additional resources or support, a paid option may be provided. Consult official or up
- **Adopt for:** Specifically designed for individuals looking to build a comprehensive understanding of AI tools and frameworks from the ground up.

## Choose when

### Choose ai-engineering-from-scratch if…

- ai-engineering-from-scratch is primarily Python; langchain-hs is Haskell.
- Pricing: The `ai-engineering-from-scratch` repository is free and open-source under an MIT license, but for full access to additional resources or support, a paid option may be provided. Consult official or up.
- Tags unique to ai-engineering-from-scratch: deep-learning, ai-engineering, agents, llm.
- Also covers AI Agents, Developer Tools, Computer Vision.
- When you want to start with foundational knowledge and learn the intricacies behind AI systems.

### Choose langchain-hs if…

- langchain-hs is primarily Haskell; ai-engineering-from-scratch is Python.
- Tags unique to langchain-hs: haskell.
- More recently updated (last pushed Jun 28, 2026).

## When NOT to use ai-engineering-from-scratch

- If you are looking for a quick setup or ready-to-go solution without diving into the foundational understanding.
- When your project requires immediate practical application with less emphasis on self-implemented solutions from scratch.

## When NOT to use langchain-hs

- LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.

## Common questions

### What is the difference between ai-engineering-from-scratch and langchain-hs?

ai-engineering-from-scratch: Learn it. Build it. Ship it for others.. langchain-hs: Haskell implementation of LangChain. See the comparison table for live GitHub stats and shared categories.

### When should I choose ai-engineering-from-scratch over langchain-hs?

Choose ai-engineering-from-scratch over langchain-hs when ai-engineering-from-scratch is primarily Python; langchain-hs is Haskell; Pricing: The `ai-engineering-from-scratch` repository is free and open-source under an MIT license, but for full access to additional resources or support, a paid option may be provided. Consult official or up; Tags unique to ai-engineering-from-scratch: deep-learning, ai-engineering, agents, llm; Also covers AI Agents, Developer Tools, Computer Vision; When you want to start with foundational knowledge and learn the intricacies behind AI systems.

### When should I choose langchain-hs over ai-engineering-from-scratch?

Choose langchain-hs over ai-engineering-from-scratch when langchain-hs is primarily Haskell; ai-engineering-from-scratch is Python; Tags unique to langchain-hs: haskell; More recently updated (last pushed Jun 28, 2026).

### When should I avoid ai-engineering-from-scratch?

If you are looking for a quick setup or ready-to-go solution without diving into the foundational understanding. When your project requires immediate practical application with less emphasis on self-implemented solutions from scratch.

### When should I avoid langchain-hs?

LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.

### Is ai-engineering-from-scratch or langchain-hs more popular on GitHub?

ai-engineering-from-scratch has more GitHub stars (37,922 vs 52). Stars measure visibility, not whether either tool fits your constraints.

### Are ai-engineering-from-scratch and langchain-hs open source?

Yes - both are open-source projects on GitHub (ai-engineering-from-scratch: MIT, langchain-hs: MIT).

### Where can I find alternatives to ai-engineering-from-scratch or langchain-hs?

GraphCanon lists graph-backed alternatives at [ai-engineering-from-scratch alternatives](/tools/rohitg00-ai-engineering-from-scratch/alternatives) and [langchain-hs alternatives](/tools/tusharad-langchain-hs/alternatives) ([ai-engineering-from-scratch markdown twin](/tools/rohitg00-ai-engineering-from-scratch/alternatives.md), [langchain-hs markdown twin](/tools/tusharad-langchain-hs/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/rohitg00-ai-engineering-from-scratch-vs-tusharad-langchain-hs.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, ai-engineering-from-scratch or langchain-hs?

ai-engineering-from-scratch: Active. langchain-hs: Active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for ai-engineering-from-scratch and langchain-hs?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [ai-engineering-from-scratch trust report](/tools/rohitg00-ai-engineering-from-scratch/trust); [langchain-hs trust report](/tools/tusharad-langchain-hs/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=rohitg00-ai-engineering-from-scratch`](/api/graphcanon/graph?tool=rohitg00-ai-engineering-from-scratch)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
