Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

45.5 KB
Raw Blame
{
	"ID": "20260804171004-aiagt03",
	"Spec": "2",
	"Type": "NodeDocument",
	"Properties": {
		"id": "20260804171004-aiagt03",
		"title": "AI Agent",
		"type": "doc",
		"updated": "20261027140312"
	},
	"Children": [
		{
			"ID": "20260804170023-pg7sen9",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170023-pg7sen9",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Overview"
				}
			]
		},
		{
			"ID": "20260804170024-uta8c8r",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170024-uta8c8r",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The AI agent can do more than answer questions. It can use SiYuan's built-in tools, skills, MCP services, and plugin capabilities to search, read, and operate on the knowledge base. It works through tasks step by step and requests confirmation before changing data."
				}
			]
		},
		{
			"ID": "20260804170025-2kdbnc8",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170025-2kdbnc8",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Configuration"
				}
			]
		},
		{
			"ID": "20260804170026-740jokv",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170026-740jokv",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Configure and enable an API provider and model in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "API Provider"
				},
				{
					"Type": "NodeText",
					"Data": ", then select the model used by the agent in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Agent"
				},
				{
					"Type": "NodeText",
					"Data": ". A model with reliable tool calling and a sufficiently large context window is recommended."
				}
			]
		},
		{
			"ID": "20260804180002-imgen01",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804180002-imgen01",
				"updated": "20260804180002"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The agent can analyze images in documents; image understanding depends on the current model. To generate images, configure a model that supports image output in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Image Generation"
				},
				{
					"Type": "NodeText",
					"Data": "."
				}
			]
		},
		{
			"ID": "20260926163337-6d5c7t2",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260926163337-6d5c7t2",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Custom instructions"
				}
			]
		},
		{
			"ID": "20260926163337-o09flio",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260926163337-o09flio",
				"updated": "20260926163337"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Edit persistent preferences in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Agent"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Custom instructions"
				},
				{
					"Type": "NodeText",
					"Data": ", such as writing style, citation habits, and note organization rules. Desktop and mobile use the same workspace instructions."
				}
			]
		},
		{
			"ID": "20260926163337-lzrrvoq",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260926163337-lzrrvoq",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Instructions are stored in data/storage/ai/AGENTS.md inside the workspace as UTF-8 text, up to 32 KiB. The file syncs with the workspace when data sync is enabled and no sync ignore rule excludes it. You can also edit the file directly with a text editor."
				}
			]
		},
		{
			"ID": "20261024164212-vhlrtdj",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-vhlrtdj",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "A missing or empty file adds no custom instructions. The old data/ai/AGENTS.md remains readable and moves to the new location when you save in settings. Update any sync ignore rules for the old path before saving."
				}
			]
		},
		{
			"ID": "20261024164212-kjec0ei",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-kjec0ei",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "If both files exist with different contents, merge them into the new file and remove the old file before continuing."
				}
			]
		},
		{
			"ID": "20260926163337-5cpn50j",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260926163337-5cpn50j",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Saved changes take effect on the next conversation turn. Tool calls and context compaction in an ongoing turn keep the snapshot read at the start of that turn. Instructions count toward the model context."
				}
			]
		},
		{
			"ID": "20261024164212-4h9t814",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-4h9t814",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Your current message can override general preferences, but instructions cannot bypass tool permissions, approvals, or access controls. Notebook and document inheritance are not supported, and notes or attachments with the same name are not loaded automatically."
				}
			]
		},
		{
			"ID": "20260926163337-7q90dky",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260926163337-7q90dky",
				"updated": "20260926163337"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Read failures, invalid encoding, or oversized content display an error and stop the turn without overwriting or truncating the original file. If another window or sync changes the file before you save, copy your unsaved edits, reopen the editor, and merge the changes before saving."
				}
			]
		},
		{
			"ID": "20260804170027-iffmsq0",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170027-iffmsq0",
				"updated": "20261027140312"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "How to use"
				}
			]
		},
		{
			"ID": "20260804170028-snww0dx",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260804170028-snww0dx",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Open the agent"
				}
			]
		},
		{
			"ID": "20260804170029-ruv8qrs",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170029-ruv8qrs",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "On desktop, select "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Agent"
				},
				{
					"Type": "NodeText",
					"Data": " in the right dock. On mobile, open "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Agent"
				},
				{
					"Type": "NodeText",
					"Data": " from the main menu. You can start a new session or search for and continue a previous session from session management."
				}
			]
		},
		{
			"ID": "20260804170030-erx2voe",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260804170030-erx2voe",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Provide context"
				}
			]
		},
		{
			"ID": "20260804170031-pgeawhn",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170031-pgeawhn",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "When a message is sent, the agent receives information about the active document, focused block, selected blocks, and visible blocks, and reads relevant content as needed. To explicitly provide source blocks, use any of the following methods:"
				}
			]
		},
		{
			"ID": "20260804170032-9kyaxol",
			"Type": "NodeList",
			"ListData": {
				"Typ": 1
			},
			"Properties": {
				"id": "20260804170032-9kyaxol",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"ID": "20260804170033-k16ss3h",
					"Type": "NodeListItem",
					"ListData": {
						"Typ": 1,
						"Tight": true,
						"Start": 1,
						"Delimiter": 46,
						"Padding": 3,
						"Marker": "MS4=",
						"Num": 1
					},
					"Properties": {
						"id": "20260804170033-k16ss3h",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170034-czfr9ay",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170034-czfr9ay",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Drag blocks into the agent input"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170035-vkgqkou",
					"Type": "NodeListItem",
					"ListData": {
						"Typ": 1,
						"Tight": true,
						"Start": 2,
						"Delimiter": 46,
						"Padding": 3,
						"Marker": "Mi4=",
						"Num": 2
					},
					"Properties": {
						"id": "20260804170035-vkgqkou",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170036-mm91b4d",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170036-mm91b4d",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Type "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "code",
									"TextMarkTextContent": "[["
								},
								{
									"Type": "NodeText",
									"Data": " in the input and search for blocks"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170037-v65eccs",
					"Type": "NodeListItem",
					"ListData": {
						"Typ": 1,
						"Tight": true,
						"Start": 3,
						"Delimiter": 46,
						"Padding": 3,
						"Marker": "My4=",
						"Num": 3
					},
					"Properties": {
						"id": "20260804170037-v65eccs",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170038-uxo3g1l",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170038-uxo3g1l",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Select blocks and choose "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "Add to Agent Chat"
								},
								{
									"Type": "NodeText",
									"Data": " from the block menu"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20260804170039-x813t3f",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260804170039-x813t3f",
				"updated": "20261027140312"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Send and stop tasks"
				}
			]
		},
		{
			"ID": "20260804170040-oce2o3k",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170040-oce2o3k",
				"updated": "20260816114944"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "By default, press "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Ctrl"
				},
				{
					"Type": "NodeText",
					"Data": " + "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Enter"
				},
				{
					"Type": "NodeText",
					"Data": " / "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "⌘Enter"
				},
				{
					"Type": "NodeText",
					"Data": " to send. You can also customize the shortcut. "
				},
				{
					"Type": "NodeText",
					"Data": "While the agent is running, select the stop button to interrupt the current task. Results are generally more reliable when the goal, scope, and destination are explicit."
				}
			]
		},
		{
			"ID": "20261022182404-71cve53",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261022182404-71cve53",
				"updated": "20261027140312"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The input grows automatically as you add text and images, then scrolls when it reaches the height available in the panel. On desktop, hover over the input to reveal the small handle at the top; it remains visible on touch screens."
				}
			]
		},
		{
			"ID": "20261024164212-w2e9juj",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-w2e9juj",
				"updated": "20261027140312"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Drag the handle upward or downward to set a fixed height for the current message, even when the input is empty. The minimum height fits a complete line of text, and the maximum depends on the available panel space. Sending a message returns the cleared input to its initial height and restores automatic sizing for the next message. Double-click the handle to restore automatic sizing while composing. Space above and below the content makes the first and last lines easier to inspect."
				}
			]
		},
		{
			"ID": "20261022182404-jbp15g8",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261022182404-jbp15g8",
				"updated": "20261024153700"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "With the height handle focused, press "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "↑"
				},
				{
					"Type": "NodeText",
					"Data": " or "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "↓"
				},
				{
					"Type": "NodeText",
					"Data": " to increase or decrease the height, "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Home"
				},
				{
					"Type": "NodeText",
					"Data": " for the minimum, or "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "End"
				},
				{
					"Type": "NodeText",
					"Data": " for the maximum available height. Press "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Esc"
				},
				{
					"Type": "NodeText",
					"Data": " during a drag to cancel it."
				}
			]
		},
		{
			"ID": "20260804170041-m6wpz84",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260804170041-m6wpz84",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Confirm operations"
				}
			]
		},
		{
			"ID": "20260804170042-d73n5cg",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170042-d73n5cg",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Read and search operations usually run immediately. Operations that create, modify, move, delete, or import data display a confirmation card that identifies possible local writes, data egress, and external charges."
				}
			]
		},
		{
			"ID": "20261024164212-ks250n7",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-ks250n7",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "You can approve, reject, or select "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Session Allow"
				},
				{
					"Type": "NodeText",
					"Data": " to skip individual confirmations for ordinary operations in this session. Capabilities set to require confirmation and code snippet changes still require approval."
				}
			]
		},
		{
			"ID": "20260804170043-8c898qc",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170043-8c898qc",
				"updated": "20261016191345"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Before using "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Session Allow"
				},
				{
					"Type": "NodeText",
					"Data": ", confirm that the task scope and tools are trusted: ordinary writes will no longer be confirmed individually, while the forced confirmations above remain in effect."
				}
			]
		},
		{
			"ID": "20260804170044-lg8yc4o",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170044-lg8yc4o",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Session management"
				}
			]
		},
		{
			"ID": "20260804170045-hc1s8m8",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170045-hc1s8m8",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The agent supports creating, searching, switching, renaming, and deleting sessions. Sessions preserve messages, references, tool calls, and results and can be viewed across synchronized instances."
				}
			]
		},
		{
			"ID": "20260804170046-rk4155k",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170046-rk4155k",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "You can edit and resend a previous message or regenerate an answer. Resending removes the later conversation, but it does not undo operations that have already run. Use the corresponding data snapshot when recovery is required."
				}
			]
		},
		{
			"ID": "20260804170047-unq4mnq",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170047-unq4mnq",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Models and reasoning effort"
				}
			]
		},
		{
			"ID": "20260804170048-vcywigy",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170048-vcywigy",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Use the controls below the input to switch between enabled models and select reasoning effort for supported models. Switching models in a session that contains reasoning or tool calls may reduce answer quality and tool-call continuity."
				}
			]
		},
		{
			"ID": "20260804170049-rnf9cl8",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170049-rnf9cl8",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The context usage control shows the percentage and category breakdown of the current context. When the context approaches the model limit, the agent attempts to compact earlier conversation content."
				}
			]
		},
		{
			"ID": "20260804170050-oqdi4d2",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170050-oqdi4d2",
				"updated": "20260816130653"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Skills"
				}
			]
		},
		{
			"ID": "20260804170051-g7pwyzt",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170051-g7pwyzt",
				"updated": "20260816130653"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "A skill is a reusable set of task instructions that defines a workflow, format, or domain rule. Each skill has its own directory containing "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "SKILL.md"
				},
				{
					"Type": "NodeText",
					"Data": " under "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "workspace/data/storage/ai/agent/skills/"
				},
				{
					"Type": "NodeText",
					"Data": ". You can also individually enable read-only skills from the user directory "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "~/.agents/skills/"
				},
				{
					"Type": "NodeText",
					"Data": "."
				}
			]
		},
		{
			"ID": "20260804170052-wac267v",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170052-wac267v",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "SKILL.md"
				},
				{
					"Type": "NodeText",
					"Data": " can define "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "name"
				},
				{
					"Type": "NodeText",
					"Data": " and "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "description"
				},
				{
					"Type": "NodeText",
					"Data": " in YAML Front Matter, followed by the instructions the agent should follow. Type "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "/"
				},
				{
					"Type": "NodeText",
					"Data": " to search for and select installed skills."
				}
			]
		},
		{
			"ID": "20260804170053-2qtiajj",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170053-2qtiajj",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "You can ask the agent to list, create, update, rename, or remove skills. To install a skill, provide "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "owner/repo"
				},
				{
					"Type": "NodeText",
					"Data": ", a complete "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "npx skills add owner/repo -g"
				},
				{
					"Type": "NodeText",
					"Data": " command, a GitHub URL, a raw "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "SKILL.md"
				},
				{
					"Type": "NodeText",
					"Data": " URL, or a ZIP URL. Skills affect how the agent operates, so install and use content only from trusted sources."
				}
			]
		},
		{
			"ID": "20260804170054-1c4wqjk",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170054-1c4wqjk",
				"updated": "20261026182137"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "MCP services"
				}
			]
		},
		{
			"ID": "20261026182137-wjxw9c7",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261026182137-wjxw9c7",
				"updated": "20261026182137"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "External MCP tools load on demand. The agent initially receives only a service list and loads a service's tool definitions when needed; those tools become available in the next model request. You can name the service you want to use in your message. Loading lasts only for the current user request and its tool rounds; the next user message starts unloaded. Multiple services can be loaded without a fixed count limit, and the model can unload services it no longer needs to save context. Disabled tools stay unavailable and execution approval policies still apply. Disable the built-in mcp tool in agent capability settings to send all external tool definitions again; re-enable it to restore on-demand loading."
				}
			]
		},
		{
			"ID": "20260804170055-xr887qs",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170055-xr887qs",
				"updated": "20260812170000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "MCP services provide external tools to the agent. Add stdio or HTTP services in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Agent MCP Service"
				},
				{
					"Type": "NodeText",
					"Data": ", configure commands, arguments, environment variables, URLs, HTTP headers, and timeouts, and review connection status and tool count."
				},
				{
					"Type": "NodeText",
					"Data": " This setting is for external MCP services called by the agent. To connect an external MCP client to SiYuan, see "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20260804223002-mcpsv03",
					"TextMarkBlockRefSubtype": "s",
					"TextMarkTextContent": "MCP Service"
				},
				{
					"Type": "NodeText",
					"Data": "."
				}
			]
		},
		{
			"ID": "20260804170056-8tp1qi0",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170056-8tp1qi0",
				"updated": "20261024161816"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "A stdio service inherits only the kernel environment variables selected by the user and reads their current values whenever it starts. Its environment variable entries can also reference secrets and variables. Referencing a secret provides its plaintext value to the program and its child processes; directly entered values are stored in plaintext."
				}
			]
		},
		{
			"ID": "20261024161816-avnc48c",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024161816-avnc48c",
				"updated": "20261024161816"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "HTTP services that require authorization guide you through OAuth. Store reusable secrets and parameters in "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Secrets and Variables"
				},
				{
					"Type": "NodeText",
					"Data": ". For details, see "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20260804185002-secvr03",
					"TextMarkBlockRefSubtype": "s",
					"TextMarkTextContent": "Secrets and Variables"
				},
				{
					"Type": "NodeText",
					"Data": ". External MCP tools may send local data, change external systems, or incur charges; review the effects shown on confirmation cards."
				}
			]
		},
		{
			"ID": "20261018102417-6nqgr74",
			"Type": "NodeHeading",
			"Properties": {
				"id": "20261018102417-6nqgr74",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Web search and fetch"
				}
			],
			"HeadingLevel": 2
		},
		{
			"ID": "20261018102417-l4q1ks8",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261018102417-l4q1ks8",
				"updated": "20261018104335"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Ask the agent to search public web pages, read their content, and summarize it or save it to a note. web_search returns links and summaries; web_fetch reads a specific URL. Direct fetching uses HTTP without executing JavaScript. The desktop app also provides a separate rendered-page tool for content generated by JavaScript."
				}
			]
		},
		{
			"ID": "20261018104335-58saaee",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261018104335-58saaee",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "In "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Artificial Intelligence"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Web search and fetch"
				},
				{
					"Type": "NodeText",
					"Data": ", choose the search and fetch providers separately. The defaults are Exa search and direct fetching. To use DeepSeek, enter a DeepSeek API Key shared by Search and Fetch; this setting is independent of your chat model."
				}
			]
		},
		{
			"ID": "20261024164212-p3pr7o6",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-p3pr7o6",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "DeepSeek Search requests 5 results without page bodies, and limits each summary to 800 characters and total output to 8,000 characters. Fetch pages only when you need the full content."
				}
			]
		},
		{
			"ID": "20261018104335-3wpzxw1",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261018104335-3wpzxw1",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "DeepSeek Search sends the query and DeepSeek Fetch sends the target URL to DeepSeek, without browser cookies or login state. These requests may incur charges. DeepSeek Fetch retrieves page content only; select direct fetching to download files."
				}
			]
		},
		{
			"ID": "20261024164212-s6brc0q",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261024164212-s6brc0q",
				"updated": "20261024164212"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Invalid credentials, insufficient balance, rate limits and unavailable pages return errors without automatically switching providers. Review external requests according to your tool permission settings."
				}
			]
		},
		{
			"ID": "20261018102417-kn7rx7c",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261018102417-kn7rx7c",
				"updated": "20261018102417"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Rendered fetching executes page scripts and makes network requests from your local desktop, including when connected to a remote kernel. It follows the current window's proxy configuration and uses a separate temporary session without your existing cookies or login state. Review the requested URL and approve the operation according to your tool permission settings. Internal addresses and downloads are blocked."
				}
			]
		},
		{
			"ID": "20261018102417-e6hvavx",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261018102417-e6hvavx",
				"updated": "20261018104335"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Rendered fetching requires the desktop instance to remain connected. Browser, mobile, and external MCP clients use the configured fetch provider. Empty pages and timeouts return errors; long results are truncated to 50,000 characters. Pages requiring login, embedded frames, workers, or persistent browser connections may still be unavailable."
				}
			]
		},
		{
			"ID": "20261010113646-aewwqju",
			"Type": "NodeHeading",
			"Properties": {
				"id": "20261010113646-aewwqju",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "SQL queries, search and dynamic embeds"
				}
			],
			"HeadingLevel": 2
		},
		{
			"ID": "20261010113646-f4xjowe",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010113646-f4xjowe",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Ask the agent to query notes by block type, inline formatting, ancestry or combined conditions, and summarize the results."
				}
			]
		},
		{
			"ID": "20261010172554-3btkysw",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010172554-3btkysw",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "For example: “Count the tasks updated in the past week” or “Find unfinished task items in the project documents.”"
				}
			]
		},
		{
			"ID": "20261010172554-6q4hhil",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010172554-6q4hhil",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Ask to show results in the search window to inspect and locate them, or create a dynamic SQL embed to keep displaying matching blocks in a document. Statistical results can be used in an answer but cannot be displayed directly as embedded blocks."
				}
			]
		},
		{
			"ID": "20261010172554-kw579hi",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010172554-kw579hi",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "When changing an existing embed, describe the query changes and ask to keep the existing block and display settings."
				}
			]
		},
		{
			"ID": "20261010173100-8r4pamm",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261010173100-8r4pamm",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Unlock an encrypted notebook before querying it and specify which notebook to use. Its embeds can query only content in that notebook."
				}
			]
		},
		{
			"ID": "20260804170109-sbl6g5j",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170109-sbl6g5j",
				"updated": "20260804205607"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Data snapshots and rollback"
				}
			]
		},
		{
			"ID": "20260804170110-f3ewu2w",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170110-f3ewu2w",
				"updated": "20260804205607"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Before the first write to workspace data in a task turn, the agent automatically creates a data snapshot, with at most one snapshot per turn. If the result is not acceptable, use the rollback action on the snapshot notice in the session."
				}
			]
		},
		{
			"ID": "20260804170111-loi92zi",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260804170111-loi92zi",
				"updated": "20260804205607"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "The snapshot covers workspace data, but not changes made to external systems by external MCP services or plugins. Regenerating an answer, stopping a task, or deleting a session also does not automatically undo completed write operations."
				}
			]
		},
		{
			"ID": "20261008115720-pkk1ilo",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20261008115720-pkk1ilo",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "CSS/JS snippets"
				}
			]
		},
		{
			"ID": "20261008115720-m2rknxh",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261008115720-m2rknxh",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Ask the AI agent to list, read, create, update, enable, disable, or delete CSS/JS snippets. For example: “Create a disabled CSS snippet that increases the interface font size so I can review it.”"
				}
			]
		},
		{
			"ID": "20261008115720-p1ri8ae",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261008115720-p1ri8ae",
				"updated": "20261008115720"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Every snippet change requires confirmation, even when session-wide or automatic approval is enabled. Review the proposed code and the current snippet shown in the confirmation card. New snippets are disabled and excluded from publishing by default. The agent preserves the global CSS/JS switches and existing publishing settings."
				}
			]
		},
		{
			"ID": "20261008115720-7g8jtun",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261008115720-7g8jtun",
				"updated": "20261008115720"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Enabling JavaScript or updating an enabled JavaScript snippet can execute code in connected windows. Disabling or deleting a snippet does not undo code that has already run; restarting the frontend may be necessary. If a snippet changes while you are reviewing it, the operation is rejected and the agent must read it again before requesting confirmation."
				}
			]
		},
		{
			"ID": "20261008125238-rndmbrz",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261008125238-rndmbrz",
				"updated": "20261012014859"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "You can search snippet names and code, rename snippets, or request changes to part of a snippet. If snippets change while the management dialog is open, saving is rejected and your draft is retained; copy your edits, reopen the dialog, and merge them with the latest snippets."
				}
			]
		},
		{
			"ID": "20260804170057-8amo72d",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170057-8amo72d",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Examples"
				}
			]
		},
		{
			"ID": "20260804170058-j5x2ifw",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20260804170058-j5x2ifw",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"ID": "20260804170059-3y3lb5z",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170059-3y3lb5z",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170100-bj6cr8i",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170100-bj6cr8i",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Search recent meeting notes, summarize the action items, and write them to the specified project document"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170101-miajwkl",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170101-miajwkl",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170102-q3nbeyq",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170102-q3nbeyq",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Create a structured summary from the selected blocks while preserving the key conclusions"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170103-61f1wna",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170103-61f1wna",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170104-vjgg5qe",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170104-vjgg5qe",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Create today's daily note and add three tasks for today"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170105-t9vxrzb",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170105-t9vxrzb",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170106-657jrfr",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170106-657jrfr",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Review the images in the current document and write a short description for each one"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170107-7eio0wk",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170107-7eio0wk",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170108-8j31k9r",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170108-8j31k9r",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Check the current document using my writing-guidelines skill and list the required changes"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20260804170112-w9zbdxl",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20260804170112-w9zbdxl",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Note"
				}
			]
		},
		{
			"ID": "20260804170113-5l896il",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20260804170113-5l896il",
				"updated": "20260804180000"
			},
			"Children": [
				{
					"ID": "20260804170114-22zfdnd",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170114-22zfdnd",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170115-wf1ytsf",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170115-wf1ytsf",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "The agent is unavailable in Publish Service and read-only mode"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170116-qlvpohs",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170116-qlvpohs",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170117-o7bxiri",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170117-o7bxiri",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "The model must correctly support tool calling; tool calling, reasoning, and image understanding vary between models"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170118-zyjcbh5",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170118-zyjcbh5",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170119-i8htajw",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170119-i8htajw",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Document or image data may be sent to API providers or external MCP services and may incur charges"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170120-in91thh",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170120-in91thh",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170121-24ajw75",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170121-24ajw75",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "The agent may misunderstand requests or generate inaccurate content; review confirmation cards before important changes and verify the results afterward"
								}
							]
						}
					]
				},
				{
					"ID": "20260804170122-mc89cix",
					"Type": "NodeListItem",
					"ListData": {
						"Tight": true,
						"BulletChar": 42,
						"Padding": 2,
						"Marker": "Kg==",
						"Num": -1
					},
					"Properties": {
						"id": "20260804170122-mc89cix",
						"updated": "20260804180000"
					},
					"Children": [
						{
							"ID": "20260804170123-hngsqb6",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260804170123-hngsqb6",
								"updated": "20260804180000"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Do not expose unnecessary passwords or API keys in messages, skills, or MCP configuration"
								}
							]
						}
					]
				}
			]
		}
	]
}