Choose an agent, mode, instructions, and appearance for your work
A space is your configuration for working with an agent. It chooses the provider and mode, along with instructions and appearance.Switch spaces from the navigation rail. A workspace is the directory a Code agent works in; a space is the experience you use to work with that agent.
A space’s system prompt provides guidance for its runs. Use it for preferences such as writing style, review expectations, or how to approach a task.Repository instructions and skills still follow the selected provider’s discovery rules. A space prompt does not replace those files or expand the provider’s permissions.
Choose the model, effort, thinking, and permissions supported by the provider in the composer. Each conversation keeps its own settings.New chats inherit your last explicitly chosen settings for that provider on that backend. Opening an older conversation does not change the defaults for new ones. Plan and Goal are conversation-specific choices.
A run keeps the mode it started with when you continue or fork it. Changing a space’s mode applies to new conversations; it does not turn an existing Chat run into a writable Work run.Atlas uses a Work experience for Page chats without changing your space’s saved mode. Leaving Atlas returns you to your previous experience.
Use Settings → Appearance for themes, accents, and fonts. You can choose a separate look for each provider.Use Settings → General → Active agents to control which runtimes appear in the picker. Account sign-in and provider configuration live in their respective Settings sections.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mains","description":"Code, Work, and Chat with AI agents in Mains, with Atlas and connected task context","colors":{"primary":"#878580","light":"#fff","dark":"#0C0C0C"},"logo":{"light":"https://mintcdn.com/truelaurel/5xCc2j6h7zMlnmQQ/images/docs.png?fit=max\u0026auto=format\u0026n=5xCc2j6h7zMlnmQQ\u0026q=85\u0026s=586a97bae16dc9d71532c86534535906","dark":"https://mintcdn.com/truelaurel/5xCc2j6h7zMlnmQQ/images/docs.png?fit=max\u0026auto=format\u0026n=5xCc2j6h7zMlnmQQ\u0026q=85\u0026s=586a97bae16dc9d71532c86534535906"},"favicon":"https://mintcdn.com/truelaurel/b8FimJWSWgesRQSk/favicon.svg?fit=max\u0026auto=format\u0026n=b8FimJWSWgesRQSk\u0026q=85\u0026s=03d7b53377c5ffeb60b5c440bf3ba4a6","appearance":{"default":"system"},"background":{"color":{"dark":"#0C0C0C"}},"navbar":{"links":[{"href":"https://mains.dev","label":"Website"},{"href":"mailto:team@mains.dev","label":"Support"}],"primary":{"type":"button","label":"Download","href":"https://github.com/mainsdotdev/mains/releases/latest"}},"footer":{"socials":{"github":"https://github.com/mainsdotdev/mains"}},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"truelaurel","hasAudioNarration":false,"actualSubdomain":"truelaurel","customDomains":["docs.mains.dev"],"gitSource":{"type":"github","owner":"mainsdotdev","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae03dfe87a96311da527476","collectionId":"67508890-d3aa-47a1-b62f-29d92008dcd0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae03dfe87a96311da527476"},"entitlements":{},"buildId":"6ae03dfe87a96311da527476","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Guides","count":46},{"language":"default","tag":"Integrations","count":13},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"Code workflow","count":10},{"language":"default","tag":"Connections","count":8},{"language":"default","tag":"Core concepts","count":7},{"language":"default","tag":"Working with agents","count":6},{"language":"default","tag":"Mains Connect","count":6},{"language":"default","tag":"Codex","count":5},{"language":"default","tag":"Extend your agents","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"vite-origin","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":true},"customCss":[],"page":{"pagePath":"spaces","slug":"/spaces","pageMetadata":{"title":"Spaces","description":"Choose an agent, mode, instructions, and appearance for your work","icon":"layer-group","href":"/spaces"},"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: \"Choose an agent, mode, instructions, and appearance for your work\"\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`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A space is your configuration for working with an agent. It chooses the `,_jsx(_components.strong,{children:`provider`}),` and `,_jsx(_components.strong,{children:`mode`}),`, along with instructions and appearance.`]}),`\n`,_jsx(_components.p,{children:`Switch spaces from the navigation rail. A workspace is the directory a Code agent works in; a space is the experience you use to work with that agent.`}),`\n`,_jsx(Heading,{level:`2`,id:`choose-a-provider-and-mode`,children:`Choose a provider and mode`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Provider`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Work`}),_jsx(_components.th,{children:`Chat`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Claude Code`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenAI Codex`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GitHub Copilot`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cursor`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`—`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Open the space customizer to choose a supported `,_jsx(_components.a,{href:`/modes`,children:`mode`}),`, edit its instructions, and change its name, icon, or theme.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-instructions`,children:`Add instructions`}),`\n`,_jsx(_components.p,{children:`A space’s system prompt provides guidance for its runs. Use it for preferences such as writing style, review expectations, or how to approach a task.`}),`\n`,_jsxs(_components.p,{children:[`Repository instructions and `,_jsx(_components.a,{href:`/skills`,children:`skills`}),` still follow the selected provider’s discovery rules. A space prompt does not replace those files or expand the provider’s permissions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`conversation-settings`,children:`Conversation settings`}),`\n`,_jsx(_components.p,{children:`Choose the model, effort, thinking, and permissions supported by the provider in the composer. Each conversation keeps its own settings.`}),`\n`,_jsx(_components.p,{children:`New chats inherit your last explicitly chosen settings for that provider on that backend. Opening an older conversation does not change the defaults for new ones. Plan and Goal are conversation-specific choices.`}),`\n`,_jsx(Heading,{level:`2`,id:`changing-a-mode`,children:`Changing a mode`}),`\n`,_jsx(_components.p,{children:`A run keeps the mode it started with when you continue or fork it. Changing a space’s mode applies to new conversations; it does not turn an existing Chat run into a writable Work run.`}),`\n`,_jsx(_components.p,{children:`Atlas uses a Work experience for Page chats without changing your space’s saved mode. Leaving Atlas returns you to your previous experience.`}),`\n`,_jsx(Heading,{level:`2`,id:`appearance-and-enabled-agents`,children:`Appearance and enabled agents`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Settings → Appearance`}),` for themes, accents, and fonts. You can choose a separate look for each provider.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Settings → General → Active agents`}),` to control which runtimes appear in the picker. Account sign-in and provider configuration live in their respective Settings sections.`]})]})}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":"Spaces","description":"Choose an agent, mode, instructions, and appearance for your work","icon":"layer-group","href":"/spaces"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose a provider and mode","slug":"choose-a-provider-and-mode","depth":2,"children":[]},{"title":"Add instructions","slug":"add-instructions","depth":2,"children":[]},{"title":"Conversation settings","slug":"conversation-settings","depth":2,"children":[]},{"title":"Changing a mode","slug":"changing-a-mode","depth":2,"children":[]},{"title":"Appearance and enabled agents","slug":"appearance-and-enabled-agents","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"truelaurel","siteName":"Mains","title":"Spaces - Mains","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-11T23:54:06.916Z","originalFileLocation":"spaces.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=\"Choose an agent, mode, instructions, and appearance for your work\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mains\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_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/truelaurel/NVSVhGTCMe3yQpu6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Spaces - Mains\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose an agent, mode, instructions, and appearance for your work\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mains\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mains.dev/spaces\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://truelaurel.mintlify.app/_mintlify/api/og/v2?division=Core+concepts\u0026amp;title=Spaces\u0026amp;description=Choose+an+agent%2C+mode%2C+instructions%2C+and+appearance+for+your+work\u0026amp;theme=bc054ea503af9c21eb79f93d\u0026amp;signature=349397f87fe8bc6a9af68ba81a1d8479a4c51e7dcb6686205f852613b8d1d819\">\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=\"Spaces - Mains\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose an agent, mode, instructions, and appearance for your work\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://truelaurel.mintlify.app/_mintlify/api/og/v2?division=Core+concepts\u0026amp;title=Spaces\u0026amp;description=Choose+an+agent%2C+mode%2C+instructions%2C+and+appearance+for+your+work\u0026amp;theme=bc054ea503af9c21eb79f93d\u0026amp;signature=349397f87fe8bc6a9af68ba81a1d8479a4c51e7dcb6686205f852613b8d1d819\">\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/truelaurel/NVSVhGTCMe3yQpu6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mains\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#878580\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mains.dev/spaces\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/spaces.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mains.dev/#organization\",\"name\":\"Mains\",\"url\":\"https://docs.mains.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/truelaurel/5xCc2j6h7zMlnmQQ/images/docs.png?fit=max\u0026auto=format\u0026n=5xCc2j6h7zMlnmQQ\u0026q=85\u0026s=586a97bae16dc9d71532c86534535906\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mains.dev#website\",\"name\":\"Mains\",\"url\":\"https://docs.mains.dev\",\"publisher\":{\"@id\":\"https://docs.mains.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mains.dev/spaces#webpage\",\"url\":\"https://docs.mains.dev/spaces\",\"name\":\"Spaces\",\"description\":\"Choose an agent, mode, instructions, and appearance for your work\",\"dateModified\":\"2026-10-11T23:54:06.916Z\",\"isPartOf\":{\"@id\":\"https://docs.mains.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mains.dev/spaces#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mains.dev/spaces#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mains\",\"item\":\"https://docs.mains.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spaces\",\"item\":\"https://docs.mains.dev/spaces\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mains.dev/spaces#article\",\"headline\":\"Spaces\",\"name\":\"Spaces\",\"description\":\"Choose an agent, mode, instructions, and appearance for your work\",\"url\":\"https://docs.mains.dev/spaces\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mains.dev/spaces#webpage\"},\"dateModified\":\"2026-10-11T23:54:06.916Z\",\"publisher\":{\"@id\":\"https://docs.mains.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mains.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mains\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mains","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","icon":"house","href":"/introduction"},{"title":"Install Mains","icon":"download","href":"/install"},{"title":"Quickstart","description":"Start a Code, Work, or Chat conversation and review the result","icon":"bolt","href":"/quickstart"}]},{"group":"Core concepts","pages":[{"title":"Spaces","icon":"layer-group","href":"/spaces"},{"title":"Code, Work, and Chat","description":"Choose the tools and interface that match your task","icon":"sliders","href":"/modes"},{"title":"Projects","icon":"diagram-project","href":"/projects"},{"title":"Workspaces","icon":"folder-open","href":"/workspaces"},{"title":"Collections and sources","icon":"folder-open","href":"/collections"},{"title":"Runs and conversations","icon":"wave-pulse","href":"/runs"},{"title":"Multiple sessions","icon":"comments","href":"/multi-session"}]},{"group":"Atlas","pages":[{"title":"Atlas","icon":"book-open","href":"/atlas"},{"title":"Atlas Pages","icon":"file-lines","href":"/pages"},{"title":"Documents and deliverables","icon":"file","href":"/documents"}]},{"group":"Working with agents","pages":[{"title":"Context and attachments","icon":"paperclip","href":"/context-injection"},{"title":"Approvals and questions","icon":"hand","href":"/approvals"},{"title":"Voice conversations","icon":"microphone","href":"/voice"},{"title":"In-app browser","icon":"globe","href":"/browser"},{"title":"Lens","icon":"camera","href":"/lens"},{"title":"Search","icon":"magnifying-glass","href":"/search"}]},{"group":"Code workflow","pages":[{"title":"Code workflow","icon":"route","href":"/workflow"},{"title":"Files and editor","icon":"folder-tree","href":"/file-explorer"},{"title":"Review changes","icon":"code-compare","href":"/diff-viewer"},{"title":"Turn changes and Undo","icon":"rotate-left","href":"/turn-changes"},{"title":"Git actions","icon":"code-branch","href":"/git-actions"},{"title":"Linked tasks","icon":"link","href":"/linked-tasks"},{"title":"Tasks","icon":"list-check","href":"/tasks"},{"title":"Pull request review","icon":"code-pull-request","href":"/pull-requests"},{"title":"Agent code reviews","icon":"comment-dots","href":"/reviews"},{"title":"Terminal","icon":"terminal","href":"/terminal"}]},{"group":"Scheduling","pages":[{"title":"Pulse","icon":"clock","href":"/pulse"},{"title":"Connection auto sync","icon":"arrows-rotate","href":"/automations"}]},{"group":"Mains Connect","pages":[{"title":"Mains Connect","icon":"tower-broadcast","href":"/relay/overview"},{"title":"Share this machine","icon":"desktop","href":"/relay/share-this-machine"},{"title":"SSH tunnel","icon":"terminal","href":"/relay/ssh-tunnel"},{"title":"Direct connection","icon":"network-wired","href":"/relay/direct-connection"},{"title":"Mains Server","icon":"server","href":"/server"},{"title":"iPhone companion","icon":"mobile-screen","href":"/mobile"}]},{"group":"Bridge","pages":[{"title":"Bridge","icon":"arrows-rotate","href":"/bridge/overview"},{"title":"Get started with Bridge","icon":"right-to-bracket","href":"/bridge/get-started"},{"title":"Work across devices","icon":"laptop","href":"/bridge/work-across-devices"},{"title":"Bridge privacy and security","icon":"lock","href":"/bridge/security"}]},{"group":"Preferences","pages":[{"title":"Settings","icon":"gear","href":"/settings"},{"title":"Keyboard shortcuts","icon":"keyboard","href":"/keyboard-shortcuts"},{"title":"Usage dashboard","icon":"chart-column","href":"/stats"},{"title":"Privacy and data","icon":"shield","href":"/privacy"},{"title":"FAQ and troubleshooting","icon":"circle-question","href":"/faq"}]}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/claude/configuration"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/connections"}]}]},"basePath":"","title":"Spaces - Mains","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":[],"chunks":[]}