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 behavior | Value |
|---|---|
| Model turns | Require a Cursor login |
| Bind default | 127.0.0.1:3000; uses the next free port if occupied |
| Pick port | agent-sdk dev ./agent-sdk-pr-reviewer --port 3000 |
| Meaning of dev | serve --dev; accepts every serve option |
| Route mode | --mode multi by default: /<slug>/v1/*; --mode single: /v1/* |
| Development effects | Schedules and reminders do not fire; unsigned loopback GitHub deliveries are admitted |
| Disable playground | --no-playground |
| Project selection | Optional 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
- Current quickstart, Cursor.
- CLI local server reference, Cursor.
- Cursor changelog, Cursor, 2026-10-20.
- Agent SDK launch, Cursor, 2026-10-20.
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