← ERD Designer

The ERD Designer Agent

Last updated: October 12, 2026

The Agent is a small program you run on your own computer. It lets ERD Designer, in your browser, read a schema from one of your databases and apply DDL to it — without your database password ever leaving your computer.

1. Why it is needed

ERD Designer runs in your browser, and our servers run on the internet. Neither can reach a database on your computer, in your office network, or inside your cloud. The ERD Designer Database Agent is an optional install that you place on your own computer — the one you use ERD Designer on — to serve database interaction.

The Agent closes this gap. It runs on your computer, inside your network, where your databases can be reached. It interacts with ERD Designer, in your browser, only while it is running — quit it and it stops.

The Agent connects only to the databases you add, and only services requests coming to it from ERD Designer in your own browser.

You do not need the Agent to draw diagrams, import a DDL file, or generate, copy and download DDL. It is needed only to work with a live database directly — so its use is entirely optional.

2. What it can do

It works with PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, SQLite, Amazon Redshift, Google BigQuery and Snowflake.

3. What it cannot do

4. How it keeps your database safe

Three separate checks stand between a click in the application and a change to your database. Each can refuse by itself.

  1. You, in the application. Nothing is applied until the exact statements are on your screen and you press Apply. What you apply is what runs.
  2. The Agent's own settings. They say which databases this computer may read and which it may write. The default is read-only.
  3. Your database's permissions. The database credentials you place in the Agent can do only what the database itself grants.

Around those checks:

Our Privacy Policy and Terms of Service say the same in their sections on the Agent.

5. Download

The Agent is free to download: an app for the Mac, and a Terminal program for Windows and Linux. Choose the build for the computer that can reach your database — usually the one you are using now.

You can also download it from inside the application: open Import DDL and choose Connected database, or press Apply to Database in the Generate DDL window.

On a Mac, the download is an installer (.pkg). Open it and follow the steps; the ERD Designer Agent app goes into your Applications folder. It is signed by ERD Designer, LLC and notarized by Apple.

On Linux, the download is a .zip. Unzip it, then run the ddl-apply program inside.

On Windows the Agent is not yet code-signed, so SmartScreen warns the first time you run it: choose More info, then Run anyway.

Or, on Linux, install it from Terminal in one step. Open Terminal and paste:

curl -fsSL https://erddesigner.com/agent/install | sh

It downloads the Agent onto your Desktop (or into ~/ERD Designer Agent where there is none) and opens it.

6. Set it up

On a Mac

  1. Install it. Open the downloaded installer (.pkg) — from your Downloads folder, or your browser's list of downloads — and follow its steps. ERD Designer Agent goes into your Applications folder.
  2. Open ERD Designer at app.erddesigner.com and sign in.
  3. Start the Agent from ERD Designer. Open Import DDL and choose Connected database (or press Apply to Database in the Generate DDL window), then press Open the Agent. Your browser asks once whether to open ERD Designer Agent — choose Open, and tick Always allow if it offers it. The Agent starts with just its icon in the Dock, and ERD Designer finds it in a few seconds.
  4. Add your database. Click the Agent's icon in the Dock to open its window, then choose ERD Designer Agent → Add a Database… in the menu at the top of the screen. It asks for a short name, the database type, the address (host:port/database), the user, the password, and the database version if you know it. The short name is what you will see in ERD Designer. Amazon Redshift, Google BigQuery and Snowflake ask for what each needs instead: Redshift its endpoint, port, database, user, password and schema; BigQuery its service-account key file; Snowflake the account identifier and a private key file or access token. It tests the connection before saving.
  5. To apply diagrams to it, choose Change Database Permissions… and grant Write access. (Skip this if you only want to read schemas.)
  6. Back in ERD Designer, press Look again. Your database appears, ready to read or apply to.

From then on, ERD Designer's Open the Agent starts it whenever it is not running; you can also open it yourself from your Applications folder. The Agent's menu also has Edit Database Credentials…, Test a Connection, View the SQL Log (every statement the Agent has sent), Change ERD Designer's Agent port…, Remove a Database… (its settings and any stored password are deleted from this computer; the database itself is not touched) and Refresh the List; its window has the same actions as buttons. Closing the window leaves the Agent running, its icon in the Dock — click the icon to bring the window back. Quit ERD Designer Agent (⌘Q) stops it.

On Windows and Linux

  1. Open the Agent. On Linux, unzip the download first. It opens a short menu in a terminal window and starts listening. Leave it open while you use ERD Designer.
  2. Choose 1, Add a database, and answer its questions, as on the Mac.
  3. Choose 4, Test a connection.
  4. Choose 3, Change a database's permissions, and grant Write Access. (Skip this if you only want to read schemas.)

Its other choices: 2 edits a database's credentials, 5 shows the SQL log, 6 changes the listening port, 7 removes a database, R refreshes the list, and Q quits, which stops the Agent.

7. Use it from ERD Designer

To draw a diagram from a live database: open Import DDL, stay on Connected database, choose the database, then the schema.

To apply a diagram to a database: open a physical diagram and press Generate DDL. Choose whether to run the full script or only the differences, choose the database and the schema, read the statements that will run, then press Apply. If anything is missing, pressing Apply tells you what happened and how to fix it.

8. If something is not working

9. Remove it

Quit the Agent. On a Mac, drag ERD Designer Agent from your Applications folder to the Trash; on Windows and Linux, delete the program file. To remove everything it kept, also delete its settings file, .ddl-apply.json, and its .erddesigner folder, both in your home folder. Nothing else is installed.

Questions

Write to support@erddesigner.com.