Skip to content
Agentmart
Submit a tool

LangChain vs samples

LangChain and samples are both agent frameworks for Python. LangChain is published by LangChain and samples by strands-agents. On GitHub, LangChain has 148,371 stars and samples has 913. Both were last active in Oct 2026. The table lines up where they differ (publisher, license, GitHub stars and weekly downloads) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. LangChain describes itself as: Python framework of interoperable components and integrations for building agents and LLM apps, with LangGraph and Deep Agents layered above it. samples: Sample projects for the Strands Agents SDK, showing how to build agents in Python and TypeScript; not intended for production use. Licenses: LangChain MIT, samples Apache-2.0.

Updated Oct 26, 2026 · Built from catalog data; how we rank and grade

Who should pick which

  • Pick samples if you work in TypeScript.
  • LangChain has the larger community: 148,371 GitHub stars against 913.

From listing data only. We don't pick a winner on security beyond the grades; read how grades work.

Side by side

FactLangChainsamples
TypeHarnessHarness
PublisherLangChainstrands-agents
LicenseMITApache-2.0
PricingNot statedNot stated
RunsNot statedNot stated
AuthNot statedNot stated
Hosts supportedNot statedNot stated
ToolsNot listed yetNot listed yet
Security grade–Security: not graded yet–Security: not graded yet
Freshness gradeAFreshness: AAFreshness: A
GitHub stars148,371913
Weekly downloads37,334,7108,886,357
Last releaseOct 22, 2026Unknown
Last activityOct 24, 2026Oct 21, 2026

Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.

Install

LangChain

pip install langchain

samples

pip install strands-agents

Also consider

Questions

Is LangChain or samples more popular?
LangChain has more GitHub stars (148,371 against 913). Stars measure attention, not quality, so check freshness and docs too.
Are LangChain and samples open source?
Yes: LangChain is MIT and samples is Apache-2.0.
Cite this page

LangChain vs samples. Agent Mart. https://agentmart.dev/compare/langchain-vs-samples (last updated 2026-10-26)