# Cursor Agent SDK vs Genkit

> Genkit scores 78.1 (A) to Cursor Agent SDK's 65.5 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit
- Markdown: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.md (~4,100 tokens)
- Slim: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.min.md (~880 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.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-24

Genkit scores 78.1 (A) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 6 of 7 scored categories. Both do agent frameworks.

- Cursor Agent SDK: grade B, 65.5/100, rank #570 of 1668. Markdown https://www.anchorterminal.com/tools/cursor-agent-sdk.md · JSON https://www.anchorterminal.com/api/v1/tools/cursor-agent-sdk.json
- Genkit: grade A, 78.1/100, rank #64 of 1668. Markdown https://www.anchorterminal.com/tools/genkit.md · JSON https://www.anchorterminal.com/api/v1/tools/genkit.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

### Cursor Agent SDK (B)

Good for: Teams already on Cursor who want version-controlled agents for pull request review, triage and Slack, with evals in CI and one-command hosting.

Watch for: Closed source under Cursor's terms, with no public repository, CI or issue tracker

### 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:
- Reliability, 69 against 45
- Agent ergonomics, 85 against 80
- Payments & pricing, 90 against 45
- Maintenance & community, 85 against 74

Also in its favour:
- Agent-ready, a grade of BB or better
- Open source

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


## Why the edge

### Payments & pricing: Genkit +45

- Cursor Agent SDK (45): Framework reading of the published rubric. No payment protocol (0). Per-million-token prices for Cursor models, including the default Grok 4.5 with Fast, and plan prices are public, but no price for managed hosting and no statement of which plans cover the Agent SDK were found (15). The package is free and the Free plan needs no card, but its usage is only described as limited agent requests (15). A person signs in through a browser or creates an API key in the dashboard before a model turn runs (0). 0+15+15+0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
- Genkit (90): No payment protocol (0). Free, self-hosted Apache-2.0 packages with nothing to buy from Genkit, so 30 + 30 + 30 by the self-hosted rule. 90.

### Reliability: Genkit +24

- Cursor Agent SDK (45): Local-package reading, since the owner runs the framework, with Cursor's hosting as an option. Official npm package with Node 22.13 or newer stated in engines and in the docs, which also say never Bun (20). Closed source, so no public CI or test suite (0). No public issue tracker. github.com/cursor/cursor holds a README and SECURITY.md, and forum.cursor.com has no Agent SDK tag, so there's nothing to count open crashes against. The troubleshooting page lists known failures with fixes (5). A dated changelog of two entries, 0.2.29 and 0.3.0, both 23 October 2026, and 0.3.0 calls out the removed `persistent` option, but the 27 earlier @cursor/bdk versions and 123 @cursor/july versions have no notes, and one build ships under three package names (5). Version 0.3.0, but the changelog post of 20 October says generally available and the docs changelog labels 0.3.0 the GA release, which we read as declared stable (15). 20+0+5+5+15 = 45.
- 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.

### Maintenance & community: Genkit +11

- Cursor Agent SDK (74): 0.3.0 on npm on 25 October 2026, per the 27 October check (npm not re-read on 2 November), and the docs changelog still ends at 0.3.0 of 23 October (30). Five @grok/agent-sdk versions from 22 to 25 October and 29 @cursor/bdk versions since 22 September, per the 27 October check (20). Closed product. A public changelog with two entries and a forum with no Agent SDK tag, so we couldn't see replies to SDK reports (8). The npm package is current and official, TypeScript only (12). Dependencies are current releases, but there's no public CI and the same build goes out under three names with a postinstall script (4). 30+20+8+12+4 = 74.
- 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.

### Agent ergonomics: Genkit +5

- Cursor Agent SDK (80): Framework reading, scored on what it takes to run a tool-calling agent with MCP. One file per tool and one file per MCP connection, `tools` and `disallowedTools` filters with `effects: "read"`, and an allowlist for the harness's built-in tools (22). Concurrency caps with queued turns, `--fields`, page tokens and limits on list commands, and a per-session cost view. We found no turn cap or spend cap for a run (12). Built-in routes return `{ ok: false, error }` codes, direct tool calls have documented 400, 404, 409 and 500 codes, and the CLI has seven exit codes (18). Reads and idempotent calls retry up to three times, writes run once, MCP readOnlyHint and idempotentHint decide retries for connection tools, and dry-run sessions stub writes (20). `agent-sdk init` scaffolds a working project and every agent field is optional, but the framework is TypeScript only (8). 22+12+18+20+8 = 80.
- 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.

## Score by category

| Category | Weight | Cursor Agent SDK | Genkit | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 45 | 69 | Genkit +24 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 82 | 83 | Genkit +1 |
| Agent ergonomics | 13% | 80 | 85 | Genkit +5 |
| Security & auth | 14% | 68 | 70 | Genkit +2 |
| Payments & pricing | 10% | 45 | 90 | Genkit +45 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 74 | 85 | Genkit +11 |
| Transparency & trust | 7% | 71 | 69 | Cursor Agent SDK +2 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **65.5 · B** | **78.1 · A** | |

## Facts side by side

| Fact | Cursor Agent SDK | Genkit |
| --- | --- | --- |
| Kind | Agent framework | Agent framework |
| Vendor | Cursor | Google |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | OAuth or key | API key |
| Pricing | Your plan | Free |
| x402 | no | no |
| Licence | Proprietary. The package's LICENSE.md reads "© Anysphere Inc. All rights reserved", with use subject to Cursor's Terms of Service (updated 3 September 2026). No source repository is published | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-25 | 2026-11-19 |
| Terms last updated | 2026-09-03 | 2026-07-30 |
| Privacy policy last updated | 2026-09-29 | 2026-10-01 |
| Customer content may train models | not found in the text | yes |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | none | 6.6k stars, 264k npm/wk |

## How the scores have moved

### Cursor Agent SDK

- +1.8 on 13 November 2026: checklist
- +0.1 on 28 October 2026: checklist

### Genkit

No score change since it was listed.

## Verdicts

**Cursor Agent SDK.** An agent-as-code framework with typed tools, declared read and write effects that drive retries and dry runs, an approval gate per tool and evals that assert on tool calls. It's closed source, every model turn runs through Cursor's backend on a Cursor plan, local sandboxing is off by default, and the changelog has two entries.

**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.

## Before you call either

### Cursor Agent SDK

1. Install `@grok/agent-sdk`, not `@cursor/agent-sdk` from the launch post. That name answers 404 on npm
2. Set `local.sandbox` before a turn reads webhook payloads, pull request diffs or chat. Without it shell commands auto-approve with the host's credentials
3. Give every tool an `effect`. A tool without one counts as a write, runs once and is stubbed in dry runs
4. Start `agent-sdk serve` with `--bearer-token` on any shared host. `--allow-anonymous` admits every caller as one principal
5. Delete bot/hooks/memory.ts when sessions serve different people. The journal shares each turn's message and result with later turns

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

## Questions

### Which is better for AI agents, Cursor Agent SDK or Genkit?

Genkit scores 78.1 (A) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 6 of 7 scored categories.

### Are Cursor Agent SDK and Genkit open source?

No open-source release is listed for Cursor Agent SDK. Genkit is open source (Apache-2.0).


## For agents

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

## Other comparisons with Cursor Agent SDK or Genkit

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

---

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