自動実行エージェントを構築する
本文の状態
日本語全文を表示中
詳細モードで約6分の本文を読めます。
Cursorが、ユーザー定義のトリガーと指示に基づいて実行する自動化機能をサポートした。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るSource Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
常時稼働エージェントを構築するためのCursor Automationsを導入します。
これらのエージェントはスケジュールに基づいて実行されるか、送信されたSlackメッセージ、新しく作成されたLinear issue、マージされたGitHub PR、PagerDutyインシデントなどのイベントによってトリガーされます。これらの組み込み連携機能に加え、webhookを使用して独自のカスタムイベントを設定することも可能です。
自動化機能が、手軽に成果を上げられる場面と、より複雑なワークフローの両方で役立つ点が気に入っています。単純な作業は数秒でスケジュール設定できる一方、必要に応じて任意のwebhookを捕捉したり、カスタムMCPに接続したりする完全な柔軟性も維持されています。
#ソフトウェアエンジニアリングパイプラインの高度化
コーディングエージェントの台頭により、あらゆるエンジニアがより多くのコードを生成できるようになりました。しかし、コードレビュー、監視、保守は同じペースで高速化されていません。Cursorでは、開発ライフサイクルのこうした他の部分を拡張するために、自動化機能を活用してきました。
自動化エージェントが呼び出されると、クラウドサンドボックスを起動し、設定したMCPとモデルを使用して指示に従い、自身の出力を検証します。エージェントはまた、過去の実行から学習し、反復を通じて改善を図れるメモリツールにもアクセスできます。
過去数週間、Cursorの自社コードベースでより多くの自動化エージェントを実行する中で、自動化機能は主に2つのカテゴリに分類されるとわかりました。
#レビューと監視
自動化機能は変更のレビューに非常に有効です。スタイル上の細かい指摘や矛盾から、セキュリティ脆弱性やパフォーマンスの後退まで、あらゆる問題を検出・修正できます。
実際、Bugbotは多くの意味で最初の自動化機能と言えます。PRが作成または更新されると実行され、1日に数千回トリガーされ、リリース以来数百万ものバグを検出してきました。自動化機能を使えば、様々な目的に応じてあらゆる種類のレビューエージェントをカスタマイズできます。以下はCursorで使用している3つの例です。
セキュリティレビュー
当社のセキュリティレビュー自動化は、mainブランチへのすべてのプッシュでトリガーされます。これにより、エージェントはPRをブロックすることなく、より長い時間をかけて微妙な問題を発見できます。差分を監査してセキュリティ脆弱性を探し、PR内ですでに議論された問題はスキップし、高リスクの発見をSlackに投稿します。この自動化により、Cursorでは複数の脆弱性と重大なバグが検出されています。
エージェント型コードオーナー
すべてのPR作成またはプッシュ時に、この自動化機能は影響範囲、複雑さ、インフラへの影響に基づいてリスクを分類します。低リスクのPRは自動承認されます。高リスクのPRには、貢献履歴に基づいて最大2名のレビュアーが割り当てられます。決定内容はSlackで要約され、MCPを介してNotionデータベースに記録されるため、エージェントの作業を監査し、指示を微調整できます。
インシデント対応
PagerDutyインシデントによってトリガーされると、この自動化機能はDatadog MCPを使用してログを調査し、コードベースの最近の変更を確認するエージェントを起動します。その後、対応する監視メッセージと、提案された修正を含むPRとともに、オンコールエンジニア向けSlackチャンネルにメッセージを送信します。これにより、インシデント対応時間が大幅に短縮されました。
また、自動化機能は、様々なツールに散在する情報を統合する必要がある日常業務やナレッジワークにも有用であることがわかりました。
変更点の週次サマリー
この自動化機能は、過去7日間のリポジトリへの重要な変更点を要約した週次Slackダイジェストを投稿します。エージェントは、マージされた主要なPR、バグ修正、技術的負債、セキュリティや依存関係の更新をハイライトします。
テストカバレッジの追加
毎朝、自動化エージェントが最近マージされたコードをレビューし、テストカバレッジが必要な領域を特定します。テストを追加する際は既存の規約に従い、必要な場合にのみ本番の動作を変更します。その後、エージェントは関連するテストターゲットを実行してからPRを作成します。
バグレポートのトリアージ
バグレポートがSlackチャンネルに投稿されると、この自動化機能は重複をチェックし、Linear MCPを使用してissueを作成します。その後、エージェントはコードベースで根本原因を調査し、修正を試み、要約を添えて元のスレッドに返信します。
#Ripplingにおける自動化機能の活用
Cursor以外のチームも、既に自動化機能の構築を始めています。RipplingのAbhishek Singhは、パーソナルアシスタントを設定しました。彼は一日を通して、会議メモ、アクションアイテム、TODO、LoomリンクをSlackチャンネルに投入します。cronエージェントが2時間ごとに実行され、彼のGitHub PR、Jira issue、Slackメンションと合わせてすべての情報を読み取り、ソース間の重複を排除し、整理されたダッシュボードを投稿します。
彼はまた、スレッドからJira issueを作成したり、Confluenceでの議論を要約したりするためのSlackトリガー型自動化も実行しています。SinghとRipplingは、自動化機能の活用を、インシデントトリアージ、週次ステータスレポート、オンコール引き継ぎなどのタスク処理にも拡大しています。最も有用な自動化機能はチーム全体で共有されます。
自動化機能により、業務の反復的な側面を容易に任せられるようになりました。タスクをまとめ、ドキュメント更新を処理し、Slackメッセージに応答する自動化を作成することで、重要なことに集中できます。あらゆるものが自動化の対象となり得ます。
#あなたのソフトウェアを創り出す工場
これらすべての自動化機能は、独自のコンピューターを使用して作業の構築、テスト、デモを行うクラウドエージェントによって支えられています。エージェントを設定してコードベースを継続的に監視・改善することで、あなたのソフトウェアを創り出す工場を構築できるのです。
私たちは、Runlayer MCPとプラグインを活用したCursor Automationsで、このソフトウェア工場を構築しました。当社のエージェントは適切なツール、適切なコンテキスト、適切なガードレールを備えているため、5倍の規模のチームよりも迅速に動くことができます。
cursor.com/automations で自動化機能の作成を試すか、テンプレートから始めてください。詳細はドキュメントをご覧ください。

