Manage reusable, governed agent knowledge across agents, data, channels, and modes.
Instructions capture the business knowledge and operating rules that a schema alone cannot express: canonical metrics, calculation rules, preferred sources, validation checks, tool-use guidance, and domain vocabulary.
An instruction is not owned by one agent. It can apply:
Globally across the organization.
To one or many agents.
To selected tables or semantic objects.
To all channels or selected channels.
To all modes, Chat only, or Training only.
This lets a finance definition be reused by Finance and Executive Operations agents, while a training-only rule can be tested before affecting production Chat runs.
Write instructions that give an agent an actionable decision rule. State the definition, its scope, and the exception it should handle. For example, specify the canonical revenue table and exclusions rather than saying only “be careful with revenue.”Use load behavior deliberately:
Always for rules that must affect every applicable run.
Intelligent for relevant reference knowledge that the agent should retrieve when needed.
The Agents workspace provides global and agent-level instruction views. Use folders, labels, search, and All Instructions to manage knowledge across the fleet. Review the pending-changes view to see proposed edits, accept or reject specific changes, and keep the live knowledge base intentional.Every published change belongs to an instruction build. Builds preserve the active snapshot, history, tracked diff, reviewer decision, and rollback path. Reviewers can inspect exactly what the AI proposes to add or remove before a suggestion becomes active.
Skills are reusable playbooks that the agent can load when a task calls for them. Open Agents → Skills to see the Enabled and Catalog tabs.
Catalog shows built-in skills and lets an administrator enable or disable them.
Enabled shows the skills installed in the organization, including custom skills.
Select an installed skill to review its instructions.
An installed catalog skill is an organization-owned copy. A new deployment can ship a newer catalog version without replacing that copy. This preserves your edits and scoping choices.When a newer version is available, the catalog shows Update available and an Update action. Review any customization warning before updating: taking the catalog version replaces the installed content and restores the catalog’s loading, mode and channel settings. Reset restores catalog content when a skill has been customized.For artifact apps, check Data apps. An older installation may be titled Data app design and lack guidance for records, uploads and AI streaming. Update that installed skill as well as enabling Artifact resources in AI Settings.
Enabling a skill provides instructions to the agent. It does not enable platform features or grant access to data. Organization settings and permissions still control what the agent and app can do.
Some built-in skills belong to a feature that is off by default. Create a demo dataset is installed in every organization, but the agent only sees it while Demo data generation is on in AI Settings. See Create a demo dataset.
You can synchronize instructions from Git-backed documentation and model metadata, or create them manually. In Training, an agent can clarify an ambiguous rule, use the answer as evidence, and suggest a tracked instruction change. The suggestion remains a draft until a reviewer accepts it; rejected suggestions stay visible in the build history rather than silently changing production knowledge. To teach an agent through a Training conversation, see Train an agent.For verification, see Evals and self-improvement. The home page explains how instructions participate in the Knowledge Harness and the governed self-improvement loop.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bag of words","colors":{"primary":"#0C0C15","light":"#fff","dark":"#0C0C15"},"logo":{"light":"https://mintcdn.com/bagofwords/WQHfvEO6F7pNQ6s3/assets/logo-128.png?fit=max\u0026auto=format\u0026n=WQHfvEO6F7pNQ6s3\u0026q=85\u0026s=fa5078d047623ff6f8fd004c91ae3bc3","dark":"https://mintcdn.com/bagofwords/WQHfvEO6F7pNQ6s3/assets/logo-128.png?fit=max\u0026auto=format\u0026n=WQHfvEO6F7pNQ6s3\u0026q=85\u0026s=fa5078d047623ff6f8fd004c91ae3bc3"},"favicon":"https://mintcdn.com/bagofwords/WQHfvEO6F7pNQ6s3/favicon.png?fit=max\u0026auto=format\u0026n=WQHfvEO6F7pNQ6s3\u0026q=85\u0026s=6788581b3499e0fdb8979f9e65ef17e3","background":{"color":{"light":"#fff","dark":"#0C0C15"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/bagofwords_com","github":"https://github.com/bagofwords1"}},"icons":{"library":"lucide"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bagofwords","hasAudioNarration":false,"actualSubdomain":"bagofwords","customDomains":["docs.bagofwords.com"],"gitSource":{"type":"github","owner":"bagofwords1","repo":"bagofdocs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8ff3ae45690ec0368515f","collectionId":"297df5a2-1dec-4374-946f-a8ec6114a4cc","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8ff3ae45690ec0368515f"},"entitlements":{},"buildId":"6ad8ff3ae45690ec0368515f","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Connect Any Data","count":44},{"language":"default","tag":"Connectors","count":33},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Work With Agents","count":9},{"language":"default","tag":"Channels","count":7},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Observe and Govern","count":5},{"language":"default","tag":"Custom Queries and Row-Level Security","count":4},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Open Source and Enterprise","count":2}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"agents/instructions","slug":"/agents/instructions","pageMetadata":{"title":"Instructions and knowledge","description":"Manage reusable, governed agent knowledge across agents, data, channels, and modes.","icon":"book-open","href":"/agents/instructions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,OptimizedImage}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Instructions capture the business knowledge and operating rules that a schema alone cannot express: canonical metrics, calculation rules, preferred sources, validation checks, tool-use guidance, and domain vocabulary.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=495bd36532962fef73d73681501c38e7`,alt:`A Training conversation with a pending AI-proposed tracked instruction change`,\"data-og-width\":`2400`,width:`2400`,\"data-og-height\":`1350`,height:`1350`,\"data-path\":`images/showcase/instruction-review-current.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=280\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=55757fa0701e22d935f64ba6d21b1f0a 280w, https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=560\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=89d4f7bb3255f3f85c1c8f172a816318 560w, https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=840\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=b273841c4efa3b4d63697a2e7fcf942e 840w, https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=1100\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=d350a34f7f09e9e6156f458d7dd9efce 1100w, https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=1650\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=c03ab407bdfab2537279370e92713e04 1650w, https://mintcdn.com/bagofwords/u5g_9_tz5l_YoqVI/images/showcase/instruction-review-current.png?w=2500\u0026fit=max\u0026auto=format\u0026n=u5g_9_tz5l_YoqVI\u0026q=85\u0026s=e44f4d6bd7f5efae1d1806a6ff59b17e 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`instructions-are-many-to-many`,children:`Instructions are many-to-many`}),`\n`,_jsx(_components.p,{children:`An instruction is not owned by one agent. It can apply:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Globally across the organization.`}),`\n`,_jsx(_components.li,{children:`To one or many agents.`}),`\n`,_jsx(_components.li,{children:`To selected tables or semantic objects.`}),`\n`,_jsx(_components.li,{children:`To all channels or selected channels.`}),`\n`,_jsxs(_components.li,{children:[`To `,_jsx(_components.strong,{children:`all modes`}),`, `,_jsx(_components.strong,{children:`Chat only`}),`, or `,_jsx(_components.strong,{children:`Training only`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This lets a finance definition be reused by Finance and Executive Operations agents, while a training-only rule can be tested before affecting production Chat runs.`}),`\n`,_jsx(Heading,{level:`2`,id:`create-useful-instructions`,children:`Create useful instructions`}),`\n`,_jsx(_components.p,{children:`Write instructions that give an agent an actionable decision rule. State the definition, its scope, and the exception it should handle. For example, specify the canonical revenue table and exclusions rather than saying only “be careful with revenue.”`}),`\n`,_jsx(_components.p,{children:`Use load behavior deliberately:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Always`}),` for rules that must affect every applicable run.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Intelligent`}),` for relevant reference knowledge that the agent should retrieve when needed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disabled`}),` when preserving a draft or retired rule.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`organize-and-review-knowledge`,children:`Organize and review knowledge`}),`\n`,_jsxs(_components.p,{children:[`The Agents workspace provides global and agent-level instruction views. Use folders, labels, search, and `,_jsx(_components.strong,{children:`All Instructions`}),` to manage knowledge across the fleet. Review the pending-changes view to see proposed edits, accept or reject specific changes, and keep the live knowledge base intentional.`]}),`\n`,_jsxs(_components.p,{children:[`Every published change belongs to an instruction build. Builds preserve the active snapshot, history, `,_jsx(_components.strong,{children:`tracked diff`}),`, reviewer decision, and rollback path. Reviewers can inspect exactly what the AI proposes to add or remove before a suggestion becomes active.`]}),`\n`,_jsx(Heading,{level:`2`,id:`install-and-update-skills`,children:`Install and update skills`}),`\n`,_jsxs(_components.p,{children:[`Skills are reusable playbooks that the agent can load when a task calls for them. Open `,_jsx(_components.strong,{children:`Agents → Skills`}),` to see the `,_jsx(_components.strong,{children:`Enabled`}),` and `,_jsx(_components.strong,{children:`Catalog`}),` tabs.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Catalog`}),` shows built-in skills and lets an administrator enable or disable them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled`}),` shows the skills installed in the organization, including custom skills.`]}),`\n`,_jsx(_components.li,{children:`Select an installed skill to review its instructions.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`An installed catalog skill is an organization-owned copy. A new deployment can ship a newer catalog version without replacing that copy. This preserves your edits and scoping choices.`}),`\n`,_jsxs(_components.p,{children:[`When a newer version is available, the catalog shows `,_jsx(_components.strong,{children:`Update available`}),` and an `,_jsx(_components.strong,{children:`Update`}),` action. Review any customization warning before updating: taking the catalog version replaces the installed content and restores the catalog’s loading, mode and channel settings. `,_jsx(_components.strong,{children:`Reset`}),` restores catalog content when a skill has been customized.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=14062e9a361e3541f6794474115ae629`,alt:`The Data apps skill with an available catalog update`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/artifact-apps/skill-update.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=280\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=df8b6dfb1017b4f6d422f395d74f2454 280w, https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=560\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=ea73a23e7b4f7800e7a7764ff059bf2d 560w, https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=840\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=de6013219f72527319e0ee981a8c9274 840w, https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=1100\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=25c8529cef0770ceda71516d1a604956 1100w, https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=1650\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=6b44ef6c39adc37ec3f55385267a9611 1650w, https://mintcdn.com/bagofwords/LFbHwvdSndIW2C4R/images/artifact-apps/skill-update.png?w=2500\u0026fit=max\u0026auto=format\u0026n=LFbHwvdSndIW2C4R\u0026q=85\u0026s=9aef362ed94b668b07b595ff1a37ea44 2500w`}),`\n`,_jsxs(_components.p,{children:[`For artifact apps, check `,_jsx(_components.strong,{children:`Data apps`}),`. An older installation may be titled `,_jsx(_components.strong,{children:`Data app design`}),` and lack guidance for records, uploads and AI streaming. Update that installed skill as well as enabling `,_jsx(_components.strong,{children:`Artifact resources`}),` in `,_jsx(_components.a,{href:`/using-bow/settings`,children:`AI Settings`}),`.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Enabling a skill provides instructions to the agent. It does not enable platform features or grant access to data. Organization settings and permissions still control what the agent and app can do.`})}),`\n`,_jsxs(_components.p,{children:[`Some built-in skills belong to a feature that is off by default. `,_jsx(_components.strong,{children:`Create a demo dataset`}),` is installed in every organization, but the agent only sees it while `,_jsx(_components.strong,{children:`Demo data generation`}),` is on in `,_jsx(_components.a,{href:`/using-bow/settings`,children:`AI Settings`}),`. See `,_jsx(_components.a,{href:`/guides/demo-dataset`,children:`Create a demo dataset`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`git-and-generated-suggestions`,children:`Git and generated suggestions`}),`\n`,_jsxs(_components.p,{children:[`You can synchronize instructions from Git-backed documentation and model metadata, or create them manually. In Training, an agent can clarify an ambiguous rule, use the answer as evidence, and suggest a tracked instruction change. The suggestion remains a draft until a reviewer accepts it; rejected suggestions stay visible in the build history rather than silently changing production knowledge. To teach an agent through a Training conversation, see `,_jsx(_components.a,{href:`/agents/train-an-agent`,children:`Train an agent`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For verification, see `,_jsx(_components.a,{href:`/agents/evals`,children:`Evals and self-improvement`}),`. The home page explains how instructions participate in the Knowledge Harness and the governed self-improvement loop.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Instructions and knowledge","description":"Manage reusable, governed agent knowledge across agents, data, channels, and modes.","icon":"book-open","href":"/agents/instructions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Instructions are many-to-many","slug":"instructions-are-many-to-many","depth":2,"children":[]},{"title":"Create useful instructions","slug":"create-useful-instructions","depth":2,"children":[]},{"title":"Organize and review knowledge","slug":"organize-and-review-knowledge","depth":2,"children":[]},{"title":"Install and update skills","slug":"install-and-update-skills","depth":2,"children":[]},{"title":"Git and generated suggestions","slug":"git-and-generated-suggestions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bagofwords","siteName":"Bag of words","title":"Instructions and knowledge - Bag of words","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T16:27:30.417Z","originalFileLocation":"agents/instructions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bag of words\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Instructions and knowledge - Bag of words\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bag of words\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bagofwords.com/agents/instructions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bagofwords.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Instructions+and+knowledge\u0026amp;description=Manage+reusable%2C+governed+agent+knowledge+across+agents%2C+data%2C+channels%2C+and+modes.\u0026amp;theme=1b730fc2015ef354744bd263\u0026amp;signature=cf5f7fc131e20abddf913a5bbeab4f0486887e02b2461b7266e724e2c5477b9d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Instructions and knowledge - Bag of words\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bagofwords.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Instructions+and+knowledge\u0026amp;description=Manage+reusable%2C+governed+agent+knowledge+across+agents%2C+data%2C+channels%2C+and+modes.\u0026amp;theme=1b730fc2015ef354744bd263\u0026amp;signature=cf5f7fc131e20abddf913a5bbeab4f0486887e02b2461b7266e724e2c5477b9d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bagofwords/0eV4PLcEOWgaa_uR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bag of words\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C0C15\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bagofwords.com/agents/instructions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agents/instructions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bagofwords.com/#organization\",\"name\":\"Bag of words\",\"url\":\"https://docs.bagofwords.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bagofwords/WQHfvEO6F7pNQ6s3/assets/logo-128.png?fit=max\u0026auto=format\u0026n=WQHfvEO6F7pNQ6s3\u0026q=85\u0026s=fa5078d047623ff6f8fd004c91ae3bc3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bagofwords.com#website\",\"name\":\"Bag of words\",\"url\":\"https://docs.bagofwords.com\",\"publisher\":{\"@id\":\"https://docs.bagofwords.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bagofwords.com/agents/instructions#webpage\",\"url\":\"https://docs.bagofwords.com/agents/instructions\",\"name\":\"Instructions and knowledge\",\"description\":\"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\",\"dateModified\":\"2026-10-08T16:27:30.417Z\",\"isPartOf\":{\"@id\":\"https://docs.bagofwords.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bagofwords.com/agents/instructions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bagofwords.com/agents/instructions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.bagofwords.com/agents/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Instructions and knowledge\",\"item\":\"https://docs.bagofwords.com/agents/instructions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bagofwords.com/agents/instructions#article\",\"headline\":\"Instructions and knowledge\",\"name\":\"Instructions and knowledge\",\"description\":\"Manage reusable, governed agent knowledge across agents, data, channels, and modes.\",\"url\":\"https://docs.bagofwords.com/agents/instructions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bagofwords.com/agents/instructions#webpage\"},\"dateModified\":\"2026-10-08T16:27:30.417Z\",\"publisher\":{\"@id\":\"https://docs.bagofwords.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bagofwords.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bag of words\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Bag of words","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Bag of words","href":"/introduction"},{"title":"Quickstart","icon":"rocket","href":"/quickstart"},{"title":"Deployment Options","icon":"server","href":"/install"},{"title":"Sign-in and SSO","icon":"key-round","href":"/sign-in-and-sso"}]},{"group":"Work With Agents","pages":[{"title":"Work with agents","icon":"messages-square","href":"/work-with-agents"},{"title":"Chat with your data","icon":"bot","href":"/using-bow/reports"},{"title":"Dashboard artifacts","icon":"chart-pie","href":"/using-bow/dashboards"},{"title":"Build apps with artifacts","sidebarTitle":"Build apps","icon":"app-window","href":"/using-bow/artifact-apps"},{"title":"Sub-agents","sidebarTitle":"Sub-agents","icon":"sitemap","href":"/using-bow/sub-agents"},{"title":"Parameterized queries","icon":"sliders","sidebarTitle":"Parameterized queries","href":"/using-bow/parameterized-queries"},{"title":"MCP","icon":"plug","href":"/using-bow/mcp"},{"title":"BOW for Excel","icon":"file-spreadsheet","href":"/using-bow/excel"},{"title":"AI Settings","icon":"cog","href":"/using-bow/settings"}]},{"group":"Agents","pages":[{"title":"Agents","description":"Build governed domain agents from scoped connections, knowledge, tools, and access controls.","icon":"bot","href":"/agents/overview"},{"title":"Instructions and knowledge","icon":"book-open","href":"/agents/instructions"},{"title":"Train an agent","sidebarTitle":"Train an agent","description":"Teach an agent your data and business rules in a Training session, then review every change before it goes live.","icon":"graduation-cap","href":"/agents/train-an-agent"},{"title":"Evals and self-improvement","icon":"badge-check","href":"/agents/evals"},{"title":"Check-ins and overnight learning","sidebarTitle":"Self-improvement","icon":"moon","href":"/agents/self-improvement"},{"title":"Lists","icon":"list","href":"/agents/lists"}]},{"group":"Users","pages":[]},{"group":"Guides","pages":[{"title":"Guides","sidebarTitle":"All guides","icon":"list","href":"/guides/overview"},{"title":"Train an agent","sidebarTitle":"Train an agent","icon":"graduation-cap","href":"/agents/train-an-agent"},{"title":"Tips for training an agent","sidebarTitle":"Training tips","icon":"lightbulb","href":"/guides/training-tips"},{"title":"Create a demo dataset","sidebarTitle":"Create a demo dataset","icon":"database","href":"/guides/demo-dataset"},{"title":"Root cause analysis across observability tools","sidebarTitle":"Root cause analysis","icon":"magnifying-glass-chart","href":"/guides/root-cause-analysis"},{"title":"Root cause analysis with sub-agents","sidebarTitle":"Root cause analysis with sub-agents","icon":"magnifying-glass-chart","href":"/guides/root-cause-analysis-sub-agents"},{"title":"Build a dashboard with parameterized queries","sidebarTitle":"Parameterized dashboards","icon":"sliders-horizontal","href":"/guides/parameterized-dashboard"},{"title":"Build a dashboard with state and saved data","sidebarTitle":"Dashboards with saved data","icon":"database-zap","href":"/guides/stateful-dashboard"},{"title":"Create a scheduled task for recurring analysis","sidebarTitle":"Scheduled tasks","icon":"calendar-clock","href":"/guides/scheduled-tasks"},{"title":"Run an automated analysis from an external trigger","sidebarTitle":"External triggers","icon":"webhook","href":"/guides/external-triggers"},{"title":"Test an agent with evals","sidebarTitle":"Test with evals","icon":"badge-check","href":"/guides/evals"},{"title":"Analyze your agents' usage in chat","sidebarTitle":"Usage analysis in chat","icon":"chart-no-axes-combined","href":"/guides/usage-analysis"},{"title":"Use saved queries for faster, more reliable answers","sidebarTitle":"Saved queries","icon":"bookmark","href":"/guides/saved-queries"},{"title":"Route questions to the right agent","sidebarTitle":"Route to the right agent","icon":"route","href":"/guides/agent-routing"},{"title":"Analyze documents with Lists","sidebarTitle":"Lists for documents","icon":"file-search","href":"/guides/lists-documents"},{"title":"Use BOW from Claude or another MCP client","sidebarTitle":"BOW from Claude (MCP)","icon":"plug","href":"/guides/mcp-clients"},{"title":"Git Workflow","icon":"git","href":"/guides/git"},{"title":"Embed BOW Chat","icon":"code-2","sidebarTitle":"Embed BOW Chat","href":"/guides/embed"},{"title":"External Entra applications","icon":"key","href":"/guides/external-entra-applications"},{"title":"Completions API","sidebarTitle":"Completions API","icon":"terminal","href":"/guides/completions-api"}]},{"group":"Connect Any Data","pages":[{"title":"Data Sources Overview","icon":"database","href":"/data-sources/overview"},{"title":"Connecting a Data Source","icon":"circle-plus","href":"/data-sources/connecting"},{"title":"Authentication and Access","icon":"lock","href":"/data-sources/authentication"},{"group":"Connectors","expanded":false,"pages":[{"title":"SQL databases","icon":"database","href":"/data-sources/connectors/databases"},{"title":"Snowflake","icon":"snowflake","href":"/data-sources/connectors/snowflake"},{"title":"Google BigQuery","icon":"cloud","href":"/data-sources/connectors/bigquery"},{"title":"Microsoft SQL Server","icon":"server","href":"/data-sources/connectors/sql-server"},{"title":"SAP","icon":"database","href":"/data-sources/connectors/sap"},{"title":"Power BI","icon":"chart-column","href":"/data-sources/connectors/power-bi"},{"title":"Power BI Report Server","icon":"server","href":"/data-sources/connectors/power-bi-report-server"},{"title":"Microsoft Fabric","icon":"microsoft","href":"/data-sources/connectors/microsoft-fabric"},{"title":"Microsoft Analysis Services","icon":"boxes","href":"/data-sources/connectors/analysis-services"},{"title":"Tableau","icon":"chart-column","href":"/data-sources/connectors/tableau"},{"title":"Qlik Sense","icon":"activity","href":"/data-sources/connectors/qlik-sense"},{"title":"Qlik Sense on-prem","icon":"activity","href":"/data-sources/connectors/qlik-sense-onprem"},{"title":"Sisense","icon":"boxes","href":"/data-sources/connectors/sisense"},{"title":"Oracle BI","icon":"database","href":"/data-sources/connectors/oracle-bi"},{"title":"Infor OLAP","icon":"server","href":"/data-sources/connectors/infor-olap"},{"title":"Timbr AI","icon":"table","href":"/data-sources/connectors/timbr"},{"title":"Observability and monitoring","icon":"activity","href":"/data-sources/connectors/observability"},{"title":"Kubernetes","icon":"server","href":"/data-sources/connectors/kubernetes"},{"title":"NetApp ONTAP","icon":"hard-drive","href":"/data-sources/connectors/netapp-ontap"},{"title":"Brocade Fabric OS","icon":"network","href":"/data-sources/connectors/brocade"},{"title":"VMware Aria Operations","icon":"boxes","href":"/data-sources/connectors/aria-operations"},{"title":"Business applications","icon":"boxes","href":"/data-sources/connectors/business-apps"},{"title":"Files and Directories","icon":"folder","href":"/data-sources/connectors/files-and-directories"},{"title":"Amazon S3","icon":"aws","href":"/data-sources/connectors/s3"},{"title":"SharePoint and OneDrive","icon":"microsoft","href":"/data-sources/connectors/sharepoint-onedrive"},{"title":"SharePoint Server (on-prem)","icon":"microsoft","href":"/data-sources/connectors/sharepoint-server"},{"title":"OpenText Documentum","icon":"folder-open","href":"/data-sources/connectors/documentum"},{"title":"OneNote","icon":"microsoft","href":"/data-sources/connectors/onenote"},{"title":"SharePoint Lists","icon":"microsoft","href":"/data-sources/connectors/sharepoint-lists"},{"title":"Google Drive","icon":"google","href":"/data-sources/connectors/google-drive"},{"title":"Gmail and Outlook Mail","icon":"mail","href":"/data-sources/connectors/mail"},{"title":"CSV, QVD and PBIX","icon":"table","href":"/data-sources/connectors/file-formats"},{"title":"Browser","icon":"globe","href":"/data-sources/connectors/browser"}]},{"title":"MCP Connections","icon":"plug","href":"/data-sources/mcp"},{"title":"Custom API Connections","icon":"webhook","href":"/data-sources/custom-api"},{"title":"User Context Forwarding","icon":"user-check","href":"/data-sources/user-context"},{"title":"Dynamic Params","icon":"brackets-curly","href":"/data-sources/dynamic-params"},{"group":"Custom Queries and Row-Level Security","expanded":false,"pages":[{"title":"Overview","icon":"zap","href":"/bow-fast/overview"},{"title":"Custom queries","icon":"database","href":"/bow-fast/custom-queries"},{"title":"Row-level security","icon":"shield-check","href":"/bow-fast/row-level-security"},{"title":"Cut ClickHouse Cloud costs","sidebarTitle":"ClickHouse Cloud costs","icon":"moon","href":"/bow-fast/clickhouse-cloud-costs"}]}]},{"group":"Models","pages":[{"title":"Models and LLM providers","href":"/using-bow/llm"}]},{"group":"Observe and Govern","pages":[{"title":"Observe and govern","icon":"activity","href":"/observe-and-govern/overview"},{"title":"Runs, traces, and diagnostics","icon":"git-branch","href":"/observe-and-govern/runs-and-traces"},{"title":"Usage, cost, and quality","icon":"chart-no-axes-combined","href":"/observe-and-govern/usage-cost-quality"},{"title":"Quotas and usage limits","icon":"gauge","href":"/observe-and-govern/quotas-and-usage-limits"},{"title":"Audit logs","icon":"scroll","href":"/observe-and-govern/audit-logs"}]},{"group":"Channels","pages":[{"title":"Channels Overview","icon":"messages-square","href":"/channels/overview"},{"title":"Slack","icon":"slack","href":"/channels/slack"},{"title":"Microsoft Teams","icon":"microsoft","href":"/channels/teams"},{"title":"Google Chat","icon":"google","href":"/channels/google-chat"},{"title":"WhatsApp","icon":"whatsapp","href":"/channels/whatsapp"},{"title":"Email","icon":"mail","href":"/channels/email"},{"title":"OAuth Apps","sidebarTitle":"OAuth Apps","icon":"key-round","href":"/channels/oauth-apps"}]},{"group":"Open Source and Enterprise","pages":[{"title":"Open source and Enterprise","icon":"building-2","href":"/enterprise/overview"},{"title":"License Key","icon":"key-round","href":"/enterprise/license"}]}]},"title":"Instructions and knowledge - Bag of words","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-CFBqa0On.js","lightbox-handle-r17bVUz3.js"]}