{
  "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"
    },
    "answer": "Microsoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "microsoft-agent-framework",
      "name": "Microsoft Agent Framework",
      "vendor": "Microsoft",
      "vendorUrl": "https://www.microsoft.com",
      "company": "microsoft.com",
      "kind": "framework",
      "category": "frameworks",
      "summary": "Microsoft Agent Framework is an open-source SDK for building AI agents and multi-agent workflows in Python and .NET, with a Go version in public preview. Microsoft names it the successor to AutoGen and Semantic Kernel.",
      "url": "https://www.anchorterminal.com/tools/microsoft-agent-framework",
      "markdownUrl": "https://www.anchorterminal.com/tools/microsoft-agent-framework.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/microsoft-agent-framework.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/microsoft-agent-framework.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/microsoft-agent-framework.json",
      "dns": "microsoft-agent-framework.grade.anchorterminal.com",
      "repo": "https://github.com/microsoft/agent-framework",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "agent-framework"
        },
        {
          "registry": "nuget",
          "name": "Microsoft.Agents.AI"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no account of its own. Credentials are for the model provider and the tools used. The quickstarts sign in to Microsoft Foundry with an Azure credential, and the OpenAI, Anthropic and other clients take their own keys from the environment.",
      "pricing": "free",
      "pricingNotes": "Free under MIT, with model calls paid to the provider. Foundry hosted agents, the managed hosting option, is a separate Azure service at $0.0994 a vCPU-hour and $0.0118 an hour for memory in East US, per Azure's retail price API on 8 October 2026.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 found in the repository or the docs (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 14015,
        "npmWeekly": null,
        "pypiWeekly": 47507,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://learn.microsoft.com/en-us/agent-framework/overview/",
      "capabilities": [
        "agent.framework",
        "agent.multi-agent",
        "agent.durable",
        "agent.mcp-client"
      ],
      "tags": [
        "official",
        "framework",
        "python",
        "dotnet",
        "go",
        "open-source",
        "durable",
        "free",
        "no-card"
      ],
      "lastRelease": "2026-10-30",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 83.1,
        "grade": "A",
        "agentReady": true,
        "rank": 15,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 5,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 87,
          "maintenance": 91,
          "payments": 90,
          "reliability": 78,
          "schema": 95,
          "security": 93,
          "transparency": 85
        },
        "assessment": {
          "confidence": "high",
          "date": "2026-11-01"
        },
        "negative": -5,
        "negativeNotes": [
          "2026-10-07. High-severity advisory GHSA-9f26-7mqc-9vc4 (CVSS 7.5). Microsoft.Agents.AI.Workflows.Declarative before 1.24.0 could forward values marked sensitive, including environment-scoped secrets, to an external MCP server from an InvokeMcpTool action. Fixed in 1.24.0 and published the same day, so 2 points. Two medium advisories published the same day (GHSA-q7g7-7c7x-frcq, approval not bound to transport headers, and GHSA-r2mq-wgc9-vgh3, Foundry toolbox bearer token sent to an unintended origin) weren't deducted. https://github.com/microsoft/agent-framework/security/advisories/GHSA-9f26-7mqc-9vc4",
          "2026-10-22. agent-framework 1.23.0, a minor release of packages PACKAGE_STATUS.md calls released and says shouldn't break between versions, marks three breaking changes (MCP 2.x in agent-framework-core, a required AG-UI authorisation scope and a renamed Docker `extra_run_args`) with no advance notice found, and 1.24.0 on 30 October marks one more. A breaking change in a minor release without notice, so 3 points, the floor, because each is marked in the changelog on the day. https://github.com/microsoft/agent-framework/blob/main/python/CHANGELOG.md"
        ],
        "verdict": "Python 1.24.0 and .NET 1.27.0 are MIT, past 1.0 and released about weekly, with an MCP client, tool approval, checkpointed graph workflows and OpenTelemetry. Breaking changes ship in minor releases, a version User-Agent and a feature-usage token are sent by default, and a high-severity advisory in the .NET declarative workflows package was published on 7 October 2026.",
        "bestFor": "Teams on Azure or .NET, and for teams moving off AutoGen or Semantic Kernel, that want MCP, approval, checkpointed workflows and OpenTelemetry in one SDK.",
        "strengths": [
          "MIT, with Python 1.24.0 and .NET 1.27.0 both tagged on 30 October 2026, past 1.0 since 2 April 2026",
          "22 tagged releases in the 90 days to 1 November 2026, 11 for Python and 11 for .NET",
          "MCP client in the core package over stdio and streamable HTTP, with a tool allow-list, per-tool approval and optional progressive disclosure",
          "Graph workflows with checkpoints, in-memory and file storage in core, and five orchestration patterns (sequential, concurrent, handoff, group chat, Magentic)",
          "A safety page and FIDES, an information-flow control middleware for prompt injection, which is experimental and Python only"
        ],
        "weaknesses": [
          "Changes marked [BREAKING] shipped in minor releases of released packages, including agent-framework-core in 1.22.0 on 15 October and 1.23.0 on 22 October 2026",
          "A package and version User-Agent goes out on client requests by default, with a feature-usage token on Foundry and Azure OpenAI paths. Two environment variables turn them off",
          "Three advisories were published on 7 October 2026 against .NET packages, one high (CVSS 7.5), all with fixed versions",
          "Tools run without approval unless approval is set on each tool, per the safety page",
          "610 open issues and 229 open pull requests on 1 November 2026, and 37 of 45 Python packages are alpha or beta"
        ],
        "agentNotes": [
          "Pin exact versions. Minor releases have carried [BREAKING] changes, 1.23.0 moved MCP to the 2.x SDK, and 1.22.0 writes stored state older runtimes can't read, so read python/CHANGELOG.md first",
          "Set `approval_mode=\"always_require\"` on tools and MCP servers that write. Tools run without approval unless set, and 1.24.0 warns when the MCP default is left implicit",
          "Pass `allowed_tools` to `MCPStdioTool` or `MCPStreamableHTTPTool` so only the named MCP tools reach the model",
          "Set `AGENT_FRAMEWORK_USER_AGENT_DISABLED=true` to drop the framework's User-Agent and feature token, or `AGENT_FRAMEWORK_FEATURE_MASK_DISABLED=true` for the token alone",
          "On .NET, use Microsoft.Agents.AI.Workflows.Declarative 1.24.0 or later. Earlier versions could forward protected workflow values to an external MCP server"
        ],
        "metrics": {
          "kind": "library",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "high",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 83.1
          }
        ],
        "editorialScores": {
          "ergonomics": 87,
          "maintenance": 91,
          "payments": 90,
          "reliability": 78,
          "schema": 95,
          "security": 93,
          "transparency": 86
        },
        "provenanceScore": 83,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-01",
            "maintenance": "2026-11-01",
            "payments": "2026-11-01",
            "reliability": "2026-11-01",
            "schema": "2026-11-01",
            "security": "2026-11-01",
            "transparency": "2026-11-01"
          },
          "last": "2026-11-01",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install agent-framework   # or: dotnet add package Microsoft.Agents.AI"
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/microsoft-agent-framework"
      },
      "sameCompany": [
        "azure-openai",
        "azure-foundry-fine-tuning",
        "azure-ai-content-safety",
        "azure-speech-to-text",
        "azure-text-to-speech",
        "microsoft-execution-containers",
        "microsoft-entra-agent-id",
        "azure-key-vault",
        "bing-grounding",
        "microsoft-web-iq",
        "azure-document-intelligence",
        "azure-devops-mcp",
        "microsoft-learn-mcp",
        "tokeneconomizer",
        "playwright-mcp",
        "azure-mcp",
        "azure-maps",
        "azure-translator",
        "microsoft-graph-calendar",
        "azure-blob-storage",
        "onedrive-sharepoint",
        "microsoft-teams",
        "dynamics-365-sales",
        "copilot-studio-mcp",
        "power-automate",
        "foundry-local",
        "microsoft-mcp-server-enterprise",
        "microsoft-decision-1",
        "microsoft-decision-1-1",
        "microsoft-advertising-api",
        "microsoft-excel-graph",
        "outlook-mail-graph",
        "microsoft-graph-people",
        "fara1-5-27b",
        "fara1-5-4b",
        "fara1-5-9b",
        "mage-vl-cowork",
        "microsoft-apm"
      ],
      "area": "frameworks",
      "unitPrices": [
        {
          "item": "Foundry hosted agents",
          "unit": "vcpu-hour",
          "usd": 0.0994,
          "note": "East US, plus $0.0118 an hour for memory. A separate Azure service"
        }
      ],
      "provenance": {
        "legalEntity": "Microsoft Corporation",
        "domain": "microsoft.com",
        "domainRegistered": "1991-05-02",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "https://github.com/microsoft/agent-framework/blob/main/python/CHANGELOG.md",
        "securityTxt": "expired",
        "checked": "2026-10-08",
        "notes": [
          "The repository is under GitHub's microsoft organisation and its licence file reads Copyright (c) Microsoft Corporation.",
          "No terms or privacy document for the framework itself was found. The MIT licence is the only document that governs the packages, and neither the repository README nor the core package README links a privacy statement, so both fields are left out.",
          "www.microsoft.com/.well-known/security.txt loads and points to the MSRC researcher portal, but its Expires field is 2026-09-23T16:00:00.000Z, which had passed on 8 October 2026. learn.microsoft.com has none.",
          "RDAP gives microsoft.com a registration date of 1991-05-02.",
          "The changelog link is the Python one. No changelog file was found for .NET in the repository."
        ],
        "score": 83
      },
      "requirements": {
        "setupChecked": true,
        "complianceChecked": true,
        "card": "unknown",
        "freeTier": true,
        "minutes": 5,
        "credential": "mixed",
        "hosting": [
          "self-hosted"
        ],
        "euResidency": "unknown",
        "trainsOnData": "no",
        "zeroRetention": "unknown",
        "selfHost": "yes"
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/microsoft-agent-framework.json",
      "live": {
        "slug": "microsoft-agent-framework",
        "versions": [
          {
            "registry": "github",
            "name": "microsoft/agent-framework",
            "version": "python-1.26.0",
            "released": "2026-11-13",
            "seenAt": "2026-11-17T16:48:02.495238993Z"
          },
          {
            "registry": "pypi",
            "name": "agent-framework",
            "version": "1.26.0",
            "released": "2026-11-12",
            "seenAt": "2026-11-23T00:29:13.661136042Z"
          }
        ],
        "githubStars": 14724,
        "pypiWeekly": 38811,
        "securityTxt": {
          "url": "https://microsoft.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-10-27T16:00:00.000Z",
          "checkedAt": "2026-11-22T16:41:20.13061118Z"
        },
        "domain": {
          "domain": "microsoft.com",
          "registered": "1991-05-02",
          "source": "https://rdap.verisign.com/com/v1/domain/microsoft.com",
          "checkedAt": "2026-11-22T16:05:31.395545164Z"
        },
        "pages": [
          {
            "url": "https://raw.githubusercontent.com/microsoft/agent-framework/main/python/CHANGELOG.md",
            "kind": "deprecations",
            "status": 404,
            "checkedAt": "2026-11-23T00:40:33.111381352Z",
            "changedAt": "2026-11-12T17:51:57.411796188Z",
            "fingerprint": "1180ac457d53"
          }
        ],
        "github": {
          "repo": "microsoft/agent-framework",
          "checkedAt": "2026-11-16T12:26:10.551945372Z",
          "stars": 14707,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-16T11:47:46Z",
          "openIssues": 688,
          "openPRs": 244,
          "issuesOpened90d": 907,
          "issuesClosed90d": 761,
          "prsMerged90d": 1209,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 33,
            "failure": 16,
            "other": 1,
            "latest": "failure",
            "latestAt": "2026-11-16T11:48:11Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-4532-fhjf-wq2q",
              "severity": "medium",
              "published": "2026-10-23T16:28:52Z"
            },
            {
              "ghsa": "GHSA-8j78-92fm-c727",
              "severity": "medium",
              "published": "2026-10-23T16:20:27Z"
            },
            {
              "ghsa": "GHSA-f92h-h85c-p8w6",
              "severity": "medium",
              "published": "2026-10-23T16:14:35Z"
            },
            {
              "ghsa": "GHSA-68cw-g4g7-7h9f",
              "severity": "medium",
              "published": "2026-10-23T16:09:51Z"
            },
            {
              "ghsa": "GHSA-r8fg-8q6m-6c5m",
              "severity": "medium",
              "published": "2026-10-23T16:04:39Z"
            },
            {
              "ghsa": "GHSA-r2mq-wgc9-vgh3",
              "severity": "medium",
              "published": "2026-10-07T13:55:48Z"
            },
            {
              "ghsa": "GHSA-9f26-7mqc-9vc4",
              "severity": "high",
              "published": "2026-10-07T13:41:40Z"
            },
            {
              "ghsa": "GHSA-q7g7-7c7x-frcq",
              "severity": "medium",
              "published": "2026-10-07T13:41:36Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 20,
            "medianDays": 0.5
          }
        },
        "updatedAt": "2026-11-23T00:40:33.111381352Z"
      }
    },
    "edges": [
      {
        "by": 33,
        "category": "security",
        "leads": "microsoft-agent-framework",
        "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": "Framework reading, so SOC 2 isn't scored. A package and version User-Agent goes out on client requests by default, with a feature-usage token on Foundry and Azure OpenAI paths. Both are documented with opt-out variables, and the observability module says the framework contacts no external system itself, with message content in traces off by default (25). `approval_mode` on function and MCP tools, an MCP tool allow-list, and Hyperlight and Monty sandboxes for model-written code in beta. Tools run without approval unless set (20). An Agent Safety page treats model-supplied arguments as untrusted, and FIDES labels content and enforces policy before sensitive tools run, though it is experimental and Python only (15). OpenTelemetry traces, metrics and logs to any exporter (15). SECURITY.md routes reports to MSRC with a bounty programme and coordinated disclosure, CodeQL runs in CI and three advisories were published with fixed versions on 7 October 2026. Microsoft's security.txt still carries an Expires of 23 September 2026 on 1 November. On 1 November the repository's advisories list showed none to our reader, while the GHSA-9f26-7mqc-9vc4 page still loads as published on 7 October, so no advisory after 17 October was found (18)."
        },
        "scores": {
          "a": 60,
          "b": 93
        }
      },
      {
        "by": 33,
        "category": "transparency",
        "leads": "microsoft-agent-framework",
        "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": "MIT (30). The core README says what the User-Agent and feature token are, and a design spec in the repository says the token goes only to Foundry and Azure OpenAI pipelines and not to third-party providers. That spec is still marked proposed on 1 November, and we found no statement of how long Microsoft keeps the data and no privacy document for the framework (22). Package lifecycle states are published per package, experimental APIs raise warnings, breaking changes are dated in the Python changelog and there are upgrade guides, but we found no written support window (14). Telemetry is disclosed with two opt-out variables (20)."
        },
        "scores": {
          "a": 52,
          "b": 85
        }
      },
      {
        "by": 24,
        "category": "schema",
        "leads": "microsoft-agent-framework",
        "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 in both languages, with py.typed markers and API references for Python and .NET on Microsoft Learn (25). Learn returns each docs page as Markdown when asked with an Accept header. No llms.txt was found (10). The overview has a table for when to use an agent or a workflow, and says to write a function instead where one would do (20). Tools are Python functions typed with Annotated and Pydantic Field, or AIFunction in .NET (15). Samples for every area and a typed exception hierarchy in the source, but we found no exception reference in the docs pages we read (12). A dated Python changelog and four upgrade guides. No changelog file was found for .NET (13)."
        },
        "scores": {
          "a": 71,
          "b": 95
        }
      },
      {
        "by": 23,
        "category": "ergonomics",
        "leads": "microsoft-agent-framework",
        "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": "The documented Python agent with one MCP server is about 12 lines with `MCPStdioTool` from the core package, and `allowed_tools`, `load_tools` and progressive disclosure limit what reaches the model (25). The function loop stops at 40 iterations by default with a `max_function_calls` option, and compaction has its own docs page (20). A typed exception hierarchy, and the loop stops after three consecutive tool errors by default. We didn't find MCP failures documented (16). Workflows resume from checkpoints and sessions serialise, but we found no retry setting for model calls in the core client (14). An agent needs a client and instructions. Python and .NET are stable, Go is in preview, and the quickstarts assume a Microsoft Foundry project (12)."
        },
        "scores": {
          "a": 64,
          "b": 87
        }
      },
      {
        "by": 16,
        "category": "reliability",
        "leads": "microsoft-agent-framework",
        "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": "Read with the local-software lines. Official packages on PyPI (Requires-Python \u003e=3.10 in the repository, though 1.24.0 makes Python 3.11 the supported baseline and says the next release drops 3.10) and NuGet (net8.0 to net10.0, netstandard2.0, net472) (20). Of the 15 most recent .NET build and test runs on 1 November 2026, 10 passed, 2 were cancelled and 4 wait for approval on a pull request, with none failed, and the scheduled runs on main passed on 31 October and 1 November (25). 610 open issues and 229 open pull requests on 1 November, up from 575 and 201 on 8 October. Closures and bug labels weren't re-counted (10). The Python changelog follows Keep a Changelog and states semantic versioning, and marks breaking changes, but they keep shipping in minor releases of released packages, such as agent-framework-core in 1.22.0 on 15 October and 1.23.0 on 22 October 2026 (8). Python 1.24.0 and .NET 1.27.0, with the root and core packages classed 5 - Production/Stable (15)."
        },
        "scores": {
          "a": 62,
          "b": 78
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "Stanford NLP",
        "b": "Microsoft",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT",
        "b": "MIT",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-10",
        "b": "2026-10-30",
        "name": "Last release"
      },
      {
        "a": "no document linked",
        "b": "no document linked",
        "name": "Terms last updated"
      },
      {
        "a": "no document linked",
        "b": "no document linked",
        "name": "Privacy policy last updated"
      },
      {
        "a": "39k stars",
        "b": "14k stars, 48k PyPI/wk",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "3/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Microsoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, DSPy or Microsoft Agent Framework?"
      },
      {
        "answer": "Yes. DSPy is open source (MIT). Microsoft Agent Framework is open source (MIT).",
        "question": "Are DSPy and Microsoft Agent Framework open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": [
          "No incidents deducted, where Microsoft Agent Framework loses 5 points for them"
        ],
        "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, 78 against 62",
          "Schema \u0026 documentation, 95 against 71",
          "Agent ergonomics, 87 against 64",
          "Security \u0026 auth, 93 against 60",
          "Transparency \u0026 trust, 85 against 52"
        ],
        "also": [
          "Agent-ready, a grade of BB or better",
          "Free to start without a card"
        ],
        "goodFor": "Teams on Azure or .NET, and for teams moving off AutoGen or Semantic Kernel, that want MCP, approval, checkpointed workflows and OpenTelemetry in one SDK.",
        "slug": "microsoft-agent-framework",
        "watchFor": "Changes marked [BREAKING] shipped in minor releases of released packages, including agent-framework-core in 1.22.0 on 15 October and 1.23.0 on 22 October 2026"
      }
    ],
    "history": {
      "dspy": null,
      "microsoft-agent-framework": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 3.7,
          "from": 79.4,
          "fromGrade": "A",
          "to": 83.1,
          "toGrade": "A"
        },
        {
          "causes": [
            "event"
          ],
          "date": "2026-11-01",
          "delta": -3,
          "from": 82.4,
          "fromGrade": "A",
          "to": 79.4,
          "toGrade": "A"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-27",
          "delta": 0.2,
          "from": 82.2,
          "fromGrade": "A",
          "to": 82.4,
          "toGrade": "A"
        }
      ]
    },
    "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-microsoft-agent-framework.json",
        "title": "AgentOS vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-microsoft-agent-framework"
      },
      {
        "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-microsoft-agent-framework.json",
        "title": "Agno vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/agno-vs-microsoft-agent-framework"
      },
      {
        "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-microsoft-agent-framework.json",
        "title": "BoxLang AI vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-microsoft-agent-framework"
      },
      {
        "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-microsoft-agent-framework.json",
        "title": "Claude Agent SDK vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-microsoft-agent-framework"
      },
      {
        "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-microsoft-agent-framework.json",
        "title": "CrewAI vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-microsoft-agent-framework"
      },
      {
        "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-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/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-microsoft-agent-framework.json",
        "title": "Docker Agent vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-microsoft-agent-framework"
      },
      {
        "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-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-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/google-adk-vs-microsoft-agent-framework.json",
        "title": "Agent Development Kit (ADK) vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/google-adk-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/guilds-run-vs-microsoft-agent-framework.json",
        "title": "guilds.run vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/guilds-run-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework.json",
        "title": "Haystack vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langgraph-vs-microsoft-agent-framework.json",
        "title": "LangGraph vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/langgraph-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework.json",
        "title": "LlamaIndex Framework vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mastra-vs-microsoft-agent-framework.json",
        "title": "Mastra vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/mastra-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-openai-agents-sdk.json",
        "title": "Microsoft Agent Framework vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai.json",
        "title": "Microsoft Agent Framework vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents.json",
        "title": "Microsoft Agent Framework vs smolagents",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-strands-agents.json",
        "title": "Microsoft Agent Framework vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-terse-durable-actors.json",
        "title": "Microsoft Agent Framework vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-tradingagents.json",
        "title": "Microsoft Agent Framework vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-vercel-ai-sdk.json",
        "title": "Microsoft Agent Framework vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-vercel-ai-sdk"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 16,
        "dspy": 62,
        "edge": "microsoft-agent-framework",
        "key": "reliability",
        "microsoft-agent-framework": 78,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 24,
        "dspy": 71,
        "edge": "microsoft-agent-framework",
        "key": "schema",
        "microsoft-agent-framework": 95,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 23,
        "dspy": 64,
        "edge": "microsoft-agent-framework",
        "key": "ergonomics",
        "microsoft-agent-framework": 87,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 33,
        "dspy": 60,
        "edge": "microsoft-agent-framework",
        "key": "security",
        "microsoft-agent-framework": 93,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "dspy": 90,
        "edge": "",
        "key": "payments",
        "microsoft-agent-framework": 90,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 4,
        "dspy": 87,
        "edge": "microsoft-agent-framework",
        "key": "maintenance",
        "microsoft-agent-framework": 91,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 33,
        "dspy": 52,
        "edge": "microsoft-agent-framework",
        "key": "transparency",
        "microsoft-agent-framework": 85,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Microsoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 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.",
      "microsoft-agent-framework": "Python 1.24.0 and .NET 1.27.0 are MIT, past 1.0 and released about weekly, with an MCP client, tool approval, checkpointed graph workflows and OpenTelemetry. Breaking changes ship in minor releases, a version User-Agent and a feature-usage token are sent by default, and a high-severity advisory in the .NET declarative workflows package was published on 7 October 2026."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework",
    "json": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.min.md"
  },
  "markdown": "Microsoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 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- Microsoft Agent Framework: grade A, 83.1/100, rank #15 of 1654. Markdown https://www.anchorterminal.com/tools/microsoft-agent-framework.md · JSON https://www.anchorterminal.com/api/v1/tools/microsoft-agent-framework.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 incidents deducted, where Microsoft Agent Framework loses 5 points for them\n\nWatch for: 3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release\n\n### Microsoft Agent Framework (A)\n\nGood for: Teams on Azure or .NET, and for teams moving off AutoGen or Semantic Kernel, that want MCP, approval, checkpointed workflows and OpenTelemetry in one SDK.\n\nAhead on:\n- Reliability, 78 against 62\n- Schema \u0026 documentation, 95 against 71\n- Agent ergonomics, 87 against 64\n- Security \u0026 auth, 93 against 60\n- Transparency \u0026 trust, 85 against 52\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n- Free to start without a card\n\nWatch for: Changes marked [BREAKING] shipped in minor releases of released packages, including agent-framework-core in 1.22.0 on 15 October and 1.23.0 on 22 October 2026\n\n\n## Why the edge\n\n### Security \u0026 auth: Microsoft Agent Framework +33\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- Microsoft Agent Framework (93): Framework reading, so SOC 2 isn't scored. A package and version User-Agent goes out on client requests by default, with a feature-usage token on Foundry and Azure OpenAI paths. Both are documented with opt-out variables, and the observability module says the framework contacts no external system itself, with message content in traces off by default (25). `approval_mode` on function and MCP tools, an MCP tool allow-list, and Hyperlight and Monty sandboxes for model-written code in beta. Tools run without approval unless set (20). An Agent Safety page treats model-supplied arguments as untrusted, and FIDES labels content and enforces policy before sensitive tools run, though it is experimental and Python only (15). OpenTelemetry traces, metrics and logs to any exporter (15). SECURITY.md routes reports to MSRC with a bounty programme and coordinated disclosure, CodeQL runs in CI and three advisories were published with fixed versions on 7 October 2026. Microsoft's security.txt still carries an Expires of 23 September 2026 on 1 November. On 1 November the repository's advisories list showed none to our reader, while the GHSA-9f26-7mqc-9vc4 page still loads as published on 7 October, so no advisory after 17 October was found (18).\n\n### Transparency \u0026 trust: Microsoft Agent Framework +33\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- Microsoft Agent Framework (85): MIT (30). The core README says what the User-Agent and feature token are, and a design spec in the repository says the token goes only to Foundry and Azure OpenAI pipelines and not to third-party providers. That spec is still marked proposed on 1 November, and we found no statement of how long Microsoft keeps the data and no privacy document for the framework (22). Package lifecycle states are published per package, experimental APIs raise warnings, breaking changes are dated in the Python changelog and there are upgrade guides, but we found no written support window (14). Telemetry is disclosed with two opt-out variables (20).\n\n### Schema \u0026 documentation: Microsoft Agent Framework +24\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- Microsoft Agent Framework (95): Typed in both languages, with py.typed markers and API references for Python and .NET on Microsoft Learn (25). Learn returns each docs page as Markdown when asked with an Accept header. No llms.txt was found (10). The overview has a table for when to use an agent or a workflow, and says to write a function instead where one would do (20). Tools are Python functions typed with Annotated and Pydantic Field, or AIFunction in .NET (15). Samples for every area and a typed exception hierarchy in the source, but we found no exception reference in the docs pages we read (12). A dated Python changelog and four upgrade guides. No changelog file was found for .NET (13).\n\n### Agent ergonomics: Microsoft Agent Framework +23\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- Microsoft Agent Framework (87): The documented Python agent with one MCP server is about 12 lines with `MCPStdioTool` from the core package, and `allowed_tools`, `load_tools` and progressive disclosure limit what reaches the model (25). The function loop stops at 40 iterations by default with a `max_function_calls` option, and compaction has its own docs page (20). A typed exception hierarchy, and the loop stops after three consecutive tool errors by default. We didn't find MCP failures documented (16). Workflows resume from checkpoints and sessions serialise, but we found no retry setting for model calls in the core client (14). An agent needs a client and instructions. Python and .NET are stable, Go is in preview, and the quickstarts assume a Microsoft Foundry project (12).\n\n### Reliability: Microsoft Agent Framework +16\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- Microsoft Agent Framework (78): Read with the local-software lines. Official packages on PyPI (Requires-Python \u003e=3.10 in the repository, though 1.24.0 makes Python 3.11 the supported baseline and says the next release drops 3.10) and NuGet (net8.0 to net10.0, netstandard2.0, net472) (20). Of the 15 most recent .NET build and test runs on 1 November 2026, 10 passed, 2 were cancelled and 4 wait for approval on a pull request, with none failed, and the scheduled runs on main passed on 31 October and 1 November (25). 610 open issues and 229 open pull requests on 1 November, up from 575 and 201 on 8 October. Closures and bug labels weren't re-counted (10). The Python changelog follows Keep a Changelog and states semantic versioning, and marks breaking changes, but they keep shipping in minor releases of released packages, such as agent-framework-core in 1.22.0 on 15 October and 1.23.0 on 22 October 2026 (8). Python 1.24.0 and .NET 1.27.0, with the root and core packages classed 5 - Production/Stable (15).\n\n## Score by category\n\n| Category | Weight | DSPy | Microsoft Agent Framework | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 62 | 78 | Microsoft Agent Framework +16 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 71 | 95 | Microsoft Agent Framework +24 |\n| Agent ergonomics | 13% | 64 | 87 | Microsoft Agent Framework +23 |\n| Security \u0026 auth | 14% | 60 | 93 | Microsoft Agent Framework +33 |\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 | 91 | Microsoft Agent Framework +4 |\n| Transparency \u0026 trust | 7% | 52 | 85 | Microsoft Agent Framework +33 |\n| Negative events | ≤15 | 0 | -5 | |\n| **Total** | | **68.3 · B** | **83.1 · A** | |\n\n## Facts side by side\n\n| Fact | DSPy | Microsoft Agent Framework |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | Stanford NLP | Microsoft |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  |  |\n| Auth | None | None |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | MIT | MIT |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2026-11-10 | 2026-10-30 |\n| Terms last updated | no document linked | no document linked |\n| Privacy policy last updated | no document linked | no document linked |\n| Popularity | 39k stars | 14k stars, 48k PyPI/wk |\n| Agent reviews | none | 3/5 (4) |\n\n## How the scores have moved\n\n### DSPy\n\nNo score change since it was listed.\n\n### Microsoft Agent Framework\n\n- +3.7 on 13 November 2026: checklist\n- -3.0 on 1 November 2026: negative event\n- +0.2 on 27 October 2026: checklist\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**Microsoft Agent Framework.** Python 1.24.0 and .NET 1.27.0 are MIT, past 1.0 and released about weekly, with an MCP client, tool approval, checkpointed graph workflows and OpenTelemetry. Breaking changes ship in minor releases, a version User-Agent and a feature-usage token are sent by default, and a high-severity advisory in the .NET declarative workflows package was published on 7 October 2026.\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### Microsoft Agent Framework\n\n1. Pin exact versions. Minor releases have carried [BREAKING] changes, 1.23.0 moved MCP to the 2.x SDK, and 1.22.0 writes stored state older runtimes can't read, so read python/CHANGELOG.md first\n2. Set `approval_mode=\"always_require\"` on tools and MCP servers that write. Tools run without approval unless set, and 1.24.0 warns when the MCP default is left implicit\n3. Pass `allowed_tools` to `MCPStdioTool` or `MCPStreamableHTTPTool` so only the named MCP tools reach the model\n4. Set `AGENT_FRAMEWORK_USER_AGENT_DISABLED=true` to drop the framework's User-Agent and feature token, or `AGENT_FRAMEWORK_FEATURE_MASK_DISABLED=true` for the token alone\n5. On .NET, use Microsoft.Agents.AI.Workflows.Declarative 1.24.0 or later. Earlier versions could forward protected workflow values to an external MCP server\n\n## Questions\n\n### Which is better for AI agents, DSPy or Microsoft Agent Framework?\n\nMicrosoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories.\n\n### Are DSPy and Microsoft Agent Framework open source?\n\nYes. DSPy is open source (MIT). Microsoft Agent Framework is open source (MIT).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"dspy\", \"b\": \"microsoft-agent-framework\"}`. From a terminal: `anchor compare dspy microsoft-agent-framework`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dspy.json and https://www.anchorterminal.com/api/v1/tools/microsoft-agent-framework.json\n\n## Other comparisons with DSPy or Microsoft Agent Framework\n\n- [AgentOS vs DSPy](https://www.anchorterminal.com/compare/agentos-vs-dspy.md)\n- [AgentOS vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/agentos-vs-microsoft-agent-framework.md)\n- [Agno vs DSPy](https://www.anchorterminal.com/compare/agno-vs-dspy.md)\n- [Agno vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/agno-vs-microsoft-agent-framework.md)\n- [BoxLang AI vs DSPy](https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy.md)\n- [BoxLang AI vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/boxlang-ai-vs-microsoft-agent-framework.md)\n- [Claude Agent SDK vs DSPy](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy.md)\n- [Claude Agent SDK vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-microsoft-agent-framework.md)\n- [CrewAI vs DSPy](https://www.anchorterminal.com/compare/crewai-vs-dspy.md)\n- [CrewAI vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/crewai-vs-microsoft-agent-framework.md)\n- [Cursor Agent SDK vs DSPy](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.md)\n- [Cursor Agent SDK vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-microsoft-agent-framework.md)\n- [Docker Agent vs DSPy](https://www.anchorterminal.com/compare/docker-agent-vs-dspy.md)\n- [Docker Agent vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/docker-agent-vs-microsoft-agent-framework.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 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 Microsoft Agent Framework](https://www.anchorterminal.com/compare/genkit-vs-microsoft-agent-framework.md)\n- [Agent Development Kit (ADK) vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/google-adk-vs-microsoft-agent-framework.md)\n- [guilds.run vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/guilds-run-vs-microsoft-agent-framework.md)\n- [Haystack vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework.md)\n- [LangGraph vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/langgraph-vs-microsoft-agent-framework.md)\n- [LlamaIndex Framework vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework.md)\n- [Mastra vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/mastra-vs-microsoft-agent-framework.md)\n- [Microsoft Agent Framework vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-openai-agents-sdk.md)\n- [Microsoft Agent Framework vs Pydantic AI](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai.md)\n- [Microsoft Agent Framework vs smolagents](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents.md)\n- [Microsoft Agent Framework vs Strands Agents](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-strands-agents.md)\n- [Microsoft Agent Framework vs Terse Durable Actors](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-terse-durable-actors.md)\n- [Microsoft Agent Framework vs TradingAgents](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-tradingagents.md)\n- [Microsoft Agent Framework vs AI SDK](https://www.anchorterminal.com/compare/microsoft-agent-framework-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 Microsoft Agent Framework",
        "url": ""
      }
    ],
    "description": "Microsoft Agent Framework scores 83.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",
      "Microsoft Agent Framework A 83.1",
      "scores"
    ],
    "h1": "DSPy vs Microsoft Agent Framework",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/dspy-vs-microsoft-agent-framework",
    "published": "2026-10-01",
    "section": "tools",
    "title": "DSPy vs Microsoft Agent Framework for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework"
  },
  "tokens": {
    "markdown": 4850,
    "slim": 780
  },
  "version": 1
}
