Managing Maestro agents

Admins can create, edit, and delete custom Maestro agents from the Agents page in Maestro Studio. The Agents page shows all custom Maestro agents that you are responsible for in the environment.

Important This is a cloud-only feature. It is not supported for Collibra Platform for Government or Collibra Platform Self-Hosted (CPSH) environments.

You can create a custom Maestro agent in the following ways:

Method Use it to
Draft with Maestro Describe your agent in the Maestro Assistant chat and let Maestro Builder draft it for you.
Use a template Create an agent from a Collibra-provided template.
Build step by step Create an agent with the wizard-based agent builder in Maestro Studio.
Import agent Create an agent from a YAML file that uses the structure of an exported agent.

Select Create agent on the Agents page in Maestro Studio to see these options.

To edit an existing custom Maestro agent with Maestro Builder, go to Edit a custom Maestro agent using Maestro Builder.

Create a custom Maestro agent using Maestro Builder

Maestro admins can use Maestro Builder in Maestro Assistant to create a custom Maestro agent by describing it in a conversation. You can open Maestro Builder directly in the chat or from Maestro Studio. Maestro Builder is a Collibra-managed system agent. For more information, go to About Maestro agents.

Prerequisites

Steps

  1. Open Maestro Builder in one of the following ways:
    • In Maestro Assistant:
      1. Click Maestro to start a chat with Maestro Assistant.
        A Maestro Assistant dialog box opens.
      2. Select Maestro Builder from the Ask an Agent drop-down list or type the handle @maestro_builder in the chat.
    • In Maestro Studio:
      1. On the main toolbar, click Products icon > Maestro Studio.
      2. Go to Agents.
      3. Click Create agent and select Draft with Maestro.
        Maestro Assistant opens in full-screen mode with Maestro Builder already selected.
  2. Tell Maestro Builder what you want your new agent to help with, or click an example prompt.
  3. Follow the guidance from Maestro Builder through each step of designing and configuring the agent.
    Maestro Builder creates the custom Maestro agent as a draft.
  4. Optionally, open the agent in Maestro Studio to review it, test it, and submit it for review.

Create a custom Maestro agent from a template

You can start from a Collibra-provided template instead of building an agent from scratch.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
    The Agents page opens. There are 2 tabs on this page. The Your agents tab shows all custom Maestro agents that you own or are shared with you in this environment. The System tab shows the agents that are provided and maintained by Collibra.
  2. Click Create agent and select Use a template.
    The template selection wizard opens.
  3. Select the agent template you want to use.
  4. Click Create.
    An agent is created as a draft. You are automatically directed to the new agent's page.
  5. Click into any field to edit the content.
  6. Click Submit for Review in the Summary tab when the agent is ready to be published.
    When you submit an agent for review, the status is updated to Pending Review and notifies the users with the Publish Agents permission.

Create a custom Maestro agent step by step

Use the wizard-based agent builder to set up each part of a custom Maestro agent yourself, with guidance at every step.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
    The Agents page opens.
  2. Click Create agent and select Build step by step.
    A wizard-based agent builder opens.
  3. Complete all the steps in the builder. The agent is saved as a draft whenever you click Save or go to another step.
    For details on each step, go to Maestro agent builder.
  4. Click Submit for Review in the Summary tab when the agent is ready to be published.
    When you submit an agent for review, the status is updated to Pending Review and notifies the users with the Publish Agents permission.

Import a custom Maestro agent

You can import a custom Maestro agent from a YAML file. The file doesn't have to come from Maestro Studio, but it must use the same structure as an exported agent. To create your own file, export an existing agent and use it as a template. You can also import an exported file to move an agent to another environment or to create a copy of an agent.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
  2. Go to Agents.
  3. Click Create agent and select Import agent.
    A file browser opens.
  4. Select the YAML file and click Save.
    A confirmation message appears and the agent is added to the Agents page with a Draft status.
    If an agent with the same handle already exists in this environment, a dialog box asks how you want to handle the conflict.

    Warning If the YAML file isn't compatible with the structure of an exported agent, you may get an error. Compare your file with an exported agent and try again.

  5. If the dialog box appears, select one of the following options:
    • Import as a copy: Creates a new agent and adds a number to the handle, for example finrep_2.
    • Overwrite: Replaces the existing agent. You need permission to edit the existing agent. If the overwrite changes the instructions, knowledge base, tools, or access of the agent, the agent returns to Draft status.
  6. Review the agent configuration before you submit the agent for review.

