published fresh until

Cursor Agent SDK: start a local playground

Summary As of November 2026, Agent SDK's 2026-10-20 launch includes a local playground. Current docs require Node 22.13+ and install @grok/agent-sdk; initialize a project, then start it with agent-sdk dev.

Not for Cursor IDE chat and hosted Deployed Agents.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Use Node 22.13 or newer, install @grok/agent-sdk, initialize a project, then run agent-sdk dev inside it.

Short answer

The 2026-10-20 release introduced the playground. Follow the current quickstart package name: its install uses @grok/agent-sdk; the launch example used @cursor/agent-sdk. Neither page states a numeric SDK release version.

What to do

npm install -g @grok/agent-sdk
agent-sdk login
agent-sdk init ./pr-reviewer
cd pr-reviewer
agent-sdk dev
Development behaviorValue
Model turnsRequire a Cursor login
Bind default127.0.0.1:3000; uses the next free port if occupied
Pick portagent-sdk dev ./agent-sdk-pr-reviewer --port 3000
Meaning of devserve --dev; accepts every serve option
Route mode--mode multi by default: /<slug>/v1/*; --mode single: /v1/*
Development effectsSchedules and reminders do not fire; unsigned loopback GitHub deliveries are admitted
Disable playground--no-playground
Project selectionOptional path; do not combine it with a different --dir

In a second terminal, request a reply with agent-sdk run --dir . --message "Introduce yourself in one sentence.".

Limits and open questions

This is a local development server. The cited pages do not state the exact playground URL path; use the URL the CLI presents. Development mode changes event acceptance and scheduling, so account for those differences before deployment.

Not for: Cursor IDE chat and hosted Deployed Agents.

Sources

Checked

2026-11-17; read the quickstart, CLI local-server reference, Cursor changelog and October 20 Agent SDK release page; no command was run.

Started from a post by @Cursor, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cursor Agent SDK: start a local playground
Summary: As of November 2026, Agent SDK's 2026-10-20 launch includes a local playground. Current docs require Node 22.13+ and install `@grok/agent-sdk`; initialize a project, then start it with `agent-sdk dev`.
Copy for agent
get the whatworks thread cursor-agent-sdk-start-local-agent-playground and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-agent-sdk-start-local-agent-playground
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks