Create and edit persistent agent instructions in the thread tree.
AGENTS.md is a persistent instruction file for a scope in the thread tree. Use it for rules that should apply to new turns in a workspace area, such as project conventions, preferred tools, review rules, naming conventions, safety constraints, or recurring context.Unlike an uploaded attachment, AGENTS.md is not a file you attach to one message. It is stored by the gateway as thread-tree metadata and applied automatically when Pioneer builds prompt context for a thread.
There can be one AGENTS.md at the thread tree root and one AGENTS.md in each folder.To create or edit the root file, right-click an empty area of the thread sidebar and choose Create AGENTS.md or Edit AGENTS.md.To create or edit a folder file, right-click the folder and choose Create AGENTS.md or Edit AGENTS.md.When a file exists or is open, Pioneer shows it as an AGENTS.md row in the sidebar tree. Click that row to open the editor in the main area, next to the sidebar, like a normal IDE file.
Threads use the nearest active AGENTS.md in their folder ancestry.For example:
Thread root AGENTS.md applies everywhere by default Home Weekly groceries inherits root AGENTS.md AGENTS.md overrides root for Home Meal planning Dinner ideas inherits Home AGENTS.md
If a folder does not have its own active file, Pioneer keeps walking up to the parent folder and then to the root. You do not need to create an empty file in a folder just to inherit the root file.
Only non-empty saved files are active. An empty saved AGENTS.md is a draft.A draft can appear in the sidebar and can be edited or deleted, but it is not injected into the prompt. If a folder only has a draft, threads in that folder still inherit the nearest active parent file.To remove a file, right-click the AGENTS.md row or the owning folder and choose Delete AGENTS.md.
The editor autosaves as you type. The status in the editor header shows whether the buffer is clean, dirty, saving, saved, or in conflict.If another client changes the same file while you are editing, Pioneer detects the version conflict. You can reload the remote version or overwrite it with your local buffer.
Write instructions that should remain stable for the folder scope:
# Home instructions- Prefer practical options over long research summaries.- Ask before making plans that affect other family members.- Keep shopping lists grouped by store section.- When suggesting meals, account for weeknight prep time.
Good AGENTS.md files are specific and operational. Avoid long background essays. Put one-off rules in the message instead.
Explicit instructions in your current message override AGENTS.md. Use the file for defaults, and use the prompt for one-off exceptions.
AGENTS.md belongs to the gateway workspace. If your desktop is connected to a remote gateway, creating or editing the file changes the remote gateway state. Other clients connected to the same gateway see the same sidebar file and receive change notifications.
AGENTS.md API documents the JSON-RPC methods and notifications.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pioneer","colors":{"primary":"#1071FF","light":"#1071FF","dark":"#1071FF"},"logo":{"light":"https://mintcdn.com/pioneer-de55fe0a/tZ9pz7n2azdrHkvQ/logo/light.svg?fit=max\u0026auto=format\u0026n=tZ9pz7n2azdrHkvQ\u0026q=85\u0026s=d8d6800d6d5db54cd4de0c15b607985e","dark":"https://mintcdn.com/pioneer-de55fe0a/tZ9pz7n2azdrHkvQ/logo/dark.svg?fit=max\u0026auto=format\u0026n=tZ9pz7n2azdrHkvQ\u0026q=85\u0026s=85c34d5080e7ae8ac47648719071987a"},"favicon":"https://mintcdn.com/pioneer-de55fe0a/tZ9pz7n2azdrHkvQ/favicon.svg?fit=max\u0026auto=format\u0026n=tZ9pz7n2azdrHkvQ\u0026q=85\u0026s=ef99e0f25527be4b2420f0a42e0fba0d","navbar":{"links":[{"href":"https://github.com/pioneerdotai/pioneer","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/pioneerdotai/pioneer"}},"contextual":{"options":["copy","view","claude","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pioneer-de55fe0a","hasAudioNarration":false,"actualSubdomain":"pioneer-de55fe0a","customDomains":["docs.getpioneer.dev"],"gitSource":{"type":"github","owner":"pioneerdotai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac3800597e99dac9a9a72d3","collectionId":"4b62170d-9ca5-4ddb-b60d-c7af85af8524","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac3800597e99dac9a9a72d3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac3800597e99dac9a9a72d3","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"User Guide","count":33},{"language":"default","tag":"Architecture","count":27},{"language":"default","tag":"Protocol Reference","count":17},{"language":"default","tag":"Subsystems","count":15},{"language":"default","tag":"Features","count":11},{"language":"default","tag":"Core Systems","count":9},{"language":"default","tag":"Desktop App","count":9},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Workspace \u0026 Threads","count":5},{"language":"default","tag":"Skills","count":5}]},"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":"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":"billing-updated-9-15","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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"desktop/agents-md","slug":"/desktop/agents-md","pageMetadata":{"title":"AGENTS.md","description":"Create and edit persistent agent instructions in the thread tree.","icon":"file-lines","href":"/desktop/agents-md"},"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: \"Create and edit persistent agent instructions in the thread tree.\"\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`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AGENTS.md`}),` is a persistent instruction file for a scope in the thread tree. Use it for rules that should apply to new turns in a workspace area, such as project conventions, preferred tools, review rules, naming conventions, safety constraints, or recurring context.`]}),`\n`,_jsxs(_components.p,{children:[`Unlike an uploaded attachment, `,_jsx(_components.code,{children:`AGENTS.md`}),` is not a file you attach to one message. It is stored by the gateway as thread-tree metadata and applied automatically when Pioneer builds prompt context for a thread.`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-it-lives`,children:`Where it lives`}),`\n`,_jsxs(_components.p,{children:[`There can be one `,_jsx(_components.code,{children:`AGENTS.md`}),` at the thread tree root and one `,_jsx(_components.code,{children:`AGENTS.md`}),` in each folder.`]}),`\n`,_jsxs(_components.p,{children:[`To create or edit the root file, right-click an empty area of the thread sidebar and choose `,_jsx(_components.strong,{children:`Create AGENTS.md`}),` or `,_jsx(_components.strong,{children:`Edit AGENTS.md`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To create or edit a folder file, right-click the folder and choose `,_jsx(_components.strong,{children:`Create AGENTS.md`}),` or `,_jsx(_components.strong,{children:`Edit AGENTS.md`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`When a file exists or is open, Pioneer shows it as an `,_jsx(_components.code,{children:`AGENTS.md`}),` row in the sidebar tree. Click that row to open the editor in the main area, next to the sidebar, like a normal IDE file.`]}),`\n`,_jsx(Heading,{level:`2`,id:`inheritance`,children:`Inheritance`}),`\n`,_jsxs(_components.p,{children:[`Threads use the nearest active `,_jsx(_components.code,{children:`AGENTS.md`}),` in their folder ancestry.`]}),`\n`,_jsx(_components.p,{children:`For example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Thread root`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` AGENTS.md applies everywhere by default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Home`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Weekly groceries inherits root AGENTS.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` AGENTS.md overrides root for Home`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Meal planning`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Dinner ideas inherits Home AGENTS.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`If a folder does not have its own active file, Pioneer keeps walking up to the parent folder and then to the root. You do not need to create an empty file in a folder just to inherit the root file.`}),`\n`,_jsx(Heading,{level:`2`,id:`drafts-and-empty-files`,children:`Drafts and empty files`}),`\n`,_jsxs(_components.p,{children:[`Only non-empty saved files are active. An empty saved `,_jsx(_components.code,{children:`AGENTS.md`}),` is a draft.`]}),`\n`,_jsx(_components.p,{children:`A draft can appear in the sidebar and can be edited or deleted, but it is not injected into the prompt. If a folder only has a draft, threads in that folder still inherit the nearest active parent file.`}),`\n`,_jsxs(_components.p,{children:[`To remove a file, right-click the `,_jsx(_components.code,{children:`AGENTS.md`}),` row or the owning folder and choose `,_jsx(_components.strong,{children:`Delete AGENTS.md`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`editing`,children:`Editing`}),`\n`,_jsx(_components.p,{children:`The editor autosaves as you type. The status in the editor header shows whether the buffer is clean, dirty, saving, saved, or in conflict.`}),`\n`,_jsx(_components.p,{children:`If another client changes the same file while you are editing, Pioneer detects the version conflict. You can reload the remote version or overwrite it with your local buffer.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-put-in-agents-md`,children:`What to put in AGENTS.md`}),`\n`,_jsx(_components.p,{children:`Write instructions that should remain stable for the folder scope:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`markdown`,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:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`# Home instructions`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Prefer practical options over long research summaries.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Ask before making plans that affect other family members.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Keep shopping lists grouped by store section.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` When suggesting meals, account for weeknight prep time.`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Good `,_jsx(_components.code,{children:`AGENTS.md`}),` files are specific and operational. Avoid long background essays. Put one-off rules in the message instead.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Explicit instructions in your current message override `,_jsx(_components.code,{children:`AGENTS.md`}),`. Use the file for defaults, and use the prompt for one-off exceptions.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`remote-gateways`,children:`Remote gateways`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AGENTS.md`}),` belongs to the gateway workspace. If your desktop is connected to a remote gateway, creating or editing the file changes the remote gateway state. Other clients connected to the same gateway see the same sidebar file and receive change notifications.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-pages`,children:`Related pages`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/desktop/threads`,children:`Conversation Timeline`}),` explains how thread state is rendered.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/architecture/agents-md`,children:`AGENTS.md Architecture`}),` explains storage, inheritance, hooks, and prompt injection.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/protocol/agents-md`,children:`AGENTS.md API`}),` documents the JSON-RPC methods and notifications.`]}),`\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":"AGENTS.md","description":"Create and edit persistent agent instructions in the thread tree.","icon":"file-lines","href":"/desktop/agents-md"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where it lives","slug":"where-it-lives","depth":2,"children":[]},{"title":"Inheritance","slug":"inheritance","depth":2,"children":[]},{"title":"Drafts and empty files","slug":"drafts-and-empty-files","depth":2,"children":[]},{"title":"Editing","slug":"editing","depth":2,"children":[]},{"title":"What to put in AGENTS.md","slug":"what-to-put-in-agents-md","depth":2,"children":[]},{"title":"Remote gateways","slug":"remote-gateways","depth":2,"children":[]},{"title":"Related pages","slug":"related-pages","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pioneer-de55fe0a","siteName":"Pioneer","title":"AGENTS.md - Pioneer","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-26T07:20:03.818Z","originalFileLocation":"desktop/agents-md.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=\"Create and edit persistent agent instructions in the thread tree.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pioneer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_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/pioneer-de55fe0a/DnN60egLYTK2Subm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AGENTS.md - Pioneer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and edit persistent agent instructions in the thread tree.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pioneer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getpioneer.dev/desktop/agents-md\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pioneer-de55fe0a.mintlify.app/_mintlify/api/og/v2?division=Desktop+App\u0026amp;title=AGENTS.md\u0026amp;description=Create+and+edit+persistent+agent+instructions+in+the+thread+tree.\u0026amp;theme=a76fe18d0f0f07dff9f24952\u0026amp;signature=dc1c4373d30e031388e88026b980518688dca6db470135e2aacb8efe4cc37acc\">\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=\"AGENTS.md - Pioneer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and edit persistent agent instructions in the thread tree.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pioneer-de55fe0a.mintlify.app/_mintlify/api/og/v2?division=Desktop+App\u0026amp;title=AGENTS.md\u0026amp;description=Create+and+edit+persistent+agent+instructions+in+the+thread+tree.\u0026amp;theme=a76fe18d0f0f07dff9f24952\u0026amp;signature=dc1c4373d30e031388e88026b980518688dca6db470135e2aacb8efe4cc37acc\">\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/pioneer-de55fe0a/DnN60egLYTK2Subm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pioneer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1071FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getpioneer.dev/desktop/agents-md\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/desktop/agents-md.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getpioneer.dev/#organization\",\"name\":\"Pioneer\",\"url\":\"https://docs.getpioneer.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pioneer-de55fe0a/tZ9pz7n2azdrHkvQ/logo/light.svg?fit=max\u0026auto=format\u0026n=tZ9pz7n2azdrHkvQ\u0026q=85\u0026s=d8d6800d6d5db54cd4de0c15b607985e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getpioneer.dev#website\",\"name\":\"Pioneer\",\"url\":\"https://docs.getpioneer.dev\",\"publisher\":{\"@id\":\"https://docs.getpioneer.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getpioneer.dev/desktop/agents-md#webpage\",\"url\":\"https://docs.getpioneer.dev/desktop/agents-md\",\"name\":\"AGENTS.md\",\"description\":\"Create and edit persistent agent instructions in the thread tree.\",\"dateModified\":\"2026-07-26T07:20:03.818Z\",\"isPartOf\":{\"@id\":\"https://docs.getpioneer.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getpioneer.dev/desktop/agents-md#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getpioneer.dev/desktop/agents-md#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Desktop App\",\"item\":\"https://docs.getpioneer.dev/desktop/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AGENTS.md\",\"item\":\"https://docs.getpioneer.dev/desktop/agents-md\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getpioneer.dev/desktop/agents-md#article\",\"headline\":\"AGENTS.md\",\"name\":\"AGENTS.md\",\"description\":\"Create and edit persistent agent instructions in the thread tree.\",\"url\":\"https://docs.getpioneer.dev/desktop/agents-md\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getpioneer.dev/desktop/agents-md#webpage\"},\"dateModified\":\"2026-07-26T07:20:03.818Z\",\"publisher\":{\"@id\":\"https://docs.getpioneer.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getpioneer.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pioneer\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pioneer","nav":{"global":null,"tabs":[{"tab":"User Guide","groups":[{"group":"Getting Started","pages":[{"title":"Pioneer","icon":"rocket","href":""},{"title":"Highlights","icon":"sparkles","href":"/getting-started/highlights"},{"title":"Installation","icon":"download","href":"/getting-started/installation"},{"title":"Quick Start","icon":"bolt","href":"/getting-started/quickstart"},{"title":"Permission Modes","icon":"shield","href":"/getting-started/permissions"},{"title":"Core Concepts","icon":"book","href":"/getting-started/concepts"}]},{"group":"Desktop App","pages":[{"title":"Desktop App Overview","icon":"desktop","href":"/desktop/overview"},{"title":"Account and collaboration","icon":"users","href":"/desktop/account-and-collaboration"},{"title":"Workspace \u0026 Organization","icon":"folder-open","href":"/desktop/workspace"},{"title":"Remote Access","icon":"tower-broadcast","href":"/desktop/remote-access"},{"title":"Conversation Timeline","icon":"messages","href":"/desktop/threads"},{"title":"File viewer","icon":"file-code","href":"/desktop/file-viewer"},{"title":"Memory","description":"How Pioneer remembers useful durable context and how you can control it.","icon":"brain","href":"/desktop/memory"},{"title":"AGENTS.md","icon":"file-lines","href":"/desktop/agents-md"},{"title":"Artifacts","description":"Upload, inspect, preview, download, and reuse files in Pioneer threads.","icon":"box-archive","href":"/desktop/artifacts"}]},{"group":"Mobile App","pages":[{"title":"Mobile App Overview","icon":"mobile-screen-button","href":"/mobile/overview"}]},{"group":"Providers","pages":[{"title":"Providers Overview","icon":"brain","href":"/providers/overview"},{"title":"Supported Providers","icon":"ellipsis","href":"/providers/others"}]},{"group":"Skills","pages":[{"title":"Skills Overview","icon":"puzzle-piece","href":"/skills/overview"},{"title":"Creating Skills","icon":"file-plus","href":"/skills/creating"},{"title":"Installing Skills","icon":"download","href":"/skills/installing"},{"title":"Managing Skills","icon":"sliders","href":"/skills/managing"},{"title":"Skill Security","icon":"shield","href":"/skills/security"}]},{"group":"MCP Servers","pages":[{"title":"MCP Servers Overview","icon":"plug","href":"/mcp/overview"},{"title":"Connecting MCP Servers","icon":"link","href":"/mcp/connecting"},{"title":"MCP Catalog","icon":"list","href":"/mcp/catalog"}]},{"group":"Tasks \u0026 Automation","pages":[{"title":"Tasks \u0026 Automation Overview","icon":"clock","href":"/tasks/overview"},{"title":"Scheduling Tasks","icon":"calendar","href":"/tasks/scheduling"},{"title":"Automation Workflows","icon":"robot","href":"/tasks/automation"}]},{"group":"Configuration","pages":[{"title":"Configuration Overview","icon":"gear","href":"/configuration/overview"},{"title":"Configuration Reference","icon":"list","href":"/configuration/reference"}]},{"group":"CLI","pages":[{"title":"CLI Overview","icon":"terminal","href":"/cli/overview"},{"title":"CLI Commands","icon":"code","href":"/cli/commands"}]}]},{"tab":"Architecture","pages":[{"title":"Architecture","href":"/architecture/overview"}]},{"tab":"Protocol Reference","pages":[{"title":"Protocol Reference","href":"/protocol/introduction"}]}]},"basePath":"","title":"AGENTS.md - Pioneer","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}