Licensing#
edg is free for PostgreSQL/CockroachDB, MySQL, MongoDB, and Cassandra. Pro drivers and features (embeddings, LLM completions, jobs, sync, scaffold, metrics, plugins, and TUI) require a paid license.
Free vs Pro#
Drivers#
| Driver | Flag Value | License Required |
|---|---|---|
| PostgreSQL / CockroachDB | pgx | No |
| MySQL | mysql | No |
| MongoDB | mongodb | No |
| Cassandra | cassandra | No |
| Oracle | oracle | Yes |
| Microsoft SQL Server | mssql | Yes |
| AWS Aurora DSQL | dsql | Yes |
| Google Cloud Spanner | spanner | Yes |
Features#
| Feature | Free | Pro |
|---|---|---|
| up / seed / run / deseed / down | ☑️ | ☑️ |
| repl | ☑️ | ☑️ |
| validate | ☑️ | ☑️ |
| Expression evaluation | ☑️ | ☑️ |
| Batch operations | ☑️ | ☑️ |
| Stages | ☑️ | ☑️ |
| Transactions | ☑️ | ☑️ |
| Workloads (TPC-C, YCSB, etc.) | ☑️ | ☑️ |
| capture (workload from stats) | ☑️ | |
| compare (two databases) | ☑️ | |
| cluster (coordinated distributed agents) | ☑️ | |
| convert (between .yaml and .edg) | ☑️ | |
| Embeddings | ☑️ | |
| Expectations | ☑️ | |
| init (schema introspection) | ☑️ | |
| jobs (serve / submit / stream) | ☑️ | |
| LLM completions | ☑️ | |
| Plugins (WASM) | ☑️ | |
| Prometheus metrics | ☑️ | |
| scaffold | ☑️ | |
| sync (run / down / verify) | ☑️ | |
| TUI | ☑️ | |
| Workers (> 1) | ☑️ |
☑️ Included
Buy Pro#
Ready to subscribe? Visit the Purchase page for monthly and yearly options.
For seat counts or custom terms, contact lic@edg.run.
Activating Your License#
After receiving your license key, activate your machine:
edg activate --license "your-license-key"Activating machine a1b2c3d4e5f6...
Machine activated successfully.
License cached to /home/you/.edg/license.licThis registers your machine with the license server and caches a signed license file locally for offline use. You only need to do this once per machine.
Using Your License#
Provide your license key via the --license flag or the EDG_LICENSE environment variable:
# Flag.
edg all \
--driver oracle \
--license "your-license-key" \
--config workload.edg \
--url "oracle://user:pass@localhost:1521/XEPDB1"
# Environment variable (recommended).
export EDG_LICENSE="your-license-key"
edg all \
--driver oracle \
--config workload.edg \
--url "oracle://user:pass@localhost:1521/XEPDB1"Offline Use#
After activation, edg works offline using the cached license file at ~/.edg/license.lic. The cache is valid for 30 days, after which edg will need to reach the license server to re-validate.
Deactivating a Machine#
To release a seat (e.g. before moving to a new machine):
edg deactivate --license "your-license-key"This removes the machine from your license and deletes the local cache.
Checking Your License#
Use validate license to inspect license details without connecting to a database:
edg validate license --driver oracle --license "your-license-key"License info:
ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890
Name: Acme Corp
Entitlements: pro
Expires at: 2027-05-11
Status: VALID
Machine: a1b2c3d4e5f6...
License is valid for driver "oracle".Docker#
In Docker, the machine fingerprint changes per container. Set a stable identity with EDG_MACHINE_ID:
docker run \
-e EDG_LICENSE="your-license-key" \
-e EDG_MACHINE_ID="my-ci-runner" \
codingconcepts/edg activateTo persist the activation across container restarts, mount the cache directory:
docker run \
-v edg-license:/root/.edg \
-e EDG_LICENSE="your-license-key" \
codingconcepts/edg all --driver oracle --config workload.edg --url "..."Error Reference#
| Error | Meaning |
|---|---|
driver "X" requires a license | No license provided. Set --license or EDG_LICENSE. |
tui requires a license | TUI requires a Pro license. Set --license or EDG_LICENSE. |
machine not activated; run 'edg activate' first | License key is valid but this machine hasn’t been activated. |
license has expired | License has passed its expiry date. Renew or contact lic@edg.run. |
license does not include pro entitlement | License is valid but not on a pro plan. |
machine limit exceeded | All seats are in use. Deactivate another machine first. |
cached license is stale | Offline cache is older than 30 days. Connect to the internet to re-validate. |
license has been suspended | License was suspended by the administrator. Contact lic@edg.run. |
By purchasing or using edg, you agree to the Terms of Use and Privacy Policy.