{
  "data": {
    "a": {
      "slug": "cursor-agent-sdk",
      "name": "Cursor Agent SDK",
      "vendor": "Cursor",
      "vendorUrl": "https://cursor.com/docs/agent-sdk",
      "company": "cursor.com",
      "kind": "framework",
      "category": "frameworks",
      "summary": "Cursor's TypeScript framework for defining an agent as a folder of instructions, typed tools, skills, MCP connections and channels, testing it with evals, and running it on your own server or on Cursor's hosting.",
      "url": "https://www.anchorterminal.com/tools/cursor-agent-sdk",
      "markdownUrl": "https://www.anchorterminal.com/tools/cursor-agent-sdk.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/cursor-agent-sdk.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/cursor-agent-sdk.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/cursor-agent-sdk.json",
      "dns": "cursor-agent-sdk.grade.anchorterminal.com",
      "license": "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",
      "transports": [],
      "packages": [
        {
          "registry": "npm",
          "name": "@grok/agent-sdk"
        }
      ],
      "auth": "mixed",
      "authNotes": "Model turns need a Cursor credential. `agent-sdk login` opens a browser sign-in and stores the key it creates, or pass a user API key from the dashboard or a team service-account key as `--api-key`, `CURSOR_API_KEY`, `CURSOR_API_KEY_FILE` or `CURSOR_SERVICE_ACCOUNT_KEY`. `logout` doesn't revoke the key. Direct tool calls without a model turn need no Cursor key. A self-hosted server is protected with `--bearer-token`, and a deployment's routes with an alias token.",
      "pricing": "byo-plan",
      "pricingNotes": "The package is free to install. Model turns draw on the Cursor plan of the key's owner, Free ($0, limited agent requests) to Ultra ($200 a month), and beyond the weekly pool the default model, Grok 4.5 with Fast on, is $4 per million input tokens and $18 per million output tokens. No price for Cursor-managed hosting and no statement of which plans include the Agent SDK were found (checked 2026-10-27).",
      "priceSummary": "Your plan",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Agent SDK docs, the npm package or the pricing page (checked 2026-10-27).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-27"
      },
      "docsUrl": "https://cursor.com/docs/agent-sdk",
      "llmsTxt": "https://cursor.com/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.mcp-client",
        "agent.durable",
        "agent.multi-agent",
        "obs.evals"
      ],
      "tags": [
        "official",
        "framework",
        "typescript",
        "closed-source",
        "mcp",
        "llms-txt",
        "pre-1.0",
        "self-hosted",
        "hosted",
        "new"
      ],
      "lastRelease": "2026-10-25",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 65.5,
        "grade": "B",
        "agentReady": false,
        "rank": 564,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 19,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 80,
          "maintenance": 74,
          "payments": 45,
          "reliability": 45,
          "schema": 82,
          "security": 68,
          "transparency": 71
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-02"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "Teams already on Cursor who want version-controlled agents for pull request review, triage and Slack, with evals in CI and one-command hosting.",
        "strengths": [
          "Tools declare a read, write or idempotent effect. Only reads and idempotent calls retry, and dry-run sessions stub writes",
          "`needsApproval` on a tool parks the call until a person approves, and `ctx.approvedBy` records who did",
          "Evals assert which tools ran, with what input, and the reply's shape, and `github replay` turns a real pull request into signed test deliveries",
          "Every page has a Markdown twin listed in cursor.com/llms.txt, and the package ships the same docs and an llms.txt",
          "Sessions keep a record of every message and tool call, and OpenTelemetry export stays off until an endpoint is set"
        ],
        "weaknesses": [
          "Closed source under Cursor's terms, with no public repository, CI or issue tracker",
          "Every model turn runs through Cursor's backend with a Cursor credential, including on a self-hosted server",
          "Local sandboxing is off by default, so shell commands auto-approve with the host's credentials",
          "The changelog has two entries, 0.2.29 and 0.3.0, both dated 23 October 2026. The 27 earlier @cursor/bdk versions have none",
          "The launch post's install command names a package that doesn't exist on npm"
        ],
        "agentNotes": [
          "Install `@grok/agent-sdk`, not `@cursor/agent-sdk` from the launch post. That name answers 404 on npm",
          "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",
          "Give every tool an `effect`. A tool without one counts as a write, runs once and is stubbed in dry runs",
          "Start `agent-sdk serve` with `--bearer-token` on any shared host. `--allow-anonymous` admits every caller as one principal",
          "Delete bot/hooks/memory.ts when sessions serve different people. The journal shares each turn's message and result with later turns"
        ],
        "metrics": {
          "kind": "library",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 65.5
          }
        ],
        "editorialScores": {
          "ergonomics": 80,
          "maintenance": 74,
          "payments": 45,
          "reliability": 45,
          "schema": 82,
          "security": 68,
          "transparency": 49
        },
        "provenanceScore": 92,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-02",
            "maintenance": "2026-11-02",
            "payments": "2026-11-02",
            "reliability": "2026-11-02",
            "schema": "2026-11-02",
            "security": "2026-11-02",
            "transparency": "2026-11-02"
          },
          "last": "2026-11-02",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-02",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "npm install --global @grok/agent-sdk",
        "headless": {
          "run": "agent-sdk run --dir . --message \"Introduce yourself in one sentence.\""
        }
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/cursor-agent-sdk"
      },
      "sameCompany": [
        "cursor-cli",
        "grok-bot"
      ],
      "area": "frameworks",
      "unitPrices": [
        {
          "item": "Grok 4.5 Fast (the default model) input, beyond the weekly pool",
          "unit": "1m-tokens",
          "usd": 4,
          "note": "cache reads $1"
        },
        {
          "item": "Grok 4.5 Fast (the default model) output, beyond the weekly pool",
          "unit": "1m-tokens",
          "usd": 18
        },
        {
          "item": "Grok 4.5 input, Fast off, beyond the weekly pool",
          "unit": "1m-tokens",
          "usd": 2,
          "note": "cache reads $0.50"
        },
        {
          "item": "Grok 4.5 output, Fast off, beyond the weekly pool",
          "unit": "1m-tokens",
          "usd": 6
        },
        {
          "item": "Premium plan (first plan with Cloud Agents and third-party models)",
          "unit": "month",
          "usd": 30
        }
      ],
      "provenance": {
        "legalEntity": "Anysphere, Inc.",
        "domain": "cursor.com",
        "domainRegistered": "1995-12-20",
        "endpointOnVendorDomain": null,
        "terms": "https://cursor.com/terms-of-service",
        "privacy": "https://cursor.com/privacy",
        "statusPage": "https://status.cursor.com",
        "changelog": "https://cursor.com/docs/agent-sdk/changelog",
        "securityTxt": "valid",
        "checked": "2026-11-02",
        "notes": [
          "The package's LICENSE.md and the site footer name Anysphere, Inc. The terms of service are dated 3 September 2026 and the privacy policy 11 October 2026.",
          "RDAP (Verisign) gives cursor.com a registration date of 1995-12-20.",
          "cursor.com/.well-known/security.txt has a Contact line pointing to github.com/getcursor/cursor/security and a secondary email, and no Expires line. The site's tracker reads a file with a Contact and no Expires as valid, as on the Cursor CLI listing.",
          "The footer links status.cursor.com. Its robots.txt answered with a Cloudflare challenge on 27 October 2026, so the status page wasn't read.",
          "The npm package's repository field points to github.com/cursor/cursor, which holds only a README and SECURITY.md.",
          "On 2 November 2026 status.cursor.com answered with a redirect to status.x.ai, whose page answered a Cloudflare block, so the status page couldn't be read."
        ],
        "score": 92
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/cursor-agent-sdk.json",
      "live": {
        "slug": "cursor-agent-sdk",
        "vendorStatus": {
          "page": "https://status.cursor.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-23T17:35:53.504203729Z"
        },
        "versions": [
          {
            "registry": "npm",
            "name": "@grok/agent-sdk",
            "version": "0.7.2",
            "seenAt": "2026-11-23T00:01:35.837224041Z"
          }
        ],
        "npmWeekly": 32477,
        "securityTxt": {
          "url": "https://cursor.com/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-11-23T16:44:17.449852965Z"
        },
        "llmsTxt": {
          "url": "https://cursor.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:39:14.401122142Z"
        },
        "domain": {
          "domain": "cursor.com",
          "registered": "1995-12-20",
          "source": "https://rdap.verisign.com/com/v1/domain/cursor.com",
          "checkedAt": "2026-11-22T16:04:12.848653044Z"
        },
        "pages": [
          {
            "url": "https://cursor.com/docs/agent-sdk/changelog",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-23T00:19:55.649015897Z",
            "changedAt": "2026-11-20T22:57:57.370731989Z",
            "fingerprint": "81181b64307c"
          },
          {
            "url": "https://cursor.com/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-23T00:19:59.596571211Z",
            "changedAt": "2026-11-08T14:42:30.344401464Z",
            "fingerprint": "b650dcc7ebc7"
          },
          {
            "url": "https://cursor.com/terms-of-service",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-23T00:20:01.611582677Z",
            "changedAt": "2026-10-21T00:22:07.052190293Z",
            "fingerprint": "d31f70e876bc"
          }
        ],
        "updatedAt": "2026-11-23T17:35:53.504203729Z"
      }
    },
    "answer": "DSPy scores 68.3 (B) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 3 of 7 scored categories. Cursor Agent SDK leads on schema \u0026 documentation, agent ergonomics, security \u0026 auth and transparency \u0026 trust.",
    "b": {
      "slug": "dspy",
      "name": "DSPy",
      "vendor": "Stanford NLP",
      "vendorUrl": "https://dspy.ai/",
      "company": "dspy.ai",
      "kind": "framework",
      "category": "frameworks",
      "summary": "DSPy is an open-source Python framework from Stanford NLP for writing language-model programs as typed signatures and modules, with a ReAct agent, MCP tool conversion, evaluation and optimisers that tune prompts and weights.",
      "url": "https://www.anchorterminal.com/tools/dspy",
      "markdownUrl": "https://www.anchorterminal.com/tools/dspy.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/dspy.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/dspy.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/dspy.json",
      "dns": "dspy.grade.anchorterminal.com",
      "repo": "https://github.com/stanfordnlp/dspy",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "dspy"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no credentials of its own. dspy.LM reads the key of the model provider the developer configures.",
      "pricing": "free",
      "pricingNotes": "Free and open source under MIT, with nothing to buy from the project. You pay for model calls to the provider you configure.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the DSPy docs or the repository (checked 2026-11-23).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 39193,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://dspy.ai/",
      "capabilities": [
        "agent.framework",
        "agent.mcp-client",
        "obs.evals"
      ],
      "tags": [
        "framework",
        "python",
        "open-source",
        "mcp",
        "prompt-optimisation",
        "evals",
        "sandbox"
      ],
      "lastRelease": "2026-11-10",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 68.3,
        "grade": "B",
        "agentReady": false,
        "rank": 414,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 18,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 64,
          "maintenance": 87,
          "payments": 90,
          "reliability": 62,
          "schema": 71,
          "security": 60,
          "transparency": 52
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": 0,
        "verdict": "An MIT Python framework with typed signatures, a ReAct agent that returns tool errors to the model, MCP tool conversion, a Deno sandbox for generated code, no telemetry found and monthly releases. Release 3.5 changed defaults and removed APIs in a minor version, and there is no tool approval hook or llms.txt.",
        "bestFor": "Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.",
        "strengths": [
          "No telemetry found in the source, and the optional LiteLLM engine switches LiteLLM telemetry off",
          "Tools are typed from signatures and Pydantic annotations and validated against JSON Schema before they run",
          "ReAct returns unknown tools and exceptions to the model as error results and forces a final submit at max_iters",
          "RLM runs generated Python in a Deno and Pyodide sandbox with no filesystem or network access",
          "Releases 3.4.0, 3.4.1 and 3.5.0 between 24 September and 10 November 2026, with 213 commits in 90 days"
        ],
        "weaknesses": [
          "3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release",
          "No human approval hook for tool calls and no prompt-injection guidance found",
          "CVE-2025-12695, a sandbox file read in PythonInterpreter, is listed by OSV with no fixed version",
          "No llms.txt at dspy.ai, and no written deprecation policy",
          "352 open issues and 475 open pull requests, with 8 of the 50 newest issues closed"
        ],
        "agentNotes": [
          "Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed",
          "Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open",
          "Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default",
          "Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval",
          "Pin dspy to a minor version, since minor releases remove APIs"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 68.3
          }
        ],
        "editorialScores": {
          "ergonomics": 64,
          "maintenance": 87,
          "payments": 90,
          "reliability": 62,
          "schema": 71,
          "security": 60,
          "transparency": 68
        },
        "provenanceScore": 36,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-23",
            "maintenance": "2026-11-23",
            "payments": "2026-11-23",
            "reliability": "2026-11-23",
            "schema": "2026-11-23",
            "security": "2026-11-23",
            "transparency": "2026-11-23"
          },
          "last": "2026-11-23",
          "oldest": "2026-11-23",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install dspy   # MCP tools: pip install \"dspy[mcp]\""
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/dspy"
      },
      "area": "frameworks",
      "provenance": {
        "legalEntity": "",
        "domain": "dspy.ai",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "https://github.com/stanfordnlp/dspy/releases",
        "securityTxt": "unknown",
        "checked": "2026-11-23",
        "notes": [
          "An open-source project with no company named. The licence reads Copyright (c) 2023 Stanford Future Data Systems, the repository sits under the stanfordnlp organisation, and dspy.ai names Stanford NLP.",
          "No terms or privacy policy found on dspy.ai; the library stores data only in its local answer cache.",
          "dspy.ai/llms.txt answered 404. robots.txt rules on dspy.ai allowed the pages read.",
          "security.txt wasn't checked."
        ],
        "score": 36
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/dspy.json",
      "live": {
        "slug": "dspy",
        "securityTxt": {
          "url": "https://dspy.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-23T16:42:39.18856267Z"
        },
        "updatedAt": "2026-11-23T16:42:39.18856267Z"
      }
    },
    "edges": [
      {
        "by": 45,
        "category": "payments",
        "leads": "dspy",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "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.",
          "b": "Self-hosted rule. Free MIT package with nothing to buy from the project (30 + 30 + 30). No payment protocol (0). 0+30+30+30 = 90."
        },
        "scores": {
          "a": 45,
          "b": 90
        }
      },
      {
        "by": 19,
        "category": "transparency",
        "leads": "cursor-agent-sdk",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "Closed source. LICENSE.md reads All rights reserved, with use under Cursor's Terms of Service of 3 September 2026 (15). The data-use page says Privacy Mode keeps Customer Data out of training with zero-retention agreements at model providers, and that with it off Cursor may store and train on code and prompts. The deployment page says managed hosting stores the repository and agent data the same way under Privacy Mode and refuses Privacy Mode (Legacy). No retention periods are stated, and subprocessors are on a trust portal (14). No deprecation policy. The early-alpha migration guide, the `persistent` removal and the semantic-search removal are documented with error messages but only the changelog entry carries a date (6). OpenTelemetry and the update check are documented with switches. What the Cursor backend logs from turns is covered only by the data-use page (14). 15+14+6+14 = 49.",
          "b": "MIT (30). The library keeps only its answer cache, in memory and on disk by default, which the cache guide describes; no terms or privacy policy exist for the project (18). Deprecation warnings name the removal version (ReActV2 removed in 3.6), but there is no written policy and 3.5 removed APIs without a prior deprecation release (8). No telemetry, though no page states it (12). 30+18+8+12 = 68."
        },
        "scores": {
          "a": 71,
          "b": 52
        }
      },
      {
        "by": 17,
        "category": "reliability",
        "leads": "dspy",
        "name": "Reliability",
        "reasons": {
          "a": "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.",
          "b": "Local-package reading. Official PyPI package dspy with Python 3.10 to below 3.16 stated (20). A public test workflow runs on pushes to main and pull requests for Python 3.10 to 3.15; whether main passes wasn't read, as the Actions API refused us (15). 352 open issues and 475 open pull requests on 23 November 2026. The 50 newest issues, opened from 6 October to 23 November, had 19 with a comment and 8 closed (10). Release notes and an upgrade guide for 3.5, but 3.5 changed defaults and removed APIs in a minor release (7). 3.x, while the package classifier still says Alpha, so partial (10). 20+15+10+7+10 = 62."
        },
        "scores": {
          "a": 45,
          "b": 62
        }
      },
      {
        "by": 16,
        "category": "ergonomics",
        "leads": "cursor-agent-sdk",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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.",
          "b": "Framework reading. MCP tools through the dspy[mcp] extra, converted one by one from a client session the developer opens (14). max_iters with a turn budget shown to the model and a forced final submit bound a run (17). Unknown tools and tool exceptions return to the model as error results (15). History continuation and saved programs, but no resume of an interrupted run or durable store; answer caching can mask repeated calls (8). Signatures keep required arguments few, an LM must be configured, Python only (10). 14+17+15+8+10 = 64."
        },
        "scores": {
          "a": 80,
          "b": 64
        }
      },
      {
        "by": 13,
        "category": "maintenance",
        "leads": "dspy",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "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.",
          "b": "3.5.0 tagged on 10 November 2026, 13 days before this check (30). Three releases in the 90 days to 23 November (3.4.0, 3.4.1, 3.5.0) (20). The 50 newest issues had 19 with a comment and 8 closed, with 352 issues and 475 pull requests open, while 213 commits from about 30 authors reached the repository in 90 days (12). The package is current (15). CI on six Python versions, Dependabot and actions pinned to commit SHAs (10). 30+20+12+15+10 = 87."
        },
        "scores": {
          "a": 74,
          "b": 87
        }
      },
      {
        "by": 11,
        "category": "schema",
        "leads": "cursor-agent-sdk",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Framework reading. Typed TypeScript declarations ship in the package, tools take Zod or JSON Schema, `agent-sdk help --json` describes every command's flags and exit codes, and `GET /v1/info` and `GET /v1/tools/:name` return the discovered surface and each tool's schemas. No OpenAPI document for the HTTP routes (20). cursor.com/llms.txt lists every Agent SDK page with a Markdown twin, and the package ships the docs and an llms.txt (10). The overview has a table of when to use the Agent SDK, Automations or Grok Bot, and the hooks page has a table of what to use instead of a hook for each job (18). Typed config, `effect` as an enum or predicate, `timeArgs` checked against the input schema, and slug patterns stated (13). Examples on every page, with error tables for direct tool calls, HTTP 401, 403 and 409, the limit error's JSON and seven exit codes (15). A dated changelog, but only two entries, both from 23 October 2026 (6). 20+10+18+13+15+6 = 82.",
          "b": "Framework reading. A typed Python API with an API reference for modules, tools, adapters and errors (20). No llms.txt at dspy.ai; the docs are Markdown in the repository but not served for agents (0). The tools and ReAct pages say what each part is for and when to read on (15). Tools are typed from signatures and Pydantic annotations and validated against JSON Schema (14). Many tutorials with code, and an errors page in the reference (12). Versioned docs, GitHub release notes and an upgrade guide, with no changelog file (10). 20+0+15+14+12+10 = 71."
        },
        "scores": {
          "a": 82,
          "b": 71
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "Cursor",
        "b": "Stanford NLP",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "OAuth or key",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Your plan",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "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",
        "b": "MIT",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-25",
        "b": "2026-11-10",
        "name": "Last release"
      },
      {
        "a": "2026-09-03",
        "b": "no document linked",
        "name": "Terms last updated"
      },
      {
        "a": "2026-09-29",
        "b": "no document linked",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "none",
        "b": "39k stars",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "DSPy scores 68.3 (B) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 3 of 7 scored categories. Cursor Agent SDK leads on schema \u0026 documentation, agent ergonomics, security \u0026 auth and transparency \u0026 trust.",
        "question": "Which is better for AI agents, Cursor Agent SDK or DSPy?"
      },
      {
        "answer": "No open-source release is listed for Cursor Agent SDK. DSPy is open source (MIT).",
        "question": "Are Cursor Agent SDK and DSPy open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 82 against 71",
          "Agent ergonomics, 80 against 64",
          "Security \u0026 auth, 68 against 60",
          "Transparency \u0026 trust, 71 against 52"
        ],
        "also": null,
        "goodFor": "Teams already on Cursor who want version-controlled agents for pull request review, triage and Slack, with evals in CI and one-command hosting.",
        "slug": "cursor-agent-sdk",
        "watchFor": "Closed source under Cursor's terms, with no public repository, CI or issue tracker"
      },
      {
        "aheadOn": [
          "Reliability, 62 against 45",
          "Payments \u0026 pricing, 90 against 45",
          "Maintenance \u0026 community, 87 against 74"
        ],
        "also": [
          "No key needed to call it",
          "Open source"
        ],
        "goodFor": "Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.",
        "slug": "dspy",
        "watchFor": "3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release"
      }
    ],
    "history": {
      "cursor-agent-sdk": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 1.8,
          "from": 63.7,
          "fromGrade": "B",
          "to": 65.5,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-28",
          "delta": 0.1,
          "from": 63.6,
          "fromGrade": "B",
          "to": 63.7,
          "toGrade": "B"
        }
      ],
      "dspy": null
    },
    "job": {
      "capability": "agent.framework",
      "name": "Agent frameworks"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/agentos-vs-cursor-agent-sdk.json",
        "title": "AgentOS vs Cursor Agent SDK",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-cursor-agent-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agentos-vs-dspy.json",
        "title": "AgentOS vs DSPy",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agno-vs-cursor-agent-sdk.json",
        "title": "Agno vs Cursor Agent SDK",
        "url": "https://www.anchorterminal.com/compare/agno-vs-cursor-agent-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agno-vs-dspy.json",
        "title": "Agno vs DSPy",
        "url": "https://www.anchorterminal.com/compare/agno-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/boxlang-ai-vs-cursor-agent-sdk.json",
        "title": "BoxLang AI vs Cursor Agent SDK",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-cursor-agent-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy.json",
        "title": "BoxLang AI vs DSPy",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-cursor-agent-sdk.json",
        "title": "Claude Agent SDK vs Cursor Agent SDK",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-cursor-agent-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy.json",
        "title": "Claude Agent SDK vs DSPy",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/crewai-vs-cursor-agent-sdk.json",
        "title": "CrewAI vs Cursor Agent SDK",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-cursor-agent-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/crewai-vs-dspy.json",
        "title": "CrewAI vs DSPy",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-docker-agent.json",
        "title": "Cursor Agent SDK vs Docker Agent",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-docker-agent"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.json",
        "title": "Cursor Agent SDK vs Genkit",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-google-adk.json",
        "title": "Cursor Agent SDK vs Agent Development Kit (ADK)",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-google-adk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-guilds-run.json",
        "title": "Cursor Agent SDK vs guilds.run",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-guilds-run"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.json",
        "title": "Cursor Agent SDK vs Haystack",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-langgraph.json",
        "title": "Cursor Agent SDK vs LangGraph",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-langgraph"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-llamaindex.json",
        "title": "Cursor Agent SDK vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-llamaindex"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-mastra.json",
        "title": "Cursor Agent SDK vs Mastra",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-mastra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-microsoft-agent-framework.json",
        "title": "Cursor Agent SDK vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-openai-agents-sdk.json",
        "title": "Cursor Agent SDK vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai.json",
        "title": "Cursor Agent SDK vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-smolagents.json",
        "title": "Cursor Agent SDK vs smolagents",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-strands-agents.json",
        "title": "Cursor Agent SDK vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-terse-durable-actors.json",
        "title": "Cursor Agent SDK vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-tradingagents.json",
        "title": "Cursor Agent SDK vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-vercel-ai-sdk.json",
        "title": "Cursor Agent SDK vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-vercel-ai-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/docker-agent-vs-dspy.json",
        "title": "Docker Agent vs DSPy",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-dspy"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-genkit.json",
        "title": "DSPy vs Genkit",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-genkit"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-google-adk.json",
        "title": "DSPy vs Agent Development Kit (ADK)",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-google-adk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-guilds-run.json",
        "title": "DSPy vs guilds.run",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-guilds-run"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-haystack.json",
        "title": "DSPy vs Haystack",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-langgraph.json",
        "title": "DSPy vs LangGraph",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-langgraph"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-llamaindex.json",
        "title": "DSPy vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-llamaindex"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-mastra.json",
        "title": "DSPy vs Mastra",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-mastra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.json",
        "title": "DSPy vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-openai-agents-sdk.json",
        "title": "DSPy vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai.json",
        "title": "DSPy vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-smolagents.json",
        "title": "DSPy vs smolagents",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-strands-agents.json",
        "title": "DSPy vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.json",
        "title": "DSPy vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-tradingagents.json",
        "title": "DSPy vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-vercel-ai-sdk.json",
        "title": "DSPy vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-vercel-ai-sdk"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 17,
        "cursor-agent-sdk": 45,
        "dspy": 62,
        "edge": "dspy",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 11,
        "cursor-agent-sdk": 82,
        "dspy": 71,
        "edge": "cursor-agent-sdk",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 16,
        "cursor-agent-sdk": 80,
        "dspy": 64,
        "edge": "cursor-agent-sdk",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 8,
        "cursor-agent-sdk": 68,
        "dspy": 60,
        "edge": "cursor-agent-sdk",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 45,
        "cursor-agent-sdk": 45,
        "dspy": 90,
        "edge": "dspy",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 13,
        "cursor-agent-sdk": 74,
        "dspy": 87,
        "edge": "dspy",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 19,
        "cursor-agent-sdk": 71,
        "dspy": 52,
        "edge": "cursor-agent-sdk",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "DSPy scores 68.3 (B) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 3 of 7 scored categories. Cursor Agent SDK leads on schema \u0026 documentation, agent ergonomics, security \u0026 auth and transparency \u0026 trust. Both do agent frameworks.",
    "tasks": null,
    "tutorials": [],
    "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.",
      "dspy": "An MIT Python framework with typed signatures, a ReAct agent that returns tool errors to the model, MCP tool conversion, a Deno sandbox for generated code, no telemetry found and monthly releases. Release 3.5 changed defaults and removed APIs in a minor version, and there is no tool approval hook or llms.txt."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy",
    "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.min.md"
  },
  "markdown": "DSPy scores 68.3 (B) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 3 of 7 scored categories. Cursor Agent SDK leads on schema \u0026 documentation, agent ergonomics, security \u0026 auth and transparency \u0026 trust. Both do agent frameworks.\n\n- Cursor Agent SDK: grade B, 65.5/100, rank #564 of 1654. Markdown https://www.anchorterminal.com/tools/cursor-agent-sdk.md · JSON https://www.anchorterminal.com/api/v1/tools/cursor-agent-sdk.json\n- DSPy: grade B, 68.3/100, rank #414 of 1654. Markdown https://www.anchorterminal.com/tools/dspy.md · JSON https://www.anchorterminal.com/api/v1/tools/dspy.json\n- Best agent frameworks and SDKs: https://www.anchorterminal.com/best/frameworks/index.md\n- All 253 frameworks comparisons: https://www.anchorterminal.com/compare/frameworks/index.md\n\n## Which one, for what\n\n### Cursor Agent SDK (B)\n\nGood 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.\n\nAhead on:\n- Schema \u0026 documentation, 82 against 71\n- Agent ergonomics, 80 against 64\n- Security \u0026 auth, 68 against 60\n- Transparency \u0026 trust, 71 against 52\n\nWatch for: Closed source under Cursor's terms, with no public repository, CI or issue tracker\n\n### DSPy (B)\n\nGood for: Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.\n\nAhead on:\n- Reliability, 62 against 45\n- Payments \u0026 pricing, 90 against 45\n- Maintenance \u0026 community, 87 against 74\n\nAlso in its favour:\n- No key needed to call it\n- Open source\n\nWatch for: 3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release\n\n\n## Why the edge\n\n### Payments \u0026 pricing: DSPy +45\n\n- 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.\n- DSPy (90): Self-hosted rule. Free MIT package with nothing to buy from the project (30 + 30 + 30). No payment protocol (0). 0+30+30+30 = 90.\n\n### Transparency \u0026 trust: Cursor Agent SDK +19\n\n- Cursor Agent SDK (71): Closed source. LICENSE.md reads All rights reserved, with use under Cursor's Terms of Service of 3 September 2026 (15). The data-use page says Privacy Mode keeps Customer Data out of training with zero-retention agreements at model providers, and that with it off Cursor may store and train on code and prompts. The deployment page says managed hosting stores the repository and agent data the same way under Privacy Mode and refuses Privacy Mode (Legacy). No retention periods are stated, and subprocessors are on a trust portal (14). No deprecation policy. The early-alpha migration guide, the `persistent` removal and the semantic-search removal are documented with error messages but only the changelog entry carries a date (6). OpenTelemetry and the update check are documented with switches. What the Cursor backend logs from turns is covered only by the data-use page (14). 15+14+6+14 = 49.\n- DSPy (52): MIT (30). The library keeps only its answer cache, in memory and on disk by default, which the cache guide describes; no terms or privacy policy exist for the project (18). Deprecation warnings name the removal version (ReActV2 removed in 3.6), but there is no written policy and 3.5 removed APIs without a prior deprecation release (8). No telemetry, though no page states it (12). 30+18+8+12 = 68.\n\n### Reliability: DSPy +17\n\n- 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.\n- DSPy (62): Local-package reading. Official PyPI package dspy with Python 3.10 to below 3.16 stated (20). A public test workflow runs on pushes to main and pull requests for Python 3.10 to 3.15; whether main passes wasn't read, as the Actions API refused us (15). 352 open issues and 475 open pull requests on 23 November 2026. The 50 newest issues, opened from 6 October to 23 November, had 19 with a comment and 8 closed (10). Release notes and an upgrade guide for 3.5, but 3.5 changed defaults and removed APIs in a minor release (7). 3.x, while the package classifier still says Alpha, so partial (10). 20+15+10+7+10 = 62.\n\n### Agent ergonomics: Cursor Agent SDK +16\n\n- 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.\n- DSPy (64): Framework reading. MCP tools through the dspy[mcp] extra, converted one by one from a client session the developer opens (14). max_iters with a turn budget shown to the model and a forced final submit bound a run (17). Unknown tools and tool exceptions return to the model as error results (15). History continuation and saved programs, but no resume of an interrupted run or durable store; answer caching can mask repeated calls (8). Signatures keep required arguments few, an LM must be configured, Python only (10). 14+17+15+8+10 = 64.\n\n### Maintenance \u0026 community: DSPy +13\n\n- 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.\n- DSPy (87): 3.5.0 tagged on 10 November 2026, 13 days before this check (30). Three releases in the 90 days to 23 November (3.4.0, 3.4.1, 3.5.0) (20). The 50 newest issues had 19 with a comment and 8 closed, with 352 issues and 475 pull requests open, while 213 commits from about 30 authors reached the repository in 90 days (12). The package is current (15). CI on six Python versions, Dependabot and actions pinned to commit SHAs (10). 30+20+12+15+10 = 87.\n\n### Schema \u0026 documentation: Cursor Agent SDK +11\n\n- Cursor Agent SDK (82): Framework reading. Typed TypeScript declarations ship in the package, tools take Zod or JSON Schema, `agent-sdk help --json` describes every command's flags and exit codes, and `GET /v1/info` and `GET /v1/tools/:name` return the discovered surface and each tool's schemas. No OpenAPI document for the HTTP routes (20). cursor.com/llms.txt lists every Agent SDK page with a Markdown twin, and the package ships the docs and an llms.txt (10). The overview has a table of when to use the Agent SDK, Automations or Grok Bot, and the hooks page has a table of what to use instead of a hook for each job (18). Typed config, `effect` as an enum or predicate, `timeArgs` checked against the input schema, and slug patterns stated (13). Examples on every page, with error tables for direct tool calls, HTTP 401, 403 and 409, the limit error's JSON and seven exit codes (15). A dated changelog, but only two entries, both from 23 October 2026 (6). 20+10+18+13+15+6 = 82.\n- DSPy (71): Framework reading. A typed Python API with an API reference for modules, tools, adapters and errors (20). No llms.txt at dspy.ai; the docs are Markdown in the repository but not served for agents (0). The tools and ReAct pages say what each part is for and when to read on (15). Tools are typed from signatures and Pydantic annotations and validated against JSON Schema (14). Many tutorials with code, and an errors page in the reference (12). Versioned docs, GitHub release notes and an upgrade guide, with no changelog file (10). 20+0+15+14+12+10 = 71.\n\n## Score by category\n\n| Category | Weight | Cursor Agent SDK | DSPy | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 45 | 62 | DSPy +17 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 82 | 71 | Cursor Agent SDK +11 |\n| Agent ergonomics | 13% | 80 | 64 | Cursor Agent SDK +16 |\n| Security \u0026 auth | 14% | 68 | 60 | Cursor Agent SDK +8 |\n| Payments \u0026 pricing | 10% | 45 | 90 | DSPy +45 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 74 | 87 | DSPy +13 |\n| Transparency \u0026 trust | 7% | 71 | 52 | Cursor Agent SDK +19 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **65.5 · B** | **68.3 · B** | |\n\n## Facts side by side\n\n| Fact | Cursor Agent SDK | DSPy |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | Cursor | Stanford NLP |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  |  |\n| Auth | OAuth or key | None |\n| Pricing | Your plan | Free |\n| x402 | no | no |\n| 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 | MIT |\n| Read-only variant documented | no | no |\n| llms.txt | yes | no |\n| Last release | 2026-10-25 | 2026-11-10 |\n| Terms last updated | 2026-09-03 | no document linked |\n| Privacy policy last updated | 2026-09-29 | no document linked |\n| Customer content may train models | not found in the text | not read yet |\n| Terms restrict automated access | yes | not read yet |\n| Terms restrict benchmarking | yes | not read yet |\n| Terms or service can change without notice | yes | not read yet |\n| Arbitration or class-action waiver | yes | not read yet |\n| Popularity | none | 39k stars |\n\n## How the scores have moved\n\n### Cursor Agent SDK\n\n- +1.8 on 13 November 2026: checklist\n- +0.1 on 28 October 2026: checklist\n\n### DSPy\n\nNo score change since it was listed.\n\n## Verdicts\n\n**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.\n\n**DSPy.** An MIT Python framework with typed signatures, a ReAct agent that returns tool errors to the model, MCP tool conversion, a Deno sandbox for generated code, no telemetry found and monthly releases. Release 3.5 changed defaults and removed APIs in a minor version, and there is no tool approval hook or llms.txt.\n\n## Before you call either\n\n### Cursor Agent SDK\n\n1. Install `@grok/agent-sdk`, not `@cursor/agent-sdk` from the launch post. That name answers 404 on npm\n2. 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\n3. Give every tool an `effect`. A tool without one counts as a write, runs once and is stubbed in dry runs\n4. Start `agent-sdk serve` with `--bearer-token` on any shared host. `--allow-anonymous` admits every caller as one principal\n5. Delete bot/hooks/memory.ts when sessions serve different people. The journal shares each turn's message and result with later turns\n\n### DSPy\n\n1. Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed\n2. Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open\n3. Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default\n4. Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval\n5. Pin dspy to a minor version, since minor releases remove APIs\n\n## Questions\n\n### Which is better for AI agents, Cursor Agent SDK or DSPy?\n\nDSPy scores 68.3 (B) on agent readiness against Cursor Agent SDK's 65.5 (B), and leads in 3 of 7 scored categories. Cursor Agent SDK leads on schema \u0026 documentation, agent ergonomics, security \u0026 auth and transparency \u0026 trust.\n\n### Are Cursor Agent SDK and DSPy open source?\n\nNo open-source release is listed for Cursor Agent SDK. DSPy is open source (MIT).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"cursor-agent-sdk\", \"b\": \"dspy\"}`. From a terminal: `anchor compare cursor-agent-sdk dspy`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/cursor-agent-sdk.json and https://www.anchorterminal.com/api/v1/tools/dspy.json\n\n## Other comparisons with Cursor Agent SDK or DSPy\n\n- [AgentOS vs Cursor Agent SDK](https://www.anchorterminal.com/compare/agentos-vs-cursor-agent-sdk.md)\n- [AgentOS vs DSPy](https://www.anchorterminal.com/compare/agentos-vs-dspy.md)\n- [Agno vs Cursor Agent SDK](https://www.anchorterminal.com/compare/agno-vs-cursor-agent-sdk.md)\n- [Agno vs DSPy](https://www.anchorterminal.com/compare/agno-vs-dspy.md)\n- [BoxLang AI vs Cursor Agent SDK](https://www.anchorterminal.com/compare/boxlang-ai-vs-cursor-agent-sdk.md)\n- [BoxLang AI vs DSPy](https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy.md)\n- [Claude Agent SDK vs Cursor Agent SDK](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-cursor-agent-sdk.md)\n- [Claude Agent SDK vs DSPy](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy.md)\n- [CrewAI vs Cursor Agent SDK](https://www.anchorterminal.com/compare/crewai-vs-cursor-agent-sdk.md)\n- [CrewAI vs DSPy](https://www.anchorterminal.com/compare/crewai-vs-dspy.md)\n- [Cursor Agent SDK vs Docker Agent](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-docker-agent.md)\n- [Cursor Agent SDK vs Genkit](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.md)\n- [Cursor Agent SDK vs Agent Development Kit (ADK)](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-google-adk.md)\n- [Cursor Agent SDK vs guilds.run](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-guilds-run.md)\n- [Cursor Agent SDK vs Haystack](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.md)\n- [Cursor Agent SDK vs LangGraph](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-langgraph.md)\n- [Cursor Agent SDK vs LlamaIndex Framework](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-llamaindex.md)\n- [Cursor Agent SDK vs Mastra](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-mastra.md)\n- [Cursor Agent SDK vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-microsoft-agent-framework.md)\n- [Cursor Agent SDK vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-openai-agents-sdk.md)\n- [Cursor Agent SDK vs Pydantic AI](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai.md)\n- [Cursor Agent SDK vs smolagents](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-smolagents.md)\n- [Cursor Agent SDK vs Strands Agents](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-strands-agents.md)\n- [Cursor Agent SDK vs Terse Durable Actors](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-terse-durable-actors.md)\n- [Cursor Agent SDK vs TradingAgents](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-tradingagents.md)\n- [Cursor Agent SDK vs AI SDK](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-vercel-ai-sdk.md)\n- [Docker Agent vs DSPy](https://www.anchorterminal.com/compare/docker-agent-vs-dspy.md)\n- [DSPy vs Genkit](https://www.anchorterminal.com/compare/dspy-vs-genkit.md)\n- [DSPy vs Agent Development Kit (ADK)](https://www.anchorterminal.com/compare/dspy-vs-google-adk.md)\n- [DSPy vs guilds.run](https://www.anchorterminal.com/compare/dspy-vs-guilds-run.md)\n- [DSPy vs Haystack](https://www.anchorterminal.com/compare/dspy-vs-haystack.md)\n- [DSPy vs LangGraph](https://www.anchorterminal.com/compare/dspy-vs-langgraph.md)\n- [DSPy vs LlamaIndex Framework](https://www.anchorterminal.com/compare/dspy-vs-llamaindex.md)\n- [DSPy vs Mastra](https://www.anchorterminal.com/compare/dspy-vs-mastra.md)\n- [DSPy vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.md)\n- [DSPy vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/dspy-vs-openai-agents-sdk.md)\n- [DSPy vs Pydantic AI](https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai.md)\n- [DSPy vs smolagents](https://www.anchorterminal.com/compare/dspy-vs-smolagents.md)\n- [DSPy vs Strands Agents](https://www.anchorterminal.com/compare/dspy-vs-strands-agents.md)\n- [DSPy vs Terse Durable Actors](https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.md)\n- [DSPy vs TradingAgents](https://www.anchorterminal.com/compare/dspy-vs-tradingagents.md)\n- [DSPy vs AI SDK](https://www.anchorterminal.com/compare/dspy-vs-vercel-ai-sdk.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-23",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Cursor Agent SDK vs DSPy",
        "url": ""
      }
    ],
    "description": "DSPy scores 68.3 (B) to Cursor Agent SDK's 65.5 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Cursor Agent SDK B 65.5",
      "DSPy B 68.3",
      "scores"
    ],
    "h1": "Cursor Agent SDK vs DSPy",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/cursor-agent-sdk-vs-dspy",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Cursor Agent SDK vs DSPy for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy"
  },
  "tokens": {
    "markdown": 4950,
    "slim": 980
  },
  "version": 1
}
