Cursor SDK: custom tools, auto-review, JSONL stores, and nested subagents
The Cursor TypeScript and Python SDKs gain function-based custom tools exposed via a built-in MCP server, an auto-review classifier for local tool calls steered by natural-language rules, JSONL-backed agent stores as an alternative to SQLite, and unlimited subagent nesting. The release also includes reliability fixes for run correlation, checkpoint safety, and HTTP/1.1 streaming, plus lighter imports and bundled ripgrep.
PUBLISHED2026-06-04
OBSERVED2026-08-11
AGE2mo
SOURCES1
- Custom tools: pass function definitions through
local.customToolsonAgent.create()orsend(); exposed via a built-incustom-user-toolsMCP server; visible to all subagents - Auto-review: set
local.autoReviewto route local tool calls through a classifier; steered viaautoRun.allow_instructionsandautoRun.block_instructionsinpermissions.json - Custom stores:
JsonlLocalAgentStorewrites append-only JSONL; implement the publicLocalAgentStoreinterface for custom backends (in-memory, Postgres, etc.); Python SDK exposes host, JSONL, and composed stores - Nested subagents: subagents can spawn subagents to any depth; no opt-in required
- Reliability: every
send()carries a platform-generatedrequestId;wait()on local runs no longer resolves before terminal state; safe checkpoint disposal; HTTP/1.1 cloud streaming - Performance: lazy import of the local agent stack; self-contained
.d.tsfiles; bundled ripgrep without global PATH modification - Models: retired
composer-2slugs routed to Composer 2.5 automatically - Python SDK:
list_runsaccepts optionalcwd; clearer not-found errors; 0.1.6 release with Buildkite path and analytics labels
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.