Skip to Content

Agents

The copilot and the model it runs on, automations that run on their own, approvals for what can't be undone, MCP servers your agents use, and connecting your own agent over MCP.

Every agent works on a workspace the same way: through Dataembed's MCP server, with the tools its scope and its person's role allow, logged under its name, undoable where the change is. That includes the copilot.

The copilot

⌘J / Ctrl+J opens it beside the page. It sees what's on the page (the object, the view, the selected records, the open record), and answers from tool results only.

  • It runs on Claude Opus 5.5 through the Vercel AI Gateway, unless an admin picks another model in Settings → AI & agents (ai_set_model): the copilot and every job switch at their next step. It fetches pages, keeps a sandbox for code and files, and searches the web when its model has its own search (Anthropic's, OpenAI's, Gemini 3 and later). It reaches Dataembed only through the tools any MCP client gets, as you: your role, now.
  • Undo first. It makes the change you asked for at once rather than asking first; every change to records, views, layouts, plugins, objects and fields is in the activity, ready to undo.
  • What can't be undone waits for an approval (below).
  • It lists your threads, where you start a new one or delete one. Threads are yours alone: nobody else, owner or agent, reads them.
  • A thread has a budget ($5) of model spend; web search and the sandbox don't count toward it. Past it, the thread stops; start a new one.
  • It needs AI set up on the deployment: until then it says so, and the plugin shows Needs configuration.

Copilot instructions give it, and every connected agent, standing notes about the workspace.

Jobs

Long work runs unattended as a job with its own budget: Fill with AI fills a field for many records, Find records adds records from the web. A job acts as the person who started it, and shows on the object's toolbar with its progress and Cancel (its starter, or an owner or admin). Once it ends, every member sees there how it ended for a day, until they dismiss it. Agents follow it with jobs_get and stop it with jobs_cancel.

Automations

