{
  "data": {
    "a": {
      "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"
      }
    },
    "answer": "Genkit scores 78.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories.",
    "b": {
      "slug": "genkit",
      "name": "Genkit",
      "vendor": "Google",
      "vendorUrl": "https://genkit.dev",
      "company": "google.com",
      "kind": "framework",
      "category": "frameworks",
      "summary": "Genkit is Google's open-source framework for building AI apps and agents in TypeScript, Go, Python and Dart, with flows, tool calling, interrupts, retrieval, an MCP client and server, and a local Developer UI.",
      "url": "https://www.anchorterminal.com/tools/genkit",
      "markdownUrl": "https://www.anchorterminal.com/tools/genkit.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/genkit.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/genkit.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/genkit.json",
      "dns": "genkit.grade.anchorterminal.com",
      "repo": "https://github.com/genkit-ai/genkit",
      "license": "Apache-2.0",
      "transports": [],
      "packages": [
        {
          "registry": "npm",
          "name": "genkit"
        },
        {
          "registry": "npm",
          "name": "@genkit-ai/mcp"
        },
        {
          "registry": "pypi",
          "name": "genkit"
        }
      ],
      "auth": "api-key",
      "authNotes": "The framework has no account of its own. Model plugins take each provider's key, such as a Gemini API key for @genkit-ai/google-genai. Deploying to Firebase or Cloud Run uses Google Cloud credentials.",
      "pricing": "free",
      "pricingNotes": "Free and open source under Apache-2.0, with nothing to buy from Genkit itself. You pay for model calls and for wherever you deploy, such as Cloud Run or Firebase.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Genkit docs, llms.txt or the repository (checked 2026-11-23).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 6618,
        "npmWeekly": 264357,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://genkit.dev/docs/get-started",
      "llmsTxt": "https://genkit.dev/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.mcp-client",
        "agent.multi-agent",
        "agent.durable"
      ],
      "tags": [
        "official",
        "framework",
        "open-source",
        "typescript",
        "go",
        "python",
        "dart",
        "mcp",
        "llms-txt",
        "telemetry-default-on"
      ],
      "lastRelease": "2026-11-19",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 78.1,
        "grade": "A",
        "agentReady": true,
        "rank": 63,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 7,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 85,
          "maintenance": 85,
          "payments": 90,
          "reliability": 69,
          "schema": 83,
          "security": 70,
          "transparency": 69
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "Teams adding agents to full-stack apps in TypeScript, Go, Python or Dart, especially on Firebase or Google Cloud.",
        "strengths": [
          "Apache-2.0 SDKs in four languages, with genkit 1.44.0 on npm, Go 1.14.0 and Dart 1.0 stable",
          "Interrupts pause the tool loop for human approval, and a ToolApproval middleware can send calls outside an allowlist to a judge model",
          "@genkit-ai/mcp connects to stdio and Streamable HTTP MCP servers, namespaces their tools and can serve Genkit tools as an MCP server",
          "llms.txt, a Markdown copy of every page, per-language documentation bundles and condensed API rules for coding agents",
          "Releases in every language in the 90 days to 23 November 2026, the newest genkit 0.14.0 for Python on 19 November"
        ],
        "weaknesses": [
          "The Genkit CLI and Developer UI send Google Analytics events after a first-run notice, until `genkit config set analyticsOptOut true`",
          "The Python SDK is 0.14.0 with a Beta classifier and needed a migration guide from 0.12 to 0.13",
          "No SECURITY.md in the repository and no security.txt on genkit.dev",
          "No changelog file in the repository; release notes sit in blog posts and GitHub releases",
          "The Agents API is not yet stable in every language, per the 2026 roadmap"
        ],
        "agentNotes": [
          "Run `genkit config set analyticsOptOut true` on every machine and CI runner that uses the Genkit CLI or Developer UI",
          "Pass `--non-interactive` to `genkit start` in scripts so the analytics notice does not block the run",
          "Define tools that move money, send email or delete data as interrupts or behind ToolApproval, so a person or judge approves each call",
          "Fetch the per-language bundle from llms.txt (llms-js.txt, llms-go.txt, llms-python.txt) instead of the full documentation file",
          "Import the Go module from github.com/firebase/genkit/go, which still carries the old path after the move to genkit-ai"
        ],
        "metrics": {
          "kind": "library",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 78.1
          }
        ],
        "editorialScores": {
          "ergonomics": 85,
          "maintenance": 85,
          "payments": 90,
          "reliability": 69,
          "schema": 83,
          "security": 70,
          "transparency": 75
        },
        "provenanceScore": 63,
        "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": "npm i genkit @genkit-ai/google-genai   # or: pip install genkit genkit-google-genai"
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/genkit"
      },
      "sameCompany": [
        "gemini-4-argon",
        "gemini-4-carbon",
        "gemini-4-hydrogen",
        "gemini-4-neon",
        "gemini-api",
        "vertex-ai",
        "embeddinggemma-2",
        "embeddinggemma-300m",
        "gemini-embedding",
        "vertex-ai-tuning",
        "cloud-run-gpus",
        "google-model-armor",
        "shieldgemma",
        "google-imagen",
        "gemini-omni-1-2-flash",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "google-cloud-tts",
        "gemini-live",
        "google-adk",
        "google-memory-bank",
        "google-secret-manager",
        "data-commons-mcp",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "puppeteer",
        "firebase-mcp",
        "mcp-toolbox-databases",
        "google-cloud-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-cloud-storage",
        "google-drive-api",
        "google-stitch",
        "google-docs-api",
        "gemini-enterprise",
        "gemini-decision-1",
        "antigravity-cli",
        "gemini-cli",
        "harness2",
        "jules",
        "gemini-spark",
        "google-analytics-mcp",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api",
        "google-people-api",
        "diffusiongemma-26b-a4b-it",
        "gemma-4-12b-it",
        "gemma-4-26b-a4b-it",
        "gemma-4-31b-it",
        "gemma-4-e2b-it",
        "gemma-4-e4b-it",
        "virustotal"
      ],
      "area": "frameworks",
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "genkit.dev",
        "domainRegistered": "2024-03-22",
        "endpointOnVendorDomain": null,
        "terms": "https://policies.google.com/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "",
        "changelog": "https://genkit.dev/blog",
        "securityTxt": "none",
        "checked": "2026-11-23",
        "notes": [
          "genkit.dev's footer links Google's terms and privacy policy, and the repository's licence headers say Copyright Google LLC.",
          "genkit.dev/robots.txt allows all crawlers.",
          "RDAP gives genkit.dev a registration date of 22 March 2024.",
          "genkit.dev/.well-known/security.txt returns 404, and the repository has no SECURITY.md at its root.",
          "Release notes are blog posts at genkit.dev/blog (RSS) and GitHub releases; there is no changelog file in the repository."
        ],
        "score": 63
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/genkit.json",
      "live": {
        "slug": "genkit",
        "securityTxt": {
          "url": "https://genkit.dev/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-23T16:44:40.342118527Z"
        },
        "llmsTxt": {
          "url": "https://genkit.dev/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:39:43.839701944Z"
        },
        "updatedAt": "2026-11-23T16:44:40.342118527Z"
      }
    },
    "edges": [
      {
        "by": 21,
        "category": "ergonomics",
        "leads": "genkit",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 64,
          "b": 85
        }
      },
      {
        "by": 17,
        "category": "transparency",
        "leads": "genkit",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "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.",
          "b": "Apache-2.0 (30). Google's general privacy policy applies, the analytics notice links Google's cookie policy and tracing content is opt-in, but there's no Genkit statement of what leaves the machine (15). Release notes list deprecations and Python has a migration guide, with no written deprecation policy or dates (10). CLI and Developer UI analytics disclosed in the docs with an opt-out (20). 30+15+10+20 = 75."
        },
        "scores": {
          "a": 52,
          "b": 69
        }
      },
      {
        "by": 12,
        "category": "schema",
        "leads": "genkit",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "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.",
          "b": "Typed TypeScript, Go and Python interfaces documented per language, with typed option interfaces on the MCP page; no separate API reference was read (22). llms.txt with per-language bundles, Markdown for every page and API rules for coding agents (10). The interrupts page says when to pause for approval and when to use restartable tools (14). Tools and flows take Zod, Pydantic or Go struct schemas (15). Examples on every page read, and Go 1.14 documents recoverable tool errors, but no error reference was found (10). Dated release posts and a Python migration guide, without a changelog file (12). 22+10+14+15+10+12 = 83."
        },
        "scores": {
          "a": 71,
          "b": 83
        }
      },
      {
        "by": 10,
        "category": "security",
        "leads": "genkit",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Framework reading (telemetry defaults, approvals, guardrails, sandboxing). No telemetry found, and the optional LiteLLM engine switches LiteLLM telemetry off (25). No tool approval hook; RLM runs generated code in a Deno and Pyodide sandbox with no filesystem or network access (10). No prompt-injection guidance found (5). MLflow tracing through OpenTelemetry and callbacks (12). SECURITY.md with GitHub private reporting and a maintainer address, but OSV lists CVE-2025-12695 for the PythonInterpreter sandbox with no fixed version (8). 25+10+5+12+8 = 60.",
          "b": "No usage reporting found in the runtime libraries, but the CLI and Developer UI send Google Analytics events after a first-run notice, opt-out by config (20). Interrupts for human approval and ToolApproval middleware with an allowlist and an optional judge model (20). The Go 1.14 notes say the judge never sees tool results, so injected text can't sway it, but no general prompt-injection guidance was found (10). OpenTelemetry tracing with message content opt-in, and a local trace viewer (15). No SECURITY.md and no security.txt on genkit.dev; advisories couldn't be checked, as OSV's search needs a browser and GitHub's pages refused us (5). Framework reading. 20+20+10+15+5 = 70."
        },
        "scores": {
          "a": 60,
          "b": 70
        }
      },
      {
        "by": 7,
        "category": "reliability",
        "leads": "genkit",
        "name": "Reliability",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 62,
          "b": 69
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "Stanford NLP",
        "b": "Google",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "API key",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT",
        "b": "Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-10",
        "b": "2026-11-19",
        "name": "Last release"
      },
      {
        "a": "no document linked",
        "b": "2026-07-30",
        "name": "Terms last updated"
      },
      {
        "a": "no document linked",
        "b": "2026-10-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not read yet",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "not read yet",
        "b": "yes",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not read yet",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "39k stars",
        "b": "6.6k stars, 264k npm/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Genkit scores 78.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories.",
        "question": "Which is better for AI agents, DSPy or Genkit?"
      },
      {
        "answer": "Yes. DSPy is open source (MIT). Genkit is open source (Apache-2.0).",
        "question": "Are DSPy and Genkit open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": [
          "No key needed to call it"
        ],
        "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"
      },
      {
        "aheadOn": [
          "Reliability, 69 against 62",
          "Schema \u0026 documentation, 83 against 71",
          "Agent ergonomics, 85 against 64",
          "Security \u0026 auth, 70 against 60",
          "Transparency \u0026 trust, 69 against 52"
        ],
        "also": [
          "Agent-ready, a grade of BB or better"
        ],
        "goodFor": "Teams adding agents to full-stack apps in TypeScript, Go, Python or Dart, especially on Firebase or Google Cloud.",
        "slug": "genkit",
        "watchFor": "The Genkit CLI and Developer UI send Google Analytics events after a first-run notice, until `genkit config set analyticsOptOut true`"
      }
    ],
    "history": null,
    "job": {
      "capability": "agent.framework",
      "name": "Agent frameworks"
    },
    "others": [
      {
        "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/agentos-vs-genkit.json",
        "title": "AgentOS vs Genkit",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-genkit"
      },
      {
        "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/agno-vs-genkit.json",
        "title": "Agno vs Genkit",
        "url": "https://www.anchorterminal.com/compare/agno-vs-genkit"
      },
      {
        "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/boxlang-ai-vs-genkit.json",
        "title": "BoxLang AI vs Genkit",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-genkit"
      },
      {
        "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/claude-agent-sdk-vs-genkit.json",
        "title": "Claude Agent SDK vs Genkit",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-genkit"
      },
      {
        "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/crewai-vs-genkit.json",
        "title": "CrewAI vs Genkit",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-genkit"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.json",
        "title": "Cursor Agent SDK vs DSPy",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy"
      },
      {
        "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/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/docker-agent-vs-genkit.json",
        "title": "Docker Agent vs Genkit",
        "url": "https://www.anchorterminal.com/compare/docker-agent-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"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-google-adk.json",
        "title": "Genkit vs Agent Development Kit (ADK)",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-google-adk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-guilds-run.json",
        "title": "Genkit vs guilds.run",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-guilds-run"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-haystack.json",
        "title": "Genkit vs Haystack",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-langgraph.json",
        "title": "Genkit vs LangGraph",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-langgraph"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-llamaindex.json",
        "title": "Genkit vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-llamaindex"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-mastra.json",
        "title": "Genkit vs Mastra",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-mastra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-microsoft-agent-framework.json",
        "title": "Genkit vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-openai-agents-sdk.json",
        "title": "Genkit vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai.json",
        "title": "Genkit vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-smolagents.json",
        "title": "Genkit vs smolagents",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-strands-agents.json",
        "title": "Genkit vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-terse-durable-actors.json",
        "title": "Genkit vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-tradingagents.json",
        "title": "Genkit vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-vercel-ai-sdk.json",
        "title": "Genkit vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-vercel-ai-sdk"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 7,
        "dspy": 62,
        "edge": "genkit",
        "genkit": 69,
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 12,
        "dspy": 71,
        "edge": "genkit",
        "genkit": 83,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 21,
        "dspy": 64,
        "edge": "genkit",
        "genkit": 85,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 10,
        "dspy": 60,
        "edge": "genkit",
        "genkit": 70,
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "dspy": 90,
        "edge": "",
        "genkit": 90,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 2,
        "dspy": 87,
        "edge": "dspy",
        "genkit": 85,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 17,
        "dspy": 52,
        "edge": "genkit",
        "genkit": 69,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Genkit scores 78.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "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.",
      "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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/dspy-vs-genkit",
    "json": "https://www.anchorterminal.com/compare/dspy-vs-genkit.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/dspy-vs-genkit.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/dspy-vs-genkit.min.md"
  },
  "markdown": "Genkit scores 78.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.\n\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- Genkit: grade A, 78.1/100, rank #63 of 1654. Markdown https://www.anchorterminal.com/tools/genkit.md · JSON https://www.anchorterminal.com/api/v1/tools/genkit.json\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### 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\nAlso in its favour:\n- No key needed to call it\n\nWatch for: 3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release\n\n### Genkit (A)\n\nGood for: Teams adding agents to full-stack apps in TypeScript, Go, Python or Dart, especially on Firebase or Google Cloud.\n\nAhead on:\n- Reliability, 69 against 62\n- Schema \u0026 documentation, 83 against 71\n- Agent ergonomics, 85 against 64\n- Security \u0026 auth, 70 against 60\n- Transparency \u0026 trust, 69 against 52\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n\nWatch for: The Genkit CLI and Developer UI send Google Analytics events after a first-run notice, until `genkit config set analyticsOptOut true`\n\n\n## Why the edge\n\n### Agent ergonomics: Genkit +21\n\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- 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.\n\n### Transparency \u0026 trust: Genkit +17\n\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- Genkit (69): Apache-2.0 (30). Google's general privacy policy applies, the analytics notice links Google's cookie policy and tracing content is opt-in, but there's no Genkit statement of what leaves the machine (15). Release notes list deprecations and Python has a migration guide, with no written deprecation policy or dates (10). CLI and Developer UI analytics disclosed in the docs with an opt-out (20). 30+15+10+20 = 75.\n\n### Schema \u0026 documentation: Genkit +12\n\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- Genkit (83): Typed TypeScript, Go and Python interfaces documented per language, with typed option interfaces on the MCP page; no separate API reference was read (22). llms.txt with per-language bundles, Markdown for every page and API rules for coding agents (10). The interrupts page says when to pause for approval and when to use restartable tools (14). Tools and flows take Zod, Pydantic or Go struct schemas (15). Examples on every page read, and Go 1.14 documents recoverable tool errors, but no error reference was found (10). Dated release posts and a Python migration guide, without a changelog file (12). 22+10+14+15+10+12 = 83.\n\n### Security \u0026 auth: Genkit +10\n\n- DSPy (60): Framework reading (telemetry defaults, approvals, guardrails, sandboxing). No telemetry found, and the optional LiteLLM engine switches LiteLLM telemetry off (25). No tool approval hook; RLM runs generated code in a Deno and Pyodide sandbox with no filesystem or network access (10). No prompt-injection guidance found (5). MLflow tracing through OpenTelemetry and callbacks (12). SECURITY.md with GitHub private reporting and a maintainer address, but OSV lists CVE-2025-12695 for the PythonInterpreter sandbox with no fixed version (8). 25+10+5+12+8 = 60.\n- Genkit (70): No usage reporting found in the runtime libraries, but the CLI and Developer UI send Google Analytics events after a first-run notice, opt-out by config (20). Interrupts for human approval and ToolApproval middleware with an allowlist and an optional judge model (20). The Go 1.14 notes say the judge never sees tool results, so injected text can't sway it, but no general prompt-injection guidance was found (10). OpenTelemetry tracing with message content opt-in, and a local trace viewer (15). No SECURITY.md and no security.txt on genkit.dev; advisories couldn't be checked, as OSV's search needs a browser and GitHub's pages refused us (5). Framework reading. 20+20+10+15+5 = 70.\n\n### Reliability: Genkit +7\n\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- 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.\n\n## Score by category\n\n| Category | Weight | DSPy | Genkit | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 62 | 69 | Genkit +7 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 71 | 83 | Genkit +12 |\n| Agent ergonomics | 13% | 64 | 85 | Genkit +21 |\n| Security \u0026 auth | 14% | 60 | 70 | Genkit +10 |\n| Payments \u0026 pricing | 10% | 90 | 90 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 87 | 85 | DSPy +2 |\n| Transparency \u0026 trust | 7% | 52 | 69 | Genkit +17 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **68.3 · B** | **78.1 · A** | |\n\n## Facts side by side\n\n| Fact | DSPy | Genkit |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | Stanford NLP | Google |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  |  |\n| Auth | None | API key |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | MIT | Apache-2.0 |\n| Read-only variant documented | no | no |\n| llms.txt | no | yes |\n| Last release | 2026-11-10 | 2026-11-19 |\n| Terms last updated | no document linked | 2026-07-30 |\n| Privacy policy last updated | no document linked | 2026-10-01 |\n| Customer content may train models | not read yet | yes |\n| Terms restrict automated access | not read yet | yes |\n| Terms restrict benchmarking | not read yet | not found in the text |\n| Terms or service can change without notice | not read yet | not found in the text |\n| Arbitration or class-action waiver | not read yet | not found in the text |\n| Popularity | 39k stars | 6.6k stars, 264k npm/wk |\n\n## Verdicts\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**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.\n\n## Before you call either\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### Genkit\n\n1. Run `genkit config set analyticsOptOut true` on every machine and CI runner that uses the Genkit CLI or Developer UI\n2. Pass `--non-interactive` to `genkit start` in scripts so the analytics notice does not block the run\n3. Define tools that move money, send email or delete data as interrupts or behind ToolApproval, so a person or judge approves each call\n4. Fetch the per-language bundle from llms.txt (llms-js.txt, llms-go.txt, llms-python.txt) instead of the full documentation file\n5. Import the Go module from github.com/firebase/genkit/go, which still carries the old path after the move to genkit-ai\n\n## Questions\n\n### Which is better for AI agents, DSPy or Genkit?\n\nGenkit scores 78.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories.\n\n### Are DSPy and Genkit open source?\n\nYes. DSPy is open source (MIT). Genkit is open source (Apache-2.0).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/dspy-vs-genkit.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dspy-vs-genkit.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"dspy\", \"b\": \"genkit\"}`. From a terminal: `anchor compare dspy genkit`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dspy.json and https://www.anchorterminal.com/api/v1/tools/genkit.json\n\n## Other comparisons with DSPy or Genkit\n\n- [AgentOS vs DSPy](https://www.anchorterminal.com/compare/agentos-vs-dspy.md)\n- [AgentOS vs Genkit](https://www.anchorterminal.com/compare/agentos-vs-genkit.md)\n- [Agno vs DSPy](https://www.anchorterminal.com/compare/agno-vs-dspy.md)\n- [Agno vs Genkit](https://www.anchorterminal.com/compare/agno-vs-genkit.md)\n- [BoxLang AI vs DSPy](https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy.md)\n- [BoxLang AI vs Genkit](https://www.anchorterminal.com/compare/boxlang-ai-vs-genkit.md)\n- [Claude Agent SDK vs DSPy](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy.md)\n- [Claude Agent SDK vs Genkit](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-genkit.md)\n- [CrewAI vs DSPy](https://www.anchorterminal.com/compare/crewai-vs-dspy.md)\n- [CrewAI vs Genkit](https://www.anchorterminal.com/compare/crewai-vs-genkit.md)\n- [Cursor Agent SDK vs DSPy](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.md)\n- [Cursor Agent SDK vs Genkit](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-genkit.md)\n- [Docker Agent vs DSPy](https://www.anchorterminal.com/compare/docker-agent-vs-dspy.md)\n- [Docker Agent vs Genkit](https://www.anchorterminal.com/compare/docker-agent-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- [Genkit vs Agent Development Kit (ADK)](https://www.anchorterminal.com/compare/genkit-vs-google-adk.md)\n- [Genkit vs guilds.run](https://www.anchorterminal.com/compare/genkit-vs-guilds-run.md)\n- [Genkit vs Haystack](https://www.anchorterminal.com/compare/genkit-vs-haystack.md)\n- [Genkit vs LangGraph](https://www.anchorterminal.com/compare/genkit-vs-langgraph.md)\n- [Genkit vs LlamaIndex Framework](https://www.anchorterminal.com/compare/genkit-vs-llamaindex.md)\n- [Genkit vs Mastra](https://www.anchorterminal.com/compare/genkit-vs-mastra.md)\n- [Genkit vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/genkit-vs-microsoft-agent-framework.md)\n- [Genkit vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/genkit-vs-openai-agents-sdk.md)\n- [Genkit vs Pydantic AI](https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai.md)\n- [Genkit vs smolagents](https://www.anchorterminal.com/compare/genkit-vs-smolagents.md)\n- [Genkit vs Strands Agents](https://www.anchorterminal.com/compare/genkit-vs-strands-agents.md)\n- [Genkit vs Terse Durable Actors](https://www.anchorterminal.com/compare/genkit-vs-terse-durable-actors.md)\n- [Genkit vs TradingAgents](https://www.anchorterminal.com/compare/genkit-vs-tradingagents.md)\n- [Genkit vs AI SDK](https://www.anchorterminal.com/compare/genkit-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": "DSPy vs Genkit",
        "url": ""
      }
    ],
    "description": "Genkit scores 78.1 (A) to DSPy's 68.3 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "DSPy B 68.3",
      "Genkit A 78.1",
      "scores"
    ],
    "h1": "DSPy vs Genkit",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/dspy-vs-genkit",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DSPy vs Genkit for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/dspy-vs-genkit"
  },
  "tokens": {
    "markdown": 4050,
    "slim": 830
  },
  "version": 1
}
