tech-advisor / training /data /raw /custom-agents-executing-custom-agents.md
aslanconfig's picture
Initial commit: Tech Advisor fine-tuned on AWS DevOps Agent docs
975da6d
|
Raw
History Blame Contribute Delete
1.27 kB

A newer version of the Gradio SDK is available: 6.20.0

Upgrade

Executing custom agents

Running a custom agent on demand

From the detail page:

  1. Navigate to the Agents page.
  2. Choose the custom agent.
  3. 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:

  1. Navigate to the Agents page.
  2. Choose the custom agent.
  3. Choose the Triggers tab.
  4. Choose the + button.
  5. Enter a schedule expression:
    • Rate: rate(1 hour), rate(30 minutes), rate(7 days)
    • Cron: cron(0 9 ? * MON-FRI *), cron(0 0 1 * ? *)
  6. 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.