Ed
Ed is Weld's AI agent in the model
editor. It works through the same tools as the Weld MCP
server, so instead of answering from a fixed
description of your schema, it looks things up in your workspace while it
answers.
In practice that means you can describe what you want in plain language, and Ed finds the tables itself, writes the SQL, and checks it against your warehouse before it shows it to you. When a change touches several models, Ed finds the models involved and proposes the change to all of them at once.
Ed never changes anything on its own. It proposes, and you apply a change to the editor or publish it.
By default Ed sees your workspace's metadata and not the values in your data. Data shared with AI is where that is changed.
Where to find Ed
- The Ed sidebar in the model editor, where you can ask about the model that is open.
- Fix with Ed, on a query that failed in the preview.
What Ed does
Finds the right data
Ed searches your synced tables and your models and reads their columns, so it writes SQL against what is actually in your warehouse. You do not have to select the tables before you ask.
It can also read the SQL of your other models, search the SQL of your published models for a column or a reference, and list the models that read from a given model. It uses these before changing a model that others depend on.
Each step shows in the chat as it happens, for example Searched tables for "orders", Read the columns of raw.shopify.order or Ran a query, so you can see what Ed looked at.
Works with the open model
Every message you send includes the SQL in the open editor tab as it is at that moment, saved or not. You do not need to paste it, and Ed always works from your latest edits.
Checks its own SQL
Before SQL reaches you, Ed checks it against your warehouse without running it:
a dry run on BigQuery, EXPLAIN on other warehouses. If the check fails, Ed
reads the error, corrects the SQL and checks again. A proposal that passed is
marked Valid.
The check catches SQL the warehouse would reject, such as a wrong column name or a type mismatch. It does not run the query, so it cannot tell whether the result is what you wanted.
A proposal Ed could not make valid is still shown, marked as not valid, with the error and the line it came from.
Proposes a change to the open model
A change to the model you have open comes as a proposal with the complete SQL of the model. A valid proposal has four actions:
- Apply writes the SQL into the open tab as a single undo step, so one Cmd+Z (Ctrl+Z on Windows) restores what was there before.
- Run opens the SQL in the preview.
- Show changes shows a diff against what is in the editor now.
- Copy copies the SQL.
Only SQL that passed the check can be applied or run. Applying writes to the editor only: you still save and publish the model yourself.
Changes several models at once
When a change spans more than one model, for example "rename customer_id in
stg_customers and fix everything that reads from it", Ed proposes a
changeset: edits to existing models and new models, which you review and
publish together.
Every model in a changeset is checked with the rest of the changeset in place: a model that reads from one Ed edited or added is checked against the new version, not the published one.
Review opens Review Ed's changes, which shows:
- a diff of each model against its published version, and each new model with the folder it will be created in;
- the published models outside the changeset that read from it, each marked as a view or a table. Views read the new versions right away; tables keep their data until they next run.
You can Reject any model. A model that reads from a rejected one can't be published without it, so it is left out too, and the review says which model it was waiting on.
Accept publishes the models you kept in dependency order, upstream models first. You can close the review while it runs.
- If a model fails, the models that read from it are skipped and the review reports a partial publish. Models already published stay published; nothing is rolled back.
- Afterwards, the review lists any model outside the changeset that no longer passes a check against your warehouse, and any table that holds data from before the publish until its next run.
- Active Reverse ETL syncs on a changed model are updated the same way as when you publish from the editor.
If someone edits one of the models after Ed proposed the changeset, that model is marked Edited since the proposal: reject it to accept the rest, or ask Ed to propose again. The check runs once more right before publishing, so a changeset never overwrites an edit.
Accepting a changeset publishes models, so it needs a role that can publish models. In workspaces whose models are managed in GitHub, a changeset can be reviewed but not published from Weld.
Fixes a failed query
A query that fails in the preview has a Fix with Ed button, which sends the error and the model's SQL straight to Ed. If you ran only a highlighted part of the model, Ed gets the whole model and is told which part ran, since the error is often that the highlighted part is incomplete. The fix is checked the same way as any other proposal.
When you are already chatting with Ed about the same tab, the error goes into that chat.
Looks at the data, if you allow it
By default Ed works with your workspace's metadata only: table and column names, column types, and the SQL of your models. It does not run queries and never sees the values in your data. When a question needs values, Ed says that Send metadata only is on and suggests a query you can run yourself.
An admin can turn that off under Settings → AI. Ed can then run read-only queries against your warehouse, for example to see which values a column holds before it writes a filter, or why a result is empty. It keeps those queries few and small, and only a limited sample of each result is sent to the AI model. See Data shared with AI.
Remembers the conversation
Depending on your plan, chats are saved so you can reopen one later or delete it. Each chat is tied to the editor tab it was about: if you move to a different tab, a proposal offers to take you back to the tab it belongs to rather than applying somewhere it does not fit. The bar above the message box lets you continue an earlier chat about the tab you are on, or start a new one.
What Ed will not do
Ed never writes on its own. It reads your schemas and models, checks SQL against your warehouse without running it and, where AI settings allow it, runs read-only queries. On its own, it cannot save, publish or delete a model, or change a sync. Changes happen only when you apply a proposal and publish the model, or accept a changeset.
Where Ed is allowed to run queries, it runs them against your warehouse, so the compute they use is billed to your warehouse like any other query you run from Weld. Each query and each check runs as the member who asked, with that member's permissions, so Ed can reach no more of your warehouse than you can.
The AI model behind Ed
Ed runs on Anthropic's Claude models, hosted on Amazon Bedrock in the EU. Your prompts, your SQL and, if you allow it, query results are processed in EU regions only, and they are not used to train the models.
Who can use Ed
Ed is included in every plan and in the 14-day trial. Within a workspace, it is available to members with permission to run queries, and accepting a changeset also needs permission to publish models. See Workspace settings for the roles a member can hold.
Turning Ed off
An admin can turn Ed off for the whole workspace under Settings → AI → Ed, with the Ed and AI features toggle. That turns off Ed, AI-generated model documentation and AI explanations of failed syncs for everyone in the workspace. It does not affect AI tools connected through the MCP server; use Send metadata only to limit what they can see.
Ed and the MCP server
Ed uses the same tool definitions as the Weld MCP server: searching tables, reading schemas and models, and running read-only queries are the same tools in both places, with the same permissions and the same Send metadata only setting.
The difference is what each one is given. The MCP server exposes Weld to an agent outside Weld, such as Claude, Cursor or GitHub Copilot, which can also manage syncs and models as your role allows. Ed, inside Weld, gets only the tools that read, plus its own tools for proposing changes for you to apply or accept.