Weam.ai supports Ollama, enabling you to run AI models locally on your machine for maximum privacy and control. This guide walks you through the complete setup process.
Ollama is a lightweight runtime for serving local LLMs (like llama3, qwen2, mistral) through a simple HTTP API. It allows you to run powerful AI models without sending data to external servers.
Choose your desired Llama model (e.g., llama3, qwen2, mistral)
Configure and Download
Click Configure
The model will be automatically downloaded and linked to Weam
You must add an OpenAI API key to see Llama models in the dropdown menu. Without a valid OpenAI API key, the Ollama models will not appear in the model selection dropdown.
Once configured, you can use your local Ollama models in Weam chats, agents, and prompts. All inference will run locally on your machine, keeping your data private and giving you complete control over your AI experience.⭐ Star us on GitHub
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Weam AI","colors":{"primary":"#8463F1","light":"#8463F1","dark":"#8463F1"},"logo":{"light":"https://mintcdn.com/weam-ai/gErRA8AscLTqMxrw/logo/light.png?fit=max\u0026auto=format\u0026n=gErRA8AscLTqMxrw\u0026q=85\u0026s=321c793b9948c443bacefd05ae22a9a6","dark":"https://mintcdn.com/weam-ai/gErRA8AscLTqMxrw/logo/dark.png?fit=max\u0026auto=format\u0026n=gErRA8AscLTqMxrw\u0026q=85\u0026s=d3b1de5282b21cfa5a6f454ae72c9454"},"favicon":"https://mintcdn.com/weam-ai/kTRAXLqaXkdU2M4Z/fav.png?fit=max\u0026auto=format\u0026n=kTRAXLqaXkdU2M4Z\u0026q=85\u0026s=4333646d1201753a90a847e1e569631b","navbar":{"links":[{"icon":"github","href":"https://github.com/weam-ai/weam","label":"weam-ai/weam"}],"primary":{"type":"button","label":"Try Weam Open Source","href":"https://opensource.weam.ai/"}},"footer":{"socials":{"x":"https://x.com/TheWeamAI","github":"https://github.com/weam-ai/weam","linkedin":"https://www.linkedin.com/company/the-weam-ai"}},"seo":{"metatags":{"robots":"index, follow","charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","description":"Complete documentation for Weam AI - the open source collaborative platform. Setup guides, feature documentation, integrations, and best practices for teams","keywords":"Weam AI documentation, open source platform, collaborative tools, team productivity, setup guides, feature documentation, integration guide, developer docs, team collaboration platform, digital agency tools, self-hosted platform","author":"Weam AI","googlebot":"index, follow","google":"notranslate","language":"en","reply-to":"hello@weam.ai"}},"integrations":{"ga4":{"measurementId":"G-7YBCYDSTXE"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/EyUbyUxf4n"},{"anchor":"Blog","icon":"newspaper","href":"https://weam.ai/blog/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"weam-ai","hasAudioNarration":false,"actualSubdomain":"weam-ai","customDomains":["opensource.weam.ai"],"gitSource":{"type":"github","owner":"hello-weam-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a61b0f7c1dcb30b37a35e58","collectionId":"6e14e9cb-4a3f-4523-b209-be64a20124dd","schemaVersion":"v2","latestBuiltDeploymentHistoryId":"6a61b0f7c1dcb30b37a35e58"},"entitlements":{},"buildId":"6ae92b231adae243323c7b21:success","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":31},{"language":"default","tag":"Connections","count":12},{"language":"default","tag":"Your Account","count":10},{"language":"default","tag":"Developer Guide","count":10},{"language":"default","tag":"Setup","count":10},{"language":"default","tag":"Knowledge Base","count":8},{"language":"default","tag":"Features","count":7},{"language":"default","tag":"Apps","count":6},{"language":"default","tag":"Applications in Weam AI","count":6},{"language":"default","tag":"Workflows","count":6}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"knowledgebase/ollama","slug":"/knowledgebase/ollama","pageMetadata":{"title":"Ollama Local Model Integration","description":"Run local AI models with Ollama and use them inside Weam.ai","href":"/knowledgebase/ollama"},"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: \"Run local AI models with Ollama and use them inside Weam.ai\"\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`,blockquote:`blockquote`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Weam.ai supports Ollama`}),`, enabling you to run AI models locally on your machine for maximum privacy and control. This guide walks you through the complete setup process.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-ollama`,children:`What is Ollama?`}),`\n`,_jsxs(_components.p,{children:[`Ollama is a lightweight runtime for serving local LLMs (like `,_jsx(_components.code,{children:`llama3`}),`, `,_jsx(_components.code,{children:`qwen2`}),`, `,_jsx(_components.code,{children:`mistral`}),`) through a simple HTTP API. It allows you to run powerful AI models without sending data to external servers.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Docker Desktop installed and running`}),`\n`,_jsx(_components.li,{children:`Weam repository set up locally`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-start-ollama-service`,children:`Step 1: Start Ollama Service`}),`\n`,_jsx(_components.p,{children:`Run this command in your terminal to start the Ollama service:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` compose`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nextjs/docker-compose.ollama.yml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cpu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` up`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`})]}),`\n`]})})}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` The initial download may take several minutes depending on your internet connection.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`To stop the service later:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` compose`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nextjs/docker-compose.ollama.yml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cpu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` down`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-configure-ollama-in-weam`,children:`Step 2: Configure Ollama in Weam`}),`\n`,_jsx(_components.p,{children:`Follow these steps to connect Ollama to Weam:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Navigate to Settings`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Settings`}),` → `,_jsx(_components.strong,{children:`Configuration`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=1abd981fc6f00f080be2031c9efbecf9`,alt:`image.png`,\"data-og-width\":`3360`,width:`3360`,\"data-og-height\":`1252`,height:`1252`,\"data-path\":`Screenshot2025-10-27at4.00.48PM.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=280\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=7c75d7b3ebb8d4d698b289859becaa4e 280w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=560\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=6534161db2f6541d2dc547714d61afcb 560w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=840\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=9ff0067fe43a5d9e51cc972c76196c52 840w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=1100\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=a7fffb9806342fa79ec9c5b1f951d553 1100w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=1650\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=e16c401210cf752d3fee4fa737f36f24 1650w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/Screenshot2025-10-27at4.00.48PM.png?w=2500\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=7a66fcfa219fe783096b2d317e9685e3 2500w`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add New Model`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add Model`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Select Ollama Provider`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Ollama`}),` as the provider`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Choose Your Model`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Select Local Model`})]}),`\n`,_jsxs(_components.li,{children:[`Choose your desired Llama model (e.g., `,_jsx(_components.code,{children:`llama3`}),`, `,_jsx(_components.code,{children:`qwen2`}),`, `,_jsx(_components.code,{children:`mistral`}),`)`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configure and Download`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Configure`})]}),`\n`,_jsx(_components.li,{children:`The model will be automatically downloaded and linked to Weam`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=958bab65fcafda7e66e0dea52a3caff8`,alt:`Screenshot2025 10 27at4 01 55PM Pn`,\"data-og-width\":`3360`,width:`3360`,\"data-og-height\":`1438`,height:`1438`,\"data-path\":`images/Screenshot2025-10-27at4.01.55PM.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=280\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=1c55f8b2a63ef94683d8f8fd4acc8bd5 280w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=560\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=53dc40f1f11ce356776eb1a7e19843fa 560w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=840\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=32b75f2ab51dbe3683e8dda74de4bbed 840w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=1100\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=3323798379c6ec513b769dbc256f18b4 1100w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=1650\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=d9b03bff92eb30820e1cd53307bdbc69 1650w, https://mintcdn.com/weam-ai/apYRe1yRxy-fGhUE/images/Screenshot2025-10-27at4.01.55PM.png?w=2500\u0026fit=max\u0026auto=format\u0026n=apYRe1yRxy-fGhUE\u0026q=85\u0026s=a428211608e874777e8cad9bd80c2fbf 2500w`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`You must add an OpenAI API key to see Llama models in the dropdown menu.`}),` Without a valid OpenAI API key, the Ollama models will not appear in the model selection dropdown.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-verify-your-setup`,children:`Step 3: Verify Your Setup`}),`\n`,_jsx(_components.p,{children:`After configuration, verify that everything is working correctly:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Check Ollama Service`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ps`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You should see an Ollama container running.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Test Model Availability`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:11434/api/tags`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This should return a JSON response with your installed models.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Test in Weam`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Open a new chat in Weam`}),`\n`,_jsx(_components.li,{children:`Select your configured Ollama model`}),`\n`,_jsx(_components.li,{children:`Send a simple message like “Hello, how are you?”`}),`\n`,_jsx(_components.li,{children:`Verify the response comes from your local model`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`available-models`,children:`Available Models`}),`\n`,_jsx(_components.p,{children:`Ollama supports many popular models. Here are some recommended options:`}),`\n`,_jsx(Heading,{level:`3`,id:`large-language-models`,children:`Large Language Models`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`llama3`}),` - Meta’s latest Llama model (8B, 70B variants)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`llama3.1`}),` - Updated version with improved performance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`qwen2`}),` - Alibaba’s Qwen series (7B, 14B, 72B variants)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`mistral`}),` - Mistral AI’s efficient models (7B, 8x7B variants)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`codellama`}),` - Code-specialized Llama model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`phi3`}),` - Microsoft’s compact but capable model`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`model-selection-tips`,children:`Model Selection Tips`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`For general use`}),`: Start with `,_jsx(_components.code,{children:`llama3`}),` (8B) - good balance of performance and resource usage`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`For coding tasks`}),`: Use `,_jsx(_components.code,{children:`codellama`}),` or `,_jsx(_components.code,{children:`qwen2-coder`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`For resource-constrained systems`}),`: Try `,_jsx(_components.code,{children:`phi3`}),` or `,_jsx(_components.code,{children:`mistral`}),` (7B)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`For maximum capability`}),`: Use `,_jsx(_components.code,{children:`llama3`}),` (70B) if you have sufficient RAM`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`resource-requirements`,children:`Resource Requirements`}),`\n`,_jsx(_components.p,{children:`Different models have different resource requirements:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model`}),_jsx(_components.th,{children:`RAM Required`}),_jsx(_components.th,{children:`Storage`}),_jsx(_components.th,{children:`Best For`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`llama3 (8B)`}),_jsx(_components.td,{children:`8-16 GB`}),_jsx(_components.td,{children:`~5 GB`}),_jsx(_components.td,{children:`General use, good balance`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`llama3 (70B)`}),_jsx(_components.td,{children:`40+ GB`}),_jsx(_components.td,{children:`~40 GB`}),_jsx(_components.td,{children:`Maximum capability`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`qwen2 (7B)`}),_jsx(_components.td,{children:`6-12 GB`}),_jsx(_components.td,{children:`~4 GB`}),_jsx(_components.td,{children:`Multilingual tasks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`mistral (7B)`}),_jsx(_components.td,{children:`6-12 GB`}),_jsx(_components.td,{children:`~4 GB`}),_jsx(_components.td,{children:`Efficient, fast`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`phi3 (3.8B)`}),_jsx(_components.td,{children:`4-8 GB`}),_jsx(_components.td,{children:`~2 GB`}),_jsx(_components.td,{children:`Lightweight option`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`common-issues-and-solutions`,children:`Common Issues and Solutions`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Ollama container won’t start`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure Docker Desktop is running`}),`\n`,_jsxs(_components.li,{children:[`Check if port `,_jsx(_components.code,{children:`11434`}),` is already in use`]}),`\n`,_jsxs(_components.li,{children:[`Try: `,_jsx(_components.code,{children:`docker compose -f nextjs/docker-compose.ollama.yml --profile cpu down`}),` then restart`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Models not appearing in Weam dropdown`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify you have added an OpenAI API key`}),`\n`,_jsx(_components.li,{children:`Check that Ollama service is running`}),`\n`,_jsx(_components.li,{children:`Restart Weam after adding the API key`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Slow model responses`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Check available RAM - models need sufficient memory`}),`\n`,_jsx(_components.li,{children:`Consider using a smaller model if resources are limited`}),`\n`,_jsx(_components.li,{children:`Close other memory-intensive applications`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Model download fails`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Check internet connection`}),`\n`,_jsx(_components.li,{children:`Ensure sufficient disk space`}),`\n`,_jsxs(_components.li,{children:[`Try downloading manually: `,_jsx(_components.code,{children:`docker exec -it \u003collama_container> ollama pull llama3`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`checking-logs`,children:`Checking Logs`}),`\n`,_jsx(_components.p,{children:`To troubleshoot issues, check the logs:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check Ollama container logs`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ollama_container_nam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check Weam logs`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`weam_service_nam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`performance-optimization`,children:`Performance Optimization`}),`\n`,_jsx(Heading,{level:`3`,id:`for-better-performance`,children:`For Better Performance`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Allocate More Resources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Increase Docker memory allocation in Docker Desktop settings`}),`\n`,_jsx(_components.li,{children:`Ensure your system has sufficient RAM for the model size`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model Selection`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use quantized models when available (e.g., `,_jsx(_components.code,{children:`llama3:8b-instruct-q4_0`}),`)`]}),`\n`,_jsx(_components.li,{children:`Start with smaller models and scale up as needed`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`System Optimization`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Close unnecessary applications`}),`\n`,_jsx(_components.li,{children:`Use SSD storage for better I/O performance`}),`\n`,_jsx(_components.li,{children:`Ensure good cooling for sustained performance`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`security-and-privacy`,children:`Security and Privacy`}),`\n`,_jsx(Heading,{level:`3`,id:`data-privacy-benefits`,children:`Data Privacy Benefits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Local Processing`}),`: All AI inference happens on your machine`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No Data Transmission`}),`: Your prompts and responses never leave your system`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Full Control`}),`: You control the model, data, and processing environment`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Compliance`}),`: Easier to meet data privacy regulations`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`security-considerations`,children:`Security Considerations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Keep your system updated with security patches`}),`\n`,_jsx(_components.li,{children:`Use strong authentication for Weam access`}),`\n`,_jsx(_components.li,{children:`Consider network isolation if running in production`}),`\n`,_jsx(_components.li,{children:`Regularly update Ollama and model versions`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`that’s-it`,children:`That’s It!`}),`\n`,_jsx(_components.p,{children:`Once configured, you can use your local Ollama models in Weam chats, agents, and prompts. All inference will run locally on your machine, keeping your data private and giving you complete control over your AI experience.`}),`\n`,_jsxs(_components.p,{children:[`⭐ Star us on `,_jsx(_components.a,{href:`https://github.com/Weam-ai/Weam`,children:`GitHub`})]})]})}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":"Ollama Local Model Integration","description":"Run local AI models with Ollama and use them inside Weam.ai","href":"/knowledgebase/ollama"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"What is Ollama?","slug":"what-is-ollama","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Step 1: Start Ollama Service","slug":"step-1-start-ollama-service","depth":2,"children":[]},{"title":"Step 2: Configure Ollama in Weam","slug":"step-2-configure-ollama-in-weam","depth":2,"children":[]},{"title":"Step 3: Verify Your Setup","slug":"step-3-verify-your-setup","depth":2,"children":[]},{"title":"Available Models","slug":"available-models","depth":2,"children":[{"title":"Large Language Models","slug":"large-language-models","depth":3,"children":[]},{"title":"Model Selection Tips","slug":"model-selection-tips","depth":3,"children":[]}]},{"title":"Resource Requirements","slug":"resource-requirements","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Common Issues and Solutions","slug":"common-issues-and-solutions","depth":3,"children":[]},{"title":"Checking Logs","slug":"checking-logs","depth":3,"children":[]}]},{"title":"Performance Optimization","slug":"performance-optimization","depth":2,"children":[{"title":"For Better Performance","slug":"for-better-performance","depth":3,"children":[]}]},{"title":"Security and Privacy","slug":"security-and-privacy","depth":2,"children":[{"title":"Data Privacy Benefits","slug":"data-privacy-benefits","depth":3,"children":[]},{"title":"Security Considerations","slug":"security-considerations","depth":3,"children":[]}]},{"title":"That’s It!","slug":"that’s-it","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"weam-ai","siteName":"Weam AI","title":"Ollama Local Model Integration - Weam AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-27T10:33:21.528Z","originalFileLocation":"knowledgebase/ollama.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=\"Run local AI models with Ollama and use them inside Weam.ai\">\u003cmeta data-mint-head name=\"keywords\" content=\"Weam AI documentation, open source platform, collaborative tools, team productivity, setup guides, feature documentation, integration guide, developer docs, team collaboration platform, digital agency tools, self-hosted platform\">\u003cmeta data-mint-head name=\"application-name\" content=\"Weam AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_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=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ollama Local Model Integration - Weam AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run local AI models with Ollama and use them inside Weam.ai\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Weam AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://opensource.weam.ai/docs/knowledgebase/ollama\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://weam-ai.mintlify.site/docs/_mintlify/api/og/v2?division=Generating+API+Key\u0026amp;title=Ollama+Local+Model+Integration\u0026amp;description=Run+local+AI+models+with+Ollama+and+use+them+inside+Weam.ai\u0026amp;theme=27dd2987056b6e4823d4f27b\u0026amp;signature=baddd532d06003db7c0f8225e00e32b53185db6dfa231897f9d1bf7630c783f2\">\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=\"Ollama Local Model Integration - Weam AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run local AI models with Ollama and use them inside Weam.ai\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://weam-ai.mintlify.site/docs/_mintlify/api/og/v2?division=Generating+API+Key\u0026amp;title=Ollama+Local+Model+Integration\u0026amp;description=Run+local+AI+models+with+Ollama+and+use+them+inside+Weam.ai\u0026amp;theme=27dd2987056b6e4823d4f27b\u0026amp;signature=baddd532d06003db7c0f8225e00e32b53185db6dfa231897f9d1bf7630c783f2\">\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=\"/docs/mintlify-assets/_mintlify/favicons/weam-ai/EVExBDohR5lZ1LEL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Weam AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8463F1\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"author\" content=\"Weam AI\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google\" content=\"notranslate\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"reply-to\" content=\"hello@weam.ai\">\u003clink data-mint-head rel=\"canonical\" href=\"https://opensource.weam.ai/docs/knowledgebase/ollama\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/knowledgebase/ollama.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://opensource.weam.ai/#organization\",\"name\":\"Weam AI\",\"url\":\"https://opensource.weam.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/weam-ai/gErRA8AscLTqMxrw/logo/light.png?fit=max\u0026auto=format\u0026n=gErRA8AscLTqMxrw\u0026q=85\u0026s=321c793b9948c443bacefd05ae22a9a6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://opensource.weam.ai/docs#website\",\"name\":\"Weam AI\",\"url\":\"https://opensource.weam.ai/docs\",\"publisher\":{\"@id\":\"https://opensource.weam.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://opensource.weam.ai/docs/knowledgebase/ollama#webpage\",\"url\":\"https://opensource.weam.ai/docs/knowledgebase/ollama\",\"name\":\"Ollama Local Model Integration\",\"description\":\"Run local AI models with Ollama and use them inside Weam.ai\",\"dateModified\":\"2025-10-27T10:33:21.528Z\",\"isPartOf\":{\"@id\":\"https://opensource.weam.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://opensource.weam.ai/docs/knowledgebase/ollama#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://opensource.weam.ai/docs/knowledgebase/ollama#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Generating API Key\",\"item\":\"https://opensource.weam.ai/docs/knowledgebase/openai-api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ollama Local Model Integration\",\"item\":\"https://opensource.weam.ai/docs/knowledgebase/ollama\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://opensource.weam.ai/docs/knowledgebase/ollama#article\",\"headline\":\"Ollama Local Model Integration\",\"name\":\"Ollama Local Model Integration\",\"description\":\"Run local AI models with Ollama and use them inside Weam.ai\",\"url\":\"https://opensource.weam.ai/docs/knowledgebase/ollama\",\"mainEntityOfPage\":{\"@id\":\"https://opensource.weam.ai/docs/knowledgebase/ollama#webpage\"},\"dateModified\":\"2025-10-27T10:33:21.528Z\",\"publisher\":{\"@id\":\"https://opensource.weam.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://opensource.weam.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Weam AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Weam AI","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/EyUbyUxf4n"},{"anchor":"Blog","icon":"newspaper","href":"https://weam.ai/blog/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview/Introduction"}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/essentials/system-design"}]},{"tab":"Connections","pages":[{"title":"Connections","href":"/connections/slack"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/node"}]},{"tab":"Knowledge Base","groups":[{"group":"Generating API Key","pages":[{"title":"Generating an OpenAI API Key","href":"/knowledgebase/openai-api"},{"title":"Generating an Anthropic API Key","href":"/knowledgebase/anthropic-api"},{"title":"Generating a Google Gemini API Key","href":"/knowledgebase/gemini-api"},{"title":"Creating a HuggingFace API Key","href":"/knowledgebase/hugging-face-api"},{"title":"Generating an OpenRouter API Key","description":null,"href":"/knowledgebase/openrouter-api"},{"title":"Ollama Local Model Integration","href":"/knowledgebase/ollama"}]},{"group":"General","pages":[{"title":"Credit Calculation","description":null,"href":"/knowledgebase/credit-calculation"},{"title":"Socket Scaling","href":"/knowledgebase/socket-scale"}]}]},{"tab":"Apps","pages":[{"title":"Apps","href":"/apps/overview"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faq/faqs"}]}]},"basePath":"","title":"Ollama Local Model Integration - Weam AI","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-CypZe82l.js","lightbox-handle-r17bVUz3.js"]}