What this thread does
Do first: Use Node 22.13 or newer, install npm install -g @grok/agent-sdk, then run agent-sdk login for model turns.
Short answer
The October 20, 2026 changelog introduced Agent SDK and template scaffolding. Its launch command used @cursor/agent-sdk; current quickstart docs use @grok/agent-sdk. The pages do not date that package-name change. Initialization with a directory adds missing scaffold files and installs dependencies.
What to do
| Value | Action / meaning |
|---|---|
October 20, 2026 | Agent SDK launch included template scaffolding. |
Node 22.13 | Minimum Node version. |
npm install -g @grok/agent-sdk | Install using the current quickstart package name. |
agent-sdk login | Sign in before model turns. |
npx @cursor/agent-sdk init ./my-bot | Launch-era command; current package is @grok/agent-sdk. |
agent-sdk init ./my-bot --template security-reviewer | Combine the documented directory and template flag; replace the directory if needed. |
agent-sdk init | Without a directory, prints the setup guide rather than creating a project. |
agentic-owners; agents-md; code-wiki; demo; security-help; security-reviewer | Accepted template names, first group. |
thermo-quality-review; thermo-review; triage-jira; triage-linear | Other accepted templates. |
triage → triage-linear | Alias selects the Linear triager. |
--var id=value | Repeat to answer template questions without prompts. |
--dry-run | List files without writing them. |
--json | Request JSON scaffold output. |
agent-sdk dev | Run from the generated project directory to start the local playground. |
agent-sdk run --dir . --message "Introduce yourself in one sentence." | In a second terminal, ask the project to reply. |
Limits and open questions
On a TTY, initialization asks template questions and starts login when necessary. The CLI tries to add itself to PATH. The pages do not give an SDK release version for this workflow; the launch date is not a package version. No agent project was scaffolded for this draft.
Not for: Cursor IDE project rules or importing an existing Automation with --from.
Sources
- Quickstart, Cursor, 2026-11-17.
- CLI scaffold reference, Cursor, 2026-11-17.
- Agent SDK launch in changelog, Cursor, 2026-10-20.
Checked
2026-11-17; read Quickstart, CLI scaffold reference, Agent SDK launch in changelog; no command was run.
Started from a post by @Cursor, packaged by the editor. Original post