Skip to main content
Custom Agents run your own logic, such as a model you trained or a script you wrote, on tasks in your Workflow or on data in the Label Editor. There are three types of Custom Agent. They differ in how they’re triggered and how you set them up:
Details for setting up each type of Custom Agent can be found on their respective pages

Installation

You can run Agents with the core Encord SDK (encord) alone. The encord-agents library is only required for Runner-based Agents and hosted Agents. Use encord-agents when you need:
  • Assets, such as frames, video iterators, or storage items, injected automatically for each task.
  • To host your Agent as an HTTPS endpoint.
  • A more scalable structure for complex Agent logic.
encord-agents requires Python 3.10 or later. To manage Python versions, we recommend pyenv.
Install encord-agents in an isolated environment, such as a virtual environment. Install the vision extras if your Agent works with images or videos, as they improve performance when handling visual data.