- The event that triggers the automation.
- The prompt that ARIA receives when the event occurs.
Available only in W&B Multi-tenant Cloud.ARIA works in team projects, not in your personal entity. Your organization admin must also enable Smart features. See Governance and security.
Requirements
Before you create an automation that sends a prompt to ARIA, verify the following:- Your organization must have ARIA enabled. If Trigger ARIA doesn’t appear in the Action type list, ARIA isn’t available for your organization, scope, or deployment. The list omits the option without explanation. See Governance and security.
- You must have write access to the project, registry, or collection you scope the automation to.
- To scope a W&B automation to a registry and send prompts to ARIA, you must belong to a team in the same organization. Each ARIA conversation is associated with a team, so you can’t create a registry-scoped automation if you don’t belong to a team in that organization.
Create an automation
Select Registry or Project based on the scope you want the automation to apply to. Then follow these steps to create an automation that sends a prompt to ARIA.To apply an automation more broadly, create it from the global Automations hub and select the Team or Organization scope. The steps are the same as those that follow. At these scopes, W&B supports artifact and collection events only. See Automations hub.
- Registry
- Project
A Registry admin can create automations in that registry.
- Log in to W&B.
- Click the name of a registry to view its details.
- To create an automation scoped to the registry, click the Automations tab, then click Create automation. An automation that is scoped to a registry is automatically applied to all of its collections (including those created in the future).
- Choose the event to watch for. Fill in any additional fields that appear, which depend upon the event. For example, if you select An artifact alias is added, you must specify the Alias regex. Click Next step.
- Select the team that hosts the ARIA conversation. Registries belong to your organization, not a team, but ARIA conversations must belong to one. See View conversations created by automations.
- Set Action type to Trigger ARIA.
- In the Prompt field, write the prompt to send to ARIA. See Write the prompt. Click Next step.
- Provide a name for the automation. Optionally, provide a description.
- Click Create automation.
Create and manage automations with ARIA
ARIA can create, delete, enable, and disable automations on demand. Ask ARIA to create an automation: Ask ARIA about your existing automations: Ask ARIA to rename an automation: After you confirm, ARIA renames the automation.View your ARIA automations in chat
Open ARIA, click Reveal chat history in the chat header, then open the Customize section at the bottom of the chat history sidebar and select My automations. My automations replaces the conversation view in ARIA’s main panel rather than opening beside it. Selecting a conversation or starting a new chat returns you to the conversation. The pane isn’t persisted across reloads, so refreshing the page also returns you to your conversation. The pane lists only the automations you created that send prompts to ARIA. It omits automations that use other actions, and your teammates’ ARIA automations. The pane is read-only. You can see whether an automation is enabled or disabled, but to enable, disable, edit, or delete one, click View all automations to open the full Automations page in a new tab. See View and manage automations. Search by name, or page through results 20 at a time with Previous and Next. The list shows each automation’s name, Event type, and Scope. Click an automation to open its detail view, which shows its Description, Scope, Created by, Created, Status (Enabled or Disabled), Event type, and the Prompt ARIA it sends. The Automation history section lists each execution’s Triggered time and Status, plus a Conversation column. Click Open thread to open the conversation an execution created. A No thread value means the execution didn’t create one. Executions are shown for up to 6 months. Use Back to chat or Back to My automations to return from the list or a detail view. Click Create automation to start one. This doesn’t open a form. Instead, it starts a new ARIA chat with the following prompt already sent on your behalf: Create automation is disabled if you have read-only billing access. My automations isn’t available for personal accounts. Select an organization to view your automations. The pane requires no separate feature flag. It’s available under the same access checks described in Requirements.Write the prompt
The prompt is the only thing you configure for an ARIA action. Write it the way you would write a message in the ARIA chat window, and include template variables to specify which run, artifact, or metric ARIA should examine. Keep the following constraints in mind:- A prompt is required and can be at most 4,000 characters. W&B checks the length again after it substitutes template variables, so a prompt that saves successfully can still fail when the automation runs if the substituted values are long. A prompt that fails this check is recorded as a failed execution in the automation’s execution history.
- A template variable that doesn’t apply to the event resolves to an empty string rather than to its own name. Use only the variables listed for your event.
- ARIA starts a new conversation each time the automation runs. It doesn’t continue a previous conversation and doesn’t remember earlier executions of the same automation.
Template variables
Template variables use the syntax${variable_name}. The variables available to a prompt depend on the event the automation watches for.
The following variables are available for every event:
The following variables are available in addition to the preceding ones, depending on the event:
The following notes apply to individual variables:
${artifact_version}resolves to an artifact instance, such aswandb-artifact://_id/QXJ0aWZhY3Q6NTE3ODg5ODg3. To refer to the version by name, use${artifact_version_string}.${artifact_metadata.KEY}reads a custom metadata value from the artifact version that triggered the event. ReplaceKEYwith the metadata key you want. Only top-level metadata keys are supported.
View conversations created by automations
The automation creates the ARIA conversation under the account of the user who created the automation. The conversation appears in that person’s ARIA chat history sidebar, alongside conversations they started themselves. To identify the user that caused the event, include${event_author} in the prompt.
Where the conversation lives depends on the automation’s scope:
- Project-scoped and team-scoped automations: The conversation is created in the project where the event occurred.
-
Registry-scoped automations: A registry belongs to your organization rather than to a team, and ARIA conversations must belong to a team. The conversation is created in the team you selected when you created the automation, in a project named
wandb_agent_default_project. Look there rather than in the registry.wandb_agent_default_projectis a placeholder project that W&B maintains for each team to hold conversations that aren’t tied to a project you opened. You don’t create it, and it’s normally empty apart from these conversations.
thread_id. To open that conversation, use the Open thread link in ARIA’s My automations pane, which is built from the same thread_id. An automation-created conversation isn’t marked differently in your chat history.
View and manage automations
View and manage automations from the Automations tab in a project or registry, or from the global Automations hub. In the automations list, the action displays as ARIA. Only the creator of an automation that sends prompts to ARIA can edit it because the ARIA conversation runs as that user. Team members with write access to the project or registry can view and delete the automation, but the Edit automation option is unavailable to them. You can’t transfer ownership of the automation. Instead, delete it and have the new owner create it again. Use the same process to recover an automation whose creator has left the team.Limitations
ARIA automations have the following limitations:- ARIA automations are available only on W&B Multi-tenant Cloud, in team projects, and only when your organization admin has enabled Smart features.
- Each automation can start at most three ARIA conversations per minute. W&B records executions above that limit in the automation’s history with the status Skipped, meaning the automation matched the event but didn’t run its action.
- If the person who created the automation loses write access to the project or their account is deactivated, every subsequent execution fails. The failure appears in the automation’s execution history.
- Only the automation’s creator can edit it.
- The
wandbPython library doesn’t support ARIA automations. See Manage automations with the API. - The in-chat My automations pane is read-only. Enable, disable, edit, or delete an automation from the Automations tab or hub instead.