An automation wakes the agent on its own and gives it a prompt:

  • When records change: records of an object are created (by hand, by an agent or by an import), updated or deleted. For updates you can name fields, and only a change to one of them wakes it.
  • On a schedule: every hour, day or week.
  • When a webhook is called: another service (a form, Zapier, GitHub, a script) posts to its address with its secret as Authorization: Bearer <secret> (or, for a sender that can't set a header, ?secret=, which servers may log). Bodies over 16 KB are refused. The secret is shown once; the body reaches the run as data.

Make one in Settings → AI & agents → Automations, or ask the copilot or any agent (automations_create). It runs as the person who made it, with what their role allows, never above write.

  • One run at a time. Changes that come while a run works wait for the next run, which gets them together. A run is told which records changed and which fields, and reads the records itself.
  • No loops. What an automation's own run changes never wakes an automation.
  • What it reads is data. A run treats record values and webhook bodies as data, never as instructions. It has Dataembed's tools and the model's web search, but no sandbox or page fetch, and only the MCP servers the automation names.
  • Runs are jobs with a budget ($2 each), listed with the automation and on the object's toolbar. Cancel one like any job. Whatever can't be undone still waits for an approval.
  • Creating, changing or resuming one starts AI use the workspace pays for, so when an agent asks, it waits for an approval. Pausing doesn't; changes while it's paused are dropped. Its maker, or an owner or admin, changes, pauses or deletes it.
  • Open pages show what a run, a teammate or another agent changed within about ten seconds.
  • Automations run on the copilot: turning the copilot plugin off stops them.

AI use

Settings → AI & agents shows the AI spend of this calendar month, counted when it was spent, by threads, fills, imports, automation runs, the SQL console's completions, edits and fixes, and Ask AI filters (ai_usage), with how many sessions or calls each took. It counts model spend; search and the sandbox aren't counted.

Approvals

A change that can't be undone (deleting records, fields, plugins, a data source or the workspace, a schema change, a table copy, an object's key, a connection, API keys and connected apps, the team, the workspace's name, an automation that starts spending) doesn't run when an agent calls it, whichever agent and whatever its scope. It's held:

  • the call fails with PENDING_APPROVAL (HTTP 403) and an approval id, summary and expiry;
  • any owner or admin answers it in one click, Allow once, Always allow or Deny: in Settings → AI & agents → Approvals, the page's first section (the sidebar and the AI & agents tab count those waiting, and Settings in the sidebar opens it while any wait), or on the copilot's card;
  • its card names what it would hit (a record delete names the records); one whose agent can no longer act (a revoked key, an ended thread or job) can't be allowed;
  • once allowed, it runs as the agent that asked; only that agent reads what it answered (approvals_get), and everyone sees what it came to ("Deleted 2 records.");
  • unanswered, it expires after 24 hours.

Always allow also lets that agent make that same call again without asking: a copilot thread or a job until it ends, an API key or a connected app until an owner or admin revokes it, on the key's or the app's row in Settings → AI & agents. Each such call runs at once, never beyond the agent's own scope, and shows in Approvals as allowed.

A person signed in does these themselves, after a confirmation, without an approval.

Bring your own agent

Claude, ChatGPT, Claude Code, Cursor and other MCP clients connect to https://<your-dataembed>/mcp. Settings → AI & agents shows the URL and ready-to-copy snippets.

Sign in (OAuth)

Add the URL as a custom connector or MCP server. Claude Code:

claude mcp add --transport http dataembed https://<your-dataembed>/mcp

The app sends you to Dataembed to sign in, pick the workspace and approve what it may do: one scope, starting at the highest it asked for below admin (only owners and admins are offered admin, and a viewer only read). An app that names a verified domain shows it; one that registered itself shows Unverified app. It then acts as you, with your role now; its changes show as "Claude via Ada". Access tokens last an hour and refresh for 30 days; an app that uses DPoP gets tokens bound to its key.

Settings → AI & agents → Connected apps lists the apps (owners and admins see everyone's); Disconnect stops one at once. Leaving the workspace disconnects yours there.

Or an API key

For clients that only send a header, and scripts. Owners and admins Create API key in Settings → AI & agents: a name, a scope (write by default), an optional expiry. The key (de_…) is shown once. It acts for its creator with their role now; one key per agent, so each can be revoked alone.

claude mcp add --transport http dataembed https://<your-dataembed>/mcp \
  --header "Authorization: Bearer de_your_api_key"
{
  "mcpServers": {
    "dataembed": {
      "headers": { "Authorization": "Bearer de_your_api_key" },
      "url": "https://<your-dataembed>/mcp"
    }
  }
}

The same key calls the JSON API. A good first prompt: "Describe my dataembed workspace." On connecting, the server tells the agent what it can't do and where a person does it, which tools its scope or its person's role holds back, and the workspace's instructions.

Settings → AI & agents lists each key with its state (status in api_keys_list): active, dead once its creator leaves, expired (removed once any key is next made or used) or revoked. A key made by a key, an app or an agent (the copilot, AI fill, web search) names who issued it. Revoking stops an active key at once, with every key issued through it; any other is left as it is.

MCP servers

Give the copilot, jobs and automations the tools of another service: owners and admins add an MCP server in Settings → AI & agents → MCP servers with its address and the headers it needs (an Authorization: Bearer … token, say). Headers are sealed and never shown again or passed to a model. Adding one checks it and lists its tools.

  • Its tools reach agents as <name>__<tool>; Allowed tools narrows them.
  • The copilot and jobs get every server that's on. An automation gets only those it names.
  • Turn one off, or remove it, and agents lose it from their next step.
  • In production its address must be https:// and public.

Agents see the list (mcp_servers_list), but only people add and change servers: their credentials never pass through a model.

Scopes

A key or an app has one scope, and can do only what it allows and its person's role allows now. Each includes the one before. admin is opt-in, and only owners and admins grant it.

ScopeShown asAllowsGranted by
readReadRead records, their activity and related records, and the schema: objects, fields, views, page layouts, data sources and plugins; the team (names, emails and roles), jobs, approvals and the models agents can run on; run read-only SQL against the workspace's databases, on any table their connections can read. A viewer's keys and apps hold no more.Anyone in the workspace, viewers too
writeWriteEverything Read allows, plus create, import, change and delete records and add notes to them; run SQL that changes rows; undo your own changes; change objects and fields and their order; change views and page layouts, save queries, and make and change workspace plugins, for yourself; run plugin actions and cancel the jobs you started; see and disconnect your own connected apps; leave the workspace.Members, admins and owners
adminAdminEverything Write allows, plus what owners and admins do: connect and disconnect databases and change their connections and access, add tables and columns to a database that allows schema changes, or change it with SQL, delete fields whose column is gone and set an object's record key, make, reorder and delete views and save views, page layouts and queries for everyone, manage plugins, API keys, everyone's connected apps and the team, choose the model agents run on, and rename the workspace (an owner's key or app may also delete it). Owners and admins only.Owners and admins

Tools

One tool per operation of the API, named after it (views_save_for_everyone is views.saveForEveryone), there only when the credential's scope reaches it and its person's role allows it.

Only the everyday tools are listed to an agent up front (the table below has them all): reading, searching and changing records, sql_query, activity and undo, and approvals_get. That keeps what an agent reads before its first step small. It finds the rest (views, layouts, plugins, automations, schema, data sources, the team) with tools_search, and calls one with tools_call or by its name. tools_search without a query lists every tool the credential reaches. The copilot does the same with its own search.

  • Tools name objects and fields by slug, and return each record with its label and a link. Start with workspaces_describe.
  • records_list pages with filters (total.kind says whether its count is exact, an estimate or at_least); records_aggregate counts and sums per group; sql_query runs one read-only statement (Query).
  • records_import takes up to 500 rows a call; run it with dryRun: true first.
  • schema_preview shows the SQL schema_change would run.
  • views_update and layouts_update change things for the person only; views_save_for_everyone and layouts_save_for_everyone for everyone.
  • plugins_manifest_schema, then plugins_create / plugins_update, build workspace plugins; actions_run runs a bundled plugin's action, which may start a job.
  • Every write that can be undone returns the activityIds that activity_undo takes.

Skills

For a task with several steps, an agent loads a skill: the procedure dataembed recommends, step by step. Clients that support MCP skills see them as skills; any other client reads one with tools_call and skills_get. An agent only gets the skills its scope can carry out.

  • importing-records: map columns, dry-run each batch, then write.
  • changing-schema: inspect, preview the SQL, then ask for approval (Admin scope).
  • building-plugins: a section on a page that shows records, charts or totals.
  • pipeline-review: deals by stage, the forecast by month, the deals that are stuck.
  • dedupe-records: find duplicates, merge them into one, delete the rest.
  • enrich-records: fill empty fields from the web (the copilot only, since it needs web search).
ToolWhat it doesScopeWho
actions_listList plugin actionsreadAnyone in the workspace, viewers too
activity_listList activityreadAnyone in the workspace, viewers too
ai_modelsList the agents' modelsreadAnyone in the workspace, viewers too
ai_usageAI use this monthreadAnyone in the workspace, viewers too
approvals_getGet an approvalreadAnyone in the workspace, viewers too
approvals_listList approvalsreadAnyone in the workspace, viewers too
automations_getGet an automationreadAnyone in the workspace, viewers too
automations_listList automationsreadAnyone in the workspace, viewers too
data_sources_getGet a data sourcereadAnyone in the workspace, viewers too
data_sources_listList data sourcesreadAnyone in the workspace, viewers too
jobs_getGet a jobreadAnyone in the workspace, viewers too
jobs_listList jobsreadAnyone in the workspace, viewers too
layouts_getGet a page layoutreadAnyone in the workspace, viewers too
mcp_servers_listList MCP serversreadAnyone in the workspace, viewers too
members_listList membersreadAnyone in the workspace, viewers too
objects_getGet an objectreadAnyone in the workspace, viewers too
objects_listList objectsreadAnyone in the workspace, viewers too
objects_structureGet an object's table structurereadAnyone in the workspace, viewers too
plugins_getGet a pluginreadAnyone in the workspace, viewers too
plugins_listList pluginsreadAnyone in the workspace, viewers too
plugins_manifest_schemaGet the plugin manifest schemareadAnyone in the workspace, viewers too
records_aggregateAggregate recordsreadAnyone in the workspace, viewers too
records_getGet a recordreadAnyone in the workspace, viewers too
records_listList recordsreadAnyone in the workspace, viewers too
records_relatedRelated recordsreadAnyone in the workspace, viewers too
records_searchSearch recordsreadAnyone in the workspace, viewers too
saved_queries_listList saved queriesreadAnyone in the workspace, viewers too
saved_queries_runRun a saved queryreadAnyone in the workspace, viewers too
schema_previewPreview a schema changereadAnyone in the workspace, viewers too
schema_preview_alterPreview a table changereadAnyone in the workspace, viewers too
sql_explainExplain a SQL statementreadAnyone in the workspace, viewers too
sql_queryRun a read-only SQL queryreadAnyone in the workspace, viewers too
table_copies_getFollow a table copyreadAnyone in the workspace, viewers too
table_copies_planPlan a table copyreadAnyone in the workspace, viewers too
workspaces_describeDescribe the workspacereadAnyone in the workspace, viewers too
workspaces_getGet the workspacereadAnyone in the workspace, viewers too
actions_runRun a plugin actionwriteMembers, admins and owners
activity_add_noteAdd a note to a record's timelinewriteMembers, admins and owners
activity_undoUndo activitywriteMembers, admins and owners
automations_createCreate an automationwriteMembers, admins and owners
automations_deleteDelete an automationwriteMembers, admins and owners
automations_pausePause an automationwriteMembers, admins and owners
automations_resumeResume an automationwriteMembers, admins and owners
automations_updateUpdate an automationwriteMembers, admins and owners
connected_apps_listList connected appswriteMembers, admins and owners
connected_apps_revokeDisconnect an appwriteMembers, admins and owners
fields_reorderReorder an object's fieldswriteMembers, admins and owners
fields_updateUpdate a fieldwriteMembers, admins and owners
jobs_cancelCancel a jobwriteMembers, admins and owners
layouts_updateUpdate a page layoutwriteMembers, admins and owners
objects_reorderReorder objectswriteMembers, admins and owners
objects_updateUpdate an objectwriteMembers, admins and owners
plugins_createBuild a pluginwriteMembers, admins and owners
plugins_resetReset a workspace pluginwriteMembers, admins and owners
plugins_updateUpdate a workspace pluginwriteMembers, admins and owners
records_createCreate recordswriteMembers, admins and owners
records_deleteDelete recordswriteMembers, admins and owners
records_importImport recordswriteMembers, admins and owners
records_seedSeed test recordswriteMembers, admins and owners
records_updateUpdate recordswriteMembers, admins and owners
saved_queries_deleteDelete a saved querywriteMembers, admins and owners
saved_queries_saveSave a querywriteMembers, admins and owners
sql_executeRun SQL that writeswriteMembers, admins and owners
views_updateUpdate a viewwriteMembers, admins and owners
workspaces_leaveLeave the workspacewriteMembers, admins and owners
ai_set_modelChoose the agents' modeladminOwners and admins
api_keys_createCreate an API keyadminOwners and admins
api_keys_listList API keysadminOwners and admins
api_keys_revokeRevoke an API keyadminOwners and admins
bridges_createPair a computeradminOwners and admins
bridges_listList bridgesadminOwners and admins
bridges_pairPair a computer againadminOwners and admins
bridges_revokeRevoke a bridgeadminOwners and admins
data_sources_connectConnect a data sourceadminOwners and admins
data_sources_connect_sampleUse the sample databaseadminOwners and admins
data_sources_disconnectDisconnect a data sourceadminOwners and admins
data_sources_set_passwordGive a local source its passwordadminOwners and admins
data_sources_syncSync a data sourceadminOwners and admins
data_sources_testTest a data sourceadminOwners and admins
data_sources_test_connectionTest connection detailsadminOwners and admins
data_sources_updateUpdate a data sourceadminOwners and admins
data_sources_update_connectionUpdate a data source's connectionadminOwners and admins
fields_deleteDelete a missing fieldadminOwners and admins
invitations_createInvite someoneadminOwners and admins
invitations_listList pending invitationsadminOwners and admins
invitations_revokeRevoke an invitationadminOwners and admins
layouts_save_for_everyoneSave a page layout for everyoneadminOwners and admins
members_removeRemove a memberadminOwners and admins
members_set_roleUpdate a member's roleadminOwners and admins
objects_set_keySet an object's keyadminOwners and admins
plugins_deleteDelete a workspace pluginadminOwners and admins
plugins_save_for_everyoneSave a workspace plugin for everyoneadminOwners and admins
plugins_set_enabledEnable or disable a pluginadminOwners and admins
plugins_update_settingsUpdate plugin settingsadminOwners and admins
saved_queries_delete_for_everyoneDelete a saved query for everyoneadminOwners and admins
saved_queries_save_for_everyoneSave a query for everyoneadminOwners and admins
schema_alterAlter a tableadminOwners and admins
schema_changeChange a data source's schemaadminOwners and admins
table_copies_createCopy tables to another data sourceadminOwners and admins
view_links_listList public view linksadminOwners and admins
view_links_publishPublish a view linkadminOwners and admins
view_links_revokeRevoke a view linkadminOwners and admins
views_createCreate a viewadminOwners and admins
views_deleteDelete a viewadminOwners and admins
views_reorderReorder viewsadminOwners and admins
views_save_for_everyoneSave a view for everyoneadminOwners and admins
workspaces_deleteDelete the workspaceadminOwners
workspaces_set_nameRename the workspaceadminOwners and admins

What agents can't do

These are for people signed in, in the app: they act outside one workspace, widen access, or are a person's own. They're no tool, and the API refuses them to keys.

OperationWhat it doesWhy agents can't
allowances.listList allowancesA person decides what agents may do: owners and admins approve or reject held changes and revoke allowances in Settings → AI & agents.
allowances.revokeRevoke an allowanceA person decides what agents may do: owners and admins approve or reject held changes and revoke allowances in Settings → AI & agents.
approvals.approveApprove a changeA person decides what agents may do: owners and admins approve or reject held changes and revoke allowances in Settings → AI & agents.
approvals.pendingCountCount waiting approvalsA person decides what agents may do: owners and admins approve or reject held changes and revoke allowances in Settings → AI & agents.
approvals.rejectReject a changeA person decides what agents may do: owners and admins approve or reject held changes and revoke allowances in Settings → AI & agents.
dataSources.tablesList a data source's tablesOnly the SQL console's completion reads it: workspaces_describe names every table and column.
invitations.acceptAccept an invitationIt joins another workspace, which widens the person's own access: only they decide that, from the invitation's link.
invitations.declineDecline an invitationIt answers the person's own invitation to another workspace, outside the workspace a credential is bound to. People answer it from the invitation's link.
invitations.getGet an invitationIt is what an invite link shows its recipient, usually about another workspace than the one a credential is bound to. This workspace's invitations are listed by invitations_list.
mcpServers.checkCheck an MCP serverIt takes credentials, which never pass through a model: Settings > MCP servers.
mcpServers.createAdd an MCP serverIt takes credentials, which never pass through a model: Settings > MCP servers.
mcpServers.deleteRemove an MCP serverIt takes credentials, which never pass through a model: Settings > MCP servers.
mcpServers.updateChange an MCP serverIt takes credentials, which never pass through a model: Settings > MCP servers.
objects.diagramGet the schema diagramFor the schema diagram: workspaces_describe has every table and field.
sql.assistWrite SQL with AIInline AI for a person typing in the SQL console.
threads.deleteDelete a copilot threadA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.eventsFollow a copilot threadA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.getGet a copilot threadA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.interruptStop the copilotA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.listList copilot threadsA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.sendMessageMessage the copilotA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
threads.startStart a copilot threadA copilot conversation is the person's own: they start, follow and delete it in the copilot panel. Agents reach dataembed through these tools instead.
views.askFilterAsk AI for a view's filterAn agent writes a view's filter itself, with views_update; asking a second model would only spend twice. People ask in the filter menu.
waitlist.approveLet someone inOnly the deployment's operators let people in, signed in on the operator page (/operator): it opens sign-up to someone, outside any workspace.
waitlist.listList the waitlistOnly the deployment's operators let people in, signed in on the operator page (/operator): it opens sign-up to someone, outside any workspace.
workspaces.createCreate a workspaceIt creates another workspace, which a credential bound to this one could never act in. People do it from the sidebar's workspace menu.
workspaces.listList my workspacesIt lists the person's other workspaces, which a credential bound to this one can't act in. People do it from the sidebar's workspace menu.

No escalation

  • An agent never grants more than it holds: a key made by a key gets no higher scope, expires no later and is revoked with it.
  • Nobody changes their own role, and only an owner makes or changes owners.
  • The current role always applies: demote a key's creator and its admin tools stop at once.
  • /mcp and /api/v1 refuse browser requests from other sites; each credential makes at most 300 requests a minute, each request in a batch counted.

On this page