DDDesigner
Resources
RUStart

Product documentation

Working with AI

Connect Cursor, Claude, ChatGPT, and other assistants to DDDesigner with agent keys and a safe preview/apply cycle.

External AI assistants can read your model and propose changes. DDDesigner stays the source of truth: every mutation is validated, and persistence happens only after an explicit safe cycle.

Create an agent key

  1. Open the project.
  2. Go to Tools → People.
  3. Open Agent keys.
  4. Name the key and choose read only or read and write.
  5. Create the key and copy the secret immediately — it is shown once.

Agent keys dialog

Never commit the key, paste it into public chats, or put it in screenshots you publish. If it may have leaked, Revoke and create a new key.

The key is bound to one project and acts as the user who created it. Cloud MCP does not need a separate project id.

Safe change cycle

Use this sequence with every assistant:

  1. Load summary and diagnostics (whoami / get_summary, get_diagnostics).
  2. Discuss the change; load ops_catalog before inventing operation names.
  3. Preview without saving (preview_ops).
  4. Review the preview result.
  5. Apply (apply_ops) only after your explicit approval and a successful preview.
  6. Run diagnostics again.

Starter instruction for the assistant:

Start with whoami or get_summary and get_diagnostics. Do not invent operation names; load ops_catalog first. Preview every change without saving. Apply only after my explicit approval and a successful preview. For generated code use codegen_preview, list_codegen_files, and get_codegen_file — do not dump the whole tree.

Cloud MCP

Endpoint: https://app.dddesigner.com/mcp
Header: X-Agent-Key: <your secret>

Works with Cursor, Claude, Codex, Gemini, and similar MCP clients. The People dialog includes a copyable configuration template (placeholder secret only).

Codegen through the assistant

  1. Fix model errors (get_diagnostics).
  2. codegen_preview — paths and diagnostics.
  3. list_codegen_files / get_codegen_file for selected paths only.

MCP does not push to Git or download a ZIP — use the Generated Code panel in the workspace for that. See Code generation.

ChatGPT and CLI

ChatGPT Actions and the dddesigner CLI need the app base URL and project UUID from the browser address or Properties. Prefer cloud MCP when your tool supports it; the People dialog includes configuration templates.

Next steps

Open DDDesigner

Create a workspace and apply these steps in a live project.

Start free