Editor Agents
Editor Agents enable you to integrate your own API endpoint, such as your own model hosted on a server (or in a cloud function), with Encord to enhance your annotation processes. Agents can be called while annotating in the Label Editor.
1. Set up an Editor Agent
First, you must create the agent. An example using ChatGPT-4o can be found here.
Explore our Agents Library for comprehensive examples of Editor and Task Agents, along with detailed guidance on setup, installation, and hosting.
2. Register an Editor Agent
To register an Agent in Encord:
- Navigate to the Agents section of the Encord platform.
- Ensure you are in the Editor Agents screen.
- Click + Register agent to set up a new editor Agent.
-
Give the Agent a meaningful name and description.
-
Enter the API endpoint for the agent. This Endpoint is called when the Agent is run in the Label Editor.
-
Click Register agent to register the Agent with Encord.
3. Test the Editor Agent
After an Agent is registered, the Agent can be tested. We strongly recommend testing an Agent before using it in the Label Editor.
To test an Agent:
-
Navigate to the Agents section of the Encord platform.
-
Click the Agent you want to test.
-
Click Test agent. The Test payload is sent to the API endpoint.
A notification appears telling you whether the API endpoint was reached appears at the top of your screen.
4. Use the Editor Agent in the Label Editor
To use the registered Agent during annotation:
- Click Automated labeling in the bottom left of the screen. The automated labeling drawer appears.
-
Open the Agents section of the automated labeling drawer.
-
Select the Agent you want to use from the dropdown.
-
Click Trigger agent to trigger the Agent and call the API endpoint.
Alternatively:
- Right-click the editor canvas.
- Click Trigger agent.
- Select the agent you want to run.
Was this page helpful?