Home›Editor›Agent SDK
原題 ENEnglish title

Agent SDKAgent SDK

AI 要約AI summary

Cursorが Agent SDK を公開し、instructions.md や tools/、skills/ などを持つフォルダ形式でエージェントを構築できるようになった。評価で検証し、agent-sdk deploy で Cursor 上に公開できるため、ボットの開発から運用までを一貫して進めたい開発チームに役立つ。

Cursor launched Agent SDK, letting teams define agents as project folders with instructions, tools, and skills, test them with evals, and ship via agent-sdk deploy. It suits teams moving bots into production.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (cursor.com) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (cursor.com).

Cursorが Agent SDK の提供を本日から開始した。エージェントをコードのフォルダとして定義し、評価でテストしたうえで、Cursor または自社のインフラストラクチャにデプロイできる。

ローカルで起動する

開発は npx @cursor/agent-sdk init ./my-bot でプロジェクトを作るところから始まる。続けて agent-sdk dev を実行すると、プレイグラウンド付きでボットをローカルで起動できる。

--template を指定すれば、テンプレートから始めることもできる。用意されているのは、セキュリティレビュアー、オーナーポリシーに基づく承認ボット、PR 自動修正ツール、Linear または Jira のトリアージボットである。

フォルダ構成

エージェントは 1 つのプロジェクトとして構成される。instructions.md がプロンプトにあたる。tools/ 内の各ファイルは、モデルが呼び出せる型付きアクション 1 つに対応する。

skills/ にはモデルが必要に応じて読み込む手順を格納する。mcp-connections/ では MCP サーバーのツールを追加でき、channels/ ではボットがメッセージを受信・応答する場所を定義する。

agent-sdk validate でプロジェクトを検証でき、agent-sdk info で検出された内容を出力できる。

agent-sdk deploy

実運用の準備が整ったら、プロジェクトディレクトリで agent-sdk deploy を実行する。このコマンドはエージェントをビルドして URL を割り当て、Cursor のインフラストラクチャ上で起動する。

シークレットや連携はダッシュボードから管理できる。ローカルで使っているログ、評価、プレイグラウンドも、デプロイ後にそのまま利用できる。

起動のトリガー

エージェントは複数のイベントをきっかけに起動する。対象は、GitHub、GitLab、Bitbucket の PR、コメント、CI イベント、Slack でのメンションや DM である。任意のプロバイダーからのウェブフックと、cron スケジュールも使える。

Agent SDK Launches Today

Cursor has begun offering its Agent SDK, which lets teams define an agent as a folder of code, test it with evals, and then deploy it either to Cursor or to their own infrastructure. For teams that want to take a bot from development through to production, the announcement presents this as a single path.

Defining an Agent as a Project

According to the announcement, an agent is organized as one project. The file instructions.md serves as the prompt. Each file inside tools/ corresponds to one typed action that the model can call. The skills/ directory holds procedures the model loads when it needs them. The mcp-connections/ directory is where tools from MCP servers are added, and channels/ defines where the bot receives and responds to messages.

Two commands help check the result: agent-sdk validate verifies the project, and agent-sdk info prints what was detected.

Running Locally with a Playground

To start, run npx @cursor/agent-sdk init ./my-bot, then agent-sdk dev. This launches the bot locally with a playground. Adding the --template option lets you begin from a template instead of a blank project. The listed templates are a security reviewer, an approval bot based on owner policies, a PR auto-fix tool, and a triage bot for Linear or Jira.

Deploying with agent-sdk deploy

When an agent is ready for real use, running agent-sdk deploy in the project directory deploys it to Cursor. The announcement says the command builds the agent, assigns it a URL, and starts it on Cursor's infrastructure. Secrets and integrations are managed from a dashboard, and the logs, evals, and playground used locally remain available after deployment.

The source lists the events that can trigger a deployed agent: pull requests, comments, and CI events on GitHub, GitLab, and Bitbucket; mentions and direct messages in Slack; webhooks from any provider; and cron schedules.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPokoこれって、普段の開発だと何が変わるの?ボットを作る場面で想像しにくくて。What changes in day-to-day work with this? I can't quite picture building a bot.
  2. TECHガイドTECH Guideエージェントをコードのフォルダとして作り、評価でテストして、agent-sdk deploy で Cursor に出せます。テンプレートから始めることもできますよ。You define an agent as a code folder, test it with evals, and ship it with agent-sdk deploy to Cursor. You can also start from a template.
  3. ポコPoko前は、そういうのってできなかったの?今回が初めてなのかな。Couldn't you do this before? Is this the first time?
  4. TECHガイドTECH Guide従来との違いは、この記事からは分かりません。ただ今回は、作る・検証する・公開するが一つの流れで書かれています。公開先は自社のインフラも選べるそうです。The article doesn't say how it differs from before. But it lays out build, verify and ship as one flow, and you can deploy to your own infrastructure too.
  5. ポコPokoじゃあ一番の収穫は、フォルダにまとめて評価してから、deploy一発で公開できることかな?So the big win is putting it all in a folder, running evals, then going live with one deploy command?
  6. TECHガイドTECH Guideそうですね。次は、デプロイ後もログや評価、プレイグラウンドを同じように使える点に注目です。運用での使い心地が分かりそうです。Right. Next, watch that logs, evals and the playground keep working after deploy. That should show how it feels to run in production.
記事情報・収集記録Article details & collection record
出典Source
Cursor Changelog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
変更履歴Changelog
原文言語Source language
英語English
重要度の位置づけImportance in this lane
HighHigh priority(Editor 191件中、同等以上 6件)(6 of 191 Editor entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
短命 (ニュース)Short-lived (news)

🖱️Editor の他の記事More from Editorもっと見る →View more →

ページ上部へScroll to top