跳至主內容

New Coding Model and Agent Interface

Multi-Agents

Manage agents in our new editor, with a sidebar for your agents and plans.

Run up to eight agents in parallel on a single prompt. This uses git worktrees or remote machines to prevent file conflicts. Each agent operates in its own isolated copy of your codebase.

Composer

Introducing our first agentic coding model. Composer is a frontier model that is 4x faster than similarly intelligent models.

Browser (GA)

Launched in beta in 1.7, browser for Agent is now GA. We’ve added additional support for Enterprise teams to use Browser in 2.0.

Browser can now be embedded in-editor, including powerful new tools to select elements and forward DOM information to the agent. Learn more about using the browser.

Improved Code Review

It’s now easier to view all changes from Agent across multiple files without needing to jump between individual files.

Sandboxed Terminals (GA)

Launched in beta in 1.7, sandboxed terminals are now GA for macOS. We now run agent commands in the secure sandbox by default on macOS with 2.0.

Shell commands (that are not already allowlisted) will automatically run in a sandbox with read/write access to your workspace and no internet access. Learn more about sandboxing.

Team Commands

Define custom commands and rules for your Team in the Cursor dashboard.

This context will then be automatically applied to all members of your team, without needing to store the files in your editor locally, and centrally managed by team admins.

Voice Mode

Control Agent with your voice using built-in speech-to-text conversion. You can also define custom submit keywords in settings to trigger the agent to begin running.

Improved Performance

Cursor uses Language Server Protocols (LSPs) for language-specific features like go to definition, hover tooltips, diagnostics, and more.

We've drastically improved the performance of loading and using LSPs for all languages. This is particularly noticeable when working with agent and viewing diffs.

Python and TypeScript LSPs now are faster by default for large projects with higher memory limits dynamically configured based on available RAM.

We've also fixed a number of memory leaks and improved overall memory usage.

Plan Mode in Background

Create your plan with one model and build the plan with another. You can choose to build the plan in the foreground or background, or even plan with parallel agents to have multiple plans to review.

Shareable Team Commands

Share custom rules, commands, and prompts with your entire team. Create deeplinks through the Cursor Docs.

Improved Prompt UI

Files and directories are now shown inline as pills. We've also improved copy/pasting prompts with tagged context.

We've removed many explicit items in the context menu, including @Definitions, @Web, @Link, @Recent Changes, @Linter Errors, and others. Agent can now self-gather context without needing to manually attach it in the prompt input.

Improved Agent Harness

We've greatly improved the underlying harness for working with Agent across all models. This has notable quality improvements, especially for GPT-5 Codex.

Cloud Agents

Cloud agents now offer 99.9% reliability, instant startup, and a new UI coming soon. We've also improved the experience of sending agents to the cloud from the editor.

Cursor for Enterprise

Sandboxed Terminals: Admin Controls

Enterprise can now enforce standard settings for Sandboxed Terminals across their team. Configure sandbox availability, git access, and network access at the team level.

Hooks: Cloud Distribution

Enterprise teams can now distribute hooks directly from the web dashboard. Admins can add new hooks, save drafts, and select which hooks should apply to which operating systems.

Audit Log

View a timestamped log of admin events in Cursor: user access, setting changes, Team Rule edits, and member management events.

瀏覽器控制、計畫模式與 Hooks

瀏覽器控制項

Agent 可擷取螢幕畫面、優化 UI,並偵錯用戶端問題。深入了解瀏覽器功能。

規劃模式

Cursor 現在能在啟動複雜任務前先擬定詳細的計畫。這讓代理能夠持續運作更久。

Agent 的自動完成

撰寫提示詞時,系統會依據最近的變更顯示自動完成建議。按 Tab 接受建議,並將檔案加入脈絡。

Hooks(Beta)

您現在可以使用自訂腳本來觀察、控制並擴充 Agent 的迴圈。Hook 讓您能在執行時自訂並影響 Agent 的行為。

使用 Hooks 稽核 Agent 的使用、封鎖指令,或從脈絡中移除敏感資訊。此功能仍為測試版,期待您的回饋。

團隊規則

Teams 現在可以在儀表板中定義並分享全域規則,這些規則會套用至所有專案。我們也為Bugbot推出團隊規則,讓各個 repo 之間的行為保持一致。

以深層連結分享提示詞(測試版)

為可重複使用的提示詞建立可分享的深層連結。適用於文件中的設定說明、團隊資源與分享工作流程。請參閱我們的文件以了解如何建立它們。

沙盒化的終端機

指令現在會在安全、沙盒化的環境中執行。若你使用允許清單模式,未列入允許清單的指令將自動在沙盒中執行,可讀寫你的工作區,但無法連線到網際網路。

如果某個指令失敗,而我們判斷原因是沙箱限制,系統會提示你在沙箱外重試。

Bugbot 的 PR(拉取請求)摘要

在 GitHub 建立 PR(拉取請求)時,Bugbot 會自動產生變更摘要。當你持續推送變更時,摘要會隨之更新,確保內容正確。你可以在 Cursor 儀表板的 Bugbot 分頁中停用此功能。

從選單列監控 Agents

可直接從功能列快速查看 Cursor Agents 的 status。

