LangGraph vs OpenAI Agents SDK
Side by side: what each one is for, what it costs, and how each is moving.
At a glance. The same facts, in the same order.
| Fact | FrameworkLangGraphA library from the LangChain team for building stateful agents as graphs with explicit control over each step. | FrameworkOpenAI Agents SDKOpenAI's open-source library for building agents with tools, handoffs between agents and tracing. |
|---|---|---|
| Who it is for | For software developers who build long-running AI agents that keep track of where they are between steps. It is a low-level code library for defining and running agent workflows. | For software developers who want to build AI agents and workflows in which several agents hand tasks to each other. It works with OpenAI models and with other providers. |
| Made by | LangChain | OpenAI |
| Price | Free and open source under the MIT licence; you pay your model provider separately. Hosted deployment is sold through LangSmith, which has a free plan and a Plus plan at $39 per seat a month. | Free and open source under the MIT licence. The AI models it calls are paid for separately, for example with an OpenAI API key. |
| Runs on | Python, JavaScript | Python, JavaScript |
| First released | Not known | 2025 |
| Heat this month | 50, rising in 2 of 3 sources | 39, rising in 2 of 3 sources |
Signals. Each source measured the same way for every topic.
npm downloads
Downloads per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LangGraph | 4,555,907 | +30% | |
| OpenAI Agents SDK | 2,060,368 | +16% |
PyPI downloads
Downloads per week, mirrors excluded. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LangGraph | 13,454,141 | +11% | |
| OpenAI Agents SDK | 4,648,909 | +20% |
GitHub forks
New forks per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LangGraph | 91 | -13% | |
| OpenAI Agents SDK | 56 | -39% |
Hacker News stories
Stories mentioning the phrase, per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LangGraph | 1 | ||
| OpenAI Agents SDK | 0 |
Each small line is drawn on its own scale, so compare the figures, not the heights. A source that is missing for a topic was not measured for it; that is not zero.
Questions and answers. LangGraph vs OpenAI Agents SDK, in short.
What is the difference between LangGraph and OpenAI Agents SDK?
LangGraph: A library from the LangChain team for building stateful agents as graphs with explicit control over each step. OpenAI Agents SDK: OpenAI's open-source library for building agents with tools, handoffs between agents and tracing.
How much do LangGraph and OpenAI Agents SDK cost?
LangGraph: Free and open source under the MIT licence; you pay your model provider separately. Hosted deployment is sold through LangSmith, which has a free plan and a Plus plan at $39 per seat a month. OpenAI Agents SDK: Free and open source under the MIT licence. The AI models it calls are paid for separately, for example with an OpenAI API key. Prices come from each maker’s own pages and change; the official sites have the last word.
Who makes LangGraph and OpenAI Agents SDK?
LangGraph is made by LangChain. OpenAI Agents SDK is made by OpenAI.
What do LangGraph and OpenAI Agents SDK run on?
LangGraph runs on Python, JavaScript. OpenAI Agents SDK runs on Python, JavaScript.
Which is getting more attention, LangGraph or OpenAI Agents SDK?
This month, LangGraph has a heat of 50 and OpenAI Agents SDK has a heat of 39. Attention to LangGraph is growing faster. Heat runs from 0 to 100 and measures how fast attention is growing, not quality; 50 means no change.