Maia for Domain Model

Last modified: April 24, 2025

Introduction

Maia for Domain Model is an AI-powered tool that you can use for generating new domain model as well as explaining and providing suggestions for existing domain models. Accessing Maia for Domain Model directly in existing domain models is supported in Studio Pro 10.18 and above. Maia for Domain Model has some limitations. For more information, see the Limitations section below.

Using Maia for Domain Model

In Studio Pro 10.18 and above, Maia for Domain Model is enabled by default.

You can find it in the the toolbar of a domain model:

If you want to disable this feature, go to Edit > Preferences > the New Features tab > the Maia section.

After clicking Maia for Domain Model, a dedicated chat interface will appear at the right side of Studio Pro under the Maia tab:

Describe your application or its main goals in the chat. Maia will use this information to generate a relevant domain model for you. After a domain model is generated and if the dedicated chat is still active, you can continue asking Maia to add more entities and associations to the generated domain model. You can also ask Maia to explain or improve the generated domain model through further requests.

In Studio Pro 10.17 and above, it also supports adding more attributes to an existing entity in the generated domain model. In Studio Pro 10.18 and above, you can access Maia for Domain Model directly in existing domain models.

Best Practices for Text Input

To achieve optimal results, provide context about your application by describing its main use cases, customer needs, or other relevant details. The more Maia knows about your application, the more tailored and accurate the generated domain model will be.

Below are some examples of prompts you can use as a starting point:

  • The app will help users …
  • This module handles …
  • Customers need to be able to …
  • I want to send notifications when …
  • The app will analyze and report on …
  • This feature allows users to …

Below are examples of prompts you can use to ask Maia for explanations or suggestions to improve a domain model:

  • Can you explain the function and purpose of this domain model?
  • I want to add an attribute ATTRIBUTE_NAME to the entity ENTITY_NAME.
  • I want to make the domain model more efficient. Can you suggest optimizations?
  • Could you identify any potential issues with this domain model and recommend solutions?

Limitations

Maia for Domain Model has some limitations.

Enumeration Generation

In Studio Pro 10.17 and below, it is not possible to generate enumerations. In Studio Pro 10.18 and above, it can generate an attribute of type Enumeration if there is an existing enumeration in the module to refer to.

Generalization Not Supported

Currently, it cannot set generalization for an entity.

Read More