Astah AI Copilot supports a wide range of modeling tasks through natural conversation. This page provides practical scenarios and prompt examples you can use and adapt for your own projects, including:
Use these scenarios as starting points and adjust the prompts to match your domain and modeling needs.
You can begin with high-level requirements and refine them step-by-step to get better proposals from Copilot.
I want to build an order management system for an e-commerce site.
What functions are needed?
For now, just propose ideas without editing the model.
Copilot may propose functions such as :
You can then focus on a specific area and generate a diagram:
Create a class diagram for “2. Order fulfillment”.
→ Copilot generates a class diagram proposal based on the suggested structure.

Adding to an existing model
Add a Payment class to the open class diagram, and associate it with the Order class.
→ Copilot analyzes the current diagram and adds the class and relationship in an appropriate place.
Ask Copilot to review an existing diagram and provide insights about quality and structure.
Point out design issues in the open class diagram.
Copilot may highlight:
Use this as input for refactoring or design reviews.
Convert complex diagrams into clear, natural-language explanations.
Explain the processing flow in the open sequence diagram.
→ Copilot describes each step in plain language, heling you:
(Sample of using the Astah MCP Server and an IDE or external AI client)
Copilot can generate code from your diagrams when integrated with external tools through the Astah MCP Server. For setup instructions, see the Astah MCP Server documentation.
Generate Java code from the open class diagram.
→ Copilot produces Java classes, attributes, and method stubs based on the diagram.
Reflect design changes into code
I added and removed attributes in the open class diagram.
Update the code to reflect these changes.
→ Copilot identifies the modified elements and updates the relevant source code files.

Copilot can analyze source code and generate diagrams directly in Astah.
Create a class diagram from this Java code.
→ Copilot analyzes the code and generates a class diagram with classes and relationships.
For reverse engineering, we have a dedicated plug-in “AI-Powered Code Reverse“.
Ensure your design and implementation stay aligned as they evolve.
Check consistency between the open class diagram and the code.
Copilot can identify inconsistencies such as:
This is especially useful during refactoring or when multiple team collaborate on the same system.
Generate draft technical documents directly from ER diagrams.
Generate a database design document from the open ER diagram “Order Management System ER Diagram”, including the purpose of each table and descriptions of the relationships.
Copilot may output documentation like this:
Database Design Document for Order Management System ER Diagram
1. Overview
This document describes the database design based on the ER diagram
"Order Management System ER Diagram". It manages information about
customers, orders, order items, products, and payments.
2. Table Definitions
2.1. Customer
Purpose:
Stores customer information used by the system.
Columns:
- customerId: ...
- name: ...
- email: ...
...
You can copy or edit the generated content to create official documentation.
If you have any questions or usecase suggestions, please feel free to share them with us!