Skip to main content

Create Agents

When setting up an Agent in StackSpot AI, you are responsible for customizing its interactions with the platform. This includes modifying system prompts and Knowledge Sources to enhance efficiency and facilitate smooth development.

You have the flexibility to create specialized agents for different tasks, such as:

  • An agent that generates user stories
  • Agents for creating code and conducting QA on the generated code
  • An agent for creating documentation

Create Agent

Step 1. Go to the StackSpot AI Portal and navigate to the ‘Agents‘ section;

Step 2. Click on the ‘Create Agents’ button;

GIF shows the StackSpot Portal with the main menu on the left. The mouse clicks on the Agents section, which expands and displays the Create Agents button. The flow ends with the Create Agents section open.

Step 3. Fill in the following information:

  • Agent name: Provide a name for your Agent.

  • System prompt: This is where you can define the instructions for your Agent's behavior and abilities. For example, CodeBuddy has a specific system prompt.

The character limit for the Agents prompt is 8,000 characters.

  • Conversation starters: These are optional predefined questions to help users start conversations with the Agent.

  • Conversational mode: Choose whether the Agent should be interactive or provide single answers for more systematic tasks, such as APIs, pipelines, and responses.

  • Knowledge Sources (KS): Assign specific KS to the Agent to enhance responses. It will only use the ones you selected. It does not search other KS through the account.

You can configure the similarity search function. Choose the following:

  • Maximum number of KOs considered in the search: Choose the number of Knowledge objects you will consider in the answers. By default, StackSpot AI uses four (4) chunks of Knowledge Sources Objects to enrich the answers, but you can choose as many as you want.
  • Relevance threshold: Choose how relevant the threshold is. By default, StackSpot AI considers 73%, indicating the similarity of the answer chunk you are searching for. You can choose your desired percentage.

Step 4. Click 'Save' and test your Agent in the 'Try' section to ensure it functions as expected;

GIF shows the Agents section in the StackSpot Portal. The mouse clicks on the system prompt, followed by the suggested prompts and the addition of Knowledge Sources. Then, the mouse clicks on the settings button, where the number of Knowledge Sources and the relevance limit are displayed.

Step 5. If you want to share your Agent, click on the 'Share' button and choose to share it with:

  1. Share with users: Add the user's email address.
  2. Publish in the account.

You will be able to use your Agent in the StackSpot AI IDE.

You can edit or delete your agent in the 'Settings' tab.

Next Steps