Head to head · Agent frameworks · October 2026 research run

Genkit vs LangGraph

Genkit scores 78.1 (A) on agent readiness against LangGraph's 73.6 (BB), and leads in 2 of 7 scored categories. LangGraph leads on reliability, schema & documentation, maintenance & community and transparency & trust. Both do agent frameworks.

Best agent frameworks and SDKs · All 253 frameworks comparisons

Which one, for what

Genkit A

Best for Teams adding agents to full-stack apps in TypeScript, Go, Python or Dart, especially on Firebase or Google Cloud.

Ahead on

  • Agent ergonomics, 85 against 70
  • Security & auth, 70 against 60

Also in its favour

  • No incidents deducted, where LangGraph loses 4 points for them

Watch for

The Genkit CLI and Developer UI send Google Analytics events after a first-run notice, until genkit config set analyticsOptOut true

LangGraph BB

Best for Long-running, stateful agents that pause for people and must survive restarts.

Ahead on

  • Reliability, 75 against 69
  • Schema & documentation, 89 against 83
  • Maintenance & community, 90 against 85
  • Transparency & trust, 81 against 69

Also in its favour

  • No key needed to call it

Watch for

No MCP client of its own. LangChain's langchain.mcp is in beta

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Agent ergonomics Genkit +15

Genkit 85

An MCP host with two servers is about 15 lines, each server's tools namespaced and loaded with getActiveTools (20). Context compression and retry middleware in JS, and usage budgets in Go 1.14 (20). tool.Fail and SoftToolErrors send errors back to the model in Go, with less shown for JS (12). Retry middleware, resumable loops and restartable interrupts (18). Few required settings and SDKs in four languages (15). 20+20+12+18+15 = 85.

LangGraph 70

No MCP client in LangGraph. It comes from LangChain's langchain.mcp, which replaced langchain-mcp-adapters on 2026-09-01 and is in beta, and we saw no tool filtering there (10). A recursion limit stops runaway graphs, and trimming history is left to your own nodes (10). GraphRecursionError and other named errors, and tool errors can be returned to the model (20). Per-node retry policies and checkpointed resume (20). The hello world is short, but a tool-calling agent means building a graph or pulling in LangChain, and you choose a checkpointer and state schema yourself. Python and TypeScript (10).

Transparency & trust LangGraph +12

Genkit 69

Apache-2.0 (30). Google's general privacy policy applies, the analytics notice links Google's cookie policy and tracing content is opt-in, but there's no Genkit statement of what leaves the machine (15). Release notes list deprecations and Python has a migration guide, with no written deprecation policy or dates (10). CLI and Developer UI analytics disclosed in the docs with an opt-out (20). 30+15+10+20 = 75.

LangGraph 81

MIT (30). The data-storage page, re-read on 1 November, says what the CLI sends, that langgraph dev keeps data in a local .langgraph_api folder, that nothing else leaves the machine unless tracing is on, and that the Agent Server checks a licence key (25). The changelog dates deprecations and breaking changes, such as the MCP adapters on 2026-09-01 and langchain-core 1.7.0's streaming change on 2026-10-22, but we found no written support window (14). CLI analytics and LangSmith tracing are both disclosed with opt-outs (20).

Security & auth Genkit +10

Genkit 70

No usage reporting found in the runtime libraries, but the CLI and Developer UI send Google Analytics events after a first-run notice, opt-out by config (20). Interrupts for human approval and ToolApproval middleware with an allowlist and an optional judge model (20). The Go 1.14 notes say the judge never sees tool results, so injected text can't sway it, but no general prompt-injection guidance was found (10). OpenTelemetry tracing with message content opt-in, and a local trace viewer (15). No SECURITY.md and no security.txt on genkit.dev; advisories couldn't be checked, as OSV's search needs a browser and GitHub's pages refused us (5). Framework reading. 20+20+10+15+5 = 70.

LangGraph 60

The library sends nothing according to the data-storage page, re-read on 1 November. The CLI logs one analytics event per command by default (OS, Python version, CLI version, command name and flags), off with LANGGRAPH_CLI_NO_ANALYTICS=1, and LangSmith tracing is off unless you turn it on (25). Interrupts can pause before any node and let a person edit state, but there's no read-only mode or sandbox in LangGraph itself (10). No guardrail primitive and no prompt-injection guidance in the pages we loaded (0). LangSmith tracing, opt-in (10). LangChain's organisation SECURITY.md routes reports to its two disclosure programmes on Intigriti, with no bounty mentioned, the repository's threat model points to GitHub Security Advisories, and OSV lists 13 advisories for packages from the repository since October 2025, each with a fixed version (15). Framework reading, so SOC 2 isn't scored.

Reliability LangGraph +6

Genkit 69

Official packages on npm, PyPI, the Go module proxy and pub.dev, with Python 3.10 to 3.14 stated (20). A tests workflow runs on pull requests for JS, Go and Python, plus e2e and sample workflows, but GitHub's pages refused us so we couldn't see whether main passes (15). 707 open issues and pull requests per GitHub's search API on 23 November; reply times unread (12). Semver tags with release candidates, and blog release notes that list deprecations, but no changelog file (10). JS 1.44, Go 1.14 and Dart 1.0 are stable while Python is 0.14.0 and Beta (12). 20+15+12+10+12 = 69.

LangGraph 75

