Agent Creation Steps
To create a new agent, follow these steps after clicking the Sirji extension icon from the Activity Bar and clicking the "Open Sirji Studio" button:
-
Create an Agent File:
- In the "agents" folder, create a new YAML file named with uppercase letters and underscores. This file's name (excluding the extension) is the agent ID.
- Refer to the agent YAML structure for guidance.
-
Add a Recipe:
- In the "recipes" folder, create a new JSON file with an informative name.
- Refer to the recipe JSON structure for details.
-
Update Recipe Index:
- Add a new entry to the
recipes/index.json
file under the studio folder. - Refer to the recipe index structure for the format.
- Add a new entry to the
-
Test:
- Start a new Sirji session. Your new recipe should appear in the list of available recipes.
- Select the new recipe and test the agent's execution.