2026-11-26 15:47 UTC

Cursor releases its Agent SDK for building and deploying custom agents

state: significantheat: lowuncertainty: mediumrelevance: highcursor agent-sdk developer-toolsCursorRustam Lalkaka

What is this?

Cursor announced the Agent SDK as generally available on October 20, 2026. The first-party release describes a TypeScript-based framework for defining team-specific agents, connecting tools and services, and testing workflows with local evals and event replay. Agents can be deployed to Cursor’s infrastructure or run as containerized Node processes on a team’s own infrastructure. Cursor says it uses the SDK for managed agents including Bugbot, Security Reviewer, and Rollouts; its examples and PGA America’s endorsement are company-published claims, not independent evaluations.

Why it matters

The release makes custom, code-managed agents available now, with both hosted and self-managed deployment paths; significance is in the capability and access, not yet demonstrated adoption or performance.

Current assessment

Cursor announced the Agent SDK as generally available on October 20, 2026. Its first-party release describes a TypeScript framework for defining team-specific agents, connecting tools and services, and managing agent instructions, integrations, and evals as code; it supports local evals and event replay, deployment to Cursor infrastructure, or self-hosting as a containerized Node process. Cursor says the SDK powers managed agents including Bugbot, Security Reviewer, and Rollouts, but these examples and other endorsements in the release are company claims, not independent validation. The release makes custom-agent development and deployment available now; supplied evidence does not establish broader adoption, comparative reliability, or the cost and operational demands of running agents at scale. Hacker News engagement rose, but discussion is not evidence of implementation or uptake, and current measured attention is zero.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 914h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-19 13:00⭐ origin echo-reconstructedCursor's original announcement says: “Today, we're releasing the Agent SDK, the framework we use to build our own managed agents like Bugbot
Cursor (published with Rustam Lalkaka credited as the author) on blog (echo) · attributed from hn.story.50273731
—
10-28 14:02first on hacker news · published · +217.0hThe Agent SDK
torutofu
—
10-28 14:02amplified on hacker news 👑hn.story.50273731
torutofu
peak 143 · 132 comments · 100% of case engagement
10-28 14:22our radar first saw it · +217.4hdiscovery anchor: hn.story.50273731—
pace: p82 vs 879 stories at the 720h mark (now 914h old) — ahead of societies-ai-survey-prediction-claim (1.0x), behind qwen38-statistically-lossless-quantizations (1.0x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnThe Agent SDK
Retrieved article excerpt

Open article · Retrieved 2026-10-28T14:23:56.185692+00:00

[Blog](https://cursor.com/blog) / [product](https://cursor.com/blog/topic/product)

Oct 20, 2026·[product](https://cursor.com/blog/topic/product)

# Introducing the Agent SDK

Rustam Lalkaka · 5 min read

Software teams use agents defined as code to handle recurring work across the development lifecycle. These agents connect to the places where a team works and act when relevant events occur, whether that means reviewing a pull request, executing a compliance workflow, or investigating an incident.

The most useful agents are tailored to how a particular team operates. Until now, building one has generally meant adopting a product designed around someone else's workflow or starting from scratch.

Today, we're releasing the Agent SDK, the framework we use to build our own managed agents like Bugbot, Security Reviewer, and Rollouts. Agent SDK allows you to define agents in code and manage them like any other software project. Start from a template or point your coding agent at our docs. When the agent is ready, `agent-sdk deploy` it to Cursor infrastructure with one command.

## [#](https://cursor.com/blog/agent-sdk#build-around-your-workflow)Build around your workflow

The Agent SDK lets you quickly build and deploy agents that work the way your team does. They respond to the events your team already handles and follow policies your team can inspect and change.

Code review is one example. Each team has its own standards for what requires attention and who should review it. With the Agent SDK, you can build an agent that responds to pull request events from GitHub, GitLab, or Bitbucket. The agent can assess the risk of a change, route it to the right team, and approve changes that meet your policy.

As an example, a team within Cursor had built a large, fast-growing knowledge base of lessons learned and wanted every pull request checked against it. This way, the team's past decisions would hold even as the codebase changed. With the Agent SDK, they built kb-reviewer in about a day. It now runs on every PR in their main codebase, flags changes that contradict a recorded lesson, cites the note behind each finding, and encourages engineers to reconcile the discrepancies it reports.

For more complicated work, agents can hand a task to another specialized agent with its own tools and sessions. They can also divide a job among subagents working in parallel.

The Agent SDK also supports evals and event replay out of the box, allowing for rapid development with assurances that critical workflows execute the way you expect. The PGA Tour uses the Agent SDK to power their software development factory. Evals keep them moving quickly.

> The Agent SDK has enabled PGA to build every component of our software factory on Cursor's infrastructure. It provides the flexibility we need to build agents that drive our development process. And built-in support for evals allows us to quickly iterate on new ideas and optimize existing capabilities reliably.

Michael Gyarmathy

Principal Engineer, PGA America

## [#](https://cursor.com/blog/agent-sdk#define-everything-in-code)Define everything in code

An Agent SDK agent is organized like a small software project. The instructions that guide it sit alongside code for its tools, connections to outside services, and the evals used to test it.

Each file represents something the agent knows or can do. Prompts are written in Markdown, while tools are defined as TypeScript functions. Because everything is code, changes can go through the same version control and review process as the rest of your software.

## [#](https://cursor.com/blog/agent-sdk#deploy-agents-wherever-you-need-them)Deploy agents wherever you need them

When you're ready to put an agent into use, you can deploy it to Cursor by running `agent-sdk deploy` from the project directory. The command builds the agent, gives it a URL, and starts it on our infrastructure. You can manage secrets and integrations from the dashboard, while continuing to use the same logs, evals, and playground available locally.

You can also run the agent on your own infrastructure. Each agent runs as a single Node process that can be packaged in a container.

## [#](https://cursor.com/blog/agent-sdk#get-started)Get started

Getting started with the Agent SDK looks much like starting any other software project. Create a project directory, then launch the local playground:

```
import { homedir } from "node:os";
import { join } from "node:path";
import { defineAgent } from "@cursor/agent-sdk";

export default defineAgent({
  name: "Robo",
  model: {
    id: "composer-2.5",
    params: [
      { id: "effort", value: "high" },
      { id: "fast", value: "true" },
    ],
  },
  local: {
    cwd: join(homedir(), ".cache", "factory", "robo"),
  },
})
```

From there, you can iterate locally and run evals before deploying with `agent-sdk deploy`.

The Agent SDK also ships with skills that guide coding agents through the development process. You can point an agent at the docs and have it help build the bot with you.

The Agent SDK is generally available today. Read the [docs](https://cursor.com/docs) and get started.
torutofu143132
🟧 echo.blog ⭐Cursor's original announcement says: “Today, we're releasing the Agent SDK, the framework we use to build our own managed agents like BugbotCursor (published with Rustam Lalkaka credited as the author)——

Interpretation history

Decision trace