Skip to Content
ConceptsNode Types

Node Types

Every document in a Context Nest vault has a type field in its frontmatter. The type tells agents how to interpret the content.

Types

TypePurposeExample
documentGeneral knowledgeArchitecture overview, meeting notes, guides
snippetReusable text fragmentsBoilerplate, templates, standard responses
glossaryTerm definitionsDomain-specific vocabulary
personaAgent role definitions”You are a senior architect who…”
promptReusable prompt templatesCode review checklist, analysis framework
sourceInstructions for fetching live dataJira sprint tickets, GitHub PRs, Slack threads
toolTool documentationAPI endpoint docs, CLI reference
referenceReference materialStandards, regulations, external specs

Default type

If type is omitted, the document is treated as document.

Source nodes

Source nodes are special — their body contains instructions for agents to follow, not knowledge to absorb. See Source Nodes for details.

Example

--- title: "Brand Voice Guide" type: persona tags: ["#brand", "#writing"] status: published version: 3 --- # Brand Voice When writing on behalf of the company, use these guidelines: - Tone: Professional but approachable - Avoid: Jargon, buzzwords, passive voice - Always: Lead with the user benefit
Last updated on