INNOCHAT is the first and most powerful no-code AI Chat framework that
implements a multi-agent architecture. Multiple AI Agents work together in a coordinated orchestration
to enable advanced workflow automations.
We present this guide to help you understand how our Agents work together, as well as share
with you some best practices surrounding multi-agent chatbot design.All Agents have two states:
Active: Agent is “Connected”. It is live and running.
Inactive: Agent is “Disabled”. It does not do anything.
Only a single Agent engages with the user at any given time. Our AI Supervisor works in the background, in real time,
to decide which Agent processes the user’s inquiry when it comes in.
Agents are completely isolated from one another. This means that you cannot
tell Agent B what to do from inside Agent A, and you cannot tell the AI
Supervisor to “pass the baton” from Agent A to Agent B directly. The AI
Supervisor cannot be instructed on what to do using natural language.
The AI Supervisor assigns user queries to AI Agents based on the Agent description. This means that if
you have only a single AI Agent, then you don’t need a very good description. But if you are working with
multiple AI Agents, then you should have as explict a description as possible.
Agent Description - What kind of tasks should the Agent do?
Agent Prompt - How should the Agent perform its tasks?
AI Agent description is different from the Prompt. Description should tell the
AI Supervisor what the Agent is designed to do at a high level, focusing on
the type of user queries it should handle. Prompt is a set of instructions
telling the AI Agent how to behave.
Good Agent descriptions should answer the question “What type of queries should the Agent handle?”
More specifically, Agent descriptions should encompass all relevant “user intents” that it is supposed to handle.Agent descriptions should not include details about “how the Agent performs its job”.
That part should be reserved for the Agent’s Prompt.Here are some examples of good Agent descriptions:
INNOCHAT Support
Embody the role of “INNOCHAT Expert,” a specialized guide for INNOCHAT. Your main objective is to assist users with answering INNOCHAT-related questions related to:
Use cases
Features and capabilities
Data security
Pricing
AI Agents and multi-Agent architecture
User identity verification
Chunk curation
Function calling
Partnership program
Custom domains
Tokens
All intents handled by this Agent should be related to INNOCHAT.
Product Expert
The Product Expert handles any user queries related to Example Company’s
products. This includes questions regarding: - Product availability - Product
specifications - Price - Shipping location - Warranty - Return policy -
Disclaimers, legal notices, and warning labels
Order Status Assistant
The Order Status Assistant handles any user queries related to an order’s status. This includes questions regarding:
Product package tracking
Current package location
Estimated time of delivery
Late delivery compensation
So what makes for a good multi-agent chatbot design? How can I ensure that all my user intents are handled by the appropriate Agent?In general, a multi-agent architecture is great for having specialized AI Agents work together as a team. Each AI Agent
can be trained on a different set of source data, be powered by a different LLM, have a different Prompt, or even be given
different tools (functions). It is much more effective than dumping everything into a single Agent.On the surface, your users will not know that they are engaging with multiple AI Agents when talking to the chatbot,
since all of the complex orchestration takes place seamlessly behind the scenes. With the right setup, they will feel
as though they are talking to a human instead of a machine. A multi-agent chatbot has the potential to be much more
powerful than single-agent ones like ChatGPT.In our AI Supervisor routing design, we use an algorithm that balances latency with performance.
It will not always give you 100% accuracy, but you can get pretty close if you design your chatbots effectively.
If you notice that the chatbot is not responding to your expectations, then there may be two causes.
The wrong Agent may have been assigned to handle the incoming user query.
The Agent itself may not be optimally configured.
To find out whether your intended Agent has been selected to handle the user’s query, go to “Inbox” and turn on debug mode.
Toggle it on here:
Under “Active Agent”, you will see the Agent that generated the response. Please note that you will only see “Active Agent” metadata
if you have more than one connected AI Agents.If the Agent that handled the user query was not the correct one, you can return to Agent configuration and update its name, description,
or prompt.If the correct Agent handled the user query but the response was not what you expected, then the issue resides within the Agent itself.
You will then need to update the Agent configuration. The most straightforward way to fix a response is by revising the AI’s answer directly:
This ensures that the chatbot will generate an answer based on what you revised every time it encounters the question in the future, assuming
the same Agent was chosen to respond to the query.If you’d like to make the Agent more robust and consistent in general, you can curate the training data, choose a more powerful LLM, or be more
explicit in your base prompt.To learn some best practices for training the chatbot, see best practices for preparing training dataTo learn more about fine-tuning Agent intents, please check out the article Fine-Tuning Agent Intents.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"innoChat API","colors":{"primary":"#2E3F51","light":"#516F90","dark":"#0D001D"},"logo":{"light":"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/light.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=40744d3184133a986aba56b47474b33c","dark":"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/dark.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=b9b2ff5ca3f2aba26ea014cc52e30f81"},"favicon":"/logo/favicon.png","api":{},"background":{},"navbar":{"links":[{"href":"mailto:hello@innochat.ch","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.innochat.ch"}},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"de","href":"de/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"it","href":"it/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"innoq","hasAudioNarration":false,"actualSubdomain":"innoq","customDomains":["docs.innochat.ch"],"gitSource":{"type":"github","owner":"innoq-doc","repo":"innoq-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e708a8fc07c2afd382a3","collectionId":"53bb3d08-7d40-431e-9052-b46127ae217e","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e708a8fc07c2afd382a3:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"en","tag":"API Reference","count":39},{"language":"de","tag":"API-Referenz","count":39},{"language":"fr","tag":"Référence API","count":39},{"language":"it","tag":"Riferimento API","count":36},{"language":"en","tag":"Data Sources","count":22},{"language":"de","tag":"Datenquellen","count":22},{"language":"fr","tag":"Sources de données","count":22},{"language":"it","tag":"Origini dati","count":22},{"language":"en","tag":"Documentation","count":15},{"language":"de","tag":"Dokumentation","count":15},{"language":"fr","tag":"Documentation","count":15},{"language":"it","tag":"Documentazione","count":15},{"language":"en","tag":"Chatbots","count":12},{"language":"en","tag":"Guides","count":12},{"language":"de","tag":"Chatbots","count":12},{"language":"de","tag":"Anleitungen","count":12},{"language":"fr","tag":"Chatbots","count":12},{"language":"fr","tag":"Guides","count":12},{"language":"it","tag":"Chatbot","count":12},{"language":"it","tag":"Guide","count":12},{"language":"en","tag":"Sessions \u0026 Messages","count":11},{"language":"de","tag":"Sitzungen \u0026 Nachrichten","count":11},{"language":"fr","tag":"Sessions \u0026 Messages","count":11},{"language":"en","tag":"Agents","count":10},{"language":"de","tag":"Agenten","count":10},{"language":"fr","tag":"Agents","count":10},{"language":"it","tag":"Agenti","count":10},{"language":"it","tag":"Sessioni e Messaggi","count":8},{"language":"en","tag":"Session Messages","count":6},{"language":"en","tag":"Whitelabel","count":6},{"language":"de","tag":"Sitzungsnachrichten","count":6},{"language":"de","tag":"Whitelabel","count":6},{"language":"fr","tag":"Messages de session","count":6},{"language":"fr","tag":"Marque blanche","count":6},{"language":"it","tag":"Messaggi di sessione","count":6},{"language":"it","tag":"White label","count":6},{"language":"en","tag":"Chatbot Sessions","count":5},{"language":"de","tag":"Chatbot-Sitzungen","count":5},{"language":"fr","tag":"Sessions chatbot","count":5},{"language":"it","tag":"Cookbook","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"multi-agents-chatbot","slug":"/multi-agents-chatbot","pageMetadata":{"title":"Multi-Agents Chatbot","description":null,"href":"/multi-agents-chatbot","hidden":false},"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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Frame,Heading,Note,OptimizedImage}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`INNOCHAT is the first and most powerful no-code AI Chat framework that\nimplements a multi-agent architecture. Multiple AI Agents work together in a coordinated orchestration\nto enable advanced workflow automations.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8fe93c068b7e7384b09d134ad773ce24`,\"data-og-width\":`1515`,width:`1515`,\"data-og-height\":`495`,height:`495`,\"data-path\":`images/multi-agents-chatbot-7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=19873bb97fdebfe96adde21a241f4546 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=70fa51e15c4e5e3567d7ac5b2e738e6e 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6fa827857132407a5fcf4f3cb075e4a0 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8b9ec6ef7e0da8c48d0f01400597286c 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=24850738dbb55dceb6e223f315fb1785 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8e8650b3c661909216daf8122660ceef 2500w`})}),`\n`,_jsx(_components.p,{children:`We present this guide to help you understand how our Agents work together, as well as share\nwith you some best practices surrounding multi-agent chatbot design.`}),`\n`,_jsx(_components.p,{children:`All Agents have two states:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Active:`}),` Agent is “Connected”. It is live and running.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Inactive:`}),` Agent is “Disabled”. It does not do anything.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Only a single Agent engages with the user at any given time. Our AI Supervisor works in the background, in real time,\nto decide which Agent processes the user’s inquiry when it comes in.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Agents are completely isolated from one another. This means that you cannot\ntell Agent B what to do from inside Agent A, and you cannot tell the AI\nSupervisor to “pass the baton” from Agent A to Agent B directly. The AI\nSupervisor cannot be instructed on what to do using natural language.`})}),`\n`,_jsx(_components.p,{children:`The AI Supervisor assigns user queries to AI Agents based on the Agent description. This means that if\nyou have only a single AI Agent, then you don’t need a very good description. But if you are working with\nmultiple AI Agents, then you should have as explict a description as possible.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Agent Description - What kind of tasks should the Agent do?`}),`\n`,_jsx(_components.li,{children:`Agent Prompt - How should the Agent perform its tasks?`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=2215df96ea10e24b1e2309989e2836fd`,\"data-og-width\":`762`,width:`762`,\"data-og-height\":`651`,height:`651`,\"data-path\":`images/multi-agents-chatbot-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=da76a69fbd7a44ed010a8556c0c324c3 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8e77415774e1f8d551f04acd407adca4 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6b14e428e558500034ff3872830241a1 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=885c4b76a7b9e66db27df7271263fce1 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c6f68602b7c5a047c98affdef5da6d06 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=e57dbf79032f50c04c9d75a98186211a 2500w`})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`AI Agent description is different from the Prompt. Description should tell the\nAI Supervisor what the Agent is designed to do at a high level, focusing on\nthe type of user queries it should handle. Prompt is a set of instructions\ntelling the AI Agent how to behave.`})}),`\n`,_jsxs(_components.p,{children:[`Good Agent descriptions should answer the question `,_jsx(_components.strong,{children:`“What type of queries should the Agent handle?”`}),`\nMore specifically, Agent descriptions should encompass all relevant “user intents” that it is supposed to handle.`]}),`\n`,_jsxs(_components.p,{children:[`Agent descriptions `,_jsx(_components.strong,{children:`should not`}),` include details about “how the Agent performs its job”.\nThat part should be reserved for the Agent’s Prompt.`]}),`\n`,_jsx(_components.p,{children:`Here are some examples of good Agent descriptions:`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`INNOCHAT Support`,id:`innochat-support`,children:[_jsx(_components.p,{children:`Embody the role of “INNOCHAT Expert,” a specialized guide for INNOCHAT. Your main objective is to assist users with answering INNOCHAT-related questions related to:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Use cases`}),`\n`,_jsx(_components.li,{children:`Features and capabilities`}),`\n`,_jsx(_components.li,{children:`Data security`}),`\n`,_jsx(_components.li,{children:`Pricing`}),`\n`,_jsx(_components.li,{children:`AI Agents and multi-Agent architecture`}),`\n`,_jsx(_components.li,{children:`User identity verification`}),`\n`,_jsx(_components.li,{children:`Chunk curation`}),`\n`,_jsx(_components.li,{children:`Function calling`}),`\n`,_jsx(_components.li,{children:`Partnership program`}),`\n`,_jsx(_components.li,{children:`Custom domains`}),`\n`,_jsx(_components.li,{children:`Tokens`}),`\n`]}),_jsx(_components.p,{children:`All intents handled by this Agent should be related to INNOCHAT.`})]}),` `,_jsx(Accordion,{title:`Product Expert`,id:`product-expert`,children:_jsx(_components.p,{children:`The Product Expert handles any user queries related to Example Company’s\nproducts. This includes questions regarding: - Product availability - Product\nspecifications - Price - Shipping location - Warranty - Return policy -\nDisclaimers, legal notices, and warning labels`})}),_jsxs(Accordion,{title:`Order Status Assistant`,id:`order-status-assistant`,children:[_jsx(_components.p,{children:`The Order Status Assistant handles any user queries related to an order’s status. This includes questions regarding:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Product package tracking`}),`\n`,_jsx(_components.li,{children:`Current package location`}),`\n`,_jsx(_components.li,{children:`Estimated time of delivery`}),`\n`,_jsx(_components.li,{children:`Late delivery compensation`}),`\n`]})]})]}),`\n`,_jsx(_components.p,{children:`So what makes for a good multi-agent chatbot design? How can I ensure that all my user intents are handled by the appropriate Agent?`}),`\n`,_jsx(_components.p,{children:`In general, a multi-agent architecture is great for having specialized AI Agents work together as a team. Each AI Agent\ncan be trained on a different set of source data, be powered by a different LLM, have a different Prompt, or even be given\ndifferent tools (functions). It is much more effective than dumping everything into a single Agent.`}),`\n`,_jsx(_components.p,{children:`On the surface, your users will not know that they are engaging with multiple AI Agents when talking to the chatbot,\nsince all of the complex orchestration takes place seamlessly behind the scenes. With the right setup, they will feel\nas though they are talking to a human instead of a machine. A multi-agent chatbot has the potential to be much more\npowerful than single-agent ones like ChatGPT.`}),`\n`,_jsx(_components.p,{children:`In our AI Supervisor routing design, we use an algorithm that balances latency with performance.\nIt will not always give you 100% accuracy, but you can get pretty close if you design your chatbots effectively.`}),`\n`,_jsx(Heading,{level:`2`,id:`debugging-the-chatbot`,children:`Debugging the chatbot`}),`\n`,_jsx(_components.p,{children:`If you notice that the chatbot is not responding to your expectations, then there may be two causes.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The wrong Agent may have been assigned to handle the incoming user query.`}),`\n`,_jsx(_components.li,{children:`The Agent itself may not be optimally configured.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`To find out whether your intended Agent has been selected to handle the user’s query, go to “Inbox” and turn on debug mode.\nToggle it on here:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=2129bfecea760c774411d30e980eb45b`,\"data-og-width\":`1065`,width:`1065`,\"data-og-height\":`831`,height:`831`,\"data-path\":`images/multi-agents-chatbot-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a73aeddb4342b96584bdbf7e54de2b34 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=141fee6025d922d9a7c051fc7debdce4 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=5db6636074aa34aeb72e6888b25259bd 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6d516a7e8ab45bb2d3161f46d2f33219 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=f6e62794230422617f32a6db8ca6bebf 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=e50b7d2caf121e1df0d7911744294ebe 2500w`})}),`\n`,_jsx(_components.p,{children:`Under “Active Agent”, you will see the Agent that generated the response. Please note that you will only see “Active Agent” metadata\nif you have more than one connected AI Agents.`}),`\n`,_jsx(_components.p,{children:`If the Agent that handled the user query was not the correct one, you can return to Agent configuration and update its name, description,\nor prompt.`}),`\n`,_jsx(_components.p,{children:`If the correct Agent handled the user query but the response was not what you expected, then the issue resides within the Agent itself.\nYou will then need to update the Agent configuration. The most straightforward way to fix a response is by revising the AI’s answer directly:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6a06643acb86c46b41281051f2c63685`,\"data-og-width\":`624`,width:`624`,\"data-og-height\":`613`,height:`613`,\"data-path\":`images/multi-agents-chatbot-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=3c7bd64f128e539702243e27361197f9 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=4291d8f2ffd3beca39ea018dffbab476 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c279e36b1f06170223516244d764bd8f 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a3235156ce6e1bc805795ce015597265 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=44204d8fc6db249863f147318bcc6a1f 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/multi-agents-chatbot-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=4f4db526f459197c9260ce55a78ca22e 2500w`})}),`\n`,_jsx(_components.p,{children:`This ensures that the chatbot will generate an answer based on what you revised every time it encounters the question in the future, assuming\nthe same Agent was chosen to respond to the query.`}),`\n`,_jsx(_components.p,{children:`If you’d like to make the Agent more robust and consistent in general, you can curate the training data, choose a more powerful LLM, or be more\nexplicit in your base prompt.`}),`\n`,_jsxs(_components.p,{children:[`To learn some best practices for training the chatbot, see `,_jsx(_components.a,{href:`/best-practices`,children:`best practices for preparing training data`})]}),`\n`,_jsxs(_components.p,{children:[`To learn more about fine-tuning Agent intents, please check out the article `,_jsx(_components.a,{href:`fine-tuning-agent-intents`,children:`Fine-Tuning Agent Intents`}),`.`]})]})}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":"Multi-Agents Chatbot","description":null,"href":"/multi-agents-chatbot","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Debugging the chatbot","slug":"debugging-the-chatbot","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"innoq","siteName":"innoChat API","title":"Multi-Agents Chatbot - innoChat API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/multi-agents-chatbot","matchLevel":0},"de":{"href":"/de/multi-agents-chatbot","matchLevel":1},"fr":{"href":"/fr/multi-agents-chatbot","matchLevel":1},"it":{"href":"/it/multi-agents-chatbot","matchLevel":1}}},"lastModified":"2025-10-15T19:20:42.261Z","originalFileLocation":"multi-agents-chatbot.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=\"application-name\" content=\"innoChat API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Multi-Agents Chatbot - innoChat API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"innoChat API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.innochat.ch/multi-agents-chatbot\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://innoq.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Multi-Agents+Chatbot\u0026amp;theme=d32e8e178367d8e52a00ee73\u0026amp;signature=5ddaf149553830dbf3a477ca6ad99d8dc43f1d5dc9dbaed901171925ad2ba73c\">\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=\"Multi-Agents Chatbot - innoChat API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://innoq.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Multi-Agents+Chatbot\u0026amp;theme=d32e8e178367d8e52a00ee73\u0026amp;signature=5ddaf149553830dbf3a477ca6ad99d8dc43f1d5dc9dbaed901171925ad2ba73c\">\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/innoq/xIqE2ijYpQ8yansi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"innoChat API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E3F51\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.innochat.ch/multi-agents-chatbot\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/multi-agents-chatbot.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.innochat.ch/multi-agents-chatbot\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.innochat.ch/de/multi-agents-chatbot\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.innochat.ch/fr/multi-agents-chatbot\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.innochat.ch/it/multi-agents-chatbot\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.innochat.ch/multi-agents-chatbot\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.innochat.ch/#organization\",\"name\":\"innoChat API\",\"url\":\"https://docs.innochat.ch\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/light.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=40744d3184133a986aba56b47474b33c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.innochat.ch#website\",\"name\":\"innoChat API\",\"url\":\"https://docs.innochat.ch\",\"publisher\":{\"@id\":\"https://docs.innochat.ch/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.innochat.ch/multi-agents-chatbot#webpage\",\"url\":\"https://docs.innochat.ch/multi-agents-chatbot\",\"name\":\"Multi-Agents Chatbot\",\"dateModified\":\"2025-10-15T19:20:42.261Z\",\"isPartOf\":{\"@id\":\"https://docs.innochat.ch#website\"},\"breadcrumb\":{\"@id\":\"https://docs.innochat.ch/multi-agents-chatbot#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.innochat.ch/multi-agents-chatbot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.innochat.ch/creating-first-chatbot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multi-Agents Chatbot\",\"item\":\"https://docs.innochat.ch/multi-agents-chatbot\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.innochat.ch/multi-agents-chatbot#article\",\"headline\":\"Multi-Agents Chatbot\",\"name\":\"Multi-Agents Chatbot\",\"url\":\"https://docs.innochat.ch/multi-agents-chatbot\",\"mainEntityOfPage\":{\"@id\":\"https://docs.innochat.ch/multi-agents-chatbot#webpage\"},\"dateModified\":\"2025-10-15T19:20:42.261Z\",\"publisher\":{\"@id\":\"https://docs.innochat.ch/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.innochat.ch#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"innoChat API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"innoChat API","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"Guides","pages":[{"title":"Create Your First Chatbot","href":"/creating-first-chatbot"},{"title":"Lead Collection","href":"/lead-collection"},{"title":"Human Support Escalation","href":"/human-support-escalation"},{"title":"Inbox Notifications","href":"/inbox-notifications"},{"title":"Conversation Labeling","description":null,"href":"/conversation-labeling"},{"title":"Multi-Agents Chatbot","href":"/multi-agents-chatbot"},{"title":"Fine Tuning Agent Intents","description":"Learn how to fine-tune AI Agent intents for more accurate routing in multi-agent chatbots.","href":"/fine-tuning-agent-intents"},{"title":"AI Supervisor Overrides","href":"/supervisor-overrides"},{"title":"Bring Your Own Key (BYOK) and Pricing","href":"/byok-pricing-guide"},{"title":"Working with Tables and CSV","href":"/working-with-tables"},{"title":"Best practices for preparing training data","href":"/best-practices"},{"title":"Why does my chatbot not answer correctly?","href":"/help"}]},{"group":"Function Calling","pages":[{"title":"RAG from an External Data Provider","href":"/rag-from-external-data-provider"}]},{"group":"Authentication Webhook","pages":[{"title":"User Identity Verification","href":"/user-identity"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api-key-setup"}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/slack"}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/tools/tools-intro"}]},{"tab":"Whitelabel","pages":[{"title":"Whitelabel","href":"/whitelabel/whitelabel-intro"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/introduction"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/multi-agents-chatbot"}]},{"language":"it","pages":[{"title":"it","href":"/it/multi-agents-chatbot"}]}]},"title":"Multi-Agents Chatbot - innoChat API","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BbYRHtLl.js","DynamicMarkdown-DN96a4Ur.js","zoom-image-lightbox-D7yRe3On.js","lightbox-handle-r17bVUz3.js"]}