Explore our Agents Library for comprehensive examples of Editor and Task Agents, along with detailed guidance on setup, installation, and hosting.

TLDR;

Do you already know what you are doing and only want to look over a Jupyter Notebook example? We provide one here.

Task Agents (https://app.encord.com/agents/task-agents or https://app.us.encord.com/agents/task-agents) are Workflow components in which a custom operation on all tasks in the Agent stage can be triggered. This allows you to set up pre-labeling, such as using foundation models such as GPT-4o, automated quality assurance, or any other custom action you need for your workflow.

Tasks in the Agent stage are processed in the order of their task priority.

Adding Task Agents to your Workflow

To add Task Agents to your Workflow you must add an Agent stage component to your Workflow.

  1. Connect the Agent stage in the required place in your Workflow.

  2. Click + next to Add pathway and give the pathway a meaningful name. Repeat this step for each additional pathway you want to add. Pathways allow you to connect the Agent stage to other workflow components.

Coming Soon! We’re currently evaluating webhooks for the Agent stage. Please let us know if this would help your use-case by reaching out to support@encord.com.

Configuring Task Agents

Use the Encord SDK to configure your Task Agent. The Task Agent executes the configured SDK script for all tasks that are routed through the Task Agent stage in your Workflow.

Triggering the Task Agent

Webhooks are coming soon, allowing you to trigger Task Agents manually.

Task Agents aggregate all tasks that reach the Agent stage in the workflow. Your custom script must be triggered at this stage before the tasks proceed further in the workflow.

End-to-End Agent Example

We provide an end-to-end example using a Jupyter Notebook here.