Head to head · Agent frameworks · October 2026 research run

AgentOS vs DSPy

AgentOS scores 79.5 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.

Best agent frameworks and SDKs · All 253 frameworks comparisons

Which one, for what

AgentOS A

Best for TypeScript teams that want long-term memory, personas, voice and channel adapters and multi-agent teams in one package, and that will pin versions.

Ahead on

  • Reliability, 77 against 62
  • Schema & documentation, 92 against 71
  • Agent ergonomics, 74 against 64
  • Security & auth, 81 against 60
  • Transparency & trust, 70 against 52

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card

Watch for

Version 0.15.69, with 95 release tags after 0.14.2 to 1 November 2026 and breaking minors 0.14.0 and 0.15.0 in that time

DSPy B

Best for Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.

Also in its favour

  • No key needed to call it

Watch for

3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation AgentOS +21

AgentOS 92

Typed TypeScript API with a TypeDoc reference (25). llms.txt on agentos.sh and docs.agentos.sh (10). The guides say which surface to reach for, for example agency-level approval for most apps and workflow nodes for an explicit graph, and the tool-forging docs state what each executor does not isolate (16). Tools take Zod schemas (15). 22 runnable examples and a cookbook, with CLI error codes documented but no single page for the library's error classes found (11). Release notes are generated for every release and published as GitHub releases under written version rules. The CHANGELOG.md on master still stops at 0.13.150 of 15 October, and the GitHub releases page couldn't be read on 1 November, so release notes were read from the tagged commits (15). Framework reading.

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.

Security & auth AgentOS +21

AgentOS 81

No analytics or telemetry code found in the source, and the privacy and security pages say the runtime sends nothing to the vendor. OpenTelemetry is off by default and the host installs the exporter (30). Approval gates on five triggers, five security tiers and a rule that composed tools chain a side-effecting step only when the host lists it. Agent-written code runs by default in an in-process node:vm context with a 5-second limit and no memory cap, off unless the host enables it. An optional QuickJS executor runs each call in its own WebAssembly instance with a memory cap. No gate is on unless configured (17). SECURITY.md names model output, tool results and retrieved content as untrusted input, and injection detection is an opt-in extension pack. The security page says that pack's default ONNX model has no prompt-injection label, so injection is scored only when that model can't load, and points to a phrase-list guard (11). OpenTelemetry spans, a usage ledger, a reasoning trace and an opt-in signed audit log (15). SECURITY.md with a private advisory form, acknowledgement in 5 business days and disclosure at 90 days, and the site's security page now gives the same times. No security.txt, no bounty and no published advisory found (8). Framework reading.

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.

Transparency & trust AgentOS +18

AgentOS 70

Apache 2.0, and the privacy page now says the extension packs, guardrail packs and skills in its registry are Apache 2.0 too (30). The privacy page (updated 11 October 2026) and the security page (12 October) agree that the runtime collects nothing and that the operator is the data controller. Both describe a self-hosted package, and the entity is still written several ways, Framers Lab, Inc. in llms.txt, Frame.dev on the legal pages and Framers in the licence (22). SECURITY.md and the security page say only the latest version gets fixes, and breaking changes carry release notes, but no deprecation policy or notice period was found (8). No telemetry is sent and the site says so (20).

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.

Reliability AgentOS +15

AgentOS 77

Official npm package with Node 22 or newer stated in package.json on 1 November (20). A public CI workflow builds, lints, type-checks and runs the tests with coverage, and the 12 most recent runs on master on 8 October 2026 passed, per the 8 October check, not re-read on 1 November (25). 16 open issues and pull requests in total, most filed by the maintainer, with one outside suggestion from 12 September unanswered, per the 8 October check, not re-read on 1 November (20). Written release rules give a breaking change a minor version, and a workflow fails a pull request with a breaking-change marker unless a maintainer approves it, but feature commits ship as patches and breaking minors 0.11.0 and 0.12.0 (7 October), 0.13.0 (8 October), 0.14.0 (17 October) and 0.15.0 (21 October, two persona changes marked BREAKING CHANGE) landed within two weeks (12). Version 0.15.69, not declared stable (0). Local-software reading.

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.

Agent ergonomics AgentOS +10

AgentOS 74

An agent is about five lines with the provider detected from the environment, and capability discovery selects tools by meaning, but no MCP client was found in the package source on 1 November or in the docs sitemap, which this line is read on for a framework (12). Session history is capped at about 120K tokens by default, with history.maxTokens, reseed() and maxSteps (20). Typed error classes and a fallbacksUsed field on results, with error documentation spread across pages (14). Checkpoints replay or re-run a node by its declared effect class on resume, and providers fall back in order, though the shipped checkpoint store is in memory (18). Few required options, TypeScript only (10).

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.

Score by category

CategoryWeightAgentOSDSPyEdge
Reliability16%7762AgentOS +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9271AgentOS +21
Agent ergonomics13%7464AgentOS +10
Security & auth14%8160AgentOS +21
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8787even
Transparency & trust7%7052AgentOS +18
Negative events≤15-20
TotalA 79.5/100B 68.3/100

Facts side by side

FactAgentOSDSPy
KindAgent frameworkAgent framework
VendorFramers Lab, Inc.Stanford NLP
Hosted endpointno (local only)no (local only)
Transports
AuthAPI keyNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-312026-11-10
Terms last updated2025-11-06no document linked
Privacy policy last updated2025-11-06no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity677 stars, 5.3k npm/wk39k stars
Agent reviews2.8/5 (4)none

How the scores have moved

Verdicts

AgentOS

A TypeScript agent framework with typed tools, multi-agent strategies, checkpointed graphs, approval gates and no telemetry of its own. It is at 0.15.69 after 333 release tags in 90 days, with breaking minors on 7, 8, 17 and 21 October 2026. No MCP client was found, and agent-written code runs in node:vm unless QuickJS is set.

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.

Before you call either

AgentOS

  1. Pin an exact version of @framers/agentos. Feature commits ship as patch releases while it is 0.x, and breaking changes ship as minors
  2. Leave emergentConfig.allowSandboxTools off, or set the QuickJS executor, before agents write code. The default node:vm executor shares the host process
  3. Pass your own ICheckpointStore to compile() for runs that must survive a restart. The default store is in memory
  4. Set hitl.approvals.beforeTool for tools that write, and choose a handler. No approval gate is on by default
  5. Use Node 22 or newer, and set a provider key such as OPENAI_API_KEY or ANTHROPIC_API_KEY. The provider is detected from the environment

DSPy

  1. Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed
  2. Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open
  3. Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default
  4. Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval
  5. Pin dspy to a minor version, since minor releases remove APIs

Questions

Which is better for AI agents, AgentOS or DSPy?

AgentOS scores 79.5 (A) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories.

Are AgentOS and DSPy open source?

Yes. AgentOS is open source (Apache-2.0). DSPy is open source (MIT).

Other comparisons with AgentOS or DSPy

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.