Published on June 2, 2026

Mux Robots Directives: less plumbing, more automation

Adam BrownWalker FrankenbergPhil Cluff
By Adam, Walker, and Phil6 min readProductPart of our story on AI

When we launched Mux Robots a few weeks ago, we called out that there was a piece of the puzzle missing. While it is quick and intuitive to run one-off AI workflows like summarizing, moderating, translating captions, and asking questions, it's a much higher lift to run those workflows automatically or at scale. It can take too much custom plumbing to handle asset webhooks and involves too much self hosted glue code.

Today we're shipping the next puzzle piece. We’re augmenting workflows with Directives, the orchestration layer for Mux Robots.

LinkWhat is a Directive?

A Directive is a stored configuration that binds a set of Mux Robots workflows to the lifecycle of a video asset. You build it once, attach it to assets, and the automation takes it from there.

Directives let you answer two questions:

  1. What workflows do I need? Choose the workflow or set of workflows you want to run on every asset this Directive applies to.

  2. What dependencies are needed for these workflows? Define what to do during a workflow run if a resource isn't available.

    For example, if a workflow needs captions to run properly, do you want the Directive to wait for a caption track to be uploaded or generate it via Mux Video? Required and recommended dependencies are automatically populated in the dashboard with sensible defaults, so you don’t have to worry about missing an important prerequisite, you just choose how your Directive should handle each dependency.

Directives aren’t a full scripting environment or a replacement for the Mux Robots Jobs API. They ensure that your desired workflows get executed on assets and handle the complexity of automation without extra infrastructure for you to wrangle.

LinkBuilding a Directive

Today, Directives live in the Mux Dashboard. To access and build them, navigate to Robots → Directives. Here are some examples of what you can build with Directives:

Summarize every asset. In the dashboard, you create a Directive named "Summarize every asset" with a single workflow card (summarize). No resources required. That's the whole configuration.

"Create Directive" modal in the Mux Robots dashboard. The form includes a Name field filled in with "Summarize Every Asset," a Workflows section with one workflow named "Summarize" added, and a Resource dependencies section with no dependencies added. A Cancel button and a blue Create button appear at the bottom right.

When configuring a new asset, you can set it to use the Directive during creation of an asset. As soon as the new asset is ready, it is automatically summarized. One workflow, one directive.

Translate Captions & Generate Chapters. This Directive has three components: A translate captions workflow with a caption track resource dependency and a generate chapters workflow.

The Translate Captions workflow knows it requires a caption track, so it automatically adds the dependency for you. It then reads from the captions resource, creating it if it doesn’t exist, and generates the translated Spanish captions track and attaches it right back to your Mux asset, making it available within seconds for delivery to the player.

 Screenshot of the "Create Directive" modal in the Mux Robots dashboard. The Name field is filled in with "Add Player Elements." The Workflows section contains one workflow named "Translate Captions" with 1 resource dependency. The Resource dependencies section shows a "Caption track" dependency, with the description "Generates the caption track if not already present," the identifier caption_track, and a note that it is required by Translate Captions. A Cancel button and a blue Create button appear at the bottom right.

You can adjust the policy options based on your preferences if the captions don’t exist. The Directive can wait for the user to upload captions, fail immediately, or trigger Mux Video to generate the initial captions track for you.

Screenshot of the "Edit Resource Dependency" screen in the Mux Robots dashboard, reached via a back link to Create Directive. The Resource type dropdown is set to "Caption track" and the Language dropdown is set to "Any language." The "If resource is absent" section includes a description reading "What to do when this resource doesn't exist at run time," with a dropdown open showing three options: "Wait," "Fail immediately," and "Generate captions," which is currently selected with a checkmark. A Cancel button and a blue Save button appear at the bottom right.

You can then add another workflow, Generate Chapters, which also has the same resource dependency on captions. It automatically assigns the same resource dependency to the workflow.

