Skip to main content
Merlin is Encord’s agentic layer. Use natural language in Encord or a connected AI tool to create projects, define ontologies, check analytics, and more.
Merlin is currently in BETA.

What Merlin can do

Once connected, your AI tools can take actions on your behalf across the Encord platform:

Use Merlin in Encord

When Merlin is enabled for your organization, you can start a conversation from several places in Encord:
  • Enter a question in the Merlin box on the home page, or select a suggested prompt.
  • Select Merlin near the bottom of the navigation sidebar. On the new-chat page, write your own question or choose a starter prompt. The chat sidebar lets you start another chat or return to a previous conversation.
  • Open global search and select Ask Merlin. If you entered a search term, Merlin opens a conversation and searches for it across your Projects, data, and documentation.
You can continue the conversation in Merlin after entering from the home page or global search.

Prerequisites

  • An Encord account (cloud). Merlin uses OAuth via WorkOS and is not available on on-premises or air-gapped deployments.
  • To use Merlin outside Encord, a supported MCP client (see Connect your AI tools below).

Chat with Merlin in Encord

Select Merlin in the Encord navigation, then select New chat or open a previous conversation. Enter a question in the composer, or select one of the suggested questions to begin. Type @ in the composer to search for and mention a Project, Ontology, Dataset, or storage folder that you can access. For Projects, Ontologies, and Datasets, the picker includes all resources of that type in the Workspace if your Workspace role lets you list or manage them all; otherwise, it includes only resources that you have joined. You can search for folders at any level of the folder hierarchy. Folder results show their parent path so you can distinguish folders with the same name; hidden folders do not appear. For example, ask Merlin to link @Folder to @Project or list the files in @Folder, then select each resource from the picker. Resources without a name appear in the picker and conversation as Unnamed project, Unnamed ontology, Unnamed dataset, or Unnamed folder. You can switch chats or navigate to another page while Merlin is responding. The response continues in the background, and you can return to the conversation to see it streaming or completed. You can also start responses in multiple chats and let them run at the same time. Reloading or closing the browser tab ends in-progress responses. Selecting Stop or deleting a conversation also ends its in-progress response. The icon beside a chat can also indicate that Merlin is waiting for your approval or that the chat contains an unsent draft. Hover over the icon to see its status. Each chat shows one icon: working takes precedence over waiting for approval, which takes precedence over an unsent draft. Approval status appears only for chats opened or streamed in the same browser tab. Merlin saves unsent text in your browser, so you can switch chats, navigate to another page, or reload and return to your draft. A pencil icon marks conversations with unsent text and also appears beside New chat when its composer contains a draft. Text entered in the home-page composer is also available when you open a new chat. Sending the question clears the draft. You can switch chats or navigate to another page while Merlin is responding. The response continues in the background, and you can return to the conversation to see it streaming or completed. You can also start responses in multiple chats and let them run at the same time. Reloading or closing the browser tab ends in-progress responses. Selecting Stop or deleting a conversation also ends its in-progress response. Merlin saves unsent text in your browser, so you can switch chats, navigate to another page, or reload and return to your draft. The Chats list marks conversations with unsent text as Draft. Text entered in the home-page composer is also available when you open a new chat. Sending the question clears the draft.
The Merlin navigation item is visible only when Merlin is enabled for your organization.

Connect your AI tools

Choose your region’s endpoint. Merlin is available in two regions. Use the URL that matches where your Encord organization’s data is hosted:
  • EU: https://mcp.encord.com/mcp
  • US: https://mcp.us.encord.com/mcp
Run the following command in your terminal:
The first time you call a Merlin tool, Claude Code opens a browser to sign in with your Encord account.

Authentication

Merlin authenticates using OAuth. When your AI tools first call a Merlin tool, they open a browser window and prompt you to sign in with your Encord credentials. The session is managed by WorkOS. Merlin itself never stores your credentials.
You must sign in as an Encord user whose account was created (or backfilled) after Merlin launched. If your sign-in succeeds but tool calls are rejected, contact your workspace admin.
Org-level MFA enforcement is not yet supported for Merlin. Requests from organizations with mandatory MFA will be rejected.

Merlin with Workspaces

If you belong to only one Encord Workspace, Merlin automatically uses that Workspace. No additional setup is required. If you belong to multiple Workspaces, Merlin needs to know which Workspace you want to work in before it can perform actions for you. The first time you use Merlin, your AI tools may ask you to choose which Workspace to work in. Your AI tool then works within that Workspace for the rest of the conversation, until you ask it to switch. To switch Workspaces later, simply tell your AI tools which Workspace you would like to use. Merlin lists your available Workspaces and confirms your selection, and your AI tool works within that Workspace from then on. Example: “Show me my available Workspaces.” “Switch my active Workspace to Data Operations.”

Example prompts

Once connected, you can talk to your AI tools naturally. A few examples: Setting up a new project end-to-end:
“Create an ontology for vehicle detection with bounding box classes for car, truck, and motorcycle. Then create a project called ‘Vehicle QA’ using that ontology and my existing dataset ‘Street Footage’.”
Checking project health:
“How many tasks were completed in my ‘Pedestrian Detection’ project last month, and who were the top three annotators by output?”
Exploring what’s available:
“List all my projects that are currently active and show me which ones I’m an admin on.”
Configuring an evaluation workflow:
“Set up a custom editor layout on project ‘RLHF Round 3’ that shows the media and a preference rating question side by side.”
Removing upload-order bias:
“Randomize the task order in my ‘Pairwise Model Comparison’ project so annotators aren’t biased by the order files were uploaded in.”
Checking queue state before reassigning work:
“How many tasks are currently sitting in the Review stage of my ‘Pedestrian Detection’ project?”

Available tools reference

Custom editor layouts that include an object table only render an object’s first level of attributes as columns. Nested attributes (attributes under a radio or checklist option) do not appear. When you ask Merlin to create an Ontology for a Project that will use a custom layout, ask it to keep object attributes to a single level.
Switching a project’s ontology resets any custom editor layout already applied to that project, since the layout’s field references no longer match.
Project-scoped analytics tools are available to project admins and team managers only. Organization-wide analytics tools are available to organization admins, with organisation_summary_tool and organisation_active_projects_tool self-scoping to your own data if you are not an admin. Time windows default to the last 30 days and cannot exceed 90 days per call — ask your AI tool to chain multiple 90-day windows together for longer ranges.
Projects created via Merlin now start in the same active state as projects created through the web app, instead of a transient “setup” state.