Agent์ ๊ธฐ๋ณธ๊ตฌ์กฐ์์ ํ๋จ๊ณ ๋ ๋์๊ฐ advanced topic์ ๋ํด์ ๋ค๋ฃจ์ด ๋ณด์.
Contents
- Agent - skills
- Agent - Plug-in
- Agent - subagents system.
- Agent - Planning
- Agent - Reflection
- Agent - Reason and act.
What is Cursor?
์ด๋ฒ์๊ฐ์๋ Cursor IDE๋ฅผ ๋ฐํ์ผ๋ก ์ดํด๋ณด๋๋ก ํ์. (์ถํ์ Application์์ ์์ธํ๊ฒ ๋ค๋ฃฐ ์์ )
Plugins | Cursor Docs
(์ด๋ค agent applicaton์ด๋ ์ค๊ณ๊ตฌ์กฐ๋ ๋น์ทํ๋ค)

์ 3๋์ฅ ํ์ฌ๋ค๋ง์ agent application platform์ด ์ด๋ฏธ ์กด์ฌํ๊ณ , Cursor๋ ๋ค์ํ LLM๋ชจ๋ธ์ ๊ณจ๋ผ์ ์ธ ์ ์๋ Agentic AI application IDE ์ด๋ค.

๊ฒฐ๊ตญ ๋ค ๊ฐ์ Agentic AI application์ ์ ๊ณตํ๋ ์๋น์ค ์ด๊ณ , ์์ ์ ๋ชฉ์ ์ ๋ง๊ฒ ๊ณ ๋ฅด์๋ฉด ๋๋ค. ํํธ, Cursor๋ ์ฝ๋ ๊ณ๋ฐ์ง๊ตฐ์ ํนํ๋ service์ด๋ค.
Plug-in
Rules, skills, agents, commands, MCP servers and hooks ๋ฅผ ํ๋์ ๋ฌถ์์ผ๋ก ๋ฌถ์ ๊ฒ.
์ ์ฌ์ง์ ๋ณด๋ฉด, pluginํ๋๋น ์ฌ๋ฌ๊ฐ์ component๊ฐ ์ฐ๊ฒฐ์ด ๋์ด ์๊ณ , ๊ทธ plug-in๊ณผ ์ฐ๋ฆฌ์ AGENT๊ฐ ์ฐ๊ฒฐ์ด ๋์ด ์๋ค. ์ฆ, agent๊ฐ ์ด๋ค ํ๋์ subpackage์ ์ฐ๊ฒฐ์ด ๋์ด ์์ด, ๊ฒฐ๊ตญ ๋๊ตฌ์ฒ๋ผ ์ฌ์ฉํ ์ ์๋ค๋ ๊ฒ์ด๋ค.
Plug - in vs Tools
๊ทธ๋ ๋ค๋ฉด, ๊ธฐ์กด์ ์ฐ๋ฆฌ๊ฐ ๋ค๋ฃจ์๋ ๋๊ตฌ๋ค๊ณผ ์ฐจ์ด์ ์ด ๋ฌด์์ผ๊น?

๊ธฐ์กด์ ๋๊ตฌ๋ ์ฐ๋ฆฌ๊ฐ ๋ค๋ฃจ์๋ค ์ถ์ด, ์ด๋ค built - in tools or MCP tools๊ฐ ์ด๋ฏธ ์กด์ฌํ ์ํฉ์์, LLM์ด ์ด๋ค ๋๊ตฌ๋ฅผ ์ธ์ง ํ๋จํ๊ณ ์์
์ ์ํํ๋ค.
์ด์ ๋ฐ๋๋ก, Plug-in์ ๋๊ตฌํ๋๊ฐ ์๋๋ผ ์ด๋ค ๋๊ตฌ๋ฐ์ค๋ผ๊ณ ์๊ฐํ๋ฉด ๋๋ค. ๋๊ตฌ ๋ฐ์ค ์์๋ ์คํ์ฝ๋, ๊ท์น, ๋๋ค๋ฅธ agent๊น์ง ์กด์ฌํ์ฌ ๋ complexํ ๋ฌธ์ ๋ฅผ ๋ ๋ค์ํ ๋๊ตฌ๋ค์ ๊ฐ์ง๊ณ ํ ์ ์๊ฒ ๋๋ค.

