LangChain is an MIT-licensed library for Python and JavaScript/TypeScript that gives developers standard building blocks for chat models, tools, retrieval and agents, so they can swap model providers without rewriting code. The same company maintains LangGraph for controllable agent workflows and sells LangSmith, a separate paid platform for tracing, evaluation and deployment.
Wiring models, tools, data sources and agent logic together without writing custom glue for every provider.
Why use LangChain?
Practical benefits
Free MIT-licensed framework
Large set of provider integrations
Python and JS/TS versions
Optional LangSmith observability
Who it suits
Developers building agents and RAG apps
Teams that want provider flexibility
When another tool may fit better
Very simple single-call apps where a provider SDK suffices
Non-programmers
Learning curve
Some experience helps
Skills needed
Python or JavaScript programming.
Example workflows
uv add langchain, initialise a chat model by provider string, add tools and run an agent
What can it do?
Model abstractioninit_chat_model lets you choose providers by string.
Agents and toolsQuick-start agents with any model provider.
LangGraphSeparate framework for controllable agent workflows.
LangSmith (feature note)Depends on planSeparate paid platform for tracing, evals and deployment; Developer plan free with 5k base traces/month, Plus $39/seat/month.
Good for
RAG chatbots
Tool-using agents
Multi-provider apps
Prototyping LLM workflows
Where it runs
PythonJavaScript/TypeScript
Pricing and plans
Open source The LangChain framework is free under the MIT licence. LangSmith, sold separately, has a free Developer plan (1 seat, 5k base traces/month), Plus at $39/seat/month with 10k traces, and custom Enterprise.
Plan
Price
Billing
Free trial / tier
Usage limits
Main inclusions
Model access
API access
Restrictions
LangChain open source
Free
per month
Free tier
—
Python and JS/TS libraries
LangGraph
Any supported provider (billed by provider)
N/A (library)
—
LangSmith Developer
Free
per month
Free tier
1 seat, 5k base traces/month
Tracing
Community support
—
Yes
No deployments
LangSmith Plus
$39/mo Per seat per month, then pay as you go
per month
—
10k base traces/month; base traces 14-day retention, extended 180-day
Unlimited seats
1 free small deployment
Deployment billed in LSUs
—
Yes
—
LangSmith Enterprise
Contact provider
per month
—
Custom
Self-hosted or hybrid
Custom SSO/RBAC
SLA
—
Yes
—
Prices in USD · Global list price · Taxes may apply · Verified Oct 19, 2026
Yes. The LangChain framework is open source under the MIT licence. You still pay for the model APIs you call.
What is LangSmith?
A separate product from the same company for tracing, evaluating and deploying agents. It has a free Developer plan and paid Plus and Enterprise plans.
How much is LangSmith Plus?
$39 per seat per month with 10k base traces included, then pay as you go.
What is the difference between LangChain and LangGraph?
LangChain provides quick-start building blocks; LangGraph is a separate framework for controllable, customised agent workflows.
Does LangChain support JavaScript?
Yes, LangChain.js is the equivalent JavaScript/TypeScript library.