The Open-Source AI Stack
RSS

The Stack · Core layer

Agents

Frameworks plus user-facing agent products.

What it is

Overview

The orchestration layer that turns a model into an actor. An agent is a program that uses an LLM to decide which tools to call, in what sequence, until a goal is reached. The model provides the reasoning; the agent provides the loop, the tool registry, the memory, and the policy for when to stop.

Five things to keep in mind as you read:

  • Agent = LLM + loop + tools + memory. Without the loop, it’s just a chat completion. Without the tools, it can’t act on the world.
  • Two distinct shapes share the layer. Frameworks (libraries) and products (completed agents users install).
  • Open frameworks and SDKs are mature. LangChainagentsThe earliest widely-adopted LLM agent and RAG orchestration framework (2022), now with the LangGraph extension for stateful multi-step agent workflows. Open full entry , LlamaIndexretrieval-memoryAn open-source RAG framework focused on connecting LLMs to external data, with strong document-ingestion tooling and a smaller surface area than LangChain. Open full entry , CrewAI, Mastra, and the 2026 vendor agent SDKs (OpenAI, Anthropic, Google, Microsoft, AWS, Vercel). Almost every one is MIT or Apache-2.0.
  • Closed end-user products dominate mindshare. Claude Code, Cursor, Devin. Open competitors exist (GooseagentsBlock's open-source coding agent, BYOK across multiple model providers, with MCP support and a permissive license; the most cited fully-open agent platform in 2026. Open full entry , OpenHands, Aider) and are technically credible.
  • This is the layer the user sees. Lock-in is tighter here than below because the agent owns the workflow.

The rest of this page walks the frameworks, then the products, then arrives at the sovereignty question that follows the user-experience layer.

The agent-SDK layer

From raw API to packaged agent · where an SDK sits
04 Managed / hosted agent platform

The vendor runs the agent for you. You send a task; their infrastructure executes it.

hosted agent platforms remote agent runners
03 Agent product

A finished agent you install and run. The loop, prompts, and tools are decided for you.

Claude Code Cursor Goose
02 Agent SDK / framework this page

A library that gives you the loop, tool registry, memory and sessions, and multi-agent orchestration. The build-it-in-code layer.

OpenAI Agents SDK Claude Agent SDK LangGraph CrewAI
01 Raw model API

You write the loop, tool dispatch, and memory yourself, on top of a chat-completions endpoint.

Anthropic API OpenAI API Gemini API

An agent SDK is to an agent product what a UI framework is to a finished app: the build-it-in-code layer. This page compares the SDKs at level 2. The agent products at level 3 are covered further down.

An agent SDK is the build-it-in-code layer: a library that gives you the agent loop, a tool registry, memory and sessions, and multi-agent orchestration, so you do not reimplement them against a raw model API. It is distinct from a finished agent product (Claude Code, Cursor, Goose), which is an SDK someone else already assembled, and from a managed platform, where the vendor runs the agent for you.

In 2026 the layer splits two ways under the sovereignty lens: vendor agent SDKs from the model labs and hyperscalers (OpenAI, Anthropic, Google, Microsoft, AWS, Vercel) and independent, model-agnostic frameworks (LangChain, LlamaIndex, CrewAI, Pydantic AI, Mastra).

Agent SDKs compared

Agent SDK comparison (11) click a column to sort ·
filter
SDK Maker Type License Languages Model coupling Multi-agent MCP Latest
OpenAI Agents SDK OpenAI Vendor MIT Python, TypeScript Agnostic (LiteLLM) Handoffs Native 0.17.x (0.x)
Claude Agent SDK Anthropic Vendor MIT † Python, TypeScript Claude-only † Subagents Native + in-process 0.2.x (0.x)
Google ADK (Agent Development Kit) Google Vendor Apache 2.0 Python, Java, Go, TypeScript, Kotlin Agnostic (LiteLLM) Workflow agents Native 2.0 (May 2026)
Microsoft Agent Framework Microsoft Vendor MIT Python, .NET Agnostic (connectors) Graph + group chat Native 1.0 (Apr 2026)
Vercel AI SDK Vercel Vendor Apache 2.0 TypeScript Agnostic (unified API) Subagents Native (lightweight) 6.0 (Dec 2025)
Strands Agents AWS Vendor Apache 2.0 Python, TypeScript (preview) Agnostic (LiteLLM) Workflow / graph / swarm Native 1.x (GA Jul 2025)
LangChain LangChain, Inc. Independent MIT † Python, JavaScript/TypeScript Agnostic Graph (LangGraph) Via adapter 1.0 (Oct 2025)
LlamaIndex run-llama Independent MIT Python, TypeScript Agnostic AgentWorkflow Via package 0.14.x (0.x)
CrewAI crewAI, Inc. Independent MIT Python Agnostic (LiteLLM) Crews (roles) Via adapter 1.x (GA Oct 2025)
Pydantic AI Pydantic Independent MIT Python Agnostic A2A + graph Native 1.x (GA Sep 2025)
Mastra Mastra (Gatsby team) Independent Apache 2.0 † TypeScript Agnostic (Vercel AI SDK) Supervisor / sub-agents Native 1.0 (Jan 2026)

† License and coupling cells with a dagger hide a wrinkle worth knowing: hover for the note. Every cell traces to the linked SDK's primary sources. Versions are as of May 2026.

Coupling vs abstraction

Horizontal: how tied the SDK is to one vendor's model (left) versus model-agnostic (right). Vertical: low-level primitives you assemble (bottom) versus opinionated, batteries-included (top). Vendor SDKs in one color, independent frameworks in the other. Hover a dot for detail.

vendor-tied model-agnostic model coupling → batteries low-level abstraction ↑ OpenAI Claude ADK MS AF Vercel Strands LangGraph LlamaIndex CrewAI Pydantic Mastra
Vendor SDK Independent framework Axis positions are editorial, not measured.

Four things stand out, and the first two cut against the expected “vendor equals lock-in” story:

  • The vendor SDKs are open, and mostly model-agnostic. All six vendor SDKs ship under MIT or Apache-2.0, and five of the six work across many model providers (Vercel through a unified provider API, the others through LiteLLM or provider connectors). You can point most of them at open-weights models.
  • The Claude Agent SDK is the real outlier. It is the only model-tied SDK in the set (Claude only, though servable via the Anthropic API, Amazon Bedrock, Google Vertex, or Azure), and its license needs care: the package is MIT, but its README states that use is governed by Anthropic’s Commercial Terms of Service. Open code, gated use.
  • MCP is close to table stakes. Every vendor SDK, plus Pydantic AI and Mastra, ships MCPprotocolsAn open protocol from Anthropic that standardizes how language models discover and call external tools, data sources, and prompts via a small JSON-RPC interface. Open full entry support in the core library. The three older independents reach it through a separate package instead: LangChain via langchain-mcp-adapters, LlamaIndex via llama-index-tools-mcp, CrewAI via crewai-tools. The protocol itself sits at the protocols layer.
  • Microsoft folded AutoGen and Semantic Kernel into one framework. The Microsoft Agent Framework reached 1.0 in April 2026, superseding both AutoGenagentsA Microsoft Research framework for multi-agent systems, with a conversation-pattern API for orchestrating multiple specialized agents to solve tasks collaboratively. Open full entry and Semantic Kernel, which are now maintenance-only. On Microsoft’s stack, this is the current framework to start from, not AutoGen.

What is left to tell them apart is language and opinionation. The Vercel AI SDK and Mastra are the TypeScript-native picks; the rest are Python-first, with Google ADK the most multi-language (five). On opinionation, LangGraph hands you low-level graphs to wire yourself, while CrewAI gives you batteries-included role-based “crews”. The agent loop itself is short; what an SDK adds is the tool integrations, the session and memory wiring, the streaming, and production-grade tracing. For a small team, picking one and standardizing matters more than picking the theoretically best one.

End-user agent products

Completed agents the user installs and runs. This is where the sovereignty fight actually happens.

Open coding agents.

  • Goose (Block) — open-source AI agent for software engineering, MCP-native, extensible via “recipes”. Apache 2.0 (Goose project).
  • OpenHands (formerly OpenDevin) — open autonomous software engineering agent, runs in a sandboxed container, capable of multi-step coding tasks (OpenHands repository).
  • Aider — terminal-first pair-programming agent, smallest surface area, runs against any model via an API key (Aider documentation).
  • Cline — VS Code extension, open source, capable of full agentic workflows inside the editor (Cline repository).
  • Continue — VS Code / JetBrains agent extension, open core with team-tier hosted features (Continue project).

Closed coding agents.

  • Claude Code (Anthropic) — terminal-first agent built on Claude, the most-deployed closed coding agent of 2025-2026.
  • Cursor (Anysphere) — VS Code fork with deeply-integrated AI features. The mindshare leader for developer-facing AI tooling.
  • Devin (Cognition Labs) — autonomous software engineer positioned as a remote-worker replacement; closed.
  • GitHub Copilot — the longest-running closed agent in the category, now agent-capable beyond completion.

The open coding agents are competitive on the well-defined task (“edit this codebase to do X”). They fall behind on the integrated-IDE experience and on the model that powers them (the closed agents bundle premier closed models by default).

What’s open and what isn’t

Layered.

  • Open frameworks: every framework worth naming is open source. The framework layer is solved.
  • Open products: Goose, OpenHands, Aider, Cline, Continue, plus a long tail. Cover most use cases.
  • Closed products: Claude Code, Cursor, Devin, Copilot. Dominate developer mindshare.
  • The model the agent runs against: orthogonal. An open agent can use a closed model; a closed agent can sometimes use open weights. The combination determines the sovereignty posture.

Four meaningful combinations:

AgentModelSovereignty
Closed (Cursor)Closed (Claude)None
Closed (Cursor)Open (DeepSeek via API)Partial
Open (Goose)Closed (Claude via API)Partial
Open (Goose)Open (self-hosted DeepSeek)Full

Most developers in 2026 sit in the first row. The fourth row is viable; the trade-off is the closed-model performance edge, which is real but narrowing.

The editorial tension

The agent is the layer that sees the user. Everything below it (silicon, compute, weights, runtime, retrieval) shows up to the user through the agent’s UI. A team using Cursor with Claude is running closed AI even when every layer underneath could be open; a team using Goose with self-hosted DeepSeek is running open AI even when the broader market is dominated by closed products.

That asymmetry is why the sovereignty argument concentrates at this layer. The agent owns the workflow, the accumulated project context, the integration surface (filesystem, browser, shell access), and the model-selection policy. Changing underlying models is mechanically easy; changing agents requires rebuilding the workflow.

The strategic question for an open-AI advocate is whether the open agents close enough of the experience gap to displace the closed defaults at scale, or whether the closed products keep the developer mindshare and the open agents stay as the sovereignty option for users who specifically want it. The 2026 trajectory is the second one: Cursor and Claude Code are gaining share, the open agents are improving but not catching up on integration polish, and the “I use Goose because I want the open path” user is a small fraction of the developer audience. Whether that fraction grows enough to matter is the open question through 2027.

Key projects

21 catalogued · ordered open first · "Details" for a project page, "Ask" for an in-context chat

  • Memory-stateful agent framework; OS-like memory hierarchy; persistent context across sessions.

    Apache 2.0 · beta · GitHub · Details →
  • Goose (Block) Open source

    Block's open agent; under the Linux Foundation's AAIF since Dec 2025; MCP-native; BYOK; extension-based.

    Apache 2.0 · stable · GitHub · Details →
  • OpenHands Open source

    Formerly OpenDevin; sandboxed open coding agent; strong SWE-bench Verified performance.

    MIT · stable · GitHub · Details →
  • Aider Open source

    Paul Gauthier's terminal-native open coding agent; BYOK; git-aware diffs; widely loved for its directness.

    Apache 2.0 · stable · GitHub · Details →
  • Cline Open source

    VS Code-native open coding agent; large community of users; began as Claude Dev.

    Apache 2.0 · stable · GitHub
  • Continue Open source

    Open IDE coding agent for VS Code and JetBrains; broader IDE integration than most.

    Apache 2.0 · stable · GitHub
  • LangChain Open source

    Most-used open agent framework; LLM tools, chains, RAG primitives, and LangGraph for low-level agent orchestration. MCP via the langchain-mcp-adapters package.

    MIT · stable · GitHub · Details →
  • LlamaIndex Open source

    Open framework for data-aware LLM applications; strong on RAG, now also an agent framework via AgentWorkflow. MCP via the llama-index-tools-mcp package.

    MIT · stable · GitHub · Details →
  • AutoGen Open source

    Microsoft's multi-agent conversation framework, now maintenance-mode; consolidated with Semantic Kernel into the Microsoft Agent Framework (1.0 GA April 2026).

    MIT · maintenance · GitHub · Details →
  • OpenAI's lightweight agent SDK and the production successor to Swarm; MIT, Python and TypeScript, provider-agnostic via LiteLLM, handoffs, native MCP.

    MIT · stable · GitHub · Details →
  • Claude Agent SDK Open source

    Anthropic's agent SDK extracted from Claude Code; the package is MIT but its use is governed by Anthropic's Commercial Terms, and it is Claude-only. Native plus in-process MCP, subagents. Renamed from the Claude Code SDK September 2025.

    MIT · stable · GitHub · Details →
  • Google's open agent framework; Apache-2.0, multi-language (Python, Java, Go, TypeScript, Kotlin), Gemini-optimized but model-agnostic, native bidirectional MCP. 2.0 GA May 2026.

    Apache 2.0 · stable · GitHub · Details →
  • Vercel AI SDK Open source

    Vercel's TypeScript AI toolkit; Apache-2.0, model-agnostic via a unified provider API, subagents, native MCP. AI SDK 6 GA December 2025.

    Apache 2.0 · stable · GitHub · Details →
  • Strands Agents Open source

    AWS's open agent SDK; Apache-2.0, Python (TypeScript in preview), Bedrock-default but model-agnostic, native MCP, workflow/graph/swarm multi-agent. 1.0 GA July 2025.

    Apache 2.0 · stable · GitHub · Details →
  • Microsoft's open agent framework consolidating AutoGen and Semantic Kernel; MIT, Python and .NET, model-agnostic via connectors, native MCP and A2A, graph-based orchestration. 1.0 GA April 2026.

    MIT · stable · GitHub · Details →
  • Pydantic AI Open source

    Pydantic's MIT agent framework; Python, model-agnostic, type-safe through Pydantic models, native MCP, A2A plus graph multi-agent. 1.0 released September 2025.

    MIT · stable · GitHub · Details →
  • CrewAI Open source

    Independent MIT agent framework; Python, model-agnostic via LiteLLM, role-based "crews" for multi-agent work, MCP via the crewai-tools adapter. 1.0 GA October 2025.

    MIT · stable · GitHub · Details →
  • Mastra Open source

    Independent TypeScript agent framework from the Gatsby team; Apache-2.0 core (separate enterprise license for ee/ directories), built on the Vercel AI SDK, native MCP, supervisor/sub-agents. 1.0 released January 2026.

    Apache 2.0 · stable · GitHub · Details →
  • Anthropic's first-party CLI coding agent; closed-source; subscription model; the dominant closed coding agent in 2026.

    Proprietary · stable · Details →
  • Cursor Proprietary

    Closed VS-Code-fork IDE with integrated agentic features; strong developer adoption.

    Proprietary · stable
  • Cognition's closed autonomous-software-engineer agent; was first to publicize SWE-bench scores.

    Proprietary · stable