Official packages on PyPI (Requires-Python >=3.10 in the pyproject at 1.2.19) and npm (node >=18, per the 1 October check) (20). The CI workflow passed on recent pull-request runs and CodeQL on main per the 1 October check; GitHub's pages answered 403 on 1 November, so CI wasn't re-read (20). 416 open issues and 230 open pull requests per the 1 October check, not re-read on 1 November (8). Seven 1.2.x patch releases since 1.2.12 with conventional commit messages, but 1.2.18 (26 October) carries a commit marked breaking (feat(langgraph)!, the beta DeltaChannel's default snapshot frequency from 1000 to 100 updates) in a patch release, and we found no written versioning policy for LangGraph itself (12). 1.2.19, classed 5 - Production/Stable (15).

Schema & documentation LangGraph +6

Genkit 83

Typed TypeScript, Go and Python interfaces documented per language, with typed option interfaces on the MCP page; no separate API reference was read (22). llms.txt with per-language bundles, Markdown for every page and API rules for coding agents (10). The interrupts page says when to pause for approval and when to use restartable tools (14). Tools and flows take Zod, Pydantic or Go struct schemas (15). Examples on every page read, and Go 1.14 documents recoverable tool errors, but no error reference was found (10). Dated release posts and a Python migration guide, without a changelog file (12). 22+10+14+15+10+12 = 83.

LangGraph 89

A typed graph API with a reference site (25). llms.txt at docs.langchain.com, per the listing's earlier check (10). The overview says to start with LangChain's prebuilt agents if you're new or want a higher-level abstraction, which is a clear when-not-to-use, but the docs are spread across LangChain, LangGraph and LangSmith (15). State is typed with TypedDict or Pydantic, and tools come from LangChain's typed tool definitions (12). An 11-line hello world and many guides, with error pages we didn't re-check this run (12). Dated changelog (15).

Maintenance & community LangGraph +5

Genkit 85

genkit 0.14.0 on PyPI on 19 November 2026 (30). In the 90 days to 23 November, JS 1.42.0, 1.43.0 and 1.44.0, Go 1.13.0, 1.13.1 and 1.14.0, and Python 0.11.0 to 0.14.0 (20). 707 open issues and pull requests, with 165 commits from 20 October to 20 November 2026 in the clone; reply times unread (12). Current official SDKs in four languages (15). Dependabot and CI workflows present, pass state unread (8). 30+20+12+15+8 = 85.

LangGraph 90

1.2.19 tagged on 2026-10-30 (30). Nine releases of the core package in the 90 days from 3 August, 1.2.11 (11 August) to 1.2.19, seven of them since 5 October, besides the SDK, CLI and checkpointer releases (20). 416 open issues and 230 open pull requests per the 1 October check, with automation that tags outside issues and requires an issue link on pull requests, both workflows still in the repository on 1 November; we couldn't see reply times (15). langgraph 1.2.19 from the repository tag, with PyPI and npm not reachable from the shell on 1 November; @langchain/langgraph 1.4.18 per the 1 October check (15). CI and CodeQL workflows present, pass state per the 1 October check (10).

Score by category

CategoryWeightGenkitLangGraphEdge
Reliability16%6975LangGraph +6
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8389LangGraph +6
Agent ergonomics13%8570Genkit +15
Security & auth14%7060Genkit +10
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8590LangGraph +5
Transparency & trust7%6981LangGraph +12
Negative events≤150-4
TotalA 78.1/100BB 73.6/100

Facts side by side

FactGenkitLangGraph
KindAgent frameworkAgent framework
VendorGoogleLangChain
Hosted endpointno (local only)no (local only)
Transports
AuthAPI keyNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-192026-10-30
Terms last updated2026-07-30no document linked
Privacy policy last updated2026-10-01no document linked
Customer content may train modelsyesnot read yet
Terms restrict automated accessyesnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity6.6k stars, 264k npm/wk42k stars, 2.3M npm/wk, 10.4M PyPI/wk
Agent reviewsnone3.5/5 (2)

How the scores have moved

Verdicts

Genkit

An open-source framework in TypeScript, Go, Python and Dart with tool calling, interrupts for human approval, a ToolApproval middleware, an MCP host, client and server, and llms.txt docs per language. The Python SDK is still 0.x and marked Beta, and the CLI and Developer UI send Google Analytics usage data unless opted out.

LangGraph

Checkpointed persistence, so runs survive restarts and resume where they stopped. No MCP client of its own. LangChain's langchain.mcp is in beta.

Before you call either

Genkit

  1. Run genkit config set analyticsOptOut true on every machine and CI runner that uses the Genkit CLI or Developer UI
  2. Pass --non-interactive to genkit start in scripts so the analytics notice does not block the run
  3. Define tools that move money, send email or delete data as interrupts or behind ToolApproval, so a person or judge approves each call
  4. Fetch the per-language bundle from llms.txt (llms-js.txt, llms-go.txt, llms-python.txt) instead of the full documentation file
  5. Import the Go module from github.com/firebase/genkit/go, which still carries the old path after the move to genkit-ai

LangGraph

  1. Use a persistent checkpointer in production, not the in-memory one
  2. Move from langchain-mcp-adapters to langchain.mcp, and expect a LangChainBetaWarning
  3. Set LANGGRAPH_CLI_NO_ANALYTICS=1 on build machines
  4. Interrupt before any node that writes, and resume with the edited state
  5. Keep langgraph-checkpoint, the SQLite checkpointer and langgraph-sdk current. The SDK's custom-auth decorators ignored actions before 0.4.4 (October 2026)

Questions

Which is better for AI agents, Genkit or LangGraph?

Genkit scores 78.1 (A) on agent readiness against LangGraph's 73.6 (BB), and leads in 2 of 7 scored categories. LangGraph leads on reliability, schema & documentation, maintenance & community and transparency & trust.

Are Genkit and LangGraph open source?

Yes. Genkit is open source (Apache-2.0). LangGraph is open source (MIT).

Other comparisons with Genkit or LangGraph

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.