This playbook provides a systematic approach to building and maintaining effective context for your analytics agent. Follow these steps in order to ensure a solid foundation and scalable growth.
Step 1: Add Your Data ContextStart with a restricted perimeter of your data warehouse:
Maximum 20 tables to begin with
Focus on clean, gold, or mart layer tables (avoid raw staging tables)
Choose tables that represent core business domains
Starting small helps you validate your approach before scaling. You can always add more tables later.
Step 2: Add Your Documentation RepositoryInclude your documentation sources in context:
dbt documentation (schema.yml, docs blocks)
Semantic layer definitions
Any other relevant documentation repositories
This helps the agent understand business logic, relationships, and data lineage.Step 3: Add Company and Domain RulesCreate rules that provide context on:
Your company - business context, terminology, conventions
Different domains covered by your 20 tables - e.g., sales, marketing, finance, operations
These high-level rules set the foundation for domain-specific understanding.Step 4: Add Sub-Rules for Each Sub-DomainFor each sub-domain covered, create detailed sub-rules that include:
Business definitions - what key terms mean in your organization
Metrics definitions - how metrics are calculated and used
List of tables - which tables belong to this domain
Relevant docs yaml - specific documentation for this domain
This modular approach makes your context easier to maintain and scale.
Extend the number of datasets available in the agent
Make documentation and rules modular to support scalability
Add new domains incrementally, following the same process
Maintain the same quality standards as you expand
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"dazense Docs","colors":{"primary":"#8142FF","light":"#AA80FF","dark":"#9B6FFF"},"logo":{"light":"https://mintcdn.com/metazense/BYtGBx6bW3ch1QPG/assets/logo.png?fit=max\u0026auto=format\u0026n=BYtGBx6bW3ch1QPG\u0026q=85\u0026s=e0fb61e4eb646ba3b616fe3de6b24c2e","dark":"https://mintcdn.com/metazense/BYtGBx6bW3ch1QPG/assets/logo.png?fit=max\u0026auto=format\u0026n=BYtGBx6bW3ch1QPG\u0026q=85\u0026s=e0fb61e4eb646ba3b616fe3de6b24c2e"},"favicon":"/assets/favicon.png","navbar":{"links":[{"href":"https://dazense.metazense.com","label":"Website"},{"href":"https://metazense.slack.com","label":"Slack"}],"primary":{"type":"button","label":"Get Started","href":"/introduction"}},"fonts":{"heading":{"family":"Urbanist"},"body":{"family":"Figtree"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"metazense","hasAudioNarration":false,"actualSubdomain":"metazense","customDomains":["dadocs.metazense.com"],"gitSource":{"type":"github","owner":"ai4data","repo":"dazense-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21eb86a18e4292956717c5","collectionId":"907d86a7-9614-4918-9d59-c5667a610c39","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21eb86a18e4292956717c5:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"dazense Agent","count":27},{"language":"default","tag":"dazense IDE","count":27},{"language":"default","tag":"Get started","count":10},{"language":"default","tag":"Context builder","count":8},{"language":"default","tag":"dazense AI","count":7},{"language":"default","tag":"Chat","count":5},{"language":"default","tag":"Features","count":5},{"language":"default","tag":"Trusted Analytics","count":4},{"language":"default","tag":"Support","count":4},{"language":"default","tag":"Context engineering","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":true},"customCss":[],"page":{"pagePath":"dazense-agent/context-engineering/playbook","slug":"/dazense-agent/context-engineering/playbook","pageMetadata":{"title":"Playbook","description":"A step-by-step guide to building and maintaining effective context for your analytics agent.","href":"/dazense-agent/context-engineering/playbook","hidden":false},"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: \"A step-by-step guide to building and maintaining effective context for your analytics agent.\"\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={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`getting-started-with-context-engineering`,children:`Getting Started with Context Engineering`}),`\n`,_jsx(_components.p,{children:`This playbook provides a systematic approach to building and maintaining effective context for your analytics agent. Follow these steps in order to ensure a solid foundation and scalable growth.`}),`\n`,_jsx(Heading,{level:`2`,id:`first-poc-on-small-reliable-context`,children:`First POC on small, reliable context`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 1: Add Your Data Context`})}),`\n`,_jsxs(_components.p,{children:[`Start with a `,_jsx(_components.strong,{children:`restricted perimeter`}),` of your data warehouse:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maximum 20 tables`}),` to begin with`]}),`\n`,_jsxs(_components.li,{children:[`Focus on `,_jsx(_components.strong,{children:`clean, gold, or mart layer`}),` tables (avoid raw staging tables)`]}),`\n`,_jsx(_components.li,{children:`Choose tables that represent core business domains`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Starting small helps you validate your approach before scaling. You can always add more tables later.`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 2: Add Your Documentation Repository`})}),`\n`,_jsx(_components.p,{children:`Include your documentation sources in context:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`dbt documentation`}),` (schema.yml, docs blocks)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Semantic layer`}),` definitions`]}),`\n`,_jsx(_components.li,{children:`Any other relevant documentation repositories`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This helps the agent understand business logic, relationships, and data lineage.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 3: Add Company and Domain Rules`})}),`\n`,_jsx(_components.p,{children:`Create rules that provide context on:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your company`}),` - business context, terminology, conventions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Different domains`}),` covered by your 20 tables - e.g., sales, marketing, finance, operations`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`These high-level rules set the foundation for domain-specific understanding.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 4: Add Sub-Rules for Each Sub-Domain`})}),`\n`,_jsx(_components.p,{children:`For each sub-domain covered, create detailed sub-rules that include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Business definitions`}),` - what key terms mean in your organization`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metrics definitions`}),` - how metrics are calculated and used`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List of tables`}),` - which tables belong to this domain`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Relevant docs yaml`}),` - specific documentation for this domain`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This modular approach makes your context easier to maintain and scale.`}),`\n`,_jsx(Heading,{level:`2`,id:`measure-test-and-iterate`,children:`Measure, test and iterate`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 5: Create a Set of 20 Key Questions`})}),`\n`,_jsxs(_components.p,{children:[`Develop a `,_jsx(_components.strong,{children:`test suite`}),` of 20 key questions that represent:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Common user queries`}),`\n`,_jsx(_components.li,{children:`Critical business questions`}),`\n`,_jsx(_components.li,{children:`Edge cases`}),`\n`,_jsx(_components.li,{children:`Different complexity levels`}),`\n`]}),`\n`,_jsx(_components.p,{children:`These questions will serve as your quality benchmark throughout the process.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 6: Test and Iterate`})}),`\n`,_jsx(_components.p,{children:`Test the chat on your 20 questions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Run all questions through the agent`}),`\n`,_jsx(_components.li,{children:`Verify answers are correct and complete`}),`\n`,_jsx(_components.li,{children:`Identify gaps in context or understanding`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Iterate on context`}),` - add missing information, clarify ambiguities, refine rules`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Repeat until all 20 questions are answered correctly.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 7: Roll Out to Users`})}),`\n`,_jsx(_components.p,{children:`Once your test suite passes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Roll out`}),` to a small group of users initially`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Track usage`}),` - monitor what questions users are asking`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Monitor real-life performance`}),` using logs of questions and feedback`]}),`\n`,_jsx(_components.li,{children:`Collect user feedback to identify improvement areas`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 8: Version Control and Quality Assurance`})}),`\n`,_jsx(_components.p,{children:`Maintain context quality over time:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Version your context`}),` using git repositories`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Run `,_jsx(_components.code,{children:`dazense test`}),` frequently`]}),` (e.g., weekly or after major changes)`]}),`\n`,_jsx(_components.li,{children:`Ensure context quality doesn’t drift as you make updates`}),`\n`,_jsx(_components.li,{children:`Set up automated tests in CI/CD pipelines`}),`\n`,_jsx(_components.li,{children:`Track test results over time to monitor performance trends`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`scale`,children:`Scale`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Step 9: Scale Gradually`})}),`\n`,_jsx(_components.p,{children:`As adoption grows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Extend the number of datasets`}),` available in the agent`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make documentation and rules modular`}),` to support scalability`]}),`\n`,_jsx(_components.li,{children:`Add new domains incrementally, following the same process`}),`\n`,_jsx(_components.li,{children:`Maintain the same quality standards as you expand`}),`\n`]})]})}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":"Playbook","description":"A step-by-step guide to building and maintaining effective context for your analytics agent.","href":"/dazense-agent/context-engineering/playbook","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Getting Started with Context Engineering","slug":"getting-started-with-context-engineering","depth":2,"children":[]},{"title":"First POC on small, reliable context","slug":"first-poc-on-small-reliable-context","depth":2,"children":[]},{"title":"Measure, test and iterate","slug":"measure-test-and-iterate","depth":2,"children":[]},{"title":"Scale","slug":"scale","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"metazense","siteName":"dazense Docs","title":"Playbook - dazense Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-17T17:39:47.140Z","originalFileLocation":"dazense-agent/context-engineering/playbook.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=\"A step-by-step guide to building and maintaining effective context for your analytics agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"dazense Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_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/metazense/T4pdg4NCwFzOZzWk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Playbook - dazense Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"A step-by-step guide to building and maintaining effective context for your analytics agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"dazense Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://metazense.mintlify.app/_mintlify/api/og/v2?division=Context+engineering\u0026amp;title=Playbook\u0026amp;description=A+step-by-step+guide+to+building+and+maintaining+effective+context+for+your+analytics+agent.\u0026amp;theme=a8f8a3b2bbc1bd25d1908c82\u0026amp;signature=472a810513f0f62399492c2e8173c33f1f796f22d368739a8d9a328fa5084a43\">\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=\"Playbook - dazense Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A step-by-step guide to building and maintaining effective context for your analytics agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://metazense.mintlify.app/_mintlify/api/og/v2?division=Context+engineering\u0026amp;title=Playbook\u0026amp;description=A+step-by-step+guide+to+building+and+maintaining+effective+context+for+your+analytics+agent.\u0026amp;theme=a8f8a3b2bbc1bd25d1908c82\u0026amp;signature=472a810513f0f62399492c2e8173c33f1f796f22d368739a8d9a328fa5084a43\">\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/metazense/T4pdg4NCwFzOZzWk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"dazense Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8142FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dazense-agent/context-engineering/playbook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://dadocs.metazense.com/#organization\",\"name\":\"dazense Docs\",\"url\":\"https://dadocs.metazense.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/metazense/BYtGBx6bW3ch1QPG/assets/logo.png?fit=max\u0026auto=format\u0026n=BYtGBx6bW3ch1QPG\u0026q=85\u0026s=e0fb61e4eb646ba3b616fe3de6b24c2e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://dadocs.metazense.com#website\",\"name\":\"dazense Docs\",\"url\":\"https://dadocs.metazense.com\",\"publisher\":{\"@id\":\"https://dadocs.metazense.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook#webpage\",\"url\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook\",\"name\":\"Playbook\",\"description\":\"A step-by-step guide to building and maintaining effective context for your analytics agent.\",\"dateModified\":\"2026-02-17T17:39:47.140Z\",\"isPartOf\":{\"@id\":\"https://dadocs.metazense.com#website\"},\"breadcrumb\":{\"@id\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Context engineering\",\"item\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/principles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Playbook\",\"item\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook#article\",\"headline\":\"Playbook\",\"name\":\"Playbook\",\"description\":\"A step-by-step guide to building and maintaining effective context for your analytics agent.\",\"url\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook\",\"mainEntityOfPage\":{\"@id\":\"https://dadocs.metazense.com/dazense-agent/context-engineering/playbook#webpage\"},\"dateModified\":\"2026-02-17T17:39:47.140Z\",\"publisher\":{\"@id\":\"https://dadocs.metazense.com/#organization\"},\"isPartOf\":{\"@id\":\"https://dadocs.metazense.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"dazense Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"dazense Docs","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"dazense Agent","groups":[{"group":"Get started","pages":[{"title":"Quickstart","href":"/dazense-agent/quickstart"},{"title":"Watch Demo","href":"/dazense-agent/demo"}]},{"group":"Chat","pages":[{"title":"Overview","href":"/dazense-agent/chat/overview"},{"title":"Capabilities","href":"/dazense-agent/chat/capabilities"},{"title":"Slack Bot","href":"/dazense-agent/chat/slack"},{"title":"Setup","href":"/dazense-agent/chat/admin/setup"},{"title":"Monitoring","href":"/dazense-agent/chat/admin/monitoring"}]},{"group":"Context builder","pages":[{"title":"Overview","href":"/dazense-agent/context-builder/overview"},{"title":"Configuration","href":"/dazense-agent/context-builder/configuration"},{"title":"Databases","href":"/dazense-agent/context-builder/databases"},{"title":"Repositories","href":"/dazense-agent/context-builder/repos"},{"title":"Git Repository","href":"/dazense-agent/context-builder/git-repository"},{"title":"Custom Context","href":"/dazense-agent/context-builder/custom-context"},{"title":"Rules Context","href":"/dazense-agent/context-builder/rules-context"},{"title":"Synchronization","href":"/dazense-agent/context-builder/synchronization"}]},{"group":"Semantic layer","pages":[{"title":"Semantic Layer","href":"/dazense-agent/semantic-layer"},{"title":"Business Rules","href":"/dazense-agent/business-rules"}]},{"group":"Trusted Analytics","pages":[{"title":"Operating Modes","href":"/dazense-agent/trusted-analytics/operating-modes"},{"title":"Trusted Analytics V1","href":"/dazense-agent/trusted-analytics/v1-overview"},{"title":"Trusted Analytics V2 (OpenMetadata)","href":"/dazense-agent/trusted-analytics/v2-openmetadata"},{"title":"Validation and Testing","href":"/dazense-agent/trusted-analytics/validation-and-testing"}]},{"group":"Context engineering","pages":[{"title":"Context Engineering Principles","description":"Optimize your analytics agent's context for reliability, speed, and cost.","href":"/dazense-agent/context-engineering/principles"},{"title":"Playbook","href":"/dazense-agent/context-engineering/playbook"},{"title":"Evaluation","description":"Measure and improve your agent's performance with unit tests using the dazense test command.","href":"/dazense-agent/context-engineering/evaluation"}]},{"group":"Cloud \u0026 developers","pages":[{"title":"dazense Cloud","href":"/dazense-agent/cloud/overview"},{"title":"Contributing to dazense","href":"/dazense-agent/developers/overview"}]},{"group":"Self-hosting","pages":[{"title":"Deployment Guide","href":"/dazense-agent/self-hosting/deployment-guide"}]}]},{"tab":"dazense IDE","pages":[{"title":"dazense IDE","href":"/dazense-ide/get-started/welcome"}]}]},"title":"Playbook - dazense Docs","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}