Answer: You connect one Cursor agent to a specialist peer by creating a connection file using defineConnection, where the filename becomes the MCP server name and the agent field is the specialist's lowercase deployment slug. You then give the concierge a one-way routing rule so the agents never pass a request back and forth. Status: Confirmed Entry: tool/cursor/agents-and-automation/connect-peer-agents Revision: 1 Digest: sha256:dc27b58880c7c20e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:27Z Last changed: 2026-11-13T03:08:27Z Last verified: 2026-11-20T12:32:41Z Next check: 2026-11-21T12:32:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of connection definition | defineConnection | [1] | 2026-11-20 agent field | agent: "weather-agent" | [1] | 2026-11-20 MCP server name source | weather.ts | [1] | 2026-11-20 agent field meaning | lowercase deployment slug | [1] | 2026-11-20 routing rule | When a request needs current weather, ask the `weather` peer. Return its answer. | [1] | 2026-11-20 deploy command | agent-sdk deploy --dir ./agents/weather-agent --slug weather-agent | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/agent-to-agent.md". https://cursor.com/docs/agent-sdk/guides/agent-to-agent.md Role: primary. Accessed: 2026-11-20T12:32:41Z Quote: "import { defineConnection } from "@grok/agent-sdk/connections";" (Supports: connection definition) Quote: "agent: "weather-agent"," (Supports: agent field) Quote: "The filename, `weather.ts`, becomes the" (Supports: MCP server name source) Quote: "is the specialist's lowercase deployment slug." (Supports: agent field meaning) Quote: "When a request needs current weather, ask the `weather` peer. Return its answer." (Supports: routing rule) Quote: "agent-sdk deploy --dir ./agents/weather-agent --slug weather-agent" (Supports: deploy command) Snapshot SHA-256: b467f20da71721741a8a1aaa93e2edc57a4fc3c0ca29a6c43b97074bc6348b58 (captured 2026-11-13T03:08:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:41Z Last attempt: 2026-11-20T12:32:41Z Notes and limitations: Extracted automatically from a single official source (section "Delegate a question to a specialist"). Related: https://latestn.com/tool/cursor/agents-and-automation/continuation-token-vs-session-id What is the difference between continuationToken and sessionId in Cursor's Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/continue-peer-session How do I continue a Cursor specialist agent's session after the first ask? https://latestn.com/tool/cursor/agents-and-automation/create-agent How do I create an agent with the Cursor TypeScript SDK? https://latestn.com/tool/cursor/agents-and-automation/cloud-agent-repo-access-in-project How do I give a Cursor cloud agent access to other repositories in a Project? https://latestn.com/tool/cursor/agents-and-automation/configure-cloud-agent-skills-agents-md How do I configure a Cursor Cloud Agent with skills and agents.md? https://latestn.com/tool/cursor/agents-and-automation/connect-deployed-peers How do I connect deployed peer agents in Cursor Agent SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:27Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/connect-peer-agents/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/connect-peer-agents POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/connect-peer-agents with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/connect-peer-agents?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I connect one Cursor agent to another specialist agent as a peer? Revision 1, last verified 2026-11-20T12:32:41Z. https://latestn.com/tool/cursor/agents-and-automation/connect-peer-agents (accessed 2026-11-21T10:03:35Z). @misc{LatestN_tool_cursor_agents_and_automation_connect_peer_agents_r1, title = {How do I connect one Cursor agent to another specialist agent as a peer?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/connect-peer-agents}}, note = {Revision 1; digest sha256:dc27b58880c7c20e; last verified 2026-11-20T12:32:41Z; accessed 2026-11-21T10:03:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/connect-peer-agents