← Back to Blog
AI Agents

AI agent frameworks compared: LangGraph, CrewAI and more

AB
Neotask Team
November 29, 2026
7 min read

An AI agent framework is a code library that gives you the agent loop, tool calling, memory and multi-agent wiring so you do not write them from scratch. The main choices in late 2026, most of them open source, are LangGraph, CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Microsoft Agent Framework, Google's Agent Development Kit, Mastra, LlamaIndex and Pydantic AI. They differ less in what they can do than in how much structure they impose. A few things changed this year: AutoGen is archived, and OpenAI announced it would retire its visual Agent Builder from November 30, 2026.

What a framework gives you

Every framework on this list handles the same core loop: send the model a prompt and a list of tools, run the tool it asks for, return the result, repeat. Beyond that, they help with:

  • State: keeping track of where a long task is, and resuming after a failure.
  • Multiple agents: handing work between agents or running them in parallel.
  • Human review: pausing for approval before an action.
  • Tracing: recording each step so you can see why an agent did what it did.
  • Model choice: switching providers without rewriting the agent.

Where they differ is the shape they push you toward: graph frameworks have you draw the workflow, role frameworks have you describe a team, and the lighter SDKs hand you a loop and leave the rest to you.

The frameworks side by side

Versions and GitHub stars were read on 2026-11-29 from each project's package registry and repository page.

FrameworkMaintainerLatest versionLanguagesLicenseGitHub stars
LangGraphLangChain1.2.24Python, JavaScriptMIT45,574
CrewAICrewAI1.15.45PythonMIT61,365
OpenAI Agents SDKOpenAI0.26.0Python, TypeScriptMIT30,933
Claude Agent SDKAnthropic0.2.189Python, TypeScriptAnthropic Commercial Terms8,670
Microsoft Agent FrameworkMicrosoft1.26.0.NET, Python (Go in preview)MITnot available
Agent Development KitGoogle2.15.1Python, TypeScript, Go, Java, KotlinApache 2.022,440
MastraMastra1.86.0TypeScriptApache 2.0 core, enterprise code separate29,898
LlamaIndexLlamaIndex0.14.26PythonMIT53,071
Pydantic AIPydantic2.77.0PythonMIT21,452

Stars are a rough signal of attention, not quality. The Python repository is counted where a framework has several. Microsoft's repository page was not reachable when we checked, so its count is missing.

Each framework in a paragraph

LangGraph describes itself as "a low-level orchestration framework and runtime for long-running, stateful agents" (docs). You define nodes and edges, and LangGraph handles state, checkpoints and resuming. It suits teams that want explicit control over every branch. It does not require LangChain, though the two are often used together. One change to know: its prebuilt create_react_agent is deprecated in favor of LangChain's create_agent.

CrewAI organizes work as agents with roles, tasks and "crews", plus event-driven "flows" for fixed steps (docs). It is a standalone Python framework, not built on LangChain. It suits quick prototypes of a team, such as a researcher, a writer and an editor working together, and has the most stars on this list.

OpenAI Agents SDK is, in OpenAI's words, "a production-ready upgrade of our previous experimentation for agents, Swarm" (docs). Its building blocks are agents, handoffs between them, guardrails and tracing. It is small and readable, and still below version 1.0.

Claude Agent SDK gives you "the same tools, agent loop, and context management that power Claude Code" (docs). It was renamed from the Claude Code SDK. Its built-in tools "read, write, edit files, run commands, and search the web", which makes it strong for agents that work on a computer rather than only call APIs. Check the terms before you ship: Anthropic says use of the SDK "is governed by Anthropic's Commercial Terms of Service", even though the Python repository also carries an MIT license file.

Microsoft Agent Framework is "the direct successor" to Semantic Kernel and AutoGen, "created by the same teams" (Microsoft Learn). It reached 1.0 for .NET and Python on April 3, 2026. If you are in the Microsoft and Azure stack, or need .NET, this is the default.

Agent Development Kit (ADK) is Google's framework, "available in Python, TypeScript, Go, Java, and Kotlin" (docs). Google says it is "optimized for Gemini" but model-agnostic. It has the widest language support here.

Mastra is "the modern TypeScript framework for AI-powered applications and agents" (GitHub). Its core is Apache 2.0, while code in its ee/ folders is under a separate enterprise license. It suits teams that want agents in a TypeScript codebase without Python.

LlamaIndex started as a retrieval library and now calls itself "the document processing platform for AI". Its agent classes, including FunctionAgent, AgentWorkflow and ReActAgent, are strongest when the agent's main job is working over your documents (docs).

Pydantic AI describes itself as "a typed, extensible agent loop with every model a string swap away" (docs). It suits Python teams that want type-checked tool inputs and outputs.

What changed recently

  • AutoGen is archived. Microsoft archived the repository on November 20, 2026 and says it is "not providing bug fixes, security fixes, new features, or support." New users are pointed to Microsoft Agent Framework (GitHub).
  • Semantic Kernel is now Microsoft Agent Framework. The Semantic Kernel README says so directly, though that repository is not archived.
  • OpenAI is retiring Agent Builder. The visual builder launched with AgentKit in October 2025. A notice dated June 3, 2026 says it "will no longer be available" from November 30, 2026 (OpenAI). OpenAI points users to the Agents SDK.

How to choose

  • You need explicit control over every branch and resume point: LangGraph.
  • You think in roles and want a prototype this week: CrewAI.
  • You want a small loop with little abstraction: OpenAI Agents SDK or Pydantic AI.
  • Your agent works on files, shells and the web: Claude Agent SDK.
  • You build on .NET or Azure: Microsoft Agent Framework.
  • You need Java or Kotlin, or Go beyond a preview: Google ADK.
  • Your stack is TypeScript: Mastra, or the TypeScript versions of the OpenAI and Google kits.
  • Your agent mostly reads documents: LlamaIndex.

When you do not need a framework

A framework is for building an agent into your own product. If what you want is agents doing work for your business, such as answering email, keeping the CRM current or checking invoices, a framework leaves most of the job undone. You still have to host it, connect each app, store credentials, decide what needs approval and keep it running.

The Neotask desktop app on a cloud computer: the Bakery storefront project and a coding conversation adding weekend specials

That is the gap products like Neotask fill. Neotask runs agents for you on your computer or a cloud computer, connects them to more than 1,200 apps, and rates every action by risk: payments and a few other actions always ask you, and your approval mode decides the rest. It is not a library you embed in your own software, so if you are building an agent product, pick a framework above. The trade-offs of building your own are laid out in our build vs buy guide; if you go ahead, start with how to build an AI agent.

Deploy AI Agents in Minutes.

Neotask gives you the orchestration layer to build, deploy, and manage AI agents at scale. Voice-controlled, multi-agent, production-ready.

Launch Your First Agent

Start automating in minutes.