process๋ tool์ฌ์ฉ๋ฐฉ์๊ณผ ๋์ผํ๋ค.
1. User query + tool list (include plug in packages)
2. LLM output about what kind of tools to be used in the current situation
3. Agent use tool
4. Response to the User
ํ์ง๋ง, ๋น์ฐํ LLM์ด tool์ ํ์ํ๋ ์ฒซ๋ฒ์งธ ๋จ๊ณ ๊ทธ๋ฆฌ๊ณ , agent๊ฐ plug in๋ด๋ถ์๋ ์กด์ฌํ๋ค๋ฉด, ๊ฒฐ๊ตญ ๋ด๋ถ์์๋ token์ ์ฌ์ฉํ ์ ์๊ธฐ ๋๋ฌธ์, token์ฌ์ฉ๋์ด ์ฆ๊ฐํ๊ฒ ๋๋ค.
Cursor - Notion Plug-ins
Cursor์์ ์ ๊ณตํ๋ Plug-in์ ๋ํด์ ์์๋ณด์.
- Cursor IDE โ Settings โ Marketplace ์ ๋ค์ด๊ฐ๋ฉด ๋ค์ํ ์ฐ๋ฆฌ๊ฐ ์๋ application๋ค์ด ์กด์ฌํ๋ค.
- ๋ค์ด๋ก๋ ํ ์ดํ์, notion API token์ ๋ฐ๊ธ๋ฐ๋๋ค.
Create a token - Notion Docs
-
ํ๋ก์ ํธ๊ฐ ์คํ๋๊ณ ์๋ \$cwd/.cursor/mcp.jsonํ์ผ์ notion ์ ๋ฑ๋กํ๊ณ , token์ ์ ๋ ฅํ๋ค.

-
notion ์ ์๊ฐ๋ฅํ์ง, ํ์ธํด๋ณด์.

๋ ธ์ ํ๋ฌ๊ทธ์ธ ์ฌ์ฉ ํ๋ฆ
๋
ธ์
ํ๋ฌ๊ทธ์ธ์ MCP (Model Context Protocol)๋ฅผ ํตํด ๋
ธ์
API์ ํตํฉ๋๋ฉฐ ๋ค์ 3๊ฐ์ง ๊ณผ์ ์ผ๋ก ์งํ๋๋ค.
1. MCP ๋๊ตฌ ์คํค๋ง ํ์ธ - ์ฌ์ฉํ๋ ค๋ API์ ํ๋ผ๋ฏธํฐ์ ๊ตฌ์กฐ๋ฅผ ํ์ธ
2. CallMcpTool ํธ์ถ - ์ค์ ๋
ธ์
API ์์ฒญ ์คํ
3. ๊ฒฐ๊ณผ ์ฒ๋ฆฌ - JSON ์๋ต์ ํ์ฑํ์ฌ ์ฌ์ฉ์์๊ฒ ํ์
์ค์ ์ฌ์ฉ ์์ - ํ์ด์ง ๊ฒ์
๋ค์์ ์ค์ ๋ก ํ์ด์ง๋ค์ ๊ฒ์ํ ๋ ์ฌ์ฉ๋ ์ฝ๋์ JSON์
๋๋ค:
๐ ๋๊ตฌ ์คํค๋ง ํ์ธ:
{
"name": "API-post-search",
"description": "Notion | Search by title",
"arguments": {
"type": "object",
"properties": {
"query": {"type": "string", "description": "The text that the API compares page and database titles against."},
"filter": {
"type": "object",
"properties": {
"value": {"type": "string", "enum": ["page", "data_source"]},
"property": {"type": "string"}
}
},
"sort": {
"type": "object",
"properties": {
"direction": {"type": "string", "enum": ["ascending", "descending"]},
"timestamp": {"type": "string"}
}
}
}
}
}
๐ CallMcpTool ํธ์ถ:
{
"server": "user-Notion",
"toolName": "API-post-search",
"arguments": {
"filter": {
"value": "page",
"property": "object"
},
"sort": {
"direction": "descending",
"timestamp": "last_edited_time"
},
"page_size": 20
}
}
๐ API ์๋ต ์์ :
{
"object": "list",
"results": [
{
"object": "page",
"id": "3122a46d-c68c-802a-b3dc-f401b46edd60",
"properties": {
"title": {
"title": [
{
"plain_text": "Agentic AI - Plug-in"
}
]
}
},
"url": "https://www.notion.so/Agentic-AI-Plug-in-3122a46dc68c802ab3dcf401b46edd60",
"last_edited_time": "2026-02-25T07:28:00.000Z"
}
],
"has_more": true,
"next_cursor": "3102a46d-c68c-8037-bd93-dcc6da7d8eba"
}
๋ ธ์ ํ๋ฌ๊ทธ์ธ ์ฃผ์ ํน์ง
- MCP ์๋ฒ(Plug - in pacakge๋ด๋ถ)๋ฅผ ํตํด ๋ ธ์ API์ ์ง์ ์ ๊ทผ
- JSON ๊ธฐ๋ฐ์ ๊ตฌ์กฐํ๋ ๋ฐ์ดํฐ ๊ตํ
- ํ์ด์ง ์์ฑ, ๊ฒ์, ์์ ๋ฑ ๋ค์ํ ์์ ์ง์
- ์๋ ์ธ์ฆ ์ฒ๋ฆฌ (๋ ธ์ ํตํฉ ํ ํฐ ๊ธฐ๋ฐ)
Sub-agents system
Subagent๋ โ๋ฉ์ธ ์์ด์ ํธ๊ฐ ์ผ์ ๋ ์๊ฒ ์ชผ๊ฐ์ ๋งก๊ธฐ๋, ์ ๋ฌธํ๋ ๋ณด์กฐ AIโ๋ผ๊ณ ๋ณด๋ฉด ๋๋ค. ํต์ฌ์ ๊ฐ subagent๊ฐ ์๊ธฐ๋ง์ ์ปจํ ์คํธ ์ฐฝ(context window)์ ๋ฐ๋ก ๊ฐ๊ณ , ํน์ ์ญํ (๋ฆฌ์์น, ์ฝ๋ ํ์, ํ ์คํธ ์์ฑ ๋ฑ)์ ์ต์ ํ๋ ๋ฐฉ์์ผ๋ก ์์ง์ธ๋ค๋ ๊ฒ.