Edit a custom Maestro agent using Maestro Builder

Maestro admins can use Maestro Builder in Maestro Assistant to edit an existing custom Maestro agent by describing the changes in a conversation. You can ask Maestro Builder to update fields such as:

Prerequisites

Steps

  1. Click Maestro to start a chat with Maestro Assistant.
    A Maestro Assistant dialog box opens.
  2. Select Maestro Builder from the Ask an Agent drop-down list or type the handle @maestro_builder in the chat.
  3. Tell Maestro Builder which agent you want to edit and what you want to change. Identify the agent by its name, handle, or UUID.
  4. Follow the guidance from Maestro Builder.
    Maestro Builder applies the changes to the agent.
  5. Optionally, open the agent in Maestro Studio to review the changes.

Note If you change the handle, instructions, knowledge base, tools, ownership, or sharing of an agent without also changing its status, the agent returns to Draft status.

Manage a custom Maestro agent

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
  2. Go to Agents.
    The Agents page opens. This page shows all custom Maestro agents in the environment you are responsible for.
  3. Click the name of the agent you want to update.
    The Agent details page opens.
  4. Edit the agent in one of the following ways:
    1. Click directly into the field you want to update and make the changes.
    2. Click Edit to open the wizard-based agent builder and review or update any or all steps. For details on each step in the builder, go to the respective step information.
  5. Once finished you can:
    1. Click Save to save your changes as a draft.
    2. Click Submit for Review in the Summary tab if the agent is ready to be published.
    3. Click Cancel to go back without saving any changes.
  6. To duplicate or delete the agent, click the More icon and select Duplicate or Delete.

Export a custom Maestro agent

You can export a custom Maestro agent as a YAML file. You can use the exported file to import the agent into another environment or to create a copy of the agent in the same environment. You can also use it as a template for other agents.

Note The YAML file contains the agent configuration, including its handle, instructions, knowledge base references, and tools. It does not include the knowledge base content itself.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro.
  2. Go to Agents and click the name of the agent you want to export.
    The agent details page opens.
  3. Click More icon More and select Export.
    A YAML file is downloaded to your computer. The file is named agent-{handle}-{date}.yaml.

Maestro agent builder

The wizard-based agent builder allows you to update every component of a custom Maestro agent.

Basic information

In the Basic information step, you define the identity of the custom Maestro agent.
This information is visible to data consumers in Maestro Assistant.

Agent instructions

In the Agent instructions step, you provide the agent with interaction details to ensure its autonomous decisions remain aligned with specific business logic and quality standards. In the instructions, you can specify the agent's role, persona, responsibilities, and tone, defining how the agent responds to prompts. You can also include guardrails such as core operating principles, governance or security protocols, and task-specific instructions. These instructions are part of the context provided to the agent with every chat interaction.

Tip Instructions that are too restrictive can interfere with the knowledge base and tools you define in later steps. Make sure the instructions are broad enough to allow the agent to perform its intended tasks.

Tools and knowledge

In the Tools and knowledge step, you select which tools and knowledge base views are available to your agent to answer questions or complete tasks. This is an optional step. However, without at least a knowledge base or tool, the agent has no data to pull from.

Agent tools
Select which tools are available to your agent to answer questions or complete tasks.

You get a list of tools, such as Get Asset Details and List Asset Types. For each tool, a name and description are available.

For all information about these tools, go to About Maestro agents (in preview).

Knowledge base
Switch on the Knowledge base toggle to select which Collibra views the agent can access. The content of these views is loaded into the agent’s context as the core knowledge base. The agent consults this context before using any selected tools to search or retrieve additional information. The toggle is off by default. When enabled, selected sources are added to every request, regardless of whether the question requires them.

Tip This option is best suited for specialized agents scoped to a single asset view that always need that asset’s context. If your agent may need to look up any asset on the platform, use the search tool instead.

Note Agent owners should have access to any knowledge bases associated with the agent. Without access, the knowledge base content won’t be visible to them.

To define the knowledge base:

  1. On the Tools and knowledge step, switch on the Knowledge base toggle.
  2. Open the Context drop-down list and select Organization or Applications.
    Based on your selection, the Organization or Applications drop-down list appears.
  3. Select the organizations or applications you want to select views from.
    You can select multiple organizations or applications.
    As soon as you select items from the drop-down list, the Sources table appears, showing the relevant views you can select.
  4. Select the views you want the agent to reference.
    You can sort and filter the views in the table.
    The context progress bar indicates the percentage of the available capacity that is used. Hover over the information icon to see the actual number of tokens allocated.

