Once you have configured BYOK, AI Chat lets you edit your diagram in plain language while keeping your data model private: the app runs locally, and AI calls go only to the provider whose key you supplied - or to a local Ollama model, in which case nothing leaves your machine at all.

Opening AI Chat

Open AI Chat from its button (a robot icon) in the control bar, or with the keyboard shortcut ⌘⇧A (macOS) / Ctrl+Shift+A (Windows/Linux). It slides in as a panel on the right titled AI Chat.

Type a request in the box - the placeholder reads “Describe what you want to change…” - and press Enter. Responses stream in token by token and render as formatted text, with a check or cross next to each change the assistant makes.

What AI Chat can do

You describe what you want, and the assistant edits the diagram directly. On the main diagram it can:

  • Create, rename, and delete entities - draft tables from a description.
  • Move entities on the canvas.
  • Add and remove relationships - wire up foreign keys, including junction tables for many-to-many.
  • Create and manage legends - group and annotate.
  • Add check constraints - for example to restrict a column to allowed values.

How changes are applied

This is the important part: AI changes apply immediately and automatically as the response streams in - there is no preview or per-change approval step. To keep that safe, Schemity makes the changes:

  • Fully undoable - every AI edit goes through the normal history, so ⌘Z / Ctrl+Z reverses it just like a manual change.
  • All-or-nothing - if any action in a response fails, Schemity rolls the whole response back to the state before it ran, so you never end up with a half-applied change.

Treat AI output as a fast first draft: review what it produced, keep what fits, and undo or adjust the rest.

What it knows about your diagram

Schemity sends the assistant a snapshot of your current diagram - entities and their fields, relationships, legends, and your Naming convention - along with an engine-aware system prompt, so its suggestions use the right data types and defaults for PostgreSQL, MySQL, SQL Server, or SQLite. If you have an active template, it is included too, so new entities the AI creates start with your standard fields.

Inside a context view

When you are working in a context view rather than the main diagram, the assistant is intentionally limited to moving entities, importing them from the main schema, and managing legends - it does not change the shared structure from inside a view. The panel reminds you with “Context view mode: can move entities and manage legends”. Schema changes happen on the main diagram, keeping your single source of truth safe.

You stay in control

Every AI-generated entity is a normal Schemity entity - editable, exportable, and stored in the same JSON. The conversation itself is not saved; closing the panel clears it. Review the result, then commit it like any other change.

Next

Ship your design as SQL in Export SQL / Generate DDL.