Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.
The AI brain page decides which AI service writes the assistant’s answers and what it is told before every answer.
AI brain: the service (1), the connection test (2) and the personality (3)
Connect an AI service
When your plan includes AI, choose Included with the plan and you’re done: there’s no key or model to fill in, and the page shows how much of this month’s allowance is used. See Included AI. The steps below are for using the client’s own key.
1
Choose the service and model (1)
Pick the provider and type the exact model name from the provider’s documentation. A small, fast model is usually best for customer chat: answers are quick and cheap.
2
Paste the API key and save it
The key is stored encrypted and is never shown again. Use the client’s own key when you want AI usage billed to them directly.A saved key works only with the service and address it was saved with. If you change the service or the base URL later, paste the key for the new one. A copy of an assistant doesn’t take the key along: paste one for the copy too.
3
Click Test connection (2)
You should see “Connected. The model replied.” If not, check the key and the model name. Each person can test up to 30 times an hour, and each assistant up to 200 times a day.
Some providers process messages outside the EU or use free-tier data for training. The page warns you when you pick one of them. For customers in the EU, choose a provider and plan that doesn’t.
Personality and tone (3)
The system prompt describes who the assistant is and how it talks. Keep it short and concrete:
You are the friendly assistant for {{business}}.Answer clearly and warmly in 1 to 3 short sentences.Use simple words and at most one emoji.If someone wants to book, offer the free times.
Safety rules are always added to the instructions: the assistant talks to one person, must not reveal other customers’ data, and should answer business questions only from the knowledge base. Instructions lower the risk but can’t rule out every mistake, so other people’s data is also kept apart by the system itself: the assistant only ever sees the current person’s conversation.The assistant also resists people who try to manipulate it. Text in a customer’s message that claims to come from the system, the owner, the team or the platform is treated as the customer’s own words, and invisible characters that can hide instructions are removed from every message. The team’s helpers that read whole chats (the hand-off summary, suggested replies, memory, cold-lead sorting and the weekly quality check) see each message as one line, so a customer can’t slip in a fake “Business: refund approved” line. These protections are tested regularly with dozens of attacks in all four languages.The safety rules also set the tone for difficult moments, whatever the system prompt says: no emoji in apologies, complaints, refusals, bad news such as being closed, privacy questions or health and safety advice. The assistant doesn’t talk about its knowledge base or notes (“that isn’t mentioned”); it says what it knows or that it doesn’t have that information. It doesn’t read out the exact time; it says “we closed at 21:00” and gives the next opening time when the knowledge base has the hours. Asked what data is kept, it says the conversation is stored as the privacy policy describes, that the person can write “delete my data” at any time, and that the team can send them a copy.When the knowledge base has more than one price or option that fits a question (men’s and women’s haircuts, a single class and a pass, a group and a private class, several class times), the assistant gives each one with what it’s for, or asks which one the person means, instead of picking one. When two entries give different values for the same thing and one says from which date it applies (“from 1 September: 42 EUR”), it gives the value that applies today. When nothing says which is newer, it gives both and says it isn’t sure which one applies, so it’s worth removing old prices when they change: the knowledge page lists such values.In private chats the assistant also knows it writes as the business and that the team reads the chat. It doesn’t send people to a phone number, email, form or website the knowledge base doesn’t give; a sentence like that is left out and the question goes to Unanswered questions.Every reply, public ones too, also gets today’s date and the next three weeks with their weekdays, in the business’s time zone. The assistant counts days from this calendar, so “we need 2 days” for an order on Monday is worked out right, and it treats a date before today as gone by. When a weekday could mean two dates, such as “next Saturday”, it asks which one, and the notes worked out by code give no line for either date.Totals are worked out by code, not by the AI. When a reply adds prices up, such as two bowls and a studio fee for each person, or takes a percentage off, the AI writes the sum and code works it out, so the number is exact. “90 € less 15%” is 90 minus 15% of 90. The result is written the way the business writes its prices, such as 2 800 грн or 32.50 €. When the knowledge gives a price rule with a threshold, such as free delivery over 60 EUR or 20% off for 5 days or more, code checks the sums against it, and a reply that adds a fee the rule waives, misses the discount or takes it off when the condition isn’t met is written once more. A starting price, such as “colouring from 60 €”, is not a threshold. Dates are compared by code too: when a customer asks about a day, the AI is told whether it falls in the periods the knowledge gives, such as a high season, how many hours away it is when the knowledge asks for notice, how many days lie between two days the customer names, whether the business is open at the time they ask, breaks included, and the last day of a period the knowledge counts from a date, such as shoes kept 3 months from the day they are ready. A number with a unit or a currency, such as 1.5 hours or 10.05 €, is never read as a date. When a customer names an item, such as an iPhone 13 or a minivan, code also finds every line of the knowledge that names it, such as its price list row and a note that it is free with any bouquet, so the AI reads the right one. When those lines give it different values, the AI is told so, and it says what each one is for or asks the question that settles it. Words like “can’t” or “don’t” in the question say nothing about the item and are not used to find it. It finds them by meaning too, so a question in English finds the row of a price list written in Russian. When one day has a line of its own, such as a shorter Saturday, those hours count for that day, not the week’s hours. The same goes for a line that gives only an opening or a closing time for some days, such as “open 8:30 to 17:00 every day, at weekends we open at 8:00”: on a Saturday the AI is told 8:00 to 17:00. When a customer asks about a span of time, such as a lane from 16:00 to 18:00 on a Tuesday, and your prices change during the day, code splits the span by your price bands, so the AI knows that one hour is at the daytime price and one at the evening price. When a price is per hour, per person, per day or per night and the customer says how many, such as 3 people for a 2-hour class where each person from the third pays 15 € more per hour, the AI is told how many of that unit apply.Before a reply goes out, three more checks run. A “no” in the reply, such as “no experience needed” or “we don’t have a wine room”, is checked against the knowledge by a second, short AI call. When the knowledge doesn’t give that “no”, it is replaced with “I don’t have information about that”, an “only” it doesn’t say is left out, and the question goes to Unanswered questions. When the “no” named its thing first, the line keeps it, so it is clear what it is about: “Back glass for the iPhone 13: I don’t have information about that.” A “not needed” in the knowledge counts only for the same purpose: “no experience needed for our lessons” doesn’t back “no experience needed to rent a board”. A list of what you offer doesn’t count as a “no” for everything else. A day the weekly hours leave out, such as Sunday next to “Mon–Sat 09:00–20:00”, counts as closed, so “we’re closed on Sundays” stays as written. A reply written in another language than the customer’s is written once more in their language. Opening hours the reply gives are compared with the knowledge’s hours: when the reply gives a day the wrong hours, such as a short Saturday inside “Mon–Sat 10:00–19:00”, code writes the right hours in. Lines of the hours entry about something else, such as a kids’ workshop, a happy hour or the phone line, are not opening hours. When the reply used the range the knowledge gives, its words stay and the short day is added: “Mon–Sat 10:00–19:00 (Saturday until 16:00)”. A reply that reaches the length limit is sent up to its last full sentence.
Settings worth knowing
Setting
What it does
Recommended
Creativity
0 gives the most consistent answers: nearly the same answer to the same question
0 for customer service
Only answer from the knowledge base
Answers what the knowledge base covers and says it doesn’t have the rest instead of guessing. Each gap goes to Unanswered questions
On
Send FAQ answers word for word
A clear FAQ match is sent exactly, without the AI. An FAQ about something narrower than the question (“Do you have a kids’ menu?” for “Do you have a menu?”) isn’t sent word for word: the AI answers from it instead
On for prices and policies
Jev picks flow topics
At a flow’s branch step, for a first message, and at a step that asked something (where it tells an answer from a new topic), Jev picks the topic of a typed message when it’s sure, before the meaning and the AI (how replies find their branch). Only works when the platform has Jev set up; the message and the step’s topics go to TypeSafe
On
Messages remembered
How much of the conversation the AI sees
6 to 10
Remember each person
Keeps a short private profile: name, preferences
On
Fallback message
Sent when nothing in the message is known. The default offers to pass the question to the team when the assistant hands chats over
Short, and no promise of a reply nobody sends
Hand-off message
Sent when someone asks for a person; the assistant then stays quiet in that chat
Say when the team usually replies
Set a monthly AI budget on the assistant’s settings. When it’s reached, the assistant stops calling the AI and you get an alert, so a busy month never brings a surprise bill. What customers are told then is under When the AI service fails. Replies being written at the same moment count toward the budget too, so a burst of messages stops at it as well. This includes reading customers’ voice messages and photos. Each voice message or photo also counts as a message toward the limit on how much one person can send in 10 minutes. When the client is on a client plan with an AI budget, the plan sets it.
When the AI service fails
If the AI service is down, refuses the key, is over its rate limit, sends an empty or unreadable reply, or takes longer than 90 seconds in all for one message, the customer is never told “I don’t have that information”: the knowledge base may well have the answer. An empty or unreadable reply is tried once more first. If it still fails, the customer is told, in their language, that the assistant has a technical problem and can’t answer right now:
In a private chat, when the assistant hands chats to the team (its hand-off rule is on), the chat goes to the team with the hand-off message. The team’s alert says it’s because of a technical problem. If nobody from the team replies in the chat or takes it, the person’s next message takes the chat back to the assistant, which answers as usual once the AI works again (if it still fails, the chat goes to the team again, with no second alert within half an hour). Once someone from the team replies or takes the chat, it stays with the team like any other hand-off.
Otherwise the question is added to Unanswered questions, and the customer is told it’s saved for the team.
Under a public comment nothing is posted; the question is added to Unanswered questions.
In the middle of a flow’s questions the flow goes on: the question is asked again, and nothing is handed over.
The next message after the service is back is answered as usual. The hourly channel check also sees the errors and tells the team once. When the monthly AI budget is used up, the customer is never told “I don’t have that information” either. They’re told the assistant can’t answer right now (nothing about a technical problem, the budget or money), and the chat goes to the team or the question is saved, in the same four cases. The team’s alert says the budget is used up. A chat handed over for the budget comes back to the assistant on the person’s next message only once the budget allows again: when you raise it, or on the 1st of the month. FAQs answered word for word, rules and the buttons of flows keep working without the AI.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"InstaForge Help Center","description":"How to build, run and grow Instagram assistants with InstaForge: setup guides, step-by-step flows, playbooks, tips and answers.","colors":{"primary":"#e1306c","light":"#f77737","dark":"#c13584"},"logo":{"light":"https://mintcdn.com/instaforge/HVDnlmyBMfIyfa_y/logo/light.svg?fit=max\u0026auto=format\u0026n=HVDnlmyBMfIyfa_y\u0026q=85\u0026s=4ba08de5c34654a009fdbe56b57a7ecd","dark":"https://mintcdn.com/instaforge/HVDnlmyBMfIyfa_y/logo/dark.svg?fit=max\u0026auto=format\u0026n=HVDnlmyBMfIyfa_y\u0026q=85\u0026s=06c9374e0ed1d8333f930265acc79701","href":"https://docs.instaforge.app"},"favicon":"https://mintcdn.com/instaforge/HVDnlmyBMfIyfa_y/favicon.svg?fit=max\u0026auto=format\u0026n=HVDnlmyBMfIyfa_y\u0026q=85\u0026s=dc2025172db32db185c57b6e6a488b6c","navbar":{"primary":{"type":"button","label":"Open InstaForge","href":"https://portal.instaforge.app"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"ru","href":"ru"},{"language":"uk","href":"uk"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"instaforge","hasAudioNarration":false,"actualSubdomain":"instaforge","customDomains":["docs.instaforge.app"],"gitSource":{"type":"github","owner":"skullelf","repo":"instaforge","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aef528fbe4829dd4e3b9069","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"en","tag":"Running the agency","count":19},{"language":"ru","tag":"Управление агентством","count":19},{"language":"uk","tag":"Керування агенцією","count":19},{"language":"en","tag":"The assistant","count":14},{"language":"ru","tag":"Ассистент","count":14},{"language":"uk","tag":"Асистент","count":14},{"language":"en","tag":"Getting started","count":11},{"language":"ru","tag":"Начало работы","count":11},{"language":"uk","tag":"Початок роботи","count":11},{"language":"en","tag":"Instagram and content","count":9},{"language":"en","tag":"Conversations and customers","count":9},{"language":"en","tag":"Shop, gift cards and website chat","count":9},{"language":"ru","tag":"Instagram и контент","count":9},{"language":"ru","tag":"Переписки и клиенты","count":9},{"language":"ru","tag":"Магазин, подарочные карты и чат на сайте","count":9},{"language":"uk","tag":"Instagram і контент","count":9},{"language":"uk","tag":"Листування і клієнти","count":9},{"language":"uk","tag":"Магазин, подарункові сертифікати й чат на сайті","count":9},{"language":"en","tag":"Bookings","count":7},{"language":"ru","tag":"Записи","count":7},{"language":"uk","tag":"Записи","count":7},{"language":"en","tag":"Playbooks","count":5},{"language":"ru","tag":"Готовые решения","count":5},{"language":"uk","tag":"Готові рішення","count":5},{"language":"en","tag":"Help","count":2},{"language":"ru","tag":"Помощь","count":2},{"language":"uk","tag":"Допомога","count":2},{"language":"en","tag":"Client portal","count":1},{"language":"ru","tag":"Кабинет клиента","count":1},{"language":"uk","tag":"Портал клієнта","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[]}
{"page":{"pagePath":"build-the-assistant/ai-brain","slug":"/build-the-assistant/ai-brain","pageMetadata":{"title":"AI brain","description":"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.","icon":"brain","href":"/build-the-assistant/ai-brain"},"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 the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,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(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`AI brain`}),` page decides which AI service writes the assistant’s answers and what it is told before every answer.`]}),`\n`,_jsx(Frame,{caption:`AI brain: the service (1), the connection test (2) and the personality (3)`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=41a8393dc1f8f819bd9acab5a47bf230`,alt:`AI brain: the service (1), the connection test (2) and the personality (3)`,\"data-og-width\":`2600`,width:`2600`,\"data-og-height\":`890`,height:`890`,\"data-path\":`images/ai-brain.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=280\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=1cf7e743224b8ea7b91b3c2d3aad2ace 280w, https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=560\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=3f3281857e9faddd2a05f3c803822d19 560w, https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=840\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=02cc4eb561f55b1f9f446b8ca1a47452 840w, https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=1100\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=881b3f86ab669bb6df10414eb388b70b 1100w, https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=1650\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=31bfe7070eab4e6f9d60732eba87da59 1650w, https://mintcdn.com/instaforge/gp7yZuFVeunXKFMP/images/ai-brain.png?w=2500\u0026fit=max\u0026auto=format\u0026n=gp7yZuFVeunXKFMP\u0026q=85\u0026s=ce04cc02e9f7bd86e296895077c1a44e 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`connect-an-ai-service`,children:`Connect an AI service`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`When your plan includes AI, choose `,_jsx(_components.strong,{children:`Included with the plan`}),` and you’re done: there’s no key or model to fill in, and the page shows how much of this month’s allowance is used. See `,_jsx(_components.a,{href:`/running-the-agency/included-ai`,children:`Included AI`}),`. The steps below are for using the client’s own key.`]})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Choose the service and model (1)`,children:_jsx(_components.p,{children:`Pick the provider and type the exact model name from the provider’s documentation. A small, fast model is usually best for customer chat: answers are quick and cheap.`})}),_jsxs(Step,{title:`Paste the API key and save it`,children:[_jsxs(_components.p,{children:[`The key is stored encrypted and is never shown again. Use the `,_jsx(_components.strong,{children:`client’s own key`}),` when you want AI usage billed to them directly.`]}),_jsx(_components.p,{children:`A saved key works only with the service and address it was saved with. If you change the service or the base URL later, paste the key for the new one. A copy of an assistant doesn’t take the key along: paste one for the copy too.`})]}),_jsx(Step,{title:`Click Test connection (2)`,children:_jsx(_components.p,{children:`You should see “Connected. The model replied.” If not, check the key and the model name. Each person can test up to 30 times an hour, and each assistant up to 200 times a day.`})})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Some providers process messages outside the EU or use free-tier data for training. The page warns you when you pick one of them. For customers in the EU, choose a provider and plan that doesn’t.`})}),`\n`,_jsx(Heading,{level:`2`,id:`personality-and-tone-3`,children:`Personality and tone (3)`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`system prompt`}),` describes who the assistant is and how it talks. Keep it short and concrete:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You are the friendly assistant for {{business}}.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Answer clearly and warmly in 1 to 3 short sentences.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use simple words and at most one emoji.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If someone wants to book, offer the free times.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Safety rules are always added to the instructions: the assistant talks to one person, must not reveal other customers’ data, and should answer business questions only from the knowledge base. Instructions lower the risk but can’t rule out every mistake, so other people’s data is also kept apart by the system itself: the assistant only ever sees the current person’s conversation.`}),`\n`,_jsx(_components.p,{children:`The assistant also resists people who try to manipulate it. Text in a customer’s message that claims to come from the system, the owner, the team or the platform is treated as the customer’s own words, and invisible characters that can hide instructions are removed from every message. The team’s helpers that read whole chats (the hand-off summary, suggested replies, memory, cold-lead sorting and the weekly quality check) see each message as one line, so a customer can’t slip in a fake “Business: refund approved” line. These protections are tested regularly with dozens of attacks in all four languages.`}),`\n`,_jsx(_components.p,{children:`The safety rules also set the tone for difficult moments, whatever the system prompt says: no emoji in apologies, complaints, refusals, bad news such as being closed, privacy questions or health and safety advice. The assistant doesn’t talk about its knowledge base or notes (“that isn’t mentioned”); it says what it knows or that it doesn’t have that information. It doesn’t read out the exact time; it says “we closed at 21:00” and gives the next opening time when the knowledge base has the hours. Asked what data is kept, it says the conversation is stored as the privacy policy describes, that the person can write “delete my data” at any time, and that the team can send them a copy.`}),`\n`,_jsxs(_components.p,{children:[`When the knowledge base has more than one price or option that fits a question (men’s and women’s haircuts, a single class and a pass, a group and a private class, several class times), the assistant gives each one with what it’s for, or asks which one the person means, instead of picking one. When two entries give different values for the same thing and one says from which date it applies (“from 1 September: 42 EUR”), it gives the value that applies today. When nothing says which is newer, it gives both and says it isn’t sure which one applies, so it’s worth removing old prices when they change: the knowledge page lists `,_jsx(_components.a,{href:`/build-the-assistant/knowledge-base#two-values-for-the-same-thing`,children:`such values`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`In private chats the assistant also knows it writes as the business and that the team reads the chat. It doesn’t send people to a phone number, email, form or website the knowledge base doesn’t give; a sentence like that is left out and the question goes to `,_jsx(_components.a,{href:`/build-the-assistant/unanswered-questions`,children:`Unanswered questions`}),`.`]}),`\n`,_jsx(_components.p,{children:`Every reply, public ones too, also gets today’s date and the next three weeks with their weekdays, in the business’s time zone. The assistant counts days from this calendar, so “we need 2 days” for an order on Monday is worked out right, and it treats a date before today as gone by. When a weekday could mean two dates, such as “next Saturday”, it asks which one, and the notes worked out by code give no line for either date.`}),`\n`,_jsx(_components.p,{children:`Totals are worked out by code, not by the AI. When a reply adds prices up, such as two bowls and a studio fee for each person, or takes a percentage off, the AI writes the sum and code works it out, so the number is exact. “90 € less 15%” is 90 minus 15% of 90. The result is written the way the business writes its prices, such as 2 800 грн or 32.50 €. When the knowledge gives a price rule with a threshold, such as free delivery over 60 EUR or 20% off for 5 days or more, code checks the sums against it, and a reply that adds a fee the rule waives, misses the discount or takes it off when the condition isn’t met is written once more. A starting price, such as “colouring from 60 €”, is not a threshold. Dates are compared by code too: when a customer asks about a day, the AI is told whether it falls in the periods the knowledge gives, such as a high season, how many hours away it is when the knowledge asks for notice, how many days lie between two days the customer names, whether the business is open at the time they ask, breaks included, and the last day of a period the knowledge counts from a date, such as shoes kept 3 months from the day they are ready. A number with a unit or a currency, such as 1.5 hours or 10.05 €, is never read as a date. When a customer names an item, such as an iPhone 13 or a minivan, code also finds every line of the knowledge that names it, such as its price list row and a note that it is free with any bouquet, so the AI reads the right one. When those lines give it different values, the AI is told so, and it says what each one is for or asks the question that settles it. Words like “can’t” or “don’t” in the question say nothing about the item and are not used to find it. It finds them by meaning too, so a question in English finds the row of a price list written in Russian. When one day has a line of its own, such as a shorter Saturday, those hours count for that day, not the week’s hours. The same goes for a line that gives only an opening or a closing time for some days, such as “open 8:30 to 17:00 every day, at weekends we open at 8:00”: on a Saturday the AI is told 8:00 to 17:00. When a customer asks about a span of time, such as a lane from 16:00 to 18:00 on a Tuesday, and your prices change during the day, code splits the span by your price bands, so the AI knows that one hour is at the daytime price and one at the evening price. When a price is per hour, per person, per day or per night and the customer says how many, such as 3 people for a 2-hour class where each person from the third pays 15 € more per hour, the AI is told how many of that unit apply.`}),`\n`,_jsxs(_components.p,{children:[`Before a reply goes out, three more checks run. A “no” in the reply, such as “no experience needed” or “we don’t have a wine room”, is checked against the knowledge by a second, short AI call. When the knowledge doesn’t give that “no”, it is replaced with “I don’t have information about that”, an “only” it doesn’t say is left out, and the question goes to `,_jsx(_components.a,{href:`/build-the-assistant/unanswered-questions`,children:`Unanswered questions`}),`. When the “no” named its thing first, the line keeps it, so it is clear what it is about: “Back glass for the iPhone 13: I don’t have information about that.” A “not needed” in the knowledge counts only for the same purpose: “no experience needed for our lessons” doesn’t back “no experience needed to rent a board”. A list of what you offer doesn’t count as a “no” for everything else. A day the weekly hours leave out, such as Sunday next to “Mon–Sat 09:00–20:00”, counts as closed, so “we’re closed on Sundays” stays as written. A reply written in another language than the customer’s is written once more in their language. Opening hours the reply gives are compared with the knowledge’s hours: when the reply gives a day the wrong hours, such as a short Saturday inside “Mon–Sat 10:00–19:00”, code writes the right hours in. Lines of the hours entry about something else, such as a kids’ workshop, a happy hour or the phone line, are not opening hours. When the reply used the range the knowledge gives, its words stay and the short day is added: “Mon–Sat 10:00–19:00 (Saturday until 16:00)”. A reply that reaches the length limit is sent up to its last full sentence.`]}),`\n`,_jsx(Heading,{level:`2`,id:`settings-worth-knowing`,children:`Settings worth knowing`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Recommended`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Creativity`}),_jsx(_components.td,{children:`0 gives the most consistent answers: nearly the same answer to the same question`}),_jsx(_components.td,{children:`0 for customer service`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Only answer from the knowledge base`}),_jsxs(_components.td,{children:[`Answers what the knowledge base covers and says it doesn’t have the rest instead of guessing. Each gap goes to `,_jsx(_components.a,{href:`/build-the-assistant/unanswered-questions`,children:`Unanswered questions`})]}),_jsx(_components.td,{children:`On`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Send FAQ answers word for word`}),_jsx(_components.td,{children:`A clear FAQ match is sent exactly, without the AI. An FAQ about something narrower than the question (“Do you have a kids’ menu?” for “Do you have a menu?”) isn’t sent word for word: the AI answers from it instead`}),_jsx(_components.td,{children:`On for prices and policies`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Jev picks flow topics`}),_jsxs(_components.td,{children:[`At a flow’s branch step, for a first message, and at a step that asked something (where it tells an answer from a new topic), Jev picks the topic of a typed message when it’s sure, before the meaning and the AI (`,_jsx(_components.a,{href:`/build-the-assistant/question-flows#how-replies-find-their-branch`,children:`how replies find their branch`}),`). Only works when the platform has Jev set up; the message and the step’s topics go to TypeSafe`]}),_jsx(_components.td,{children:`On`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Messages remembered`}),_jsx(_components.td,{children:`How much of the conversation the AI sees`}),_jsx(_components.td,{children:`6 to 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remember each person`}),_jsx(_components.td,{children:`Keeps a short private profile: name, preferences`}),_jsx(_components.td,{children:`On`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Fallback message`}),_jsx(_components.td,{children:`Sent when nothing in the message is known. The default offers to pass the question to the team when the assistant hands chats over`}),_jsx(_components.td,{children:`Short, and no promise of a reply nobody sends`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Hand-off message`}),_jsx(_components.td,{children:`Sent when someone asks for a person; the assistant then stays quiet in that chat`}),_jsx(_components.td,{children:`Say when the team usually replies`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Set a `,_jsx(_components.strong,{children:`monthly AI budget`}),` on the assistant’s settings. When it’s reached, the assistant stops calling the AI and you get an alert, so a busy month never brings a surprise bill. What customers are told then is under `,_jsx(_components.a,{href:`#when-the-ai-service-fails`,children:`When the AI service fails`}),`. Replies being written at the same moment count toward the budget too, so a burst of messages stops at it as well. This includes reading customers’ voice messages and photos. Each voice message or photo also counts as a message toward the limit on how much one person can send in 10 minutes. When the client is on a `,_jsx(_components.a,{href:`/running-the-agency/client-plans`,children:`client plan`}),` with an AI budget, the plan sets it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-the-ai-service-fails`,children:`When the AI service fails`}),`\n`,_jsx(_components.p,{children:`If the AI service is down, refuses the key, is over its rate limit, sends an empty or unreadable reply, or takes longer than 90 seconds in all for one message, the customer is never told “I don’t have that information”: the knowledge base may well have the answer. An empty or unreadable reply is tried once more first. If it still fails, the customer is told, in their language, that the assistant has a technical problem and can’t answer right now:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In a private chat, when the assistant hands chats to the team`}),` (its hand-off rule is on), the chat goes to the team with the hand-off message. The team’s alert says it’s because of a technical problem. If nobody from the team replies in the chat or takes it, the person’s next message takes the chat back to the assistant, which answers as usual once the AI works again (if it still fails, the chat goes to the team again, with no second alert within half an hour). Once someone from the team replies or takes the chat, it stays with the team like any other hand-off.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Otherwise`}),` the question is added to `,_jsx(_components.a,{href:`/build-the-assistant/unanswered-questions`,children:`Unanswered questions`}),`, and the customer is told it’s saved for the team.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Under a public comment`}),` nothing is posted; the question is added to Unanswered questions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In the middle of a flow’s questions`}),` the flow goes on: the question is asked again, and nothing is handed over.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The next message after the service is back is answered as usual. The `,_jsx(_components.a,{href:`/running-the-agency/channel-checks`,children:`hourly channel check`}),` also sees the errors and tells the team once. When the monthly AI budget is used up, the customer is never told “I don’t have that information” either. They’re told the assistant can’t answer right now (nothing about a technical problem, the budget or money), and the chat goes to the team or the question is saved, in the same four cases. The team’s alert says the budget is used up. A chat handed over for the budget comes back to the assistant on the person’s next message only once the budget allows again: when you raise it, or on the 1st of the month. FAQs answered word for word, rules and the buttons of flows keep working without the AI.`]})]})}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 brain","description":"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.","icon":"brain","href":"/build-the-assistant/ai-brain"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Connect an AI service","slug":"connect-an-ai-service","depth":2,"children":[]},{"title":"Personality and tone (3)","slug":"personality-and-tone-3","depth":2,"children":[]},{"title":"Settings worth knowing","slug":"settings-worth-knowing","depth":2,"children":[]},{"title":"When the AI service fails","slug":"when-the-ai-service-fails","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"instaforge","siteName":"InstaForge Help Center","title":"AI brain - InstaForge Help Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/build-the-assistant/ai-brain","matchLevel":0},"ru":{"href":"/ru/build-the-assistant/ai-brain","matchLevel":1},"uk":{"href":"/uk/build-the-assistant/ai-brain","matchLevel":1}}},"lastModified":"2026-11-02T19:02:33.664Z","originalFileLocation":"build-the-assistant/ai-brain.mdx","locale":"en"},"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 the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"InstaForge Help Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_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/instaforge/ECyu2BGvk9b4I0r0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AI brain - InstaForge Help Center\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"InstaForge Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.instaforge.app/build-the-assistant/ai-brain\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://instaforge.mintlify.site/_mintlify/api/og/v2?division=The+assistant\u0026amp;title=AI+brain\u0026amp;description=Choose+the+AI+that+writes+the+answers%2C+its+personality%2C+and+how+closely+it+sticks+to+what+you+taught+it.\u0026amp;theme=8233ad43853314922b932286\u0026amp;signature=4bb93f771a30fa438ef503bd1d1d6a7b45aec21c10be1ab8834690282be192d8\">\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 brain - InstaForge Help Center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://instaforge.mintlify.site/_mintlify/api/og/v2?division=The+assistant\u0026amp;title=AI+brain\u0026amp;description=Choose+the+AI+that+writes+the+answers%2C+its+personality%2C+and+how+closely+it+sticks+to+what+you+taught+it.\u0026amp;theme=8233ad43853314922b932286\u0026amp;signature=4bb93f771a30fa438ef503bd1d1d6a7b45aec21c10be1ab8834690282be192d8\">\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/instaforge/ECyu2BGvk9b4I0r0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"InstaForge Help Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e1306c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.instaforge.app/build-the-assistant/ai-brain\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build-the-assistant/ai-brain.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.instaforge.app/build-the-assistant/ai-brain\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.instaforge.app/ru/build-the-assistant/ai-brain\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://docs.instaforge.app/uk/build-the-assistant/ai-brain\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.instaforge.app/build-the-assistant/ai-brain\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.instaforge.app/#organization\",\"name\":\"InstaForge Help Center\",\"url\":\"https://docs.instaforge.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/instaforge/HVDnlmyBMfIyfa_y/logo/light.svg?fit=max\u0026auto=format\u0026n=HVDnlmyBMfIyfa_y\u0026q=85\u0026s=4ba08de5c34654a009fdbe56b57a7ecd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.instaforge.app#website\",\"name\":\"InstaForge Help Center\",\"url\":\"https://docs.instaforge.app\",\"publisher\":{\"@id\":\"https://docs.instaforge.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.instaforge.app/build-the-assistant/ai-brain#webpage\",\"url\":\"https://docs.instaforge.app/build-the-assistant/ai-brain\",\"name\":\"AI brain\",\"description\":\"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\",\"dateModified\":\"2026-11-02T19:02:33.664Z\",\"isPartOf\":{\"@id\":\"https://docs.instaforge.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.instaforge.app/build-the-assistant/ai-brain#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.instaforge.app/build-the-assistant/ai-brain#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"The assistant\",\"item\":\"https://docs.instaforge.app/build-the-assistant/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI brain\",\"item\":\"https://docs.instaforge.app/build-the-assistant/ai-brain\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.instaforge.app/build-the-assistant/ai-brain#article\",\"headline\":\"AI brain\",\"name\":\"AI brain\",\"description\":\"Choose the AI that writes the answers, its personality, and how closely it sticks to what you taught it.\",\"url\":\"https://docs.instaforge.app/build-the-assistant/ai-brain\",\"mainEntityOfPage\":{\"@id\":\"https://docs.instaforge.app/build-the-assistant/ai-brain#webpage\"},\"dateModified\":\"2026-11-02T19:02:33.664Z\",\"publisher\":{\"@id\":\"https://docs.instaforge.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.instaforge.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"InstaForge Help Center\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"InstaForge Help Center\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/build-the-assistant/ai-brain.md","siteName":"InstaForge Help Center","nav":{"global":null,"languages":[{"language":"en","default":true,"groups":[{"group":"Welcome","icon":"house","pages":[{"title":"Welcome to InstaForge","sidebarTitle":"Welcome","icon":"door-open","href":""}]},{"group":"Getting started","icon":"rocket","pages":[{"title":"Getting started","sidebarTitle":"Overview","icon":"compass","href":"/getting-started/overview"},{"title":"Quick start","icon":"bolt","href":"/getting-started/quick-start"},{"title":"Build it for me","icon":"wand-magic-sparkles","href":"/getting-started/autopilot"},{"title":"Sign up for an agency account","icon":"user-plus","href":"/getting-started/sign-up"},{"title":"Who does what to launch","icon":"list-check","href":"/getting-started/who-does-what"},{"title":"The in-app guide","icon":"compass","href":"/getting-started/in-app-guide"},{"title":"Client intake form","icon":"clipboard-list","href":"/getting-started/client-intake-form"},{"title":"Clients and assistants","icon":"users-gear","href":"/getting-started/clients-and-assistants"},{"title":"Roles and access","icon":"user-shield","href":"/getting-started/roles-and-access"},{"title":"Connect Instagram","icon":"instagram","href":"/getting-started/connect-instagram"},{"title":"Go-live checklist","icon":"list-check","href":"/getting-started/go-live-checklist"}]},{"group":"The assistant","icon":"wand-magic-sparkles","pages":[{"title":"The assistant","sidebarTitle":"Overview","description":"Teach the assistant about the business, decide how it behaves and test it safely.","icon":"compass","href":"/build-the-assistant/overview"},{"title":"AI brain","icon":"brain","href":"/build-the-assistant/ai-brain"},{"title":"Knowledge base","description":"Everything the assistant knows about the business, and how to keep it right.","icon":"book","href":"/build-the-assistant/knowledge-base"},{"title":"Behaviour","icon":"sliders","href":"/build-the-assistant/behaviour"},{"title":"Flows","icon":"diagram-project","href":"/build-the-assistant/question-flows"},{"title":"Message templates","icon":"message-lines","href":"/build-the-assistant/message-templates"},{"title":"Playground","icon":"flask","href":"/build-the-assistant/playground"},{"title":"Languages","icon":"language","href":"/build-the-assistant/languages"},{"title":"Draft and publish","icon":"code-branch","href":"/build-the-assistant/draft-and-publish"},{"title":"Quality check","icon":"magnifying-glass-chart","href":"/build-the-assistant/quality-check"},{"title":"Unanswered questions","icon":"question","href":"/build-the-assistant/unanswered-questions"},{"title":"Privacy and GDPR","icon":"shield-halved","href":"/build-the-assistant/privacy"},{"title":"Answer tests","icon":"list-check","href":"/build-the-assistant/answer-tests"},{"title":"Answers to approve","icon":"check-double","href":"/build-the-assistant/morning-review"}]},{"group":"Conversations and customers","icon":"comments","pages":[{"title":"Conversations and customers","sidebarTitle":"Overview","icon":"compass","href":"/conversations-and-customers/overview"},{"title":"The inbox","icon":"inbox","href":"/conversations-and-customers/inbox"},{"title":"Leads","icon":"bullseye","href":"/conversations-and-customers/leads"},{"title":"Customers","icon":"address-book","href":"/conversations-and-customers/customers"},{"title":"Customer dates and morning brief","sidebarTitle":"Morning brief","icon":"mug-hot","href":"/conversations-and-customers/morning-brief"},{"title":"Team performance","icon":"gauge-high","href":"/conversations-and-customers/team-performance"},{"title":"Alerts and notifications","icon":"bell","href":"/conversations-and-customers/alerts"},{"title":"Weekly owner report","sidebarTitle":"Weekly report","icon":"chart-line","href":"/conversations-and-customers/weekly-report"},{"title":"Did this help?","icon":"thumbs-up","href":"/conversations-and-customers/ratings"}]},{"group":"Bookings","icon":"calendar-check","pages":[{"title":"Bookings","sidebarTitle":"Overview","icon":"compass","href":"/bookings/overview"},{"title":"Services and team","icon":"scissors","href":"/bookings/services-and-team"},{"title":"The calendar","icon":"calendar-days","href":"/bookings/calendar"},{"title":"Booking page","icon":"calendar-plus","href":"/bookings/booking-page"},{"title":"Confirmations, no-shows and deposits","sidebarTitle":"Confirmations and no-shows","icon":"circle-check","href":"/bookings/confirmations-and-no-shows"},{"title":"Waiting list, reminders and extras","icon":"hourglass-half","href":"/bookings/waiting-list-and-extras"},{"title":"Reviews","icon":"star","href":"/bookings/reviews"}]},{"group":"Shop, gift cards and website chat","icon":"bag-shopping","pages":[{"title":"Shop, gift cards and website chat","sidebarTitle":"Overview","icon":"compass","href":"/grow-sales/overview"},{"title":"Website chat","icon":"message","href":"/grow-sales/website-chat"},{"title":"Packages and gift cards","icon":"gift","href":"/grow-sales/packages-and-gift-cards"},{"title":"Shop and orders","icon":"cart-shopping","href":"/grow-sales/shop-and-orders"},{"title":"Google reviews","icon":"google","href":"/grow-sales/google-reviews"},{"title":"Online payments","icon":"credit-card","href":"/grow-sales/online-payments"},{"title":"Loyalty card","icon":"stamp","href":"/grow-sales/loyalty-card"},{"title":"Bring a friend","icon":"user-plus","href":"/grow-sales/bring-a-friend"},{"title":"Cold leads","icon":"snowflake","href":"/grow-sales/cold-leads"}]},{"group":"Instagram and content","icon":"images","pages":[{"title":"Instagram and content","sidebarTitle":"Overview","icon":"compass","href":"/content/overview"},{"title":"Comment campaigns","icon":"comment-dots","href":"/grow-sales/comment-campaigns"},{"title":"Follow-ups","icon":"reply","href":"/grow-sales/follow-ups"},{"title":"Broadcasts","icon":"bullhorn","href":"/grow-sales/broadcasts"},{"title":"Scheduler and post approval","icon":"clock","href":"/content/scheduler-and-approval"},{"title":"Content planner","icon":"calendar-week","href":"/content/content-planner"},{"title":"Post results","icon":"chart-simple","href":"/content/post-results"},{"title":"Comment moderation","icon":"comment-slash","href":"/content/comment-moderation"},{"title":"WhatsApp, Messenger and Telegram","icon":"whatsapp","href":"/whatsapp-and-messenger"}]},{"group":"Client portal","icon":"user","pages":[{"title":"Your client portal","icon":"id-badge","href":"/client-portal"}]},{"group":"Running the agency","icon":"building","pages":[{"title":"Running the agency","sidebarTitle":"Overview","icon":"compass","href":"/running-the-agency/overview"},{"title":"Agencies and the platform owner","sidebarTitle":"Agencies (platform owner)","icon":"building","href":"/running-the-agency/agencies"},{"title":"Plans: agencies paying the platform","sidebarTitle":"Plans (platform owner)","icon":"layer-group","href":"/running-the-agency/plans"},{"title":"Self sign-up for new agencies","sidebarTitle":"Self sign-up (platform owner)","icon":"user-plus","href":"/running-the-agency/self-signup"},{"title":"Included AI","sidebarTitle":"Included AI","icon":"sparkles","href":"/running-the-agency/included-ai"},{"title":"Demos for prospects","sidebarTitle":"Demos for prospects","icon":"play","href":"/running-the-agency/demos"},{"title":"Billing","icon":"file-invoice-dollar","href":"/running-the-agency/billing"},{"title":"Client plans","icon":"receipt","href":"/running-the-agency/client-plans"},{"title":"Reports and connections","icon":"plug","href":"/running-the-agency/reports-and-connections"},{"title":"Users, analytics and bulk changes","sidebarTitle":"Users and analytics","icon":"chart-pie","href":"/running-the-agency/users-and-analytics"},{"title":"Branding","icon":"palette","href":"/running-the-agency/branding"},{"title":"Custom domains","sidebarTitle":"Custom domains","icon":"globe","href":"/running-the-agency/custom-domains"},{"title":"Backups and monitoring","icon":"server","href":"/running-the-agency/backups-and-monitoring"},{"title":"Bot check on public forms","icon":"robot","href":"/running-the-agency/bot-check"},{"title":"AI agents (Claude)","icon":"robot","href":"/running-the-agency/ai-agents"},{"title":"AI agent tools","icon":"screwdriver-wrench","href":"/running-the-agency/ai-agent-tools"},{"title":"Earnings: what went through the assistant","icon":"sack-dollar","href":"/grow-sales/earnings"},{"title":"Channel check","icon":"heart-pulse","href":"/running-the-agency/channel-checks"},{"title":"Client health","icon":"stethoscope","href":"/running-the-agency/client-health"}]},{"group":"Playbooks","icon":"book-open","pages":[{"title":"Playbooks","sidebarTitle":"Overview","icon":"compass","href":"/playbooks/overview"},{"title":"Beauty salon","icon":"spa","href":"/playbooks/beauty-salon"},{"title":"Restaurant or café","icon":"utensils","href":"/playbooks/restaurant-cafe"},{"title":"Online shop","icon":"store","href":"/playbooks/online-shop"},{"title":"Coach or expert","icon":"chalkboard-user","href":"/playbooks/coach"}]},{"group":"Help","icon":"life-ring","pages":[{"title":"Tips and ideas","icon":"lightbulb","href":"/tips-and-ideas"},{"title":"FAQ and troubleshooting","icon":"circle-question","href":"/faq"}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/build-the-assistant/ai-brain"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/build-the-assistant/ai-brain"}]}]},"basePath":"","title":"AI brain - InstaForge Help Center","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-2hRFysAg.js","DynamicMarkdown-Bg54PExR.js","zoom-image-lightbox-D1ofL3wq.js","lightbox-handle-r17bVUz3.js"]}