Layered Assistants in CometAI

Summary

Layered Assistants allow you to build a hierarchy of AI assistants that work together to handle user requests. A Layered Assistant uses a parent assistant to evaluate incoming questions and automatically route them to the most appropriate child assistant for a response.

Body

Table of Contents 

Introduction 

Layered Assistants allow you to build a hierarchy of AI assistants that work together to handle user requests. A Layered Assistant uses a parent assistant to evaluate incoming questions and automatically route them to the most appropriate child assistant for a response. 

This approach helps organize complex workflows, improve response quality, and create specialized experiences for different types of requests. Instead of relying on a single assistant to perform every task, Layered Assistants can direct users to assistants that are configured for specific topics, departments, or functions. 

Key Features 

  • Intelligent Request Routing: Automatically direct users to the most appropriate assistant based on their request. 
  • Parent and Child Assistant Structure: Use a parent assistant to make routing decisions while child assistants handle responses. 
  • Custom Decision Logic: Define routing behavior using natural language instructions and decision guides. 
  • Specialized Assistants: Create dedicated assistants for different topics, services, or departments. 
  • Scalable Organization: Manage multiple assistants within a single routing framework. 
  • Improved User Experience: Ensure users receive responses from the assistant best suited to their needs. 
  • Flexible Use Cases: Ideal for support desks, academic services, student resources, departmental knowledge bases, and multi-purpose AI solutions. 

Accessing Layered Assistants 

  • Click on the "Assistant Gallery" on the Assistant Tab. 

Uploaded Image (Thumbnail)

  • The Layered Assistants Tab is visible on the left of the top bar.  

Uploaded Image (Thumbnail)

How to Create Layered Assistants 

  • Go to the Assistant Tab on the top-left sidebar on the sandbox, and click the Layered Assistants button. 

Uploaded Image (Thumbnail)

  • Give your Layered Assistant a Name at first then write a small description. 
    • For example: Support Desk Layered Assistant, with the support requests to the right specialist assistant based on issue type, urgency, and context.  
  • Find the Parent Settings below and give your 1st Parent Assistant a name and add a Description for its role.
    • Also, add a Decision Guide for its routing logic. See the example below. 

Uploaded Image (Thumbnail)

Uploaded Image (Thumbnail)

  • Add child assistants to the parent assistant. 
    • See example below

Uploaded Image (Thumbnail)

Note: Add at least 2 child assistants to the parent to save it properly Once 2 child assistants are added and configured, hit the "Save" button at the bottom-right of the screen to save the Layered Assistant. 

Example Prompts to Create Layered Assistants 

Uploaded Image (Thumbnail)

Decision Guide:  

''' Decision Guide Use this assistant as the top-level router for all support-related requests. Route the user to the most relevant sub-parent or leaf assistant based on the issue category:  

Billing / payments → choose the Billing Assistant (route to the Billing Assistant)  

Account access / login / password → choose the Account Access Assistant (route to the Account Access Assistant)  

When deciding, prefer the branch that best matches the user’s main problem:  

If they mention charges, invoices, refunds, subscriptions, or payment methods, route to Billing Assistant  

If they mention signing in, passwords, MFA, or account recovery, route to Account Access Assistant  

If the request is ambiguous:  

Ask yourself which branch would most likely resolve the issue fastest  

Prefer the branch that handles the user’s immediate pain point 

If the issue spans multiple areas, route to the primary root cause first  

As the Support Desk Router, you cannot answer general questions too! thats against your guardrails you can only rout to the children assistants which will answer the questions.''' 

Child Assistant 1 - Billing Assistant 

Uploaded Image (Thumbnail)

Child Assistant 2 - Account Access Assistant 

Uploaded Image (Thumbnail)

How to Delete a Layered Assistant 

  • Go to the Assistants Tab > Assistant Gallery > Layered Assistants.
  • Click on the Recycle bin icon as annotated below. 

Uploaded Image (Thumbnail)

How to Access and Chat with a Layered Assistant 

  • The Created Layered Assistant i.e. Prompts "Support Desk Layered Assistant" should appear on the left sidebar under the Layered Assistants tab and inside.

Uploaded Image (Thumbnail)

Uploaded Image (Thumbnail)

Uploaded Image (Thumbnail)

Tip: You can also create multiple sub-parents & have multiple children/sub-parents inside those sub-parents as well. 
Disclaimer: The Publish at Path feature is currently under internal testing and should not be used at this time. The AI Generate feature for DESCRIPTION and DECISION GUIDES is not working, and the CometAI team is working internally to resolve the issue. 

Details

Details

Article ID: 1584
Created
Sun 7/26/26 8:59 PM
Modified
Tue 7/28/26 11:05 AM