Skip to main content

cursor-subagents

Define delegated subagents on a Cursor SDK agent via the `agents` field — `AgentDefinition`, MCP scoping, and model inheritance. Use when decomposing work across specialist personas.

소스 정보

저장소
HKTITAN/cursor-sdk
최근 소스 활동
2026년 5월 3일 08:23
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
7 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cursor-subagents
description
Define delegated subagents on a Cursor SDK agent via the `agents` field — `AgentDefinition`, MCP scoping, and model inheritance. Use when decomposing work across specialist personas.
metadata
{"internal":false,"source":"https://cursor.com/docs/sdk/typescript"}
# cursor-subagents The Cursor SDK has first-class subagents: declare them on `AgentOptions.agents` and the parent agent decides when to spawn them. This is **not** a manual orchestration layer — the parent's planner picks subagents based on their `description`. ## When to use - Splitting a workload into specialist personas (planner, coder, reviewer) - Scoping a subagent to a subset of MCP servers - Running subagents on a different model from the parent ## Configuration - [[references/agents-field]] — `AgentOptions.agents: Record<string, AgentDefinition>` - [[references/agent-definition]] — `description`, `prompt`, `model`, `mcpServers` - [[references/mcp-scoping]] — restricting tool access per subagent - [[references/model-inheritance]] — `"inherit"` vs explicit override - [[references/persistence]] — re-pass on `Agent.resume` ## Observation - [[references/task-events]] — `SDKTaskMessage` in the run stream ## Cross-links - MCP server names → [[../cursor-mcp/references/inline-config]] - Models → [[../cursor-models/SKILL]]
GitHub에서 보기