Tell AI Builder what you need, and it will create a clinical AI agent for you.
On the create assistant page, Build with AI opens a side chat. You describe the letter you want. The assistant thinks, replies, and fills the writing fields. You still choose Clinic, then save.Nothing in the chat is saved until you press Save as Draft or Save & Activate.
1
Open the create assistant page
Open the create assistant page. Next to the page title you will see Build with AI.
Create assistant page with the Build with AI button next to the title.
2
Describe the assistant
Select Build with AI. A chat panel slides in from the right, and the form stays visible beside it.
Side chat opened from Build with AI.
Type what the assistant should write, then send. Enter sends the message. Shift+Enter adds a new line. A message can be up to 2000 characters.For example:
An ED discharge summary in UK English with sections for presenting complaint, assessment, treatment, plan and safety-net advice.
The chat shows Thinking… this can take up to 30 seconds, then posts a reply.
Prompt sent in the side chat.
3
Review the fields the chat filled
The reply writes into the Assistant Form. A green note under the message lists what changed, for example Updated: Assistant Name, Speciality, Assistant Instructions, Templates, Examples, Dictionary.Those fields are filled for you:
Assistant Name
Speciality
Assistant Instructions
Templates
Examples
Dictionary
The matching tab (Templates, Examples, or Dictionary) is brought forward when that text changes. You can edit any filled field by hand.Send another message to change the draft. The chat updates the same fields from your latest request. New conversation clears the chat so you can start again. Values already written on the form stay until a new reply replaces them.
The chat reply and the form fields it updated.
4
Save the assistant
When the draft looks right, the chat can show Ready to create. Saving is still a separate action on the form:
Save as Draft – Store the assistant without making it available for letters.
Save & Activate – Save it as active and create the workflow for the clinic you selected.
Cancel leaves the page without saving.
Describe one letter type in one message, including the language and the section headings. Use a follow-up message to adjust tone or sections. Choose Clinic yourself before you save.
Next steps
Assistant Library
Return to your assistants after you save.
Create Record
Use an active assistant when you create a record and generate a letter.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MedWrite.ai","colors":{"primary":"#169c97","light":"#2BBEB8","dark":"#117A76"},"logo":{"light":"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b","dark":"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b","href":"https://medwrite.ai/"},"favicon":"https://mintcdn.com/medwriteai/fumn6lG29vGR3bLm/images/website.png?fit=max\u0026auto=format\u0026n=fumn6lG29vGR3bLm\u0026q=85\u0026s=3ead4bf71cbc57ac6b65a0351206a42c","navbar":{"links":[{"href":"https://medwrite.ai/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.medwrite.ai/dashboard"}},"footer":{"socials":{"website":"https://medwrite.ai/","linkedin":"https://linkedin.com/company/medwrite-ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://medwrite.ai/news"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"medwriteai","hasAudioNarration":false,"actualSubdomain":"medwriteai","customDomains":["docs.medwrite.ai"],"gitSource":{"type":"github","owner":"sidebotai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afc36d89a75d401a4040af0","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Guides","count":46},{"language":"default","tag":"Updates","count":10},{"language":"default","tag":"API reference","count":9},{"language":"default","tag":"Output \u0026 Letters","count":7},{"language":"default","tag":"Mobile Application","count":7},{"language":"default","tag":"Organization Management","count":6},{"language":"default","tag":"AI Assistants","count":5},{"language":"default","tag":"Dashboard","count":5},{"language":"default","tag":"Get Records","count":4},{"language":"default","tag":"Authentication","count":3}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar img,nav img[alt],[class*=\"navbar\"] img,[class*=\"logo\"] img{max-height:42px!important;height:42px!important;width:auto!important;object-fit:contain}footer a[href*=\"mintlify\"],footer *:has(>a[href*=\"mintlify\"]){display:none!important}#navbar a[href*=\"app.medwrite.ai/dashboard\"],nav a[href*=\"app.medwrite.ai/dashboard\"]{display:none!important}.store-buttons{display:flex;justify-content:center;gap:0.9rem;flex-wrap:wrap;margin-top:1.25rem;margin-bottom:1.5rem}.store-button{display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;min-width:200px;height:60px;padding:0.35rem 0.65rem;box-sizing:border-box;border-radius:0.9rem;background:linear-gradient(180deg, #171717 0%, #000000 100%);border:1px solid #2f2f2f;box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);color:#ffffff;text-decoration:none}.store-button-icon{width:32px;height:32px;object-fit:contain;flex-shrink:0}.store-button-text{display:flex;flex-direction:column;align-items:start;text-align:center;line-height:1;margin:0}.store-button-kicker{font-size:0.65rem;letter-spacing:0.03em;font-weight:300}.store-button-title{font-size:1.2rem;font-weight:700}.download-app-frame-image{border-radius:0.5rem;max-width:100%}"}]}
{"page":{"pagePath":"ai-builder","slug":"/ai-builder","pageMetadata":{"title":"AI Builder","description":"Tell AI Builder what you need, and it will create a clinical AI agent for you.","icon":"wand-magic-sparkles","href":"/ai-builder"},"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: \"Tell AI Builder what you need, and it will create a clinical AI agent for you.\"\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={blockquote:`blockquote`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,Columns,Frame,Heading,OptimizedImage,Step,Steps,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`On the create assistant page, `,_jsx(_components.strong,{children:`Build with AI`}),` opens a side chat. You describe the letter you want. The assistant thinks, replies, and fills the writing fields. You still choose `,_jsx(_components.strong,{children:`Clinic`}),`, then save.`]}),`\n`,_jsxs(_components.p,{children:[`Nothing in the chat is saved until you press `,_jsx(_components.strong,{children:`Save as Draft`}),` or `,_jsx(_components.strong,{children:`Save \u0026 Activate`}),`.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the create assistant page`,children:[_jsxs(_components.p,{children:[`Open the create assistant page. Next to the page title you will see `,_jsx(_components.strong,{children:`Build with AI`}),`.`]}),_jsx(Frame,{caption:`Create assistant page with the **Build with AI** button next to the title.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=86ce99beaf7d7e72e5932ae5695f95b5`,alt:`Image 3`,style:{borderRadius:`0.5rem`},title:`Image 3`,\"data-og-width\":`2549`,width:`2549`,\"data-og-height\":`958`,height:`958`,\"data-path\":`images/image-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=63cb63713c8b2ae33a2befc6b275eb70 280w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=80ca885ad515050b018327492a5f2e52 560w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=81e0c89cddcf7b796e73b6dcf0a48751 840w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=f01ab886b0117e221a22e8b64ee470ad 1100w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=573499edc47256cafa4e0278c47f5433 1650w, https://mintcdn.com/medwriteai/_al075lHfve34oUu/images/image-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_al075lHfve34oUu\u0026q=85\u0026s=dc03a82992b2340d7b65064da8c76c48 2500w`})})]}),_jsxs(Step,{title:`Describe the assistant`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Build with AI`}),`. A chat panel slides in from the right, and the form stays visible beside it.`]}),_jsx(Frame,{caption:`Side chat opened from **Build with AI**.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=3c88522c53dc6fe91b20ce80911883ac`,alt:`Screenshot 23 9 2026 11915 Dev Medwrite Ai`,style:{borderRadius:`0.5rem`},title:`Screenshot 23 9 2026 11915 Dev Medwrite Ai`,\"data-og-width\":`1910`,width:`1910`,\"data-og-height\":`1400`,height:`1400`,\"data-path\":`images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=280\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=9c12c80b1534a894348fe8bdede8b5e3 280w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=560\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=5461b964da1f548877720637bf64cf3e 560w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=840\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=33dc736d92b7e867601f93771f1b0a7b 840w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=1100\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=3de85bd363448197e50ce8d835ee4a3c 1100w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=1650\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=a3c737936257613f8f352a11673af29c 1650w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_11915_dev.medwrite.ai.jpeg?w=2500\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=7b99f414d970e1434db44a05ab40dadd 2500w`})}),_jsxs(_components.p,{children:[`Type what the assistant should write, then send. `,_jsx(_components.strong,{children:`Enter`}),` sends the message. `,_jsx(_components.strong,{children:`Shift+Enter`}),` adds a new line. A message can be up to `,_jsx(_components.strong,{children:`2000 characters`}),`.`]}),_jsx(_components.p,{children:`For example:`}),_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`An ED discharge summary in UK English with sections for presenting complaint, assessment, treatment, plan and safety-net advice.`}),`\n`]}),_jsxs(_components.p,{children:[`The chat shows `,_jsx(_components.strong,{children:`Thinking… this can take up to 30 seconds`}),`, then posts a reply.`]}),_jsx(Frame,{caption:`Prompt sent in the side chat.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=4707452a0834d9a7ab44bcf33a4d2fe8`,alt:`Screenshot 23 9 2026 111021 Dev Medwrite Ai`,style:{borderRadius:`0.5rem`,maxWidth:`560px`},title:`Screenshot 23 9 2026 111021 Dev Medwrite Ai`,\"data-og-width\":`1961`,width:`1961`,\"data-og-height\":`1403`,height:`1403`,\"data-path\":`images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=280\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=02b3a956a8fb9bd94ba72e0925019a74 280w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=560\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=bc59af0f8fa293ed864190cb3ed6f7bc 560w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=840\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=29adf40f10d8bde4a2c9ab6dfda66d62 840w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=1100\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=bdba033a4ec4b5cb1f9a816ffcc97b12 1100w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=1650\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=95e155547ac39f9cfbad9b05805ac383 1650w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111021_dev.medwrite.ai.jpeg?w=2500\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=f9bc32902c91ed895fe949630931dcaf 2500w`})})]}),_jsxs(Step,{title:`Review the fields the chat filled`,children:[_jsxs(_components.p,{children:[`The reply writes into the Assistant Form. A green note under the message lists what changed, for example `,_jsx(_components.strong,{children:`Updated: Assistant Name, Speciality, Assistant Instructions, Templates, Examples, Dictionary`}),`.`]}),_jsx(_components.p,{children:`Those fields are filled for you:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Assistant Name`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Speciality`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Assistant Instructions`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Templates`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Examples`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Dictionary`})}),`\n`]}),_jsx(_components.p,{children:`The matching tab (Templates, Examples, or Dictionary) is brought forward when that text changes. You can edit any filled field by hand.`}),_jsxs(_components.p,{children:[`Send another message to change the draft. The chat updates the same fields from your latest request. `,_jsx(_components.strong,{children:`New conversation`}),` clears the chat so you can start again. Values already written on the form stay until a new reply replaces them.`]}),_jsx(Frame,{caption:`The chat reply and the form fields it updated.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=dbe6f8c1125fe1f3d084c227803ff5ea`,alt:`Screenshot 23 9 2026 111142 Dev Medwrite Ai 2`,style:{borderRadius:`0.5rem`},title:`Screenshot 23 9 2026 111142 Dev Medwrite Ai 2`,\"data-og-width\":`2541`,width:`2541`,\"data-og-height\":`831`,height:`831`,\"data-path\":`images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=280\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=37022129ee7059217b71a0470c1c99d4 280w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=560\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=010e6dcdafb5d5369a808b0e10983089 560w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=840\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=9134c6e48d4bf104741974c73a8adb98 840w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=1100\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=311412a365b11f5d693f2b5788e0b712 1100w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=1650\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=0abda6e5af31335b3a854d44f6ef9f31 1650w, https://mintcdn.com/medwriteai/BzS_Tksx7GfS2Dso/images/Screenshot_23-9-2026_111142_dev.medwrite.ai-2.jpeg?w=2500\u0026fit=max\u0026auto=format\u0026n=BzS_Tksx7GfS2Dso\u0026q=85\u0026s=3a312f2a2e229411caf5194fc6bc9602 2500w`})})]}),_jsxs(Step,{title:`Save the assistant`,children:[_jsxs(_components.p,{children:[`When the draft looks right, the chat can show `,_jsx(_components.strong,{children:`Ready to create`}),`. Saving is still a separate action on the form:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Save as Draft`}),` – Store the assistant without making it available for letters.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Save \u0026 Activate`}),` – Save it as active and create the workflow for the clinic you selected.`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cancel`}),` leaves the page without saving.`]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Describe one letter type in one message, including the language and the section headings. Use a follow-up message to adjust tone or sections. Choose `,_jsx(_components.strong,{children:`Clinic`}),` yourself before you save.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Assistant Library`,icon:`books`,href:`/essentials/assistant-library`,children:_jsx(_components.p,{children:`Return to your assistants after you save.`})}),_jsx(Card,{title:`Create Record`,icon:`file-plus`,href:`/essentials/create-record`,children:_jsx(_components.p,{children:`Use an active assistant when you create a record and generate a letter.`})})]})]})}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":"AI Builder","description":"Tell AI Builder what you need, and it will create a clinical AI agent for you.","icon":"wand-magic-sparkles","href":"/ai-builder"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"medwriteai","siteName":"MedWrite.ai","title":"AI Builder - MedWrite.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T07:01:24.588Z","originalFileLocation":"ai-builder.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=\"Tell AI Builder what you need, and it will create a clinical AI agent for you.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MedWrite.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AI Builder - MedWrite.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Tell AI Builder what you need, and it will create a clinical AI agent for you.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MedWrite.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.medwrite.ai/ai-builder\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://medwriteai.mintlify.site/_mintlify/api/og/v2?division=AI+Assistants\u0026amp;title=AI+Builder\u0026amp;description=Tell+AI+Builder+what+you+need%2C+and+it+will+create+a+clinical+AI+agent+for+you.\u0026amp;theme=9987545c8553b1d1c37a0c17\u0026amp;signature=ab55f225aa1e911363cb29e67326bd33afee0ccedc25c83bca9e59940f5db6be\">\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=\"AI Builder - MedWrite.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Tell AI Builder what you need, and it will create a clinical AI agent for you.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://medwriteai.mintlify.site/_mintlify/api/og/v2?division=AI+Assistants\u0026amp;title=AI+Builder\u0026amp;description=Tell+AI+Builder+what+you+need%2C+and+it+will+create+a+clinical+AI+agent+for+you.\u0026amp;theme=9987545c8553b1d1c37a0c17\u0026amp;signature=ab55f225aa1e911363cb29e67326bd33afee0ccedc25c83bca9e59940f5db6be\">\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/medwriteai/6jKHXgiRYAL6FtSI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MedWrite.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169c97\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.medwrite.ai/ai-builder\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai-builder.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.medwrite.ai/#organization\",\"name\":\"MedWrite.ai\",\"url\":\"https://docs.medwrite.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/medwriteai/3s0IbxTNiFnzwJpB/images/logo1.png?fit=max\u0026auto=format\u0026n=3s0IbxTNiFnzwJpB\u0026q=85\u0026s=6fab4035583ab6917e6d9bb804d3941b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.medwrite.ai#website\",\"name\":\"MedWrite.ai\",\"url\":\"https://docs.medwrite.ai\",\"publisher\":{\"@id\":\"https://docs.medwrite.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.medwrite.ai/ai-builder#webpage\",\"url\":\"https://docs.medwrite.ai/ai-builder\",\"name\":\"AI Builder\",\"description\":\"Tell AI Builder what you need, and it will create a clinical AI agent for you.\",\"dateModified\":\"2026-10-05T07:01:24.588Z\",\"isPartOf\":{\"@id\":\"https://docs.medwrite.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.medwrite.ai/ai-builder#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.medwrite.ai/ai-builder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Assistants\",\"item\":\"https://docs.medwrite.ai/essentials/create-assistant\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI Builder\",\"item\":\"https://docs.medwrite.ai/ai-builder\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.medwrite.ai/ai-builder#article\",\"headline\":\"AI Builder\",\"name\":\"AI Builder\",\"description\":\"Tell AI Builder what you need, and it will create a clinical AI agent for you.\",\"url\":\"https://docs.medwrite.ai/ai-builder\",\"mainEntityOfPage\":{\"@id\":\"https://docs.medwrite.ai/ai-builder#webpage\"},\"dateModified\":\"2026-10-05T07:01:24.588Z\",\"publisher\":{\"@id\":\"https://docs.medwrite.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.medwrite.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MedWrite.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MedWrite.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ai-builder.md","siteName":"MedWrite.ai","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://medwrite.ai/news"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Register","icon":"user-plus","href":"/register"},{"title":"Login","icon":"right-to-bracket","href":"/login"}]},{"group":"Output \u0026 Letters","pages":[{"title":"Create Record","icon":"file-plus","href":"/essentials/create-record"},{"title":"Review Record","icon":"file-check","href":"/essentials/review-record"},{"title":"Clinical Approval","icon":"badge-check","href":"/essentials/clinical-approval"},{"title":"Branching","icon":"code-branch","href":"/untitled-page"},{"title":"Mark as Complete","icon":"check","href":"/essentials/mark-as-complete"},{"title":"Send Email","icon":"mailbox","href":"/essentials/send-email"},{"title":"Dashboard Filters","icon":"bars-filter","href":"/clinic-consultant-filters"}]},{"group":"Organization Management","pages":[{"title":"Create Group","icon":"users-medical","href":"/essentials/create-group"},{"title":"Create Clinic","icon":"building-circle-arrow-right","href":"/essentials/create-clinic"},{"title":"Workflow Status Tabs","icon":"layer-group","href":"/workflow-status-tabs"},{"title":"Manage Patients","icon":"clipboard-list-check","href":"/essentials/manage-patients"},{"title":"Contact Directory","icon":"address-book","href":"/essentials/address-lookup"},{"title":"Assign User Roles","icon":"clipboard-user","href":"/essentials/assign-user-role"}]},{"group":"Documents","pages":[{"title":"Manage Templates","icon":"table-layout","href":"/essentials/manage-templates"},{"title":"Add PDF Template","icon":"file-pdf","href":"/essentials/add-pdf-template"},{"title":"Add Word Template","icon":"file-word","href":"/essentials/add-word-template"}]},{"group":"AI Assistants","pages":[{"title":"Create Assistant","icon":"robot","hidden":true,"href":"/essentials/create-assistant"},{"icon":"user-robot","title":"AI Workflow Setup","href":"/essentials/AI-workflow-setup"},{"title":"Manage Assistants","icon":"user-robot-xmarks","href":"/essentials/manage-assistants"},{"title":"Update Assistant","icon":"user-robot","href":"/essentials/update-assistant"},{"title":"Assistant Library","description":"Browse public assistants and manage assistants for your clinic. ","icon":"user-robot","href":"/essentials/assistant-library"},{"title":"AI Builder","icon":"wand-magic-sparkles","href":"/ai-builder"}]},{"group":"Dashboard","pages":[{"title":"User Profile","description":"Update your profile, password, and account preferences","icon":"circle-user","href":"/user-profile-account-settings-profile-output-input-preference-account"},{"title":"New Records","icon":"list-dropdown","href":"/new-records"},{"title":"Search Patient","icon":"list-dropdown","href":"/search-patient"},{"title":"Date Filter","icon":"calendar","href":"/date-filter"},{"title":"Patient List Table","icon":"table-list","href":"/patient-list-table"}]},{"group":"Mobile Application","pages":[{"title":"Download the App","icon":"download","href":"/essentials/download-app"},{"title":"Activate Your Account","icon":"user-check","href":"/essentials/activate-account"},{"title":"Record Consultation","icon":"record-vinyl","href":"/essentials/record-consultation"},{"title":"Approve Records","icon":"badge-check","href":"/essentials/approve-records"},{"title":"Review Records","icon":"clipboard-list-check","href":"/essentials/review-records"},{"title":"Search Records","icon":"magnifying-glass","href":"/essentials/search-records"},{"title":"Review Later","icon":"calendar-clock","href":"/essentials/review-later"}]},{"group":"Updates","pages":[{"title":"Product Roadmap","icon":"sitemap","hidden":true,"href":"/essentials/product-roadmap"},{"title":"#Issue 6 - June Changelog","href":"/essentials/june-2026"},{"title":"#Issue 5 - May Changelog","href":"/may-2026"},{"title":"#Issue 4 - Apr Changelog","href":"/essentials/april-2026"},{"title":"#Issue 3 - Mar Changelog","href":"/essentials/march-2026"},{"title":"#Issue 2 - Feb Changelog","href":"/essentials/february-2026"},{"title":"#Issue 1 - Jan Changelog","href":"/essentials/january-2026"},{"title":"#Issue 7 - July Changelog","href":"/essentials/july-2026"},{"title":"#Issue 8 - August Changelog","href":"/essentials/august-2026"},{"title":"#Issue 9 - September Changelog","href":"/essentials/september-2026"},{"title":"#Issue 10 - October Changelog","href":"/essentials/october-2026"}]},{"group":"Examples","hidden":true,"pages":[{"title":"Markdown syntax","icon":"text-size","href":"/essentials/markdown"},{"title":"Code blocks","icon":"code","href":"/essentials/code"},{"title":"Images and embeds","icon":"image","href":"/essentials/images"},{"title":"Reusable snippets","icon":"recycle","href":"/essentials/reusable-snippets"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"AI Builder - MedWrite.ai","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}