Agent Plugin

You can "teach" your agent how to execute your tasks by setup a specific workflow, call plan workflow, plan workflow's name always starts with plan_, for example, plan_get_stock_price, plan_get_news, etc.

The plan workflow outputs an sequence of actions which usually represent human exepeienced steps to achieve the task, for example, 'plan_public_financial_data_analysis' may output the following actions:

  1. search internet related to user's query
  2. open a browser and read the link if needed
  3. get data from yahoo finance
  4. create a line chart to visualize the data

End users can simple @to trigger the plan workflow, and agent will first run the plan workflow to get the sequence of actions, then execute the actions one by one.

plan workflow is super flexible, can even include code examples to tell agent how to write code to achieve the task.