Skip to main content

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:

  1. 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.
  2. Add a Recipe:

    • In the "recipes" folder, create a new JSON file with an informative name.
    • Refer to the recipe JSON structure for details.
  3. 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.
  4. 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.