๊ฐ์ฅ ๋ํ์ ์ธ ์์๋ก, ์ด๋ค ์ฐ๊ตฌ๋ฅผ ์งํํ ๋, ์์ฑํ ์ฝ๋๋ฅผ ๊ฒ์ฆํ๋ 2 agent์ , ๋ฐ์ดํฐ ๋ถ์ ์น์์นญ ํ๋ 2 agent์ด 4๊ฐ์ ๋น์๋ก ์์
์ ์งํํ ์ ์๋ค. ์ฆ ์ค์ ํ์ฌ์์ ์
๋ฌด๋ฅผ ๋ถ๋ดํ์ฌ play and roleํ๋ ๊ฒ๊ณผ ์ ํํ ๋์ผํ๊ฒ, ์ฌ์ฉ์์ ์์ฒญ(๋ฌธ์ )๋ฅผ ํด๊ฒฐํ ์ ์๋ค.
Cursor์์ ์ผ๋จ, subagents๋ฅผ ์ฌ๋ฌ๊ฐ ๋ง๋ค ์ ์๊ณ , ๊ฐ๊ฐ ์ด๋ค ์ด๋ฆ, ์ด๋ค ์ผ์ ํ๋์ง ์ฃผ์ํ ์ฌํญ ๋ฑ๋ฑ์ ์์ฐ์ด๋ก ์ ์ด ๋๊ธฐ๋ง ํ๋ฉด ๋๋ค. agents๋ผ๋ ํด๋๋ฅผ ๋ง๋ค๊ธฐ๋ง ํ๋ฉด ๋๋๋ฐ, skill๊ณผ ๋์ผํ๊ฒ ๋๊ฐ์ง ์ข
๋ฅ๊ฐ ์ ์ฅ์์น์ ๋ฐ๋ผ ๋ค๋ฅด๋ค.
1. Private subagents - (Project subagents)
2. Public subagents - (User subagents)

(๋ถ๋ฆฌํ ์ด์ ๋ project subagents๋ ๊ทธ ํ๋ก์ ํธ๋ฅผ ์ํ agent์ด๋ฏ๋ก ๋ถ๋ฆฌํด๋์ ๊ฒ์ด๋ค.)
e.g) ๊ณตํต๋ ์ฌ๋ฌ csvํ์ผ์ ๋ฐ๋ณต์ฒ๋ฆฌํ๊ธฐ ์ํด์, subagent๋ฅผ ์์ฑ.
cursor ๋ด๋ถ์์ ์ด๋ ๊ฒ slash create-subagent๋ฅผ ์์ฑํ๋ค์์, ์ด๋ค ์์
์ ์ํฌ์ง์ ๋ํด์ ์ญ ์์ฑ์ ํ๋ฉด,

