A newer version of the Gradio SDK is available: 6.20.0
Executing custom agents
Running a custom agent on demand
From the detail page:
- Navigate to the Agents page.
- Choose the custom agent.
- Choose Run Now to execute with configured instructions.
To provide additional context, choose the dropdown arrow next to Run Now, enter a prompt, and choose Run with prompt.
Using Chat:
Run my weekly-investigation-report agent.
A custom agent can only run one invocation at a time.
Scheduling custom agents
Triggers let you run a custom agent automatically based on schedule-based triggers using EventBridge-compatible cron or rate expressions.
To create a schedule trigger:
- Navigate to the Agents page.
- Choose the custom agent.
- Choose the Triggers tab.
- Choose the + button.
- Enter a schedule expression:
- Rate:
rate(1 hour),rate(30 minutes),rate(7 days) - Cron:
cron(0 9 ? * MON-FRI *),cron(0 0 1 * ? *)
- Rate:
- Choose Create.
Managing triggers
- Pausing – Turn off the toggle switch next to the trigger.
- Deleting – Choose the delete icon next to the trigger.
Canceling an invocation
From the trajectory view, choose Cancel. Or ask Chat:
Cancel the running invocation of weekly-health-report.