Skip to content

Chat AI Mode ​

Generate and iterate on your app using natural language prompts.

What it is ​

Chat AI Mode is the main generation interface in Madrix. You describe what you want in natural language, and the AI agents:

  1. Analyze your request and generate a specification
  2. Wait for your approval before making any changes
  3. Execute the changes (backend + UI + resources) upon approval

When to use it ​

  • Creating a new app from scratch
  • Adding entire modules or entities
  • Refactoring rules or flows
  • Any change that can be described in "business language"

For targeted, field-level adjustments, use Editor Mode.

How to use ​

Starting a generation ​

  1. Open a project (or create a new one from Home)
  2. Ensure you are in AI Chat mode (check the toggle in the top bar)
  3. Type your prompt in the chat input and press Enter or click Generate

The approval checkpoint ​

After sending a prompt, the requirements analyst agent processes your request and generates a specification:

  • Read the specification carefully
  • If it matches your intent, click Approve
  • If it doesn't, write a correction in the chat before approving

WARNING

Approving the specification triggers code generation. Changes cannot be undone automatically.

After generation ​

  • Click Run (or the preview button in the top bar) to open the app
  • Test the new functionality
  • If something is off, describe the correction in the chat

Prompt structure ​

See Prompt Tips for the full guide. Short summary:

[Objective]

Modules: [list]
Entities: [name + fields + types]
Business rules: [list]
Minimum screens: [list]

Iterating on an existing project ​

Use short, focused prompts for incremental changes:

Add a "priority" picklist field (Low | Medium | High) to the Task entity.
When Task.status changes to "Done", set Task.completedAt to today.

See Quick Prompts for a full library of copyable prompts.

AWU consumption ​

Each generation consumes AWUs (Agentic Work Units). Minimize consumption by:

  • Keeping prompts scoped to one change at a time
  • Approving the specification instead of regenerating
  • Testing in small batches

See Platform → AWUs for details.


Next: Editor Mode →

© Madrix Software. All rights reserved.