Frameworks

Agent and LLM framework landscape

Last reviewed 3 December 2026

Overview

Frameworks provide building blocks for LLM applications: model clients, tool loops, retrieval, memory, orchestration, tracing. They speed up getting started, but add a layer between you and the model that can hide prompts and make debugging harder. Many teams now start from vendor SDKs and add a framework only when it clearly helps.

Key concepts

  • Vendor SDKs and agent kits:
    • Anthropic SDKs (with tool runner) and the Claude Agent SDK (the Claude Code harness as a library), plus Managed Agents for hosted agents. Since 2026-11-12 Managed Agents can also be fully self-hosted (server, PostgreSQL storage, and sandboxes on your infrastructure, inference via the Claude API, Bedrock, Google Cloud, Foundry, or your own gateway; access by request; see Claude). New SDK majors on 2026-10-21 (Python 2.0, TypeScript 1.0, Go 2.0, Java 3.0, and others) target API version 2026-10-21, drop sampling parameters and Text Completions, send keys as Authorization: Bearer, and move from MIT to Apache 2.0 (see Claude). They break code that sets temperature, top_p, or top_k, and proxies that read X-Api-Key. Agent SDK hooks can fail closed: with on_failure="block" on HookMatcher (Python 0.2.177, 2026-11-03) or onFailure: "block" (TypeScript 0.3.317), a hook callback that raises, returns nothing, or returns an invalid value blocks the action; connecting to an older CLI with the option set raises CLIConnectionError. TypeScript 0.3.317 also removed the file_unchanged Read result (breaking: a repeated Read now returns the content). TypeScript 0.3.332 (2026-11-25) adds the PreSkillShellCommand hook and changes setPermissionMode() to resolve with { mode }.
    • OpenAI SDKs and the OpenAI Agents SDK (stable line still 0.x; 0.23 hardened sandboxes, sessions, MCP, and realtime agents; the 0.24 previews (RunBudget limits, self-managed session storage, compaction hooks, A2A adapters, per-call tool approvals, non-OpenAI model clients, realtime voice in sessions) shipped in the 0.2x releases, with Turn.get_result() replacing wait(); 0.26 (2026-11-24) makes an input guardrail tripwire stop queued tools and changes Docker sandbox mounts). A 1.0 line is in GitHub-only alpha: 1.0.0-alpha.2 (2026-11-23) adds ResumableSession, which saves history and pending approvals together (Redis store supported), and experimental RunConfig.tool_execution hooks that rewrite tool inputs, outputs, and declarations. 1.0.0-alpha.3 (2026-12-02) makes the Codex harness the default: from openai_agents import Agent, Runner runs the Codex CLI's agent loop in-process, the old loop moves to openai_agents.classic, and code and saved conversations do not migrate automatically (result.output_text replaces result.final_output).
    • Google's Agent Development Kit (ADK); 2.11 added run cancellation, tool approval in workflows, SQLite memory, and opt-in MCP SDK 2.x support. 2.13 (2026-10-22) promoted 12 experimental features to stable. It added classifier nodes for routing (LlmClassifier, TypesafeClassifier, ClassifierNode), MongoDB session and memory services, live-audio barge-in, and eval commands whose exit code reflects pass or fail. Breaking change: telemetry now defaults to OpenTelemetry GenAI v2 and drops the call_llm span (opt out with ADK_TELEMETRY_SCHEMA_VERSION_OPT_IN=otel_semconv_1_36). Google's Agents CLI (scaffold, eval, deploy) no longer requires ADK: since 1.8.0 a LangChain extension deploys LangChain or LangGraph agents to Cloud Run, and Git-hosted extensions can override commands, for example to add an SBOM scan before deploy (agents-cli create my-agent --agent google/agents-cli/extensions/langchain/template@v1.8.0 -d cloud_run). Extensions are experimental and pinned to a commit.
    • Mistral AI Studio (2026-11-05): managed agents with skills, code sandboxes, subagents, and hooks; durable workflows with human approvals; hosted apps; and a Mistral MCP server for building from a coding agent and deploying with one command. It can run in Mistral's cloud, your VPC, or on-premises, and emits OpenTelemetry traces. No prices were given at launch.
  • Local runtimes: Ollama runs open models locally behind an OpenAI-compatible API, and ollama launch wires them into coding agents such as Claude Code (it clamps Claude Code's auto-compact window since 0.40.7). Recent releases: 0.40.7 reports each model's chat template source, widens speculative decoding, and adds Perplexity's pplx-decider (27B); 0.40.8 adds Recursive's Flint coding model; 0.40.9 (2026-10-22) adds Phonon text-to-speech (Apple Silicon, also on /v1/audio/speech), d3 decision models (2B–27B) for local classification, and Flint on Linux and Windows; 0.40.12 and 0.40.13 (2026-10-27/29) add Liquid AI's LFM3 small models, now on macOS, Linux, and Windows (see open-weight models).
  • Orchestration frameworks:
    • LangChain / LangGraph: components plus graph-based, stateful agent workflows. LangGraph 1.2 (2026-05-12) resumes error handlers durably after host crashes and adds set_node_defaults(); 1.2.12 added response_schema to interrupt().
    • LlamaIndex: data and retrieval focus, with agent workflows.
    • CrewAI: role-based multi-agent teams ("crews") plus Flows, an event-driven workflow layer. Since 1.15 (2026-06-25) flows and crews can be declared in configuration files. 1.15.24 (2026-10-07) added crewai eval, which compares models by swapping them in via llm_overlay, plus Oracle integrations and an experimental job runner. 1.15.48 (2026-12-02) keeps tool calls across conversational turns, can pause a turn for approval before listed tools run, lets load_skill read a skill's reference files, and signs MCP HTTP requests with an httpx.Auth.
    • Microsoft Agent Framework: successor to AutoGen and Semantic Kernel, for .NET and Python. Version 1.0 (2026-04-03) brought stable APIs, long-term support, MCP and A2A interop, and migration guides from both predecessors. Python 1.23.0 (2026-10-22) moved to MCP 2.x as a breaking change, requires AG-UI endpoints to declare an auth scope or single-user mode, and renames the Docker shell's extra_run_args to unsafe_extra_run_args. Python 1.26.0 (2026-11-13) adds create_harness_agent(loop_return_final_only=True), puts a 30-second default limit on Hyperlight code execution (breaking; raise execution_timeout_seconds), requires Copilot CLI 1.0.85+ for the GitHub Copilot integration, and deprecates the experimental MemoryStore family for removal after 2026-12-31 in favour of FileMemoryProvider (no automatic migration).
    • Pydantic AI: typed, Python-first agents, with near-daily minor releases (2.61 to 2.63 shipped in five days). 2.59.0 and 1.107.9 fix a high-severity web_fetch HTML denial-of-service issue (GHSA-4whf-38hw-pxxh), so agents that fetch untrusted pages should be on at least those versions. The 2.5x line added sandboxed workspaces (E2B, SSH, Bubblewrap, Sprites, Daytona since 2.59, and local DockerSandbox for Docker/Podman and BoxLiteSandbox micro-VMs since 2.60), plugins, and its own clai2 terminal agent. 2.58 (2026-10-20) added hard limits on runs (timeout=, RunContext.deadline) and model requests (request_timeout, max_retries), steering for delegated tasks, and an openai-chatgpt provider that signs in with a ChatGPT plan. 2.59 added ElevenLabs realtime, non_retryable_model_errors for Temporal, and cache-preserving on_change='append' instructions. 2.60 (2026-10-22) added judge-model SmartSearch code search, RelevanceCompaction, and per-run auth/headers for MCPToolset. 2.61 (2026-10-23) added structured citations on TextPart, normalized across Bedrock, OpenRouter, and xAI. It also added Kimi K3.1 Pro models and Shell.max_log_bytes, and made the durable engine's extension API public. 2.62 (2026-10-26) lets SubAgents delegations run in the background, where you can steer, answer, or cancel them (task_control). It added CompactOnRequest, so the model can ask for compaction, plus AnthropicModel.compact_messages() and provider batch APIs (BatchModelRequests). Thinking effort can now change mid-conversation on OpenAI and Anthropic, and Temporal can run tool calls as child workflows. 2.63 (2026-10-27) added DetectLoops (interrupts repeated-action loops), IPythonCodeMode, PostgresSpendStore for spend budgets shared across processes, task_timeout for evals, AG-UI 1.0, and GPT-6.1 Terra; CodeMode now appends revealed tools by default (dynamic_catalog=True), which keeps the cached prompt stable. 2.64 (2026-10-30) added a ModelFallback capability (per-attempt prepare_model_request, sticky fallback, and first_event_timeout for streams that never start), BoxdSandbox, and ArtifactScanner security scanning for Memory and Skills. Check before upgrading: json-repair became optional and Coder tools default to non-strict schemas. 2.67 (2026-11-10) makes SubAgents (dynamic_agents, task_control) durable under Temporal and DBOS, has RepoContext load nested per-directory instruction files (capped by nested_max_chars), and adds Claude Fable 5.2, Gemini 4 Carbon, and OpenAI fast/ultrafast service tiers. 2.71 (2026-11-18) packages coding-agent-style safeguards as capabilities (permission rules for tools and shell, Goal for unattended runs, budget and limit reporting, verification, ToolBridge for deferred tools). 2.74 (2026-11-24) wraps OpenAI's, Anthropic's, and Google's computer-use tools behind one ComputerTool contract, with desktop=True sandboxes and a Chrome DevTools Protocol browser, and fixes four advisories in PlaywrightBrowser (upgrade if you use it). 2.76 (2026-11-26) lets realtime voice sessions add or remove tools without reconnecting (UpdateTools), lets Code Mode scripts return the final output, and adds desktop computer-use sandboxes to Pax; breaking for exhaustive RealtimeInput matches, and FileSystem.read_file offsets are now 1-indexed. 2.77 (2026-11-27) adds conversation stores for SQLite, Postgres, and MongoDB, a compact_history() capability hook with RunContext.request_compaction() and compaction stream events, and a cross-provider thinking_summary setting; skill folders that are missing are now skipped unless missing_directories='error'. 2.78 (2026-12-02) has WrapUpAtLimits wrap up before cost_limit and the run timeout= rather than fail, makes FallbackModel/ModelFallback move on when a provider rejects a request, makes agent-graph waits durable (Lambda, Absurd, pgtask), and makes the Pax CLI scriptable (stdin via -, --output-format JSON).
    • Vercel AI SDK: TypeScript toolkit for AI apps, UIs, and agents. Version 7 (2026-06-25) adds per-tool approval policies, durable resumable runs (WorkflowAgent), layered timeouts, a portable sandbox abstraction, OpenTelemetry integration, and an experimental HarnessAgent that wraps Claude Code, Codex, and other harnesses behind one interface.
    • DSPy: programming LLM pipelines with automatic prompt optimisation. Its GEPA optimiser can also change program structure (Flex, since 3.3). 3.4 (2026-09-25) is the "LM transition" release: model calls move to native engines with LiteLLM as fallback, and it adds experimental typed decision outputs and async ReActV2. The legacy LM interfaces are deprecated for removal in 3.5 (no date given).
  • Observability and evals: Langfuse, LangSmith, Braintrust, Arize Phoenix, OpenTelemetry GenAI conventions.
  • Interop standards: MCP for tools and data; agent-to-agent protocols (such as A2A) for agents talking to each other; generative-UI protocols such as A2UI (1.0 on 2026-11-11) for agents that answer with forms, dialogs, or charts drawn from components the app has registered. A2UI has renderers for React, Angular, Lit, Flutter, SwiftUI, and Jetpack Compose (still 0.9.1), plus agent SDKs for TypeScript (@a2ui/agent), Python, and Dart; its web and Flutter renderers also work inside MCP Apps.
  • Shared direction (late 2026): the main frameworks are converging on sandboxed code execution, human approval of tool calls, cancellation of long runs, and the newer MCP SDKs.

How to use it

  • Prototype directly with the vendor SDK to see real prompts and responses.
  • Adopt a framework for a specific need: durable state, complex graphs, many providers, built-in tracing.
  • Prefer frameworks that let you see and control the exact prompts.
  • Add tracing from day one, whatever you choose.

Current state

Latest versions from GitHub release feeds or PyPI, with the check date in each row (rows without one were checked on 2026-10-04):

Framework Latest stable Date Note
Microsoft Agent Framework Python 1.26.0 / .NET 1.28.0 2026-11-13 / 2026-11-09 1.0 GA on 2026-04-03; Python 1.23 moved to MCP 2.x and 1.25 adds callable MCP discovery approval policies; Python 1.26 adds a 30 s Hyperlight limit (breaking) and deprecates the experimental memory store (Python checked 2026-12-03 on GitHub; the .NET release page shows 2026-11-06, see Open questions); .NET 1.28 adds a GA computer tool (FoundryAITool.CreateComputerTool()); .NET 1.26 had breaking AG-UI auth-scope and Docker parameter changes (checked 2026-11-12 on GitHub)
OpenAI Agents SDK (Python) 0.26.2 2026-12-01 0.26.0 breaking: Docker sandboxes need DockerVolumeMountStrategy; tripwires stop queued tools; 1.0.0-alpha.3 (2026-12-02) in preview makes the Codex harness the default (checked 2026-12-03)
Google ADK (Python) 2.15.0 2026-11-19 Non-blocking tools in live agents, pass_at_k evals and per-argument tool scoring, fsspec artifacts; breaking: Visual Agent Builder removed, dynamic instruction routing on by default (checked 2026-11-20)
Pydantic AI 2.78.0 2026-12-02 2.78 wraps up before cost and timeout limits and falls back on rejected requests; Near-daily minor releases; 2.69 added ToolBudgets and Kubernetes/Windows sandboxes; 2.71 added harness capabilities (WrapUpAtLimits, RequireVerification, …), PermissionRule, Goal, ToolBridge; 2.74 adds a cross-provider ComputerTool/ComputerUse() and a CDPBrowser capability, and fixes six advisories (four in PlaywrightBrowser); 2.76 adds mid-session UpdateTools for realtime models and CodeMode(allow_final_output=True); 2.77 adds SQLite/Postgres/MongoDB conversation stores and a compact_history() hook (checked 2026-12-03 on GitHub)
Claude Agent SDK (Python) 0.2.177 2026-11-03 Bundles Claude Code 2.1.317; HookMatcher(on_failure="block") makes hooks fail closed (checked 2026-11-03)
Claude Agent SDK (TypeScript) 0.3.335 2026-12-03 0.3.335 adds the Interrupt hook event and utilization_precise in get_usage; the Agent tool result no longer lists the subagent's tools, and Read PDF page images come from tool_result. 0.3.334 (2026-12-01): parity with Claude Code 2.1.334; auto-compact defaults to about 400K on most 1M-context models (set autoCompactWindow in modelSettings to keep 1M); new startup_failure_reason values for Consumer Terms prompts and a missing --resume target. 0.3.333 (2026-11-30) breaking: mcpServersDelivery defaults to 'initialize' (needs Claude Code 2.1.326+, or set 'argv'); tool_progress heartbeats carry a description. 0.3.319 added MCP tasks in the background (CLAUDE_AUTO_BACKGROUND_TASKS=1); 0.3.317 added onFailure: "block" on hook matchers (checked 2026-12-03)
CrewAI 1.15.48 2026-12-02 1.15.48 adds approval before listed tools, tool calls kept across turns, skill reference files, and signed MCP HTTP requests; 1.15.46 adds Flow.install_persistence, typed state for conversational agents, and in-chat human feedback; 1.15.47 is docs only. 1.15.29 (2026-10-23) promoted AgentExecutor out of experimental (checked 2026-12-03 on GitHub)
LlamaIndex 0.14.26 2026-11-13 Maintenance release: integrations raise their minimum Python version (breaking) and add Claude 5.5 and GPT-6 models; still no 0.15 or 1.0 (checked 2026-11-17 on GitHub and PyPI)
LangGraph 1.2.25 2026-12-01 1.2.25 is a bug-fix release (stream_mode="tools" alone now streams tool events live); 1.2.0 on 2026-05-12; 1.2.18 snapshots DeltaChannel every 100 updates instead of 1000 (faster reads on long threads, more storage; snapshot_frequency=1000 restores the old value) (checked 2026-12-02 on GitHub)
DSPy 3.4.1 2026-10-12 3.4.0 on 2026-09-25; 3.0.0 on 2025-08-12 (checked 2026-10-22)
Vercel AI SDK 7.x 2026-06-25 (7.0) Latest 7.x patch not checked; date from Vercel's announcement (checked 2026-10-16)

Release features are described under Key concepts.

  • 2026-12-03: OpenAI Agents SDK 1.0.0-alpha.3 (2026-12-02) makes the Codex harness the default agent loop, moving the 0.x loop to openai_agents.classic; expect a real migration at 1.0. Claude Agent SDK (TypeScript) 0.3.335 adds an Interrupt hook. Pydantic AI 2.78 and CrewAI 1.15.48 add graceful wrap-up at limits and per-tool approval respectively. Gap filled: the Microsoft Agent Framework repo and feed work again; Python 1.26.0 (2026-11-13) deprecates the experimental memory store for removal after 2026-12-31 and limits Hyperlight runs to 30 s by default.
  • 2026-12-02: Claude Agent SDK (TypeScript) 0.3.334 lowers the default auto-compact point to about 400K tokens on 1M-context models; set autoCompactWindow if your agent needs the full window. Claude Managed Agents is now in beta on Amazon Bedrock (2026-12-01), billed by AWS and controlled by IAM through AnthropicBedrock(). OpenAI's Bedrock Managed Agents is in public preview the same day, so both vendors' hosted agent runtimes now run on AWS. Patch releases only: OpenAI Agents SDK 0.26.2 (writes checkpoint schema 1.26, so upgrade readers first) and LangGraph 1.2.25.
  • 2026-12-01: Claude Agent SDK (TypeScript) 0.3.333 changes the MCP server delivery default; check your Claude Code version before upgrading. CrewAI 1.15.46 adds typed conversational state and late-bound Flow persistence. OpenAI Agents SDK 0.26.1 (2026-11-30) is a patch release. The microsoft/agent-framework release feed was readable again on 2026-12-01, and its newest entry was python-1.26.0 (2026-11-13). That release's notes were not read, so the Microsoft row is not updated.
  • 2026-11-30: Quiet weekend: no feature releases after 2026-11-27 from the Claude Agent SDKs, OpenAI Agents SDK, ADK, LangGraph, CrewAI, Ollama (0.40.20-rc0 is a llama-server bump), or vLLM. Pydantic AI 2.77 (2026-11-27) adds persistent conversation stores and a compaction hook (see Key concepts).
  • 2026-11-29: The microsoft/agent-framework GitHub release pages still return 404 (feed on 2026-11-27, release page in the 2026-11-29 link check), and no move was found, so the Microsoft row may be stale (see Open questions).
  • 2026-11-27: Pydantic AI ships near-daily (2.71 to 2.76 in eight days, see Key concepts); expect its table row to go stale fast.
  • 2026-11-24: OpenAI Agents SDK has a 1.0 line in GitHub-only alpha (1.0.0-alpha.2, 2026-11-23) with resumable sessions that survive pending approvals; 0.26.0 is the stable release.
  • 2026-11-13: Claude Agent SDK (Python) 0.2.178–0.2.181 and LangGraph 1.2.19–1.2.21 (to 2026-11-12) added no new features, so the table keeps the last feature releases. Self-hosted Claude Managed Agents launched on 2026-11-12 (see Claude).

Open questions

  • Is LlamaIndex heading for a 0.15 or 1.0? Partly answered (2026-11-17): 0.14.26 shipped on 2026-11-13 (source added), but it is maintenance only. Releases now come about every two months (06-24, 08-19, 09-21, 11-13) and add model support rather than framework features, so treat LlamaIndex as maintained but slowing. Still no 0.15 or 1.0 on GitHub or PyPI.
  • Has Microsoft Agent Framework moved? Answered 2026-12-03: no. The repo resolves at github.com/microsoft/agent-framework without a redirect, and the releases feed and the python-1.26.0 page are readable, so the 404s of 2026-11-27 and 2026-11-29 were temporary and the watchlist entry stays. Still open: the .NET 1.28.0 date (the table says 2026-11-09 from the feed; its release page shows 2026-11-06), and whether a .NET release newer than 1.28.0 exists, as the full feed was not read.
  • When will DSPy 3.5 remove the legacy LM interfaces? No date given (checked 2026-10-12).

Sources