An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"ID": "20230304000547-ibldj1z",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"id": "20230304000547-ibldj1z",
"title": "Artificial Intelligence",
"type": "doc",
"updated": "20261024164212"
},
"Children": [
{
"ID": "20260804170000-qss2syl",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804170000-qss2syl",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overview"
}
]
},
{
"ID": "20260804170001-q67ffe4",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170001-q67ffe4",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "SiYuan provides AI editing, an AI agent, and semantic search. Before using them, configure the API providers and models required for your use case."
}
]
},
{
"ID": "20261015225720-okoj5kh",
"Type": "NodeParagraph",
"Properties": {
"id": "20261015225720-okoj5kh",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "To use a ChatGPT account, open its provider configuration in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Artificial Intelligence"
},
{
"Type": "NodeText",
"Data": " and select and save an account for this workspace on the current device. Credentials and account bindings stay on this device and are excluded from conf.json and settings exports."
}
]
},
{
"ID": "20261024164212-mi8ljln",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-mi8ljln",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Sign in and select an account separately on each device. Copying configuration then preserves the destination device’s bindings for existing providers. Select an account again after adding a provider or moving the workspace directory. After upgrading, select an account once more; existing sign-in credentials are retained."
}
]
},
{
"ID": "20260804170002-24z0hpx",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804170002-24z0hpx",
"updated": "20261016202856"
},
"Children": [
{
"Type": "NodeText",
"Data": "AI editing"
}
]
},
{
"ID": "20260804170003-yv7k3qb",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170003-yv7k3qb",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "AI editing processes selected text for tasks such as continuation, summarization, translation, and polishing."
}
]
},
{
"ID": "20260804170004-9yg5i8j",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20260804170004-9yg5i8j",
"updated": "20261016202856"
},
"Children": [
{
"ID": "20260804170005-ettxhgz",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Tight": true,
"Start": 1,
"Delimiter": 46,
"Padding": 3,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20260804170005-ettxhgz",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170006-lso6hde",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170006-lso6hde",
"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"
}
]
}
]
},
{
"ID": "20260804170007-dt1vz1z",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Tight": true,
"Start": 2,
"Delimiter": 46,
"Padding": 3,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20260804170007-dt1vz1z",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170008-nqia67b",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170008-nqia67b",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Select the model used by the editor 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": "Editor"
}
]
}
]
},
{
"ID": "20260804170009-l87zz79",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Tight": true,
"Start": 3,
"Delimiter": 46,
"Padding": 3,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20260804170009-l87zz79",
"updated": "20261016202856"
},
"Children": [
{
"ID": "20260804170010-wxcjvxu",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170010-wxcjvxu",
"updated": "20261016202856"
},
"Children": [
{
"Type": "NodeText",
"Data": "Use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "/AI writing"
},
{
"Type": "NodeText",
"Data": " to open the writing dialog. For AI editing, select text and choose "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "AI Edit"
},
{
"Type": "NodeText",
"Data": " in the selection toolbar, or choose it from the block menu. The result streams into a panel where you can replace or insert it, copy it, retry, stop, or discard it. Replacement is available only for a supported selection within one block. Cross-block selections, complex sources, and sources changed while generating can still use insertion"
}
]
}
]
}
]
},
{
"ID": "20260804170011-apv9hp7",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804170011-apv9hp7",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "AI agent"
}
]
},
{
"ID": "20260804170012-jfizfny",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170012-jfizfny",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "The AI agent combines the current editor context with tools to search, organize, create, and modify knowledge base content. See "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "AI Agent",
"TextMarkBlockRefID": "20260804171004-aiagt03",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": " for instructions."
}
]
},
{
"ID": "20260804170013-83h5rhn",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804170013-83h5rhn",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Semantic search"
}
]
},
{
"ID": "20260804170014-l77yxmp",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170014-l77yxmp",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Semantic search finds related content by meaning and is useful when notes use different wording for similar topics. See "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "Semantic Search",
"TextMarkBlockRefID": "20260804171005-semnt03",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": " for configuration and usage."
}
]
},
{
"ID": "20260920123707-bayhe2r",
"Type": "NodeHeading",
"Properties": {
"id": "20260920123707-bayhe2r",
"updated": "20261023110951"
},
"Children": [
{
"Type": "NodeText",
"Data": "Decision model"
}
],
"HeadingLevel": 2
},
{
"ID": "20260920123707-dn6uk2y",
"Type": "NodeParagraph",
"Properties": {
"id": "20260920123707-dn6uk2y",
"updated": "20261023110951"
},
"Children": [
{
"Type": "NodeText",
"Data": "The agent can use TypeSafe System One (Jev) or OpenAI Decisions API for classification, filtering and scoring. See "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "Decision model",
"TextMarkBlockRefID": "20260920123707-taf3ttd",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": "."
}
]
},
{
"ID": "20260804233220-mcpenh1",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804233220-mcpenh1",
"updated": "20260804233000"
},
"Children": [
{
"Type": "NodeText",
"Data": "MCP Service"
}
]
},
{
"ID": "20260804233221-mcpenp1",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804233221-mcpenp1",
"updated": "20260804233000"
},
"Children": [
{
"Type": "NodeText",
"Data": "The MCP service allows MCP-compatible clients to call tools provided by SiYuan through the standard protocol. For configuration and usage, see "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "MCP Service",
"TextMarkBlockRefID": "20260804223002-mcpsv03",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": "."
}
]
},
{
"ID": "20260804170015-z4c0bhs",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260804170015-z4c0bhs",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Note"
}
]
},
{
"ID": "20260804170016-pam6xty",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20260804170016-pam6xty",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170017-q91bhac",
"Type": "NodeListItem",
"ListData": {
"Tight": true,
"BulletChar": 42,
"Padding": 2,
"Marker": "Kg==",
"Num": -1
},
"Properties": {
"id": "20260804170017-q91bhac",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170018-zmt2yvz",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170018-zmt2yvz",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Document text, images, or queries may be sent to the configured API provider"
}
]
}
]
},
{
"ID": "20260804170019-w8bodih",
"Type": "NodeListItem",
"ListData": {
"Tight": true,
"BulletChar": 42,
"Padding": 2,
"Marker": "Kg==",
"Num": -1
},
"Properties": {
"id": "20260804170019-w8bodih",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170020-dm5734f",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170020-dm5734f",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "External API calls may incur charges"
}
]
}
]
},
{
"ID": "20260804170021-ap0ekfa",
"Type": "NodeListItem",
"ListData": {
"Tight": true,
"BulletChar": 42,
"Padding": 2,
"Marker": "Kg==",
"Num": -1
},
"Properties": {
"id": "20260804170021-ap0ekfa",
"updated": "20260804180000"
},
"Children": [
{
"ID": "20260804170022-oo2oq10",
"Type": "NodeParagraph",
"Properties": {
"id": "20260804170022-oo2oq10",
"updated": "20260804180000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Keep API keys secure and verify the target and content before applying AI-generated changes"
}
]
}
]
}
]
}
]
}