Agent 的 Image 檔案支援

Agent 現在可直接從你的工作區讀取影像檔,並將其納入脈絡。先前僅支援貼上影像。

斜線指令、摘要化,以及更完善的 Agent 終端機

自訂斜線指令

你現在可以建立可重複使用的提示詞,並快速與團隊分享。指令會儲存在.cursor/commands/[command].md。在 Agent 輸入框中輸入/,並從下拉選單選取指令即可執行。

我們一直用它們來執行 linter、修正編譯錯誤,並建立包含詳細描述與 Conventional Commits 的 PR(拉取請求)。

摘要觸發

當達到脈絡視窗上限時,Cursor 會自動為你摘要長對話。現在你可以使用/summarize斜線指令隨選摘要脈絡。當你不想建立新的 Chat,但想釋放脈絡視窗空間時,這會很有用。

支援 MCP Resources

我們已新增對 MCP Resources 的支援。Resources讓伺服器可以分享為語言模型提供脈絡的資料,例如檔案、資料庫綱要或應用程式特定資訊。

另外,MCP 現在支援插值變數。這可讓你在為 MCP 伺服器定義組態時,於字串中使用環境變數。

更完善的 Agent 終端機

當 Agent 決定建立終端機以執行 shell 指令時,我們大幅提升了該環境的穩定性與可靠性。

這解決了已知的終端機指令掛起、完成任務後未正確結束等問題,並改善了 SSH 體驗。

我們也打磨了終端機 UI、提升啟動與執行速度,並在 shell 指令需要使用者核准時加入作業系統通知。

Linear 整合、升級的 Agent 終端機,以及作業系統通知

在 Linear 中執行 Agent

你現在可以直接從 Linear 啟動 Background Agent。將工作委派給 Cursor,無須離開你的 issue。我們撰寫了一篇更完整的部落格文章,提供更多細節。

優化 Agent 終端機的審查流程

終端機現在會在左側開啟,並以清晰的底色與邊框動畫凸顯「阻擋中」狀態。當你選擇拒絕時,輸入框會自動取得焦點,讓你能立即回應。

Agent 的作業系統通知

當代理執行完成或需要輸入時(例如核准未在允許清單中的指令),你會收到原生作業系統通知。可在設定中啟用。

Agent completed system notification.

支援 MCP elicitation

Cursor 現已支援 MCP elicitation——這是 MCP 規格中的新功能,允許伺服器向使用者請求結構化輸入,例如使用者偏好或組態選項。請求以 JSON 結構定義,讓伺服器取得經驗證的回應,同時確保使用者掌控自己分享的內容。

更完善的 Agent 工具、可控性與使用情況可視化

提升 Agent 的可控性

現在在 Cursor 執行作業時傳送訊息,能更有效引導 Agent。訊息會在下一個合適時機執行,通常是在工具呼叫後,而不是等到整段生成完成。⌥+Enter(Windows 上為 Alt+Enter)會像以往一樣將訊息排入佇列,⌘+Enter(Windows 上為 Ctrl+Enter)則會中斷 Agent 並立即傳送訊息。您可在 Cursor 設定 → Chat → Queue messages 中變更預設行為。

強化的 Agent 工具

Agents 在大型程式碼庫中運作時,表現將有顯著提升。脈絡選擇更精準、權杖使用更有效率,且編輯品質更佳:

  • 讀取檔案: 現在會在適當時機讀取整個檔案,且已移除 2MB 上限。
  • List: 現在可透過單次呼叫探索完整的目錄樹,並取得如檔案數量與類型等中繼資料。
  • Grep:比對更精準、雜訊更少。
  • 程式碼庫搜尋:更優的排序與索引處理,帶來更相關的脈絡。
  • 網頁搜尋: 使用輕量級原生模型調校,提供更精簡且更相關的回應。

每個 Agent 使用各自的模型

您現在可以在不同的索引分頁與編輯器中,為每個 Agent 指定不同的模型。對 Agent 進行分支時會保留所選模型。

使用狀況與定價可見性

現在可在 Chat 中查看使用統計。您可以查看累積使用量,或在超過方案配額的 50% 時看到提醒。

您可在「設定」中切換此摘要。團隊與 Enterprise 用戶將於九月獲得使用摘要的存取權。

Usage visibility

精簡 Chat 模式

精簡模式會隱藏工具圖示、預設收合差異,並在閒置時自動隱藏輸入欄。這在包含大量工具呼叫、終端機與差異的長時間工作階段中特別實用。你可以在設定中切換開啟精簡模式。

Compact Mode on
Compact Mode off

Background Agents 的 GitHub 支援

Agents 現在可直接用於 GitHub 拉取請求(PR)。標記 @Cursor,Agent 會讀取提示詞、套用修正,並推送一次提交。

Background Agent 會透過留言與待辦事項,隨時向你更新 status。

所有 Agents 的側邊欄

您現在可以從左側側邊欄檢視並管理所有 Agents,包含前景與背景。點選側邊欄中的任一項目,即可查看遠端機器,並觀察 Background Agent 的運作情況。

更快的 Background Agent 啟動速度

我們投入大量心力改進了 Background Agents,現在啟動速度快上兩倍。

Background Agents start much faster