-
Notifications
You must be signed in to change notification settings - Fork 2
/
action_definitions.yaml
46 lines (44 loc) · 2.32 KB
/
action_definitions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
common_actions:
- name: run_command
parameters: (command)
description: "I execute a command-line command to interact with the file system"
- name: view_file_contents
parameters: (file_path)
description: "I view the contents of a file"
- name: edit_file_contents
parameters: (file_path, content)
description: "I edit the contents of a file, completely overwriting it with the provided content"
- name: create_new_file
parameters: (file_path, contents)
description: "I create a new file, optionally initializing it with the provided contents"
- name: run_python_file
parameters: (file_path)
description: "I run a Python file"
- name: perplexity_search
parameters: (query)
description: "I perform an AI-powered search query using Perplexity AI, which takes 2-10 seconds to fetch and cite from human-based grounded sources on the web"
agent_specific_actions:
iris:
- name: send_message_to_student
parameters: (message)
description: "I send a message to the student with the given text"
- name: send_niacl_message
parameters: (receiver, message, files)
description: "I send a message to another agent in the system, optionally including files to be transferred"
- name: visualize_image
parameters: (file_path)
description: "I analyze and provide a detailed description of an image file in the workspace"
stratos:
- name: delegate_and_execute_task
parameters: (task_name, task_description, requesting_agent)
description: "I create a plan, delegate subtasks to specialized agents, and oversee the execution of a complex task. Requesting agent here is the agent that contacted me, and asked me to perform some task (we need this information so that we can appropriately route files back to this agent)"
- name: send_niacl_message
parameters: (receiver, message, files)
description: "I send a message to another agent in the system, optionally including files to be transferred"
- name: visualize_image
parameters: (file_path)
description: "I analyze and provide a detailed description of an image file in the workspace"
task_agent:
- name: declare_complete
parameters: (message, files)
description: "I declare that my task is complete, providing a summary message and a list of files created or modified"