Using the AI Assistant

Intermediate

Using the AI Assistant

Metapad includes a built-in AI assistant (powered by Claude) that can generate model elements, answer questions about your model, and help you work more efficiently.

Opening the AI Chat

  1. Find the AI Chat panel on the right side of the workspace
  2. If it's collapsed, click the AI icon to expand it

What the AI Can Do

Generate model elements:

  • "Create a node type called 'Server' with properties: IP Address, OS, RAM"
  • "Add 5 server nodes with realistic names"
  • "Create a 'runs_on' relationship type between Application and Server"

Query your model:

  • "How many nodes of type Server do I have?"
  • "Show me all applications that depend on the auth-service"
  • "What node types exist in my metamodel?"

Get modeling advice:

  • "What's a good way to model an IT landscape?"
  • "Should I use a property or a separate node type for 'location'?"

How It Works

  1. Type your request in natural language
  2. The AI analyzes your current model (metamodel + instances)
  3. It proposes changes as a mutation preview showing what will be created/modified
  4. Review the proposed changes
  5. Click Apply to accept, or provide feedback to refine

Tips

  • Be specific about what you want (types, names, properties)
  • The AI respects your metamodel constraints (Allowed Connections)
  • You can iterate — ask the AI to modify or extend its previous output
  • The AI works in your model's language (English or German)
  • For complex models, break your requests into smaller steps