原文を表示
We're introducing Cursor Automations to build always-on agents.
These agents run on schedules or are triggered by events like a sent Slack message, a newly created Linear issue, a merged GitHub PR, or a PagerDuty incident. In addition to these built-in integrations, you can configure your own custom events with webhooks.
I love that automations work for both quick wins and more complex workflows. I can schedule the obvious stuff in seconds, but I still have full flexibility to catch any webhook or plug into custom MCPs when I need to.
#Upgrading the software engineering pipeline
With the rise of coding agents, every engineer is able to produce much more code. But code review, monitoring, and maintenance haven’t sped up to the same extent yet. At Cursor, we’ve been using automations to help scale these other parts of the development lifecycle.
When invoked, the automated agent spins up a cloud sandbox, follows your instructions using the MCPs and models you've configured, and verifies its own output. Agents also have access to a memory tool that lets them learn from past runs and improve with repetition.
As we’ve run more automated agents on our own codebase at Cursor over the past several weeks, two categories of automations have emerged.
#Review and monitoring
Automations are great for reviewing changes. They can catch and fix everything from style nits and inconsistencies to security vulnerabilities and performance regressions.
In fact, Bugbot is in many ways the original automation! It runs when a PR is opened or updated, gets triggered thousands of times a day, and has caught millions of bugs since we first launched it. Automations allow you to customize all kinds of review agents for different purposes. Here are three we use at Cursor:
Security review
Our security review automation is triggered on every push to main. This way, the agent can work for longer to find more nuanced issues without blocking the PR. It audits the diff for security vulnerabilities, skips issues already discussed in the PR, and posts high-risk findings to Slack. This automation has caught multiple vulnerabilities and critical bugs at Cursor.
Agentic codeowners
On every PR open or push, this automation classifies risk based on blast radius, complexity, and infrastructure impact. Low-risk PRs get auto-approved. Higher-risk PRs get up to two reviewers assigned based on contribution history. Decisions are summarized in Slack and logged to a Notion database via MCP so we can audit the agent’s work and tweak the instructions.
Incident response
When triggered by a PagerDuty incident, this automation kicks off an agent that uses the Datadog MCP to investigate the logs and looks at the codebase for recent changes. It then sends a message in a Slack channel to our on-call engineers, with the corresponding monitor message and a PR containing the proposed fix. This has significantly reduced our incident response time.
We’ve also found automations useful for everyday tasks and knowledge work that require stitching together information across different tools.
Weekly summary of changes
This automation posts a weekly Slack digest summarizing meaningful changes to the repository in the last seven days. The agent highlights major merged PRs, bug fixes, technical debt, and security or dependency updates.
Every morning, an automated agent reviews recently merged code and identifies areas that need test coverage. It follows existing conventions when adding tests and only alters production behavior when necessary. The agent then runs relevant test targets before opening a PR.
Bug report triage
When a bug report lands in a Slack channel, this automation checks for duplicates and creates an issue using Linear MCP. The agent then investigates the root cause in the codebase, attempts a fix, and replies in the original thread with a summary.
#How Rippling uses automations
Teams outside Cursor have already started building automations. Abhishek Singh at Rippling set up a personal assistant. He dumps meeting notes, action items, TODOs, and Loom links into a Slack channel throughout the day. A cron agent runs every two hours, reads everything alongside his GitHub PRs, Jira issues, and Slack mentions, deduplicates across sources, and posts a clean dashboard.
He also runs Slack-triggered automations for creating Jira issues from threads and summarizing discussions in Confluence. Singh and Rippling have extended their use of automations to handle tasks like incident triage, weekly status reports, on-call handoff, and more. The most useful automations get shared across the team.
Automations have made the repetitive aspects of my work easy to offload. By making automations to round up tasks, deal with doc updates, and respond to Slack messages, I can focus on the things that matter. Anything can be an automation!
#The factory that creates your software
All of these automations are powered by cloud agents that use their own computers to build, test, and demo their work. Now you can build the factory that creates your software by configuring agents to continuously monitor and improve your codebase.
We built our software factory using Cursor Automations with Runlayer MCP and plugins. We move faster than teams five times our size because our agents have the right tools, the right context, and the right guardrails.
Try creating an automation at cursor.com/automations, or start from a template. Learn more in the docs.

同じ出来事を2媒体で確認
同じ出来事を扱う別媒体の記事です。見出しと公開時刻を比較できます。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み