const NEUTRAL_BASE_PROMPT: "You are a general-purpose AI agent. Use the available tools to complete the user's task fully and accurately. Be concise. Do not refer to yourself as a coding assistant or CLI." = "You are a general-purpose AI agent. Use the available tools to complete the user's task fully and accurately. Be concise. Do not refer to yourself as a coding assistant or CLI.";
Base prompt the SDK injects when a session is created with neither
systemPrompt nor instructions. Brand-free by design: an SDK session
must not silently inherit the provider coding-agent identity.Exported publicly so consumers (and the P13 facade) can compare against or
extend the exact string.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cognitio Agent SDK","description":"Build agents with tools, conversations, streaming, and structured output. Built on OpenCode.","colors":{"primary":"#26785F","light":"#75B798","dark":"#26785F"},"logo":{"light":"https://mintcdn.com/cognitio-agent/srd9ZY8iFu26ek1X/logo/light.svg?fit=max\u0026auto=format\u0026n=srd9ZY8iFu26ek1X\u0026q=85\u0026s=4e1138ebb35c96512e30906800a24753","dark":"https://mintcdn.com/cognitio-agent/srd9ZY8iFu26ek1X/logo/dark.svg?fit=max\u0026auto=format\u0026n=srd9ZY8iFu26ek1X\u0026q=85\u0026s=6622558dfa45f2ca6a266c8d0c874d40"},"favicon":"https://mintcdn.com/cognitio-agent/srd9ZY8iFu26ek1X/favicon.svg?fit=max\u0026auto=format\u0026n=srd9ZY8iFu26ek1X\u0026q=85\u0026s=001e27737938f0b5dd6a1c3084f47937","navbar":{"links":[{"href":"https://github.com/ozgurugurlu/cognitio-agent-sdk","label":"GitHub"},{"href":"mailto:ugurlu.oozgur@gmail.com","label":"Contact"}]},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cognitio-agent","hasAudioNarration":false,"actualSubdomain":"cognitio-agent","customDomains":[],"gitSource":{"type":"github","owner":"ozgurugurlu","repo":"cognitio-agent-sdk","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6abcbcdc2225218f6ce34654","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Advanced","count":273},{"language":"default","tag":"Protocol types","count":144},{"language":"default","tag":"HTTP endpoints","count":127},{"language":"default","tag":"API Reference","count":118},{"language":"default","tag":"SDK reference","count":116},{"language":"default","tag":"Interfaces","count":50},{"language":"default","tag":"Types","count":43},{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"Functions","count":13},{"language":"default","tag":"Session","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/variables/NEUTRAL_BASE_PROMPT","slug":"/api-reference/variables/NEUTRAL_BASE_PROMPT","pageMetadata":{"title":"Variable: NEUTRAL_BASE_PROMPT","description":"Generated from the public TypeScript API.","href":"/api-reference/variables/NEUTRAL_BASE_PROMPT"},"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: \"Generated from the public TypeScript API.\"\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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` NEUTRAL_BASE_PROMPT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"You are a general-purpose AI agent. Use the available tools to complete the user's task fully and accurately. Be concise. Do not refer to yourself as a coding assistant or CLI.\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"You are a general-purpose AI agent. Use the available tools to complete the user's task fully and accurately. Be concise. Do not refer to yourself as a coding assistant or CLI.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Base prompt the SDK injects when a session is created with neither\n`,_jsx(_components.code,{children:`systemPrompt`}),` nor `,_jsx(_components.code,{children:`instructions`}),`. Brand-free by design: an SDK session\nmust not silently inherit the provider coding-agent identity.`]}),`\n`,_jsx(_components.p,{children:`Exported publicly so consumers (and the P13 facade) can compare against or\nextend the exact string.`})]})}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":"Variable: NEUTRAL_BASE_PROMPT","description":"Generated from the public TypeScript API.","href":"/api-reference/variables/NEUTRAL_BASE_PROMPT"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"cognitio-agent","siteName":"Cognitio Agent SDK","title":"Variable: NEUTRAL_BASE_PROMPT - Cognitio Agent SDK","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T05:05:16.268Z","originalFileLocation":"api-reference/variables/NEUTRAL_BASE_PROMPT.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=\"Generated from the public TypeScript API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cognitio Agent SDK\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_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/cognitio-agent/pQAGuj5PEeiT3Pvk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Variable: NEUTRAL_BASE_PROMPT - Cognitio Agent SDK\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generated from the public TypeScript API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cognitio Agent SDK\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cognitio-agent.mintlify.site/_mintlify/api/og/v2?division=Variables\u0026amp;title=Variable%3A+NEUTRAL_BASE_PROMPT\u0026amp;description=Generated+from+the+public+TypeScript+API.\u0026amp;theme=567da92b682f2fba24b603b6\u0026amp;signature=1ac21e48a0562f8814f2fffc59087a777928e54849f5560cfea2b1f6edc5ac4a\">\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=\"Variable: NEUTRAL_BASE_PROMPT - Cognitio Agent SDK\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generated from the public TypeScript API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cognitio-agent.mintlify.site/_mintlify/api/og/v2?division=Variables\u0026amp;title=Variable%3A+NEUTRAL_BASE_PROMPT\u0026amp;description=Generated+from+the+public+TypeScript+API.\u0026amp;theme=567da92b682f2fba24b603b6\u0026amp;signature=1ac21e48a0562f8814f2fffc59087a777928e54849f5560cfea2b1f6edc5ac4a\">\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/cognitio-agent/pQAGuj5PEeiT3Pvk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cognitio Agent SDK\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26785F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/variables/NEUTRAL_BASE_PROMPT.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cognitio-agent.mintlify.app/#organization\",\"name\":\"Cognitio Agent SDK\",\"url\":\"https://cognitio-agent.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cognitio-agent/srd9ZY8iFu26ek1X/logo/light.svg?fit=max\u0026auto=format\u0026n=srd9ZY8iFu26ek1X\u0026q=85\u0026s=4e1138ebb35c96512e30906800a24753\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cognitio-agent.mintlify.app#website\",\"name\":\"Cognitio Agent SDK\",\"url\":\"https://cognitio-agent.mintlify.app\",\"publisher\":{\"@id\":\"https://cognitio-agent.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT#webpage\",\"url\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT\",\"name\":\"Variable: NEUTRAL_BASE_PROMPT\",\"description\":\"Generated from the public TypeScript API.\",\"dateModified\":\"2026-09-30T05:05:16.268Z\",\"isPartOf\":{\"@id\":\"https://cognitio-agent.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cognitio Agent SDK\",\"item\":\"https://cognitio-agent.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Variable: NEUTRAL_BASE_PROMPT\",\"item\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT#article\",\"headline\":\"Variable: NEUTRAL_BASE_PROMPT\",\"name\":\"Variable: NEUTRAL_BASE_PROMPT\",\"description\":\"Generated from the public TypeScript API.\",\"url\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT\",\"mainEntityOfPage\":{\"@id\":\"https://cognitio-agent.mintlify.app/api-reference/variables/NEUTRAL_BASE_PROMPT#webpage\"},\"dateModified\":\"2026-09-30T05:05:16.268Z\",\"publisher\":{\"@id\":\"https://cognitio-agent.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://cognitio-agent.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cognitio Agent SDK\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Cognitio Agent SDK","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"SDK reference","groups":[{"group":"Overview","pages":[{"title":"SDK reference","href":"/api-reference"}]},{"group":"Classes","pages":[{"title":"Class: Agent","href":"/api-reference/classes/Agent"},{"title":"Class: Session","href":"/api-reference/classes/Session"}]},{"group":"Functions","pages":[{"title":"Function: claudeCompat()","href":"/api-reference/functions/claudeCompat"},{"title":"Function: createAgentClient()","href":"/api-reference/functions/createAgentClient"},{"title":"Function: createSdkMcpServer()","href":"/api-reference/functions/createSdkMcpServer"},{"title":"Function: defineAgent()","href":"/api-reference/functions/defineAgent"},{"title":"Function: defineCommand()","href":"/api-reference/functions/defineCommand"},{"title":"Function: defineHook()","href":"/api-reference/functions/defineHook"},{"title":"Function: defineOutputFormat()","href":"/api-reference/functions/defineOutputFormat"},{"title":"Function: definePlugin()","href":"/api-reference/functions/definePlugin"},{"title":"Function: defineSkill()","href":"/api-reference/functions/defineSkill"},{"title":"Function: defineTool()","href":"/api-reference/functions/defineTool"},{"title":"Function: isSdkError()","href":"/api-reference/functions/isSdkError"},{"title":"Function: query()","href":"/api-reference/functions/query"},{"title":"Function: shutdown()","href":"/api-reference/functions/shutdown"}]},{"group":"Interfaces","pages":[{"title":"Interface: AgentClient","href":"/api-reference/interfaces/AgentClient"},{"title":"Interface: AgentDefinition","href":"/api-reference/interfaces/AgentDefinition"},{"title":"Interface: AgentOptions","href":"/api-reference/interfaces/AgentOptions"},{"title":"Interface: AgentSessionOptions","href":"/api-reference/interfaces/AgentSessionOptions"},{"title":"Interface: AgentStream","href":"/api-reference/interfaces/AgentStream"},{"title":"Interface: AgentStreamOptions","href":"/api-reference/interfaces/AgentStreamOptions"},{"title":"Interface: AppliedSettings","href":"/api-reference/interfaces/AppliedSettings"},{"title":"Interface: CheckpointHandle","href":"/api-reference/interfaces/CheckpointHandle"},{"title":"Interface: CheckpointingConfig","href":"/api-reference/interfaces/CheckpointingConfig"},{"title":"Interface: ClaudePluginSpec","href":"/api-reference/interfaces/ClaudePluginSpec"},{"title":"Interface: ClientOptions","href":"/api-reference/interfaces/ClientOptions"},{"title":"Interface: CommandDefinition","href":"/api-reference/interfaces/CommandDefinition"},{"title":"Interface: CompactResult","href":"/api-reference/interfaces/CompactResult"},{"title":"Interface: ControlOptions","href":"/api-reference/interfaces/ControlOptions"},{"title":"Interface: HookEntry\u003cEvent>","href":"/api-reference/interfaces/HookEntry"},{"title":"Interface: HookEventPayload\u003cEvent>","href":"/api-reference/interfaces/HookEventPayload"},{"title":"Interface: HookResult","href":"/api-reference/interfaces/HookResult"},{"title":"Interface: InlinePluginSpec","href":"/api-reference/interfaces/InlinePluginSpec"},{"title":"Interface: LocalMcpServer","href":"/api-reference/interfaces/LocalMcpServer"},{"title":"Interface: McpPromptDefinition","href":"/api-reference/interfaces/McpPromptDefinition"},{"title":"Interface: McpResourceDefinition","href":"/api-reference/interfaces/McpResourceDefinition"},{"title":"Interface: ModelUsageSummary","href":"/api-reference/interfaces/ModelUsageSummary"},{"title":"Interface: OutputFormatSpec\u003cOutput>","href":"/api-reference/interfaces/OutputFormatSpec"},{"title":"Interface: PostCompactHookData","href":"/api-reference/interfaces/PostCompactHookData"},{"title":"Interface: PreCompactHookData","href":"/api-reference/interfaces/PreCompactHookData"},{"title":"Interface: PromptTurn","href":"/api-reference/interfaces/PromptTurn"},{"title":"Interface: QueryOptions","href":"/api-reference/interfaces/QueryOptions"},{"title":"Interface: RateLimitEvent","href":"/api-reference/interfaces/RateLimitEvent"},{"title":"Interface: RemoteMcpServer","href":"/api-reference/interfaces/RemoteMcpServer"},{"title":"Interface: ResultMessage","href":"/api-reference/interfaces/ResultMessage"},{"title":"Interface: RunOptions","href":"/api-reference/interfaces/RunOptions"},{"title":"Interface: RunResult","href":"/api-reference/interfaces/RunResult"},{"title":"Interface: RuntimeConfig","href":"/api-reference/interfaces/RuntimeConfig"},{"title":"Interface: SdkError","href":"/api-reference/interfaces/SdkError"},{"title":"Interface: SdkMcpServer","href":"/api-reference/interfaces/SdkMcpServer"},{"title":"Interface: SessionContext","href":"/api-reference/interfaces/SessionContext"},{"title":"Interface: SessionCreateOptions","href":"/api-reference/interfaces/SessionCreateOptions"},{"title":"Interface: SessionListFilter","href":"/api-reference/interfaces/SessionListFilter"},{"title":"Interface: SessionNamespace","href":"/api-reference/interfaces/SessionNamespace"},{"title":"Interface: SessionResumeOptions","href":"/api-reference/interfaces/SessionResumeOptions"},{"title":"Interface: SessionUsage","href":"/api-reference/interfaces/SessionUsage"},{"title":"Interface: SkillDefinition","href":"/api-reference/interfaces/SkillDefinition"},{"title":"Interface: SpawnOptions","href":"/api-reference/interfaces/SpawnOptions"},{"title":"Interface: StreamOptions","href":"/api-reference/interfaces/StreamOptions"},{"title":"Interface: TaskNotificationEvent","href":"/api-reference/interfaces/TaskNotificationEvent"},{"title":"Interface: TaskProgressEvent","href":"/api-reference/interfaces/TaskProgressEvent"},{"title":"Interface: TaskStartedEvent","href":"/api-reference/interfaces/TaskStartedEvent"},{"title":"Interface: TaskStoppedEvent","href":"/api-reference/interfaces/TaskStoppedEvent"},{"title":"Interface: ToolContext","href":"/api-reference/interfaces/ToolContext"},{"title":"Interface: UsageSummary","href":"/api-reference/interfaces/UsageSummary"}]},{"group":"Types","pages":[{"title":"Type Alias: AgentMessage","href":"/api-reference/type-aliases/AgentMessage"},{"title":"Type Alias: AnthropicModelId","href":"/api-reference/type-aliases/AnthropicModelId"},{"title":"Type Alias: ApiAuth","href":"/api-reference/type-aliases/ApiAuth"},{"title":"Type Alias: Auth","href":"/api-reference/type-aliases/Auth"},{"title":"Type Alias: AuthContent","href":"/api-reference/type-aliases/AuthContent"},{"title":"Type Alias: CanUseToolCallback","href":"/api-reference/type-aliases/CanUseToolCallback"},{"title":"Type Alias: CognitioConfig","href":"/api-reference/type-aliases/CognitioConfig"},{"title":"Type Alias: CognitioEvent","href":"/api-reference/type-aliases/CognitioEvent"},{"title":"Type Alias: CognitioMessage","href":"/api-reference/type-aliases/CognitioMessage"},{"title":"Type Alias: CognitioPart","href":"/api-reference/type-aliases/CognitioPart"},{"title":"Type Alias: CognitioSession","href":"/api-reference/type-aliases/CognitioSession"},{"title":"Type Alias: DeepseekModelId","href":"/api-reference/type-aliases/DeepseekModelId"},{"title":"Type Alias: ExternalMcpServer","href":"/api-reference/type-aliases/ExternalMcpServer"},{"title":"Type Alias: GoogleModelId","href":"/api-reference/type-aliases/GoogleModelId"},{"title":"Type Alias: GroqModelId","href":"/api-reference/type-aliases/GroqModelId"},{"title":"Type Alias: HookCallback\u003cEvent>","href":"/api-reference/type-aliases/HookCallback"},{"title":"Type Alias: HookData\u003cEvent>","href":"/api-reference/type-aliases/HookData"},{"title":"Type Alias: HookEventName","href":"/api-reference/type-aliases/HookEventName"},{"title":"Type Alias: HookRegistration","href":"/api-reference/type-aliases/HookRegistration"},{"title":"Type Alias: KnownModelId","href":"/api-reference/type-aliases/KnownModelId"},{"title":"Type Alias: MistralModelId","href":"/api-reference/type-aliases/MistralModelId"},{"title":"Type Alias: ModelId","href":"/api-reference/type-aliases/ModelId"},{"title":"Type Alias: OAuth","href":"/api-reference/type-aliases/OAuth"},{"title":"Type Alias: OpenaiModelId","href":"/api-reference/type-aliases/OpenaiModelId"},{"title":"Type Alias: OutputOf\u003cFormat>","href":"/api-reference/type-aliases/OutputOf"},{"title":"Type Alias: PermissionDecision","href":"/api-reference/type-aliases/PermissionDecision"},{"title":"Type Alias: PermissionMode","href":"/api-reference/type-aliases/PermissionMode"},{"title":"Type Alias: PermissionRuleset","href":"/api-reference/type-aliases/PermissionRuleset"},{"title":"Type Alias: PluginSpec","href":"/api-reference/type-aliases/PluginSpec"},{"title":"Type Alias: PromptInput","href":"/api-reference/type-aliases/PromptInput"},{"title":"Type Alias: PromptPart","href":"/api-reference/type-aliases/PromptPart"},{"title":"Type Alias: Query","href":"/api-reference/type-aliases/Query"},{"title":"Type Alias: RewindResult","href":"/api-reference/type-aliases/RewindResult"},{"title":"Type Alias: RuntimeMcpServer","href":"/api-reference/type-aliases/RuntimeMcpServer"},{"title":"Type Alias: SdkErrorKind","href":"/api-reference/type-aliases/SdkErrorKind"},{"title":"Type Alias: SpawnServerRequest","href":"/api-reference/type-aliases/SpawnServerRequest"},{"title":"Type Alias: SystemPromptSpec","href":"/api-reference/type-aliases/SystemPromptSpec"},{"title":"Type Alias: ThinkingConfig","href":"/api-reference/type-aliases/ThinkingConfig"},{"title":"Type Alias: TodoItem","href":"/api-reference/type-aliases/TodoItem"},{"title":"Type Alias: ToolDefinition\u003cInput, Output>","href":"/api-reference/type-aliases/ToolDefinition"},{"title":"Type Alias: TransportKind","href":"/api-reference/type-aliases/TransportKind"},{"title":"Type Alias: WellKnownAuth","href":"/api-reference/type-aliases/WellKnownAuth"},{"title":"Type Alias: XaiModelId","description":"Generated from the public TypeScript API.","href":"/api-reference/type-aliases/XaiModelId"}]},{"group":"Variables","pages":[{"title":"Variable: NEUTRAL_BASE_PROMPT","href":"/api-reference/variables/NEUTRAL_BASE_PROMPT"},{"title":"Variable: PermissionDecision","description":"Generated from the public TypeScript API.","href":"/api-reference/variables/PermissionDecision"},{"title":"Variable: models","href":"/api-reference/variables/models"}]},{"group":"Supporting","pages":[{"title":"PermissionDecision","href":"/api-reference/supporting/PermissionDecision"},{"title":"SdkMcpHost","href":"/api-reference/supporting/SdkMcpHost"},{"title":"ToolContext","href":"/api-reference/supporting/ToolContext"},{"title":"ToolDefinitionBase","href":"/api-reference/supporting/ToolDefinitionBase"}]}]},{"tab":"Advanced","pages":[{"title":"Advanced","href":"/http-api/overview"}]}]},"basePath":"","title":"Variable: NEUTRAL_BASE_PROMPT - Cognitio Agent SDK","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}