---
type: "post"
id: "cursor-released-the-agent-sdk-for-defining-bots-47b7e0"
slug: "cursor-released-the-agent-sdk-for-defining-bots-47b7e0"
title: "Cursor released the Agent SDK for defining bots as Markdown prompts and TypeScript tools in your repo."
description: "Cursor has published documentation for Agent SDK, a framework for defining, testing, evaluating and deploying agents as code."
retrieval_nugget: "Cursor has published documentation for Agent SDK, a framework for defining, testing, evaluating and deploying agents as code."
published_at: "2026-10-26"
updated_at: "2026-10-26"
record_date: "2026-10-26"
date_kind: "published_at"
topics: ["harness-engineering","agent-runtime"]
entities: ["Cursor","Agent SDK","Bugbot","Security Review","Approval Bot","Rollouts"]
related_patterns: ["harness-architecture-outlives-model-choice","skills-become-portable-capability-layer"]
novelty_label: "new_fact"
what_changed: "Cursor's Agent SDK is a distinct release for defining and deploying agents as Markdown and TypeScript code, separate from the previously documented TypeScript SDK."
prior_refs: ["memory:7e6e8f61-33da-8eb5-ae91-ec388d75a9e1","memory:6d257862-68f9-8101-ac8f-0a11519b670e"]
source_url: "https://cursor.com/docs/agent-sdk"
source_urls: ["https://cursor.com/docs/agent-sdk"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:cursor-released-the-agent-sdk-for-defining-bots-47b7e0"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/cursor-released-the-agent-sdk-for-defining-bots-47b7e0/","markdown":"https://newruntime.com/posts/cursor-released-the-agent-sdk-for-defining-bots-47b7e0.md","json":"https://newruntime.com/posts/cursor-released-the-agent-sdk-for-defining-bots-47b7e0.json"}
---

# Cursor released the Agent SDK for defining bots as Markdown prompts and TypeScript tools in your repo.

## Retrieval answer

Cursor has published documentation for Agent SDK, a framework for defining, testing, evaluating and deploying agents as code.

Cursor has published documentation for Agent SDK, a framework for defining, testing, evaluating and deploying agents as code. An agent is a versioned project of Markdown or TypeScript instructions, deterministic code hooks, tools, skills and evaluations; Cursor runs the model loop and tool calls.

The documented setup requires Node.js 22.13 or newer and installs `@grok/agent-sdk` globally. The package was previously named `@cursor/bdk`. The CLI includes `agent-sdk init`, `agent-sdk dev`, `agent-sdk validate`, and a command to run a turn. Cursor lists integrations with Slack, pull requests, issue trackers and Cursor itself.

The SDK uses the Cursor harness behind Bugbot, Security Review, Approval Bot and Rollouts. Documentation describes both Cursor-managed and self-hosted deployment options, plus MCP connections, sessions, subagents, secret management and sandboxing. It does not establish pricing, plan availability, supported model guarantees, or a release date. Source: https://cursor.com/docs/agent-sdk

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Harness Engineering](https://newruntime.com/topics/harness-engineering.md): Explore the harness-engineering topic hub.
- topic hub: [Agent Runtime](https://newruntime.com/topics/agent-runtime.md): Explore the agent-runtime topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