Maestro test

In the Maestro test step, you validate the behavior of the custom Maestro agent before publishing it to the wider organization.

You can preview the agent and test it by starting a conversation. If you aren't getting the expected results, go back and edit the knowledge base, tools, and instructions.

At this point, you also define the Agent calling info, such as a welcome message, at least one example question, and an identifying color for the agent to be used in the Maestro Assistant dialog box.

Access

In the Access step, you define who can interact with the agent from the Maestro Assistant dialog box and who can manage it. By default, the agent is available to its creator only.

Summary

The Summary step gives you a high-level overview of the agent.
If one or more steps are not completed, an error is shown in the Summary step.

When the agent is ready to be published, click Submit for Review.
The agent status changes to Pending Review. Users with the Publish Agents permission receive a notification with a link to review the agent. The agent is not available in Maestro chat until it is approved and reaches Published status.

Agent statuses

Every custom Maestro agent has a status that reflects where it is in its lifecycle. Only agents with Published status are visible and callable by data consumers from Maestro Assistant.

Status Description
Draft The agent has been saved but not submitted for review. This is the initial status for all new agents. An agent also returns to Draft status if the owner saves changes after it has been in any other status.
Pending Review The agent has been submitted for review and is awaiting approval from a user with the Publish Agents permission.
Published The agent has been approved and is active. Data consumers with access to the agent can interact with it from Maestro chat.
Rejected The reviewer rejected the agent. The rejection reason is shown on the agent details page. To resubmit the agent, the agent owner clicks Move to draft, makes changes, and then clicks Submit for Review.

Note If you own the agent, you can chat with it in Maestro Assistant if it is in the Pending Review, Draft or Published status, as long as it is valid. You can't chat with an agent in the Rejected status. The conversation shows a Test label to indicate that you are using an unpublished version. You can also preview and test the agent's behavior before publishing it in the Maestro test step of the builder.

Note Changing only the name, description, welcome message, color, or example questions of a rejected agent does not change its status. Changing the handle, instructions, knowledge base, tools, ownership, or sharing returns the agent to Draft status.

Approve or reject an agent

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
  2. Go to Agents.
    The Agents page opens. This page shows all custom Maestro agents in the environment you are responsible for.
  3. Click the name of the agent you want to review.
    The Agent details page opens.
  4. Review the agent configuration.
  5. Click Approve or Reject.
    If you reject the agent, enter a rejection reason. The reason is posted as a comment on the agent details page and the agent owner is notified.
    On approval, the agent status changes to Published and the agent becomes available in Maestro Assistant. The agent owner is notified.

Resubmit a rejected agent

If a reviewer rejects your agent, move it back to Draft status, address the feedback, and submit it for review again.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
  2. Go to Agents.
    The Agents page opens.
  3. Click the name of the rejected agent.
    The Agent details page opens and shows the rejection reason.
  4. Click Move to draft.
    The agent status changes to Draft.
  5. Update the agent to address the reviewer's feedback.
  6. Click Submit for Review in the Summary tab.
    The agent status changes to Pending Review and users with the Publish Agents permission are notified.

Move agents between environments

To move a custom Maestro agent from one environment to another, for example from a test environment to a production environment, export the agent in the source environment and import it in the target environment.

Note The communities, domains, and views referenced in the agent's knowledge base must exist in the target environment. If they don't, you must update the knowledge base after importing.

Configure the Maestro Assistant

You can configure how the Maestro Assistant system agent introduces itself to data consumers.

Prerequisites

Steps

  1. On the main toolbar, click Products icon > Maestro Studio.
  2. Go to Agents, then click the System tab.
    The System tab shows the Maestro Assistant agent, which is managed by Collibra.
  3. Click Edit configuration.
    The Maestro Assistant configuration page opens.
  4. In Welcome message, enter the greeting shown when users open the agent. To include each user's first name, enter {Name}. If you leave this empty, the default Collibra message is used.
  5. In Example instructions, add up to 4 suggested prompts shown to users when they open the assistant, to help them get started.
  6. Click the checkmark to save each field.

Note To choose the content that Maestro Assistant can find with semantic search, go to Settings > Maestro > Semantic search.

What's next

Using Maestro Assistant

Related topics