Head to head · Agent frameworks · October 2026 research run

Cursor Agent SDK vs 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. Both do agent frameworks.

Best agent frameworks and SDKs · All 253 frameworks comparisons

Which one, for what

Cursor Agent SDK B

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

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

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

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

  • 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

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.

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

CategoryWeightCursor Agent SDKGenkitEdge
Reliability16%4569Genkit +24
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8283Genkit +1
Agent ergonomics13%8085Genkit +5
Security & auth14%6870Genkit +2
Payments & pricing10%4590Genkit +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7485Genkit +11
Transparency & trust7%7169Cursor Agent SDK +2
Negative events≤1500
TotalB 65.5/100A 78.1/100

Facts side by side

FactCursor Agent SDKGenkit
KindAgent frameworkAgent framework
VendorCursorGoogle
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyAPI key
PricingYour planFree
x402nono
LicenceProprietary. 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 publishedApache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-252026-11-19
Terms last updated2026-09-032026-07-30
Privacy policy last updated2026-09-292026-10-01
Customer content may train modelsnot found in the textyes
Terms restrict automated accessyesyes
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularitynone6.6k stars, 264k npm/wk

How the scores have moved

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

Other comparisons with Cursor Agent SDK or Genkit

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.