cursor/agents/cto-bin-remover.mdํ์ผ์ด ๋ค์๊ณผ ๊ฐ์ด ์์ฑ๋๋ค.
---
name: cto-bin-remover
description: CSV์์ ์ด์์น(FFR <= 0.5)๋ฅผ ์ฐพ์ ๊ฐ์๋ฅผ ๋ณด๊ณ ํ๊ณ , ์ฌ์ฉ์ ์ง์๊ฐ ์์ ๋๋ง ์ญ์ ํ๋๋ก ๋๋ ์๋ธ์์ด์ ํธ. ์ฌ์ฉ์๊ฐ CSV ํ์ผ์ ์ ๊ณตํ์ ๋ ์ฌ์ฉ.
---
<!-- ์์ฑ: 2026-02-25 17:52:21 KST by gpt-5.2-codex -->
๋น์ ์ "CTO bin remover" ์๋ธ์์ด์ ํธ์
๋๋ค. ์ญํ ์ CSV ํ์ผ์์ ์ด์ํ ๋ฐ์ดํฐ๋ฅผ ์ฐพ์ ๋ณด๊ณ ํ๊ณ , ์ฌ์ฉ์์ ๋ช
๋ น์ด ์์ ๋๋ง ์ญ์ ๋ฅผ ์ํํ๋ ๊ฒ์
๋๋ค.
์์
์ ์ฐจ:
1. ์ฌ์ฉ์์๊ฒ CSV ํ์ผ ๊ฒฝ๋ก๋ฅผ ๋ฐ๋๋ค. ์ด๋ฏธ ์ ๊ณต๋์์ผ๋ฉด ํด๋น ๊ฒฝ๋ก๋ฅผ ์ฌ์ฉํ๋ค.
2. CSV๋ฅผ ์ฝ์ด `FFR` ์ปฌ๋ผ์ ํ์ธํ๋ค. `FFR <= 0.5` ์ธ ํ์ ๊ฐ์๋ฅผ ๊ณ์ฐํ๋ค.
3. ๊ฒฐ๊ณผ๋ฅผ ๊ฐ๋จํ ๋ณด๊ณ ํ๊ณ , **์ญ์ ์ฌ๋ถ๋ฅผ ์ฌ์ฉ์์๊ฒ ์ฌํ์ธ**ํ๋ค.
4. ์ฌ์ฉ์๊ฐ "์ง์" ๋๋ "์ญ์ "๋ผ๊ณ ๋ช
ํํ ์ง์ํ๋ฉด ํด๋น ํ์ ์ญ์ ํ ์ CSV๋ฅผ ์ ์ฅํ๋ค.
5. ์ฌ์ฉ์๊ฐ ์ญ์ ํ์ง ๋ง๋ผ๊ณ ํ๋ฉด ์ด๋ค ๋ณ๊ฒฝ๋ ํ์ง ์๋๋ค.
์ฃผ์ ์ฌํญ:
- ์ฌ์ฉ์์ ๋ช
ํํ ์ญ์ ์ง์ ์ ์๋ ์ ๋๋ก ํ์ผ์ ๋ณ๊ฒฝํ์ง ์๋๋ค.
- `FFR` ์ปฌ๋ผ์ด ์๊ฑฐ๋ ๊ฐ ํ์์ด ์๋ชป๋์ด ์์ผ๋ฉด ๊ทธ ์ฌ์ค์ ๋ณด๊ณ ํ๊ณ ์ค๋จํ๋ค.
- ๋ณ๊ฒฝ์ ์ํํ ๋๋ ์๋ณธ์ ๋ณด์กดํ๊ณ ์ ํ์ผ๋ก ์ ์ฅํ๋ ๋ฐฉ์์ ์ฐ์ ํ๋ค(์: `_filtered` ์ ๋ฏธ์ฌ).
์ดํ์, subagent๊ฐ ํ์ํ ๋๋ง๋ค csvํ์ผ๊ณผ ํจ๊ป ํธ์ถ์ ํด์ฃผ๋ฉด, ์ ์์
์ ์งํํ๊ฒ ๋๋ค.

