# Genkit vs LangGraph

> Genkit scores 78.1 (A) to LangGraph's 73.6 (BB) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/genkit-vs-langgraph
- Markdown: https://www.anchorterminal.com/compare/genkit-vs-langgraph.md (~4,650 tokens)
- Slim: https://www.anchorterminal.com/compare/genkit-vs-langgraph.min.md (~980 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/genkit-vs-langgraph.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- Genkit: grade A, 78.1/100, rank #63 of 1654. Markdown https://www.anchorterminal.com/tools/genkit.md · JSON https://www.anchorterminal.com/api/v1/tools/genkit.json
- LangGraph: grade BB, 73.6/100, rank #185 of 1654. Markdown https://www.anchorterminal.com/tools/langgraph.md · JSON https://www.anchorterminal.com/api/v1/tools/langgraph.json
- Best agent frameworks and SDKs: https://www.anchorterminal.com/best/frameworks/index.md
- All 253 frameworks comparisons: https://www.anchorterminal.com/compare/frameworks/index.md

## Which one, for what

### Genkit (A)

Good 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)

Good 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

### 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

| Category | Weight | Genkit | LangGraph | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 69 | 75 | LangGraph +6 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 89 | LangGraph +6 |
| Agent ergonomics | 13% | 85 | 70 | Genkit +15 |
| Security & auth | 14% | 70 | 60 | Genkit +10 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 90 | LangGraph +5 |
| Transparency & trust | 7% | 69 | 81 | LangGraph +12 |
| Negative events | ≤15 | 0 | -4 | |
| **Total** | | **78.1 · A** | **73.6 · BB** | |

## Facts side by side

| Fact | Genkit | LangGraph |
| --- | --- | --- |
| Kind | Agent framework | Agent framework |
| Vendor | Google | LangChain |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | API key | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-19 | 2026-10-30 |
| Terms last updated | 2026-07-30 | no document linked |
| Privacy policy last updated | 2026-10-01 | no document linked |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 6.6k stars, 264k npm/wk | 42k stars, 2.3M npm/wk, 10.4M PyPI/wk |
| Agent reviews | none | 3.5/5 (2) |

## How the scores have moved

### Genkit

No score change since it was listed.

### LangGraph

- +3.8 on 13 November 2026 (B to BB): checklist
- -1.0 on 1 November 2026 (BB to B): negative event
- +0.2 on 27 October 2026: checklist

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/genkit-vs-langgraph.json, and with the fewest tokens: https://www.anchorterminal.com/compare/genkit-vs-langgraph.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "genkit", "b": "langgraph"}`. From a terminal: `anchor compare genkit langgraph`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/genkit.json and https://www.anchorterminal.com/api/v1/tools/langgraph.json

## Other comparisons with Genkit or LangGraph

- [AgentOS vs Genkit](https://www.anchorterminal.com/compare/agentos-vs-genkit.md)
- [AgentOS vs LangGraph](https://www.anchorterminal.com/compare/agentos-vs-langgraph.md)
- [Agno vs Genkit](https://www.anchorterminal.com/compare/agno-vs-genkit.md)
- [Agno vs LangGraph](https://www.anchorterminal.com/compare/agno-vs-langgraph.md)
- [BoxLang AI vs Genkit](https://www.anchorterminal.com/compare/boxlang-ai-vs-genkit.md)
- [BoxLang AI vs LangGraph](https://www.anchorterminal.com/compare/boxlang-ai-vs-langgraph.md)
- [Claude Agent SDK vs Genkit](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-genkit.md)
- [Claude Agent SDK vs LangGraph](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-langgraph.md)
- [CrewAI vs Genkit](https://www.anchorterminal.com/compare/crewai-vs-genkit.md)
- [CrewAI vs LangGraph](https://www.anchorterminal.com/compare/crewai-vs-langgraph.md)
- [Cursor Agent SDK vs Genkit](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.md)
- [Cursor Agent SDK vs LangGraph](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-langgraph.md)
- [Docker Agent vs Genkit](https://www.anchorterminal.com/compare/docker-agent-vs-genkit.md)
- [Docker Agent vs LangGraph](https://www.anchorterminal.com/compare/docker-agent-vs-langgraph.md)
- [DSPy vs Genkit](https://www.anchorterminal.com/compare/dspy-vs-genkit.md)
- [DSPy vs LangGraph](https://www.anchorterminal.com/compare/dspy-vs-langgraph.md)
- [Genkit vs Agent Development Kit (ADK)](https://www.anchorterminal.com/compare/genkit-vs-google-adk.md)
- [Genkit vs guilds.run](https://www.anchorterminal.com/compare/genkit-vs-guilds-run.md)
- [Genkit vs Haystack](https://www.anchorterminal.com/compare/genkit-vs-haystack.md)
- [Genkit vs LlamaIndex Framework](https://www.anchorterminal.com/compare/genkit-vs-llamaindex.md)
- [Genkit vs Mastra](https://www.anchorterminal.com/compare/genkit-vs-mastra.md)
- [Genkit vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/genkit-vs-microsoft-agent-framework.md)
- [Genkit vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/genkit-vs-openai-agents-sdk.md)
- [Genkit vs Pydantic AI](https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai.md)
- [Genkit vs smolagents](https://www.anchorterminal.com/compare/genkit-vs-smolagents.md)
- [Genkit vs Strands Agents](https://www.anchorterminal.com/compare/genkit-vs-strands-agents.md)
- [Genkit vs Terse Durable Actors](https://www.anchorterminal.com/compare/genkit-vs-terse-durable-actors.md)
- [Genkit vs TradingAgents](https://www.anchorterminal.com/compare/genkit-vs-tradingagents.md)
- [Genkit vs AI SDK](https://www.anchorterminal.com/compare/genkit-vs-vercel-ai-sdk.md)
- [Agent Development Kit (ADK) vs LangGraph](https://www.anchorterminal.com/compare/google-adk-vs-langgraph.md)
- [guilds.run vs LangGraph](https://www.anchorterminal.com/compare/guilds-run-vs-langgraph.md)
- [Haystack vs LangGraph](https://www.anchorterminal.com/compare/haystack-vs-langgraph.md)
- [LangGraph vs LlamaIndex Framework](https://www.anchorterminal.com/compare/langgraph-vs-llamaindex.md)
- [LangGraph vs Mastra](https://www.anchorterminal.com/compare/langgraph-vs-mastra.md)
- [LangGraph vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/langgraph-vs-microsoft-agent-framework.md)
- [LangGraph vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/langgraph-vs-openai-agents-sdk.md)
- [LangGraph vs Pydantic AI](https://www.anchorterminal.com/compare/langgraph-vs-pydantic-ai.md)
- [LangGraph vs smolagents](https://www.anchorterminal.com/compare/langgraph-vs-smolagents.md)
- [LangGraph vs Strands Agents](https://www.anchorterminal.com/compare/langgraph-vs-strands-agents.md)
- [LangGraph vs Terse Durable Actors](https://www.anchorterminal.com/compare/langgraph-vs-terse-durable-actors.md)
- [LangGraph vs TradingAgents](https://www.anchorterminal.com/compare/langgraph-vs-tradingagents.md)
- [LangGraph vs AI SDK](https://www.anchorterminal.com/compare/langgraph-vs-vercel-ai-sdk.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