Screenshot of the "Create Directive" modal in the Mux Robots dashboard. The Name field is filled in with "Add Player Elements." The Workflows section contains two workflows: "Translate Captions" with 1 resource dependency, and "Generate Chapters" with 1 resource dependency. The Resource dependencies section shows a single "Caption track" dependency, with the description "Generates the caption track if not already present," the identifier caption_track, and a note that it is required by both Translate Captions and Generate Chapters. A Cancel button and a blue Create button appear at the bottom right.

When this directive is triggered on asset creation, a Spanish caption track and chapter markers are generated automatically.

That's how simple it is to build a Directive: name the workflows you want, declare the resources they depend on, and set the policies for what should happen if something is missing or pending.

LinkRun Directives on your videos

Directives are attached to new assets through upload in the Mux dashboard or through the API.

In the dashboard, when creating a new asset you can select one of your Directives in the settings section.

Screenshot of a "Robots Directives" field in the Mux dashboard, marked with a green "NEW" badge. Below the label is a dropdown input with placeholder text reading "Select a directive (optional)," currently focused with a blue outline.

For programmatic ingestion using the API, include a directives field on the Video Create Asset call, using the corresponding ID(s) from the Directive in the dashboard:

Attaching a Directive to an asset via API
POST /video/v1/assets { "input": "<https://example.com/video.mp4>", "playback_policies" : [ "public" ], "directives": [{ "id": "drv_01HXYZ..." }] }

For existing assets, trigger an ad-hoc run via the dashboard to apply a Directive to a specific asset for testing, debugging, or one-off backfill.

LinkWhat's next for Mux Robots

We already have several enhancements on the roadmap for Directives:

  • Environment-level auto-attach. Instead of attaching a Directive to each asset, you'll be able to configure your environment with a list of Directives and event-match filters that decide which Directives will be automatically assigned to which assets. For example: auto summarizing every asset.
  • A public Directives configuration API. The technical preview ships dashboard-only for creating and editing Directives.
  • Directives & Workflows for live streams. Today Directives apply to on-demand assets; live streams will get their own subject type in a future release.

We also have a handful of new Mux Robots workflows on the horizon:

  • Edit Captions. Set rules to add profanity filtering and replacements for frequently mis-captioned words.
  • Find Scenes. Segment an asset into ordered scenes with contextual information about each one.
  • Generate Engagement Insights. Analyze viewer engagement patterns to see high and low engagement moments.
  • Find Best Thumbnails. Get the timestamps of the best thumbnails to use from your asset.

LinkGet started and give us your feedback

Jump into the Mux dashboard, head to Robots → Directives and give it a try.

There's no extra cost to use Directives with Mux Robots. It consumes the same amount of units as creating a Mux Robots workflow individually. Mux Robots is free to use in technical preview, up to 100M units, through June 15, 2026. Learn more about Mux Robots pricing.

As we continue to refine the schema for Directives, we want to hear from you. Specifically, do you have feedback on resource policies and deletion semantics? And of course, we always want to hear if something breaks or is working well. Share your feedback in the dashboard or reach out. Mux Robots only gets better the more real-world workloads it sees.

Written By

Adam Brown

Adam Brown – Co-Founder, CTO

Built VR rendering, encoding infra, and low-latency live streaming. Enjoyed the latter two so much he did it again. Hasn't not wrestled an alligator.

Walker Frankenberg

Walker Frankenberg – Software Engineer

Software engineer generalist who who loves to solve puzzles and find solutions to difficult problems, so figured he’d turn it into a career. When not coding, can usually be found with friends or outdoors, and often both.

Phil Cluff

Phil Cluff – Head of Innovation

Phil has spent the last 15 years building some of the biggest AVOD, SVOD, and public service streaming platforms in the world at the BBC and Brightcove. He’s here to chew gum and stream video, and he’s all out of gum.

Leave your wallet where it is

No credit card required to get started.