Process๋ฅผ ๋ณด์๋ฉด, subagent๋ฅผ ํธ์ถํ๋ ๊ฒ์ ์ ์ ์๋ค.
(prompt์์ subagent์ด๋ฆ์ ๋ถ๋ฌ์ฃผ๋ฉด ์๋์ผ๋ก ํธ์ถํ๋ค)

Procedure.
- ๋ฐ๋ณต๋๊ณ , ํ๋จ์๋ก ์ผ์ ์งํํ๊ณ ์ถ์ผ๋ฉด create subagent ์ดํ ์์ฐ์ด๋ก, subagent ์ด๋ฆ๊ณผ ํ ์ผ ์ ์
- prompt์ subagent์ด๋ฆ์ ํธ์ถํ๊ณ ์์ ์ ์ํค๊ธฐ.
- ์์ ์๋ฃ.
์ ์์๋ ์์ฃผ ๊ฐ๋จํ๊ฒ ํ๋์ subagent๋ฅผ ์์ฑํ ์์์ด๋ค. ์ค์ ๋ก๋ ๋ค์ํ multi agent system์ด ์ฐ๋ฆฌ ์ผ์์ํ์ ์ ์ฉ๋ ์ ์๋ค. ์ดํ์ multi agent system application์์ ์์ธํ๊ฒ ์ดํด๋ณด๋๋ก ํ์.

subagent์ ๋์ก์ ๋ ํจ์จ์ด ์ ๋์ค๋ ์ ํ from cursor Doc:
- ์ฝ๋๋ฒ ์ด์ค ํ์/์์ฝ: โ์ด ๋ ํฌ ๊ตฌ์กฐ ์ค๋ช
ํด์คโ, โ์ด๋์ ์ด ํจ์ ํธ์ถ๋ผ?โ ๊ฐ์ ์กฐ์ฌ ์
๋ฌด
- ํ
์คํธ ์์ฑ: ๊ตฌํ๊ณผ ๋ถ๋ฆฌํด์ ๋ณ๋ ฌ๋ก ๋ง๋ค๊ธฐ ์ข์
- ๋ฆฌํฉํ ๋ง ํ๋ณด ํ์: ์ ์ฒด๋ฅผ ํ๊ณ ์ํํ ๋ถ๋ถ๋ง ๋ฉ์ธ์ ๋ณด๊ณ
- ๋ฌธ์ํ/๋ฆด๋ฆฌ์ฆ ๋
ธํธ: ์ฝ๋ ๋ณ๊ฒฝ ์์ฝ + ๋ฌธ์ ๋ฐ์
- ์์กด์ฑ/๋ณด์ ์ฒดํฌ: ์ทจ์ฝ ๋ฒ์ /๋ผ์ด์ ์ค/์ ์ฌ ์ํ๋ง ์ถ๋ ค์ค๊ธฐ
Conclusion
subagent ์ ์ํ๋ ๋ฐฉ๋ฒ์ ์ค์ ๋ก ํด๋ณด๋, ์๊ฐ๋ณด๋ค ๊ต์ฅํ ๊ฐ๋จํ๊ณ , ์ผ์์์ ์ฐ๋ฆฌ๊ฐ ๋ฐ๋ณต์ ์ผ๋ก ์์ ํ๋ ์ผ๋ค์ ๊ต์ฅํ ์ต์ ํ๋ ๋ฐฉ์์ด๋ค. ์ฆ ๊ฐ์ prompt๋ฅผ ๋ฐ๋ณตํด์ ์์ฑํ์ง ์์๋ ๋๋ค๋ ๊ต์ฅํ ํฐ ์ฅ์ ์ด ์๋ค. ์ค์ ํ์ฌ๋ค์ด ํธ๋ ์ด๋ ค์ด ๋ฌธ์ ๋ค์ด ์ฌ๋ฌ ๋ถ์๋ค์ ๊ฐ์ง๊ณ ์งํ์ ํ๋ ๊ฒ์ ์๊ฐํด๋ณด๋ฉด, agent system์ด ๊ฒฐ๊ตญ์๋ ๊ต์ฅํ ๊ณ์ธตํ๋ multi agent system์ผ๋ก ์งํ๋ ๊ฒ์ด๋ค๋ ์๊ฐ์ด ๋